]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_windows_wrap.cpp
Source markup fixes.
[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
554f62e9
RD
988/* for raw pointers */
989#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995#define swig_owntype int
d55e5bfc 996
554f62e9
RD
997/* for raw packed data */
998#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1000
554f62e9
RD
1001/* for class or struct pointers */
1002#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1004
554f62e9
RD
1005/* for C or C++ function pointers */
1006#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1008
554f62e9
RD
1009/* for C++ member pointers, ie, member methods */
1010#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
7449af73 1012
d55e5bfc 1013
554f62e9 1014/* Runtime API */
d55e5bfc 1015
554f62e9
RD
1016#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
7449af73 1019
554f62e9
RD
1020#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024#define SWIG_fail goto fail
7449af73 1025
d55e5bfc 1026
554f62e9 1027/* Runtime API implementation */
d55e5bfc 1028
554f62e9 1029/* Error manipulation */
d55e5bfc 1030
554f62e9
RD
1031SWIGINTERN void
1032SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
c32bde28 1037}
d55e5bfc 1038
554f62e9
RD
1039SWIGINTERN void
1040SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1044}
1045
554f62e9 1046#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
7449af73 1047
554f62e9 1048/* Set a constant value */
d55e5bfc 1049
554f62e9
RD
1050SWIGINTERN void
1051SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
c32bde28 1054}
d55e5bfc 1055
554f62e9 1056/* Append a value to the result obj */
d55e5bfc 1057
554f62e9
RD
1058SWIGINTERN PyObject*
1059SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076#else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
093d3ff1 1084 } else {
554f62e9
RD
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
c32bde28 1096 }
554f62e9
RD
1097 return result;
1098#endif
c32bde28
RD
1099}
1100
554f62e9 1101/* Unpack the argument tuple */
d55e5bfc 1102
554f62e9
RD
1103SWIGINTERN int
1104SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105{
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139}
1140
1141/* A functor is a function object with one single object argument */
1142#if PY_VERSION_HEX >= 0x02020000
1143#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144#else
1145#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146#endif
1147
1148/*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151*/
1152#ifdef __cplusplus
1153#define SWIG_STATIC_POINTER(var) var
1154#else
1155#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156#endif
1157
1158/* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162/* Flags for new pointer objects */
1163#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168#ifdef __cplusplus
1169extern "C" {
1170#if 0
1171} /* cc-mode */
1172#endif
1173#endif
1174
1175/* How to access Py_None */
1176#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177# ifndef SWIG_PYTHON_NO_BUILD_NONE
1178# ifndef SWIG_PYTHON_BUILD_NONE
1179# define SWIG_PYTHON_BUILD_NONE
1180# endif
1181# endif
1182#endif
1183
1184#ifdef SWIG_PYTHON_BUILD_NONE
1185# ifdef Py_None
1186# undef Py_None
1187# define Py_None SWIG_Py_None()
1188# endif
1189SWIGRUNTIMEINLINE PyObject *
1190_SWIG_Py_None(void)
1191{
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195}
1196SWIGRUNTIME PyObject *
1197SWIG_Py_None(void)
1198{
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201}
1202#endif
1203
1204/* The python void return value */
1205
1206SWIGRUNTIMEINLINE PyObject *
1207SWIG_Py_Void(void)
1208{
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212}
1213
1214/* PySwigClientData */
1215
1216typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223} PySwigClientData;
1224
1225SWIGRUNTIMEINLINE int
1226SWIG_Python_CheckImplicit(swig_type_info *ty)
1227{
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230}
1231
1232SWIGRUNTIMEINLINE PyObject *
1233SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237}
1238
1239
1240SWIGRUNTIME PySwigClientData *
1241PySwigClientData_New(PyObject* obj)
1242{
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256#if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258#else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260#endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280#ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282#else
1283 data->delargs = 0;
1284#endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291}
1292
1293SWIGRUNTIME void
1294PySwigClientData_Del(PySwigClientData* data)
1295{
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299}
1300
1301/* =============== PySwigObject =====================*/
1302
1303typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309} PySwigObject;
1310
1311SWIGRUNTIME PyObject *
1312PySwigObject_long(PySwigObject *v)
1313{
1314 return PyLong_FromVoidPtr(v->ptr);
1315}
1316
1317SWIGRUNTIME PyObject *
1318PySwigObject_format(const char* fmt, PySwigObject *v)
1319{
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333}
1334
1335SWIGRUNTIME PyObject *
1336PySwigObject_oct(PySwigObject *v)
1337{
1338 return PySwigObject_format("%o",v);
1339}
1340
1341SWIGRUNTIME PyObject *
1342PySwigObject_hex(PySwigObject *v)
1343{
1344 return PySwigObject_format("%x",v);
1345}
1346
1347SWIGRUNTIME PyObject *
1348#ifdef METH_NOARGS
1349PySwigObject_repr(PySwigObject *v)
1350#else
1351PySwigObject_repr(PySwigObject *v, PyObject *args)
1352#endif
1353{
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359#ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361#else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363#endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367}
1368
1369SWIGRUNTIME int
1370PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371{
1372#ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374#else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376#endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384}
1385
1386SWIGRUNTIME PyObject *
1387PySwigObject_str(PySwigObject *v)
1388{
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392}
1393
1394SWIGRUNTIME int
1395PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396{
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400}
1401
1402SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404SWIGRUNTIME PyTypeObject*
1405PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408}
1409
1410SWIGRUNTIMEINLINE int
1411PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414}
1415
1416SWIGRUNTIME PyObject *
1417PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419SWIGRUNTIME void
1420PySwigObject_dealloc(PyObject *v)
1421{
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446#endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451}
1452
1453SWIGRUNTIME PyObject*
1454PySwigObject_append(PyObject* v, PyObject* next)
1455{
1456 PySwigObject *sobj = (PySwigObject *) v;
1457#ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461#endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468}
1469
1470SWIGRUNTIME PyObject*
1471#ifdef METH_NOARGS
1472PySwigObject_next(PyObject* v)
1473#else
1474PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475#endif
1476{
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484}
1485
1486SWIGINTERN PyObject*
1487#ifdef METH_NOARGS
1488PySwigObject_disown(PyObject *v)
1489#else
1490PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491#endif
1492{
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496}
1497
1498SWIGINTERN PyObject*
1499#ifdef METH_NOARGS
1500PySwigObject_acquire(PyObject *v)
1501#else
1502PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503#endif
1504{
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508}
1509
1510SWIGINTERN PyObject*
1511PySwigObject_own(PyObject *v, PyObject *args)
1512{
1513 PyObject *val = 0;
1514#if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516#else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518#endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527#ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533#else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539#endif
1540 }
1541 return obj;
1542 }
1543}
1544
1545#ifdef METH_O
1546static PyMethodDef
1547swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555};
1556#else
1557static PyMethodDef
1558swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566};
1567#endif
1568
1569#if PY_VERSION_HEX < 0x02020000
1570SWIGINTERN PyObject *
1571PySwigObject_getattr(PySwigObject *sobj,char *name)
1572{
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574}
1575#endif
1576
1577SWIGRUNTIME PyTypeObject*
1578_PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
093d3ff1
RD
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
7449af73 1605#if PY_VERSION_HEX >= 0x02020000
093d3ff1 1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
7449af73
RD
1607#elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
093d3ff1
RD
1609#endif
1610 };
1611
554f62e9 1612 static PyTypeObject pyswigobject_type;
7449af73 1613 static int type_init = 0;
093d3ff1 1614 if (!type_init) {
554f62e9
RD
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624#if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626#else
1627 (getattrfunc)0, /* tp_getattr */
093d3ff1 1628#endif
554f62e9
RD
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
093d3ff1 1647#if PY_VERSION_HEX >= 0x02020000
554f62e9
RD
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
093d3ff1
RD
1668#endif
1669#if PY_VERSION_HEX >= 0x02030000
554f62e9 1670 0, /* tp_del */
093d3ff1
RD
1671#endif
1672#ifdef COUNT_ALLOCS
554f62e9 1673 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1674#endif
554f62e9 1675 };
7449af73 1676 pyswigobject_type = tmp;
554f62e9 1677 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1678 type_init = 1;
1679 }
7449af73 1680 return &pyswigobject_type;
093d3ff1
RD
1681}
1682
1683SWIGRUNTIME PyObject *
554f62e9 1684PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c32bde28 1685{
554f62e9
RD
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
7449af73 1692 }
554f62e9 1693 return (PyObject *)sobj;
093d3ff1 1694}
d55e5bfc 1695
093d3ff1
RD
1696/* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
d55e5bfc 1699
093d3ff1
RD
1700typedef struct {
1701 PyObject_HEAD
1702 void *pack;
554f62e9 1703 swig_type_info *ty;
093d3ff1
RD
1704 size_t size;
1705} PySwigPacked;
c32bde28 1706
093d3ff1 1707SWIGRUNTIME int
554f62e9 1708PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
d55e5bfc 1709{
093d3ff1
RD
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
554f62e9 1716 fputs(v->ty->name,fp);
093d3ff1
RD
1717 fputs(">", fp);
1718 return 0;
1719}
9d7dfdff 1720
093d3ff1
RD
1721SWIGRUNTIME PyObject *
1722PySwigPacked_repr(PySwigPacked *v)
1723{
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
554f62e9 1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1727 } else {
554f62e9 1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1 1729 }
d55e5bfc
RD
1730}
1731
093d3ff1
RD
1732SWIGRUNTIME PyObject *
1733PySwigPacked_str(PySwigPacked *v)
1734{
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
554f62e9 1737 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1738 } else {
554f62e9 1739 return PyString_FromString(v->ty->name);
093d3ff1
RD
1740 }
1741}
d55e5bfc 1742
093d3ff1
RD
1743SWIGRUNTIME int
1744PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 1745{
554f62e9
RD
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c32bde28
RD
1750}
1751
554f62e9 1752SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
d55e5bfc 1753
093d3ff1 1754SWIGRUNTIME PyTypeObject*
7449af73 1755PySwigPacked_type(void) {
554f62e9
RD
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758}
1759
1760SWIGRUNTIMEINLINE int
1761PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764}
1765
1766SWIGRUNTIME void
1767PySwigPacked_dealloc(PyObject *v)
1768{
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774}
1775
1776SWIGRUNTIME PyTypeObject*
1777_PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810#if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
093d3ff1
RD
1831#endif
1832#if PY_VERSION_HEX >= 0x02030000
554f62e9 1833 0, /* tp_del */
093d3ff1
RD
1834#endif
1835#ifdef COUNT_ALLOCS
554f62e9 1836 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1837#endif
554f62e9 1838 };
7449af73 1839 pyswigpacked_type = tmp;
554f62e9 1840 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1841 type_init = 1;
1842 }
7449af73 1843 return &pyswigpacked_type;
093d3ff1 1844}
d55e5bfc 1845
093d3ff1 1846SWIGRUNTIME PyObject *
554f62e9 1847PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1848{
554f62e9
RD
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
093d3ff1 1851 void *pack = malloc(size);
7449af73
RD
1852 if (pack) {
1853 memcpy(pack, ptr, size);
554f62e9
RD
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
7449af73 1860 }
093d3ff1 1861 }
554f62e9 1862 return (PyObject *) sobj;
093d3ff1 1863}
d55e5bfc 1864
554f62e9 1865SWIGRUNTIME swig_type_info *
093d3ff1 1866PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d55e5bfc 1867{
554f62e9
RD
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
093d3ff1 1876}
d55e5bfc 1877
093d3ff1 1878/* -----------------------------------------------------------------------------
554f62e9 1879 * pointers/data manipulation
093d3ff1 1880 * ----------------------------------------------------------------------------- */
d55e5bfc 1881
554f62e9
RD
1882SWIGRUNTIMEINLINE PyObject *
1883_SWIG_This(void)
1884{
1885 return PyString_FromString("this");
1886}
d55e5bfc 1887
554f62e9
RD
1888SWIGRUNTIME PyObject *
1889SWIG_This(void)
1890{
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893}
d55e5bfc 1894
554f62e9 1895/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d55e5bfc 1896
554f62e9
RD
1897SWIGRUNTIME PySwigObject *
1898SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1899{
554f62e9
RD
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913#ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918#endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
093d3ff1 1922 } else {
554f62e9
RD
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
093d3ff1 1925 }
093d3ff1 1926 }
554f62e9
RD
1927 }
1928#else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936#endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
093d3ff1
RD
1943 }
1944}
d55e5bfc 1945
554f62e9
RD
1946/* Acquire a pointer value */
1947
1948SWIGRUNTIME int
1949SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
093d3ff1 1957 }
554f62e9 1958 return 0;
093d3ff1 1959}
d55e5bfc 1960
554f62e9
RD
1961/* Convert a pointer value */
1962
093d3ff1 1963SWIGRUNTIME int
554f62e9
RD
1964SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
093d3ff1 1988 } else {
554f62e9
RD
1989 if (ptr) *ptr = vptr;
1990 break;
093d3ff1 1991 }
093d3ff1 1992 }
554f62e9
RD
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
093d3ff1
RD
2038 }
2039}
d55e5bfc 2040
554f62e9
RD
2041/* Convert a function ptr value */
2042
093d3ff1 2043SWIGRUNTIME int
554f62e9
RD
2044SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
093d3ff1 2047 } else {
554f62e9
RD
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
093d3ff1
RD
2065 }
2066}
d55e5bfc 2067
554f62e9 2068/* Convert a packed value value */
d55e5bfc 2069
093d3ff1 2070SWIGRUNTIME int
554f62e9
RD
2071SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
093d3ff1 2080 }
554f62e9
RD
2081 return SWIG_OK;
2082}
d55e5bfc 2083
554f62e9
RD
2084/* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
d55e5bfc 2087
554f62e9
RD
2088/*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091*/
d55e5bfc 2092
554f62e9
RD
2093SWIGRUNTIME PyObject*
2094SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095{
2096#if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
093d3ff1 2111 }
554f62e9
RD
2112#else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115#endif
093d3ff1 2116 }
554f62e9
RD
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
093d3ff1 2122 }
554f62e9
RD
2123 return inst;
2124#else
2125#if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132#else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
093d3ff1 2136 }
554f62e9
RD
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
093d3ff1 2143 }
554f62e9
RD
2144#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146#endif
2147#ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149#endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152#endif
2153#endif
093d3ff1 2154}
d55e5bfc 2155
554f62e9
RD
2156SWIGRUNTIME void
2157SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158{
2159 PyObject *dict;
2160#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
093d3ff1 2171#endif
554f62e9
RD
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175}
d55e5bfc 2176
554f62e9
RD
2177
2178SWIGINTERN PyObject *
2179SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
093d3ff1 2187 } else {
554f62e9 2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2189 }
554f62e9 2190 return SWIG_Py_Void();
093d3ff1 2191 }
554f62e9
RD
2192}
2193
2194/* Create a new pointer object */
093d3ff1 2195
093d3ff1 2196SWIGRUNTIME PyObject *
554f62e9 2197SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2198 if (!ptr) {
554f62e9
RD
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
093d3ff1 2209 }
093d3ff1 2210 }
554f62e9 2211 return robj;
093d3ff1 2212 }
093d3ff1
RD
2213}
2214
554f62e9
RD
2215/* Create a new packed object */
2216
2217SWIGRUNTIMEINLINE PyObject *
093d3ff1 2218SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
554f62e9 2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
093d3ff1
RD
2220}
2221
2222/* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226#ifdef SWIG_LINK_RUNTIME
2227void *SWIG_ReturnGlobalTypeList(void *);
2228#endif
2229
7449af73
RD
2230SWIGRUNTIME swig_module_info *
2231SWIG_Python_GetModule(void) {
093d3ff1
RD
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235#ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237#else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
093d3ff1 2244#endif
7449af73
RD
2245 }
2246 return (swig_module_info *) type_pointer;
093d3ff1
RD
2247}
2248
7449af73
RD
2249#if PY_MAJOR_VERSION < 2
2250/* PyModule_AddObject function was introduced in Python 2.0. The following function
554f62e9 2251 is copied out of Python/modsupport.c in python version 2.3.4 */
7449af73
RD
2252SWIGINTERN int
2253PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254{
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
554f62e9 2259 return SWIG_ERROR;
7449af73
RD
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
554f62e9 2264 return SWIG_ERROR;
7449af73
RD
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
554f62e9 2272 return SWIG_ERROR;
7449af73
RD
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
554f62e9 2275 return SWIG_ERROR;
7449af73 2276 Py_DECREF(o);
554f62e9 2277 return SWIG_OK;
093d3ff1 2278}
7449af73 2279#endif
093d3ff1 2280
554f62e9
RD
2281SWIGRUNTIME void
2282SWIG_Python_DestroyModule(void *vptr)
2283{
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295}
2296
7449af73
RD
2297SWIGRUNTIME void
2298SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
554f62e9 2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
7449af73
RD
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
554f62e9
RD
2306 } else {
2307 Py_XDECREF(pointer);
7449af73
RD
2308 }
2309}
093d3ff1 2310
554f62e9
RD
2311/* The python cached type query */
2312SWIGRUNTIME PyObject *
2313SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
093d3ff1 2316}
093d3ff1 2317
554f62e9
RD
2318SWIGRUNTIME swig_type_info *
2319SWIG_Python_TypeQuery(const char *type)
2320{
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338}
2339
2340/*
2341 For backward compatibility only
2342*/
2343#define SWIG_POINTER_EXCEPTION 0
2344#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347SWIGRUNTIME int
2348SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349{
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370}
2371
2372SWIGRUNTIME int
2373SWIG_Python_ArgFail(int argnum)
2374{
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383}
2384
2385SWIGRUNTIMEINLINE const char *
2386PySwigObject_GetDesc(PyObject *self)
2387{
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391}
2392
2393SWIGRUNTIME void
2394SWIG_Python_TypeError(const char *type, PyObject *obj)
2395{
2396 if (type) {
2397#if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406#endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427}
2428
2429
2430/* Convert a pointer value, signal an exception on a type mismatch */
2431SWIGRUNTIME void *
2432SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442}
2443
2444
2445#ifdef __cplusplus
2446#if 0
2447{ /* cc-mode */
2448#endif
2449}
2450#endif
2451
2452
2453
2454#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460/* -------- TYPES TABLE (BEGIN) -------- */
2461
f460c29d
RD
2462#define SWIGTYPE_p_bool swig_types[0]
2463#define SWIGTYPE_p_char swig_types[1]
2464#define SWIGTYPE_p_form_ops_t swig_types[2]
2465#define SWIGTYPE_p_int swig_types[3]
2466#define SWIGTYPE_p_unsigned_char swig_types[4]
2467#define SWIGTYPE_p_unsigned_int swig_types[5]
2468#define SWIGTYPE_p_unsigned_long swig_types[6]
2469#define SWIGTYPE_p_wxANIHandler swig_types[7]
2470#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472#define SWIGTYPE_p_wxArrayInt swig_types[10]
2473#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474#define SWIGTYPE_p_wxBitmap swig_types[12]
2475#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476#define SWIGTYPE_p_wxCURHandler swig_types[14]
2477#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2131d850
RD
2479#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481#define SWIGTYPE_p_wxColour swig_types[19]
2482#define SWIGTYPE_p_wxColourData swig_types[20]
2483#define SWIGTYPE_p_wxColourDialog swig_types[21]
2484#define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485#define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486#define SWIGTYPE_p_wxControl swig_types[24]
2487#define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488#define SWIGTYPE_p_wxDC swig_types[26]
2489#define SWIGTYPE_p_wxDateEvent swig_types[27]
2490#define SWIGTYPE_p_wxDialog swig_types[28]
2491#define SWIGTYPE_p_wxDirDialog swig_types[29]
2492#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496#define SWIGTYPE_p_wxEvent swig_types[34]
2497#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498#define SWIGTYPE_p_wxFSFile swig_types[36]
2499#define SWIGTYPE_p_wxFileDialog swig_types[37]
2500#define SWIGTYPE_p_wxFileSystem swig_types[38]
2501#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506#define SWIGTYPE_p_wxFont swig_types[44]
2507#define SWIGTYPE_p_wxFontData swig_types[45]
2508#define SWIGTYPE_p_wxFontDialog swig_types[46]
2509#define SWIGTYPE_p_wxFrame swig_types[47]
2510#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513#define SWIGTYPE_p_wxGridSizer swig_types[51]
2514#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515#define SWIGTYPE_p_wxICOHandler swig_types[53]
2516#define SWIGTYPE_p_wxIcon swig_types[54]
2517#define SWIGTYPE_p_wxIconBundle swig_types[55]
2518#define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519#define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520#define SWIGTYPE_p_wxImage swig_types[58]
2521#define SWIGTYPE_p_wxImageHandler swig_types[59]
2522#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524#define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525#define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527#define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528#define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529#define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530#define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531#define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532#define SWIGTYPE_p_wxMenu swig_types[70]
2533#define SWIGTYPE_p_wxMenuBar swig_types[71]
2534#define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535#define SWIGTYPE_p_wxMenuItem swig_types[73]
2536#define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537#define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539#define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540#define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543#define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544#define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545#define SWIGTYPE_p_wxObject swig_types[83]
2546#define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547#define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548#define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549#define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550#define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551#define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553#define SWIGTYPE_p_wxPanel swig_types[91]
2554#define SWIGTYPE_p_wxPaperSize swig_types[92]
2555#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556#define SWIGTYPE_p_wxPoint swig_types[94]
2557#define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558#define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559#define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560#define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561#define SWIGTYPE_p_wxPrintData swig_types[99]
2562#define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563#define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564#define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565#define SWIGTYPE_p_wxPrinter swig_types[103]
2566#define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567#define SWIGTYPE_p_wxPyApp swig_types[105]
2568#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569#define SWIGTYPE_p_wxPyEvent swig_types[107]
2570#define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571#define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572#define SWIGTYPE_p_wxPyPanel swig_types[110]
2573#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575#define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576#define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577#define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578#define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579#define SWIGTYPE_p_wxPySizer swig_types[117]
2580#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581#define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583#define SWIGTYPE_p_wxPyValidator swig_types[121]
2584#define SWIGTYPE_p_wxPyWindow swig_types[122]
2585#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587#define SWIGTYPE_p_wxRect swig_types[125]
2588#define SWIGTYPE_p_wxRegion swig_types[126]
2589#define SWIGTYPE_p_wxSashEvent swig_types[127]
2590#define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591#define SWIGTYPE_p_wxSashWindow swig_types[129]
2592#define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593#define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594#define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595#define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596#define SWIGTYPE_p_wxShowEvent swig_types[134]
2597#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598#define SWIGTYPE_p_wxSize swig_types[136]
2599#define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600#define SWIGTYPE_p_wxSizer swig_types[138]
2601#define SWIGTYPE_p_wxSizerItem swig_types[139]
2602#define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603#define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604#define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605#define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606#define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607#define SWIGTYPE_p_wxStatusBar swig_types[145]
2608#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609#define SWIGTYPE_p_wxString swig_types[147]
2610#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611#define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612#define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614#define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615#define SWIGTYPE_p_wxTipWindow swig_types[153]
2616#define SWIGTYPE_p_wxToolBar swig_types[154]
2617#define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618#define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619#define SWIGTYPE_p_wxValidator swig_types[157]
2620#define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621#define SWIGTYPE_p_wxWindow swig_types[159]
2622#define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624#define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625static swig_type_info *swig_types[164];
2626static swig_module_info swig_module = {swig_types, 163, 0, 0, 0, 0};
7449af73
RD
2627#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2629
2630/* -------- TYPES TABLE (END) -------- */
2631
554f62e9
RD
2632#if (PY_VERSION_HEX <= 0x02000000)
2633# if !defined(SWIG_PYTHON_CLASSIC)
2634# error "This python version requires to use swig with the '-classic' option"
2635# endif
2636#endif
2637#if (PY_VERSION_HEX <= 0x02020000)
2638# error "This python version requires to use swig with the '-nomodern' option"
2639#endif
2640#if (PY_VERSION_HEX <= 0x02020000)
2641# error "This python version requires to use swig with the '-nomodernargs' option"
2642#endif
2643#ifndef METH_O
2644# error "This python version requires to use swig with the '-nofastunpack' option"
2645#endif
093d3ff1
RD
2646
2647/*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650#define SWIG_init init_windows_
2651
2652#define SWIG_name "_windows_"
2653
554f62e9 2654#define SWIGVERSION 0x010329
093d3ff1 2655
093d3ff1 2656
554f62e9
RD
2657#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
093d3ff1
RD
2659
2660
554f62e9 2661#include <stdexcept>
093d3ff1
RD
2662
2663
554f62e9
RD
2664namespace swig {
2665 class PyObject_ptr {
2666 protected:
2667 PyObject *_obj;
093d3ff1 2668
554f62e9
RD
2669 public:
2670 PyObject_ptr() :_obj(0)
2671 {
2672 }
093d3ff1 2673
554f62e9
RD
2674 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2675 {
2676 Py_XINCREF(_obj);
093d3ff1 2677 }
554f62e9
RD
2678
2679 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2680 {
2681 if (initial_ref) Py_XINCREF(_obj);
093d3ff1 2682 }
554f62e9
RD
2683
2684 PyObject_ptr & operator=(const PyObject_ptr& item)
2685 {
2686 Py_XINCREF(item._obj);
2687 Py_XDECREF(_obj);
2688 _obj = item._obj;
2689 return *this;
2690 }
2691
2692 ~PyObject_ptr()
2693 {
2694 Py_XDECREF(_obj);
2695 }
2696
2697 operator PyObject *() const
2698 {
2699 return _obj;
2700 }
2701
2702 PyObject *operator->() const
2703 {
2704 return _obj;
2705 }
2706 };
093d3ff1
RD
2707}
2708
2709
554f62e9
RD
2710namespace swig {
2711 struct PyObject_var : PyObject_ptr {
2712 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2713
2714 PyObject_var & operator = (PyObject* obj)
2715 {
2716 Py_XDECREF(_obj);
2717 _obj = obj;
2718 return *this;
093d3ff1 2719 }
554f62e9 2720 };
093d3ff1 2721}
093d3ff1
RD
2722
2723
554f62e9
RD
2724#include "wx/wxPython/wxPython.h"
2725#include "wx/wxPython/pyclasses.h"
2726
093d3ff1 2727
554f62e9
RD
2728 static const wxString wxPyEmptyString(wxEmptyString);
2729 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1 2730
093d3ff1 2731
554f62e9
RD
2732
2733#include <limits.h>
2734#ifndef LLONG_MIN
2735# define LLONG_MIN LONG_LONG_MIN
2736#endif
2737#ifndef LLONG_MAX
2738# define LLONG_MAX LONG_LONG_MAX
2739#endif
2740#ifndef ULLONG_MAX
2741# define ULLONG_MAX ULONG_LONG_MAX
2742#endif
2743
2744
2745SWIGINTERN int
2746SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1 2747{
554f62e9
RD
2748 if (PyNumber_Check(obj)) {
2749 if (val) *val = PyInt_AsLong(obj);
2750 return SWIG_OK;
2751 }
2752 return SWIG_TypeError;
093d3ff1
RD
2753}
2754
554f62e9
RD
2755
2756SWIGINTERN int
2757SWIG_AsVal_int (PyObject * obj, int *val)
093d3ff1 2758{
554f62e9
RD
2759 long v;
2760 int res = SWIG_AsVal_long (obj, &v);
2761 if (SWIG_IsOK(res)) {
2762 if ((v < INT_MIN || v > INT_MAX)) {
2763 return SWIG_OverflowError;
2764 } else {
2765 if (val) *val = static_cast< int >(v);
2766 }
2767 }
2768 return res;
093d3ff1
RD
2769}
2770
2771
2772SWIGINTERN int
554f62e9 2773SWIG_AsVal_bool (PyObject *obj, bool *val)
093d3ff1
RD
2774{
2775 if (obj == Py_True) {
2776 if (val) *val = true;
554f62e9
RD
2777 return SWIG_OK;
2778 } else if (obj == Py_False) {
093d3ff1 2779 if (val) *val = false;
554f62e9 2780 return SWIG_OK;
093d3ff1 2781 } else {
554f62e9
RD
2782 long v = 0;
2783 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2784 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2785 return res;
093d3ff1 2786 }
093d3ff1
RD
2787}
2788
2789
554f62e9 2790 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2791
2792
554f62e9
RD
2793SWIGINTERNINLINE PyObject *
2794SWIG_From_int (int value)
2795{
2796 return SWIG_From_long (value);
2797}
093d3ff1
RD
2798
2799
2800SWIGINTERN int
554f62e9 2801SWIG_AsVal_double (PyObject *obj, double* val)
093d3ff1
RD
2802{
2803 if (PyNumber_Check(obj)) {
2804 if (val) *val = PyFloat_AsDouble(obj);
554f62e9 2805 return SWIG_OK;
093d3ff1 2806 }
554f62e9 2807 return SWIG_TypeError;
093d3ff1
RD
2808}
2809
2810
554f62e9 2811 #define SWIG_From_double PyFloat_FromDouble
093d3ff1
RD
2812
2813 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2814 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2815 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2816 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
554f62e9
RD
2817SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2818SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
093d3ff1
RD
2819
2820
554f62e9 2821SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
093d3ff1
RD
2822 wxRect r;
2823 self->GetFieldRect(i, r);
2824 return r;
2825 }
2826 static const wxString wxPySplitterNameStr(wxT("splitter"));
2827 static const wxString wxPySashNameStr(wxT("sashWindow"));
2828 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2829
2830#include <wx/popupwin.h>
2831
2832
2833class wxPyPopupTransientWindow : public wxPopupTransientWindow
2834{
2835public:
2836 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2837 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2838 : wxPopupTransientWindow(parent, style) {}
2839
2840 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2841 DEC_PYCALLBACK__(OnDismiss);
2842 DEC_PYCALLBACK_BOOL_(CanDismiss);
2843 PYPRIVATE;
2844};
2845
2846
2847IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2848IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2849IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2850
2851
2852#include <wx/tipwin.h>
2853
554f62e9 2854SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
093d3ff1
RD
2855 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2856 }
2857
2858#include <wx/tipwin.h>
2859
2860
2861#include <wx/vscroll.h>
2862
2863
2864class wxPyVScrolledWindow : public wxVScrolledWindow
2865{
7449af73 2866 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
2867public:
2868 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2869
2870 wxPyVScrolledWindow(wxWindow *parent,
2871 wxWindowID id = wxID_ANY,
2872 const wxPoint& pos = wxDefaultPosition,
2873 const wxSize& size = wxDefaultSize,
2874 long style = 0,
2875 const wxString& name = wxPyPanelNameStr)
2876 : wxVScrolledWindow(parent, id, pos, size, style, name)
2877 {}
2878
2879 // Overridable virtuals
2880
2881 // this function must be overridden in the derived class and it should
2882 // return the height of the given line in pixels
2883 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2884
2885
2886 // this function doesn't have to be overridden but it may be useful to do
2887 // it if calculating the lines heights is a relatively expensive operation
2888 // as it gives the user code a possibility to calculate several of them at
2889 // once
2890 //
2891 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2892 // shouldn't rely on the latter being called for all lines in the interval
2893 // specified here. It is also possible that OnGetLineHeight() will be
2894 // called for the lines outside of this interval, so this is really just a
2895 // hint, not a promise.
2896 //
2897 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2898 // usual
2899 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2900
2901
2902 // when the number of lines changes, we try to estimate the total height
2903 // of all lines which is a rather expensive operation in terms of lines
2904 // access, so if the user code may estimate the average height
2905 // better/faster than we do, it should override this function to implement
2906 // its own logic
2907 //
2908 // this function should return the best guess for the total height it may
2909 // make
2910 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2911
2912
2913 // Also expose some other interesting protected methods
2914
2915
2916 // find the index of the line we need to show at the top of the window such
2917 // that the last (fully or partially) visible line is the given one
2918 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2919 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2920
2921 // get the total height of the lines between lineMin (inclusive) and
2922 // lineMax (exclusive)
2923 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2924 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d55e5bfc 2925
f460c29d
RD
2926 // update the thumb size shown by the scrollbar
2927 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2928
2929 // remove the scrollbar completely because we don't need it
2930 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
d55e5bfc
RD
2931
2932 PYPRIVATE;
2933};
2934
2935IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2936
2937IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2938IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2939IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2940
2941
093d3ff1 2942SWIGINTERN int
554f62e9 2943SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
d55e5bfc 2944{
c32bde28
RD
2945 long v = 0;
2946 if (SWIG_AsVal_long(obj, &v) && v < 0) {
554f62e9 2947 return SWIG_TypeError;
d55e5bfc 2948 }
c32bde28
RD
2949 else if (val)
2950 *val = (unsigned long)v;
554f62e9 2951 return SWIG_OK;
d55e5bfc
RD
2952}
2953
2954
7449af73 2955SWIGINTERNINLINE int
554f62e9 2956SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c32bde28 2957{
554f62e9
RD
2958 unsigned long v;
2959 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2960 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2961 return res;
d55e5bfc
RD
2962}
2963
2964
7449af73 2965SWIGINTERNINLINE PyObject*
554f62e9 2966SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2967{
2968 return (value > LONG_MAX) ?
554f62e9
RD
2969 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2970}
2971
2972
2973SWIGINTERNINLINE PyObject *
2974SWIG_From_size_t (size_t value)
2975{
2976 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2977}
2978
2979
2980#include <wx/vlbox.h>
2981
2982 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2983
2984class wxPyVListBox : public wxVListBox
2985{
7449af73 2986 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2987public:
2988 wxPyVListBox() : wxVListBox() {}
2989
2990 wxPyVListBox(wxWindow *parent,
2991 wxWindowID id = wxID_ANY,
2992 const wxPoint& pos = wxDefaultPosition,
2993 const wxSize& size = wxDefaultSize,
2994 long style = 0,
2995 const wxString& name = wxPyVListBoxNameStr)
2996 : wxVListBox(parent, id, pos, size, style, name)
2997 {}
2998
2999 // Overridable virtuals
3000
3001 // the derived class must implement this function to actually draw the item
3002 // with the given index on the provided DC
3003 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3004 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3005
3006
3007 // the derived class must implement this method to return the height of the
3008 // specified item
3009 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3010 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3011
3012
3013 // this method may be used to draw separators between the lines; note that
3014 // the rectangle may be modified, typically to deflate it a bit before
3015 // passing to OnDrawItem()
3016 //
3017 // the base class version doesn't do anything
3018 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3019 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3020
3021
3022 // this method is used to draw the items background and, maybe, a border
3023 // around it
3024 //
3025 // the base class version implements a reasonable default behaviour which
3026 // consists in drawing the selected item with the standard background
3027 // colour and drawing a border around the item if it is either selected or
3028 // current
3029 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3030 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3031
3032
3033 PYPRIVATE;
3034};
3035
3036IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3037
3038IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3039IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3040IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3041IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3042
3043
554f62e9 3044SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3045 unsigned long cookie = 0;
3046 int selected = self->GetFirstSelected(cookie);
5a446332 3047 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3048 PyObject* tup = PyTuple_New(2);
3049 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3050 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3051 wxPyEndBlockThreads(blocked);
3052 return tup;
3053 }
554f62e9 3054SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3055 int selected = self->GetNextSelected(cookie);
5a446332 3056 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3057 PyObject* tup = PyTuple_New(2);
3058 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3059 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3060 wxPyEndBlockThreads(blocked);
3061 return tup;
3062 }
d55e5bfc
RD
3063
3064#include <wx/htmllbox.h>
3065
3066
3067class wxPyHtmlListBox : public wxHtmlListBox
3068{
7449af73 3069 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3070public:
3071 wxPyHtmlListBox() : wxHtmlListBox() {}
3072
3073 wxPyHtmlListBox(wxWindow *parent,
3074 wxWindowID id = wxID_ANY,
3075 const wxPoint& pos = wxDefaultPosition,
3076 const wxSize& size = wxDefaultSize,
3077 long style = 0,
3078 const wxString& name = wxPyVListBoxNameStr)
3079 : wxHtmlListBox(parent, id, pos, size, style, name)
3080 {}
3081
3082 // Overridable virtuals
3083
3084 // this method must be implemented in the derived class and should return
3085 // the body (i.e. without <html>) of the HTML for the given item
3086 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3087
3088 // this function may be overridden to decorate HTML returned by OnGetItem()
3089 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3090
1c71765a
RD
3091 // These are from wxVListBox
3092 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3093 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3094
d55e5bfc
RD
3095// TODO:
3096// // this method allows to customize the selection appearance: it may be used
3097// // to specify the colour of the text which normally has the given colour
3098// // colFg when it is inside the selection
3099// //
3100// // by default, the original colour is not used at all and all text has the
3101// // same (default for this system) colour inside selection
3102// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3103
3104// // this is the same as GetSelectedTextColour() but allows to customize the
3105// // background colour -- this is even more rarely used as you can change it
3106// // globally using SetSelectionBackground()
3107// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3108
e9d6f3a4
RD
3109
3110 // This method may be overriden to handle clicking on a link in
3111 // the listbox. By default, clicking links is ignored.
3112 virtual void OnLinkClicked(size_t n,
3113 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3114
3115 PYPRIVATE;
3116};
3117
3118
3119IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3120
3121IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3122IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3123IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3124IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3125
3126
e9d6f3a4
RD
3127void wxPyHtmlListBox::OnLinkClicked(size_t n,
3128 const wxHtmlLinkInfo& link) {
3129 bool found;
3130 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3131 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3132 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3133 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3134 Py_DECREF(obj);
3135 }
3136 wxPyEndBlockThreads(blocked);
3137 if (! found)
3138 wxPyHtmlListBox::OnLinkClicked(n, link);
3139}
3140
3141
d55e5bfc
RD
3142
3143
3144
ae8162c8
RD
3145#ifndef wxHAS_TASK_BAR_ICON
3146// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3147
3148class wxTaskBarIcon : public wxEvtHandler
3149{
3150public:
3151 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3152};
09c21d3b 3153
d55e5bfc
RD
3154
3155class wxTaskBarIconEvent : public wxEvent
3156{
3157public:
3158 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3159 { wxPyRaiseNotImplemented(); }
3160 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
3161 bool IsOk() const { return false; }
3162 bool IsIconInstalled() const { return false; }
3163 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3164 bool RemoveIcon() { return false; }
3165 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3166};
3167
3168enum {
3169 wxEVT_TASKBAR_MOVE = 0,
3170 wxEVT_TASKBAR_LEFT_DOWN = 0,
3171 wxEVT_TASKBAR_LEFT_UP = 0,
3172 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3173 wxEVT_TASKBAR_RIGHT_UP = 0,
3174 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3175 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3176};
09c21d3b
RD
3177
3178
3179#else
5e483524
RD
3180// Otherwise make a class that can virtualize CreatePopupMenu
3181class wxPyTaskBarIcon : public wxTaskBarIcon
3182{
7449af73 3183 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3184public:
3185 wxPyTaskBarIcon() : wxTaskBarIcon()
3186 {}
3187
3188 wxMenu* CreatePopupMenu() {
3189 wxMenu *rval = NULL;
3190 bool found;
5a446332 3191 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3192 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3193 PyObject* ro;
3194 wxMenu* ptr;
3195 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3196 if (ro) {
3197 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3198 rval = ptr;
3199 Py_DECREF(ro);
3200 }
3201 }
3202 wxPyEndBlockThreads(blocked);
3203 if (! found)
3204 rval = wxTaskBarIcon::CreatePopupMenu();
3205 return rval;
3206 }
3207
3208 PYPRIVATE;
3209};
3210
3211IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 3212
d55e5bfc
RD
3213#endif
3214
554f62e9 3215SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
d55e5bfc 3216 self->RemoveIcon();
5e483524 3217 delete self;
d55e5bfc
RD
3218 }
3219 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3220 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3221 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3222 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3223 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3224 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
554f62e9 3225SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3226 wxArrayString arr;
3227 self->GetFilenames(arr);
3228 return wxArrayString2PyList_helper(arr);
3229 }
554f62e9 3230SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3231 wxArrayString arr;
3232 self->GetPaths(arr);
3233 return wxArrayString2PyList_helper(arr);
3234 }
554f62e9 3235SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3236 return wxArrayInt2PyList_helper(self->GetSelections());
3237 }
554f62e9 3238SWIGINTERN 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
3239 return new wxSingleChoiceDialog(parent, message, caption,
3240 choices, choices_array, NULL, style, pos);
3241 }
c1cb24a4 3242 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3243
f460c29d
RD
3244SWIGINTERNINLINE PyObject*
3245 SWIG_From_bool (bool value)
3246{
3247 return PyBool_FromLong(value ? 1 : 0);
3248}
3249
3250
d55e5bfc
RD
3251#include <wx/mdi.h>
3252
3253 // C++ version of Python aware wxWindow
3254class wxPyWindow : public wxWindow
3255{
3256 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3257public:
3258 wxPyWindow() : wxWindow() {}
3259 wxPyWindow(wxWindow* parent, const wxWindowID id,
3260 const wxPoint& pos = wxDefaultPosition,
3261 const wxSize& size = wxDefaultSize,
3262 long style = 0,
3263 const wxString& name = wxPyPanelNameStr)
3264 : wxWindow(parent, id, pos, size, style, name) {}
3265
caef1a4d 3266 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 3267
60d5fcc1
RD
3268 bool DoEraseBackground(wxDC* dc) {
3269#ifdef __WXMSW__
3270 return wxWindow::DoEraseBackground(dc->GetHDC());
3271#else
3272 dc->SetBackground(wxBrush(GetBackgroundColour()));
3273 dc->Clear();
3274 return true;
3275#endif
3276 }
3277
d55e5bfc
RD
3278 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3279 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3280 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3282
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3286
3287 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3288 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3289
3290 DEC_PYCALLBACK__(InitDialog);
3291 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3292 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3293 DEC_PYCALLBACK_BOOL_(Validate);
3294
3295 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3297 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3298
3299 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3301
caef1a4d 3302 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3303 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3304
51b83b37
RD
3305 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3306
8d38bd1d
RD
3307 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3308
d55e5bfc
RD
3309 PYPRIVATE;
3310};
3311
3312IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3313
3314IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3315IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3316IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3317IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3318
3319IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3320IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3321IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3322
3323IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3324IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3325
3326IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3327IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3328IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3329IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3330
3331IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3332IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3333IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3334
3335IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3336IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3337
caef1a4d 3338IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
caef1a4d 3339IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3340
3341IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3342
8d38bd1d
RD
3343IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3344
d55e5bfc
RD
3345 // C++ version of Python aware wxPanel
3346class wxPyPanel : public wxPanel
3347{
3348 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3349public:
3350 wxPyPanel() : wxPanel() {}
3351 wxPyPanel(wxWindow* parent, const wxWindowID id,
3352 const wxPoint& pos = wxDefaultPosition,
3353 const wxSize& size = wxDefaultSize,
3354 long style = 0,
3355 const wxString& name = wxPyPanelNameStr)
3356 : wxPanel(parent, id, pos, size, style, name) {}
3357
caef1a4d 3358 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
60d5fcc1
RD
3359 bool DoEraseBackground(wxDC* dc) {
3360#ifdef __WXMSW__
3361 return wxWindow::DoEraseBackground(dc->GetHDC());
3362#else
3363 dc->SetBackground(wxBrush(GetBackgroundColour()));
3364 dc->Clear();
3365 return true;
3366#endif
3367 }
caef1a4d 3368
d55e5bfc
RD
3369
3370 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3371 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3372 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3374
3375 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3378
3379 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3380 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3381
3382 DEC_PYCALLBACK__(InitDialog);
3383 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3384 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3385 DEC_PYCALLBACK_BOOL_(Validate);
3386
3387 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3389 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3390
3391 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3392 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3393
caef1a4d 3394 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3395 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3396
51b83b37
RD
3397 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3398
8d38bd1d
RD
3399 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3400
d55e5bfc
RD
3401 PYPRIVATE;
3402};
3403
3404IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3405
3406IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3407IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3408IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3409IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3410
3411IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3412IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3413IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3414
3415IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3416IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3417
3418IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3419IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3420IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3421IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3422
3423IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3424IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3425IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3426
3427IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3428IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3429
caef1a4d 3430IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
caef1a4d 3431IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3432
51b83b37
RD
3433IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3434
8d38bd1d
RD
3435IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3436
d55e5bfc
RD
3437 // C++ version of Python aware wxScrolledWindow
3438class wxPyScrolledWindow : public wxScrolledWindow
3439{
3440 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3441public:
3442 wxPyScrolledWindow() : wxScrolledWindow() {}
3443 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3444 const wxPoint& pos = wxDefaultPosition,
3445 const wxSize& size = wxDefaultSize,
3446 long style = 0,
3447 const wxString& name = wxPyPanelNameStr)
3448 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3449
caef1a4d 3450 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
60d5fcc1
RD
3451 bool DoEraseBackground(wxDC* dc) {
3452#ifdef __WXMSW__
3453 return wxWindow::DoEraseBackground(dc->GetHDC());
3454#else
3455 dc->SetBackground(wxBrush(GetBackgroundColour()));
3456 dc->Clear();
3457 return true;
3458#endif
3459 }
d55e5bfc
RD
3460
3461 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3462 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3463 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3465
3466 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3469
3470 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3471 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3472
3473 DEC_PYCALLBACK__(InitDialog);
3474 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3475 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3476 DEC_PYCALLBACK_BOOL_(Validate);
3477
3478 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3480 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3481
3482 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3483 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3484
caef1a4d 3485 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
caef1a4d 3486 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3487
51b83b37
RD
3488 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3489
8d38bd1d
RD
3490 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3491
d55e5bfc
RD
3492 PYPRIVATE;
3493};
3494
3495IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3496
3497IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3498IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3499IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3500IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3501
3502IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3503IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3504IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3505
3506IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3507IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3508
3509IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3510IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3511IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3512IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3513
3514IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3515IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3516IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3517
3518IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3519IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3520
caef1a4d 3521IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
caef1a4d
RD
3522IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3523
51b83b37 3524IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3525
8d38bd1d
RD
3526IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3527
d55e5bfc
RD
3528
3529#include "wx/wxPython/printfw.h"
3530
3531
3532 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3533 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
554f62e9 3534SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
b9d6a5f3 3535 PyObject* data;
5a446332 3536 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3537 data = PyString_FromStringAndSize(self->GetPrivData(),
3538 self->GetPrivDataLen());
3539 wxPyEndBlockThreads(blocked);
3540 return data;
3541 }
554f62e9 3542SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
b9d6a5f3
RD
3543 if (! PyString_Check(data)) {
3544 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3545 "Expected string object"));
3546 return /* NULL */ ;
3547 }
3548
5a446332 3549 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3550 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3551 wxPyEndBlockThreads(blocked);
3552 }
d55e5bfc
RD
3553
3554
c1cb24a4 3555IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3556
3557// Since this one would be tough and ugly to do with the Macros...
3558void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 3559 bool hadErr = false;
d55e5bfc
RD
3560 bool found;
3561
5a446332 3562 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3563 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3564 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3565 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3566 PyObject* val;
3567
3568 val = PyTuple_GetItem(result, 0);
3569 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 3570 else hadErr = true;
d55e5bfc
RD
3571
3572 val = PyTuple_GetItem(result, 1);
3573 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 3574 else hadErr = true;
d55e5bfc
RD
3575
3576 val = PyTuple_GetItem(result, 2);
3577 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 3578 else hadErr = true;
d55e5bfc
RD
3579
3580 val = PyTuple_GetItem(result, 3);
3581 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 3582 else hadErr = true;
d55e5bfc
RD
3583 }
3584 else
ae8162c8 3585 hadErr = true;
d55e5bfc
RD
3586
3587 if (hadErr) {
3588 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3589 PyErr_Print();
3590 }
3591 Py_DECREF(result);
3592 }
3593 wxPyEndBlockThreads(blocked);
3594 if (! found)
3595 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3596}
3597
d55e5bfc
RD
3598
3599
3600IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3601IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3602IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3603IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3604IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3605IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3606IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3607
3608
3609
3610
3611
ae8162c8 3612#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
b06b3e70 3613 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3614
3615
ae8162c8
RD
3616#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3617 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3618 bool rval=false; \
3619 bool found; \
7449af73 3620 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
3621 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3622 PyObject* win = wxPyMake_wxObject(a,false); \
3623 PyObject* dc = wxPyMake_wxObject(&b,false); \
3624 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3625 Py_DECREF(win); \
3626 Py_DECREF(dc); \
3627 } \
3628 wxPyEndBlockThreads(blocked); \
3629 if (! found) \
3630 rval = PCLASS::CBNAME(a, b); \
3631 return rval; \
b06b3e70 3632 }
d55e5bfc
RD
3633
3634
3635
3636
3637class wxPyPrintPreview : public wxPrintPreview
3638{
3639 DECLARE_CLASS(wxPyPrintPreview)
3640public:
3641 wxPyPrintPreview(wxPyPrintout* printout,
3642 wxPyPrintout* printoutForPrinting,
3643 wxPrintDialogData* data=NULL)
3644 : wxPrintPreview(printout, printoutForPrinting, data)
3645 {}
3646 wxPyPrintPreview(wxPyPrintout* printout,
3647 wxPyPrintout* printoutForPrinting,
7449af73 3648 wxPrintData* data)
d55e5bfc
RD
3649 : wxPrintPreview(printout, printoutForPrinting, data)
3650 {}
3651
3652 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3653 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3655 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3656 DEC_PYCALLBACK_VOID_INT(SetZoom);
3657 DEC_PYCALLBACK_BOOL_BOOL(Print);
3658 DEC_PYCALLBACK_VOID_(DetermineScaling);
3659
3660 PYPRIVATE;
3661};
3662
3663// Stupid renamed classes... Fix this in 2.5...
3664#if defined(__WXMSW__)
3665IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3666#elif defined(__WXMAC__)
3667IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3668#else
3669IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3670#endif
3671
3672IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3673IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3674IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3675IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3676IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3677IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3678IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3679
3680
3681class wxPyPreviewFrame : public wxPreviewFrame
3682{
7449af73 3683 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3684public:
3685 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3686 const wxString& title,
3687 const wxPoint& pos = wxDefaultPosition,
3688 const wxSize& size = wxDefaultSize,
3689 long style = wxDEFAULT_FRAME_STYLE,
3690 const wxString& name = wxPyFrameNameStr)
3691 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3692 {}
3693
3694 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3695 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3696
3697 DEC_PYCALLBACK_VOID_(Initialize);
3698 DEC_PYCALLBACK_VOID_(CreateCanvas);
3699 DEC_PYCALLBACK_VOID_(CreateControlBar);
3700
3701 PYPRIVATE;
3702};
3703
3704IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3705
3706IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3707IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3708IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3709
3710
3711class wxPyPreviewControlBar : public wxPreviewControlBar
3712{
7449af73 3713 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3714public:
3715 wxPyPreviewControlBar(wxPrintPreview *preview,
3716 long buttons,
3717 wxWindow *parent,
3718 const wxPoint& pos = wxDefaultPosition,
3719 const wxSize& size = wxDefaultSize,
3720 long style = 0,
3721 const wxString& name = wxPyPanelNameStr)
3722 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3723 {}
3724
3725 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3726
3727 DEC_PYCALLBACK_VOID_(CreateButtons);
3728 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3729
3730 PYPRIVATE;
3731};
3732
3733IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3734IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3735IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3736
3737#ifdef __cplusplus
3738extern "C" {
3739#endif
554f62e9
RD
3740SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3741 PyObject *resultobj = 0;
3742 wxWindow *arg1 = (wxWindow *) 0 ;
3743 int arg2 = (int) (int)-1 ;
3744 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3745 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3746 wxSize const &arg4_defvalue = wxDefaultSize ;
3747 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3748 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3749 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3750 wxString *arg6 = (wxString *) &arg6_defvalue ;
3751 wxPanel *result = 0 ;
3752 void *argp1 = 0 ;
3753 int res1 = 0 ;
3754 int val2 ;
3755 int ecode2 = 0 ;
3756 wxPoint temp3 ;
3757 wxSize temp4 ;
3758 long val5 ;
3759 int ecode5 = 0 ;
3760 bool temp6 = false ;
3761 PyObject * obj0 = 0 ;
3762 PyObject * obj1 = 0 ;
3763 PyObject * obj2 = 0 ;
3764 PyObject * obj3 = 0 ;
3765 PyObject * obj4 = 0 ;
3766 PyObject * obj5 = 0 ;
3767 char * kwnames[] = {
3768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3769 };
3770
3771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3773 if (!SWIG_IsOK(res1)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3775 }
3776 arg1 = reinterpret_cast< wxWindow * >(argp1);
3777 if (obj1) {
3778 ecode2 = SWIG_AsVal_int(obj1, &val2);
3779 if (!SWIG_IsOK(ecode2)) {
3780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3781 }
3782 arg2 = static_cast< int >(val2);
3783 }
3784 if (obj2) {
d55e5bfc 3785 {
554f62e9
RD
3786 arg3 = &temp3;
3787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3788 }
554f62e9
RD
3789 }
3790 if (obj3) {
d55e5bfc 3791 {
554f62e9
RD
3792 arg4 = &temp4;
3793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3794 }
554f62e9
RD
3795 }
3796 if (obj4) {
3797 ecode5 = SWIG_AsVal_long(obj4, &val5);
3798 if (!SWIG_IsOK(ecode5)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3800 }
3801 arg5 = static_cast< long >(val5);
3802 }
3803 if (obj5) {
d55e5bfc 3804 {
554f62e9
RD
3805 arg6 = wxString_in_helper(obj5);
3806 if (arg6 == NULL) SWIG_fail;
3807 temp6 = true;
3808 }
3809 }
3810 {
3811 if (!wxPyCheckForApp()) SWIG_fail;
3812 PyThreadState* __tstate = wxPyBeginAllowThreads();
3813 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3814 wxPyEndAllowThreads(__tstate);
3815 if (PyErr_Occurred()) SWIG_fail;
3816 }
3817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3818 {
3819 if (temp6)
3820 delete arg6;
3821 }
3822 return resultobj;
3823fail:
3824 {
3825 if (temp6)
3826 delete arg6;
3827 }
3828 return NULL;
d55e5bfc
RD
3829}
3830
3831
554f62e9
RD
3832SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3833 PyObject *resultobj = 0;
3834 wxPanel *result = 0 ;
3835
3836 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3837 {
3838 if (!wxPyCheckForApp()) SWIG_fail;
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (wxPanel *)new wxPanel();
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3845 return resultobj;
3846fail:
3847 return NULL;
3848}
3849
3850
3851SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3852 PyObject *resultobj = 0;
3853 wxPanel *arg1 = (wxPanel *) 0 ;
3854 wxWindow *arg2 = (wxWindow *) 0 ;
3855 int arg3 = (int) (int)-1 ;
3856 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3857 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3858 wxSize const &arg5_defvalue = wxDefaultSize ;
3859 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3860 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3861 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3862 wxString *arg7 = (wxString *) &arg7_defvalue ;
3863 bool result;
3864 void *argp1 = 0 ;
3865 int res1 = 0 ;
3866 void *argp2 = 0 ;
3867 int res2 = 0 ;
3868 int val3 ;
3869 int ecode3 = 0 ;
3870 wxPoint temp4 ;
3871 wxSize temp5 ;
3872 long val6 ;
3873 int ecode6 = 0 ;
3874 bool temp7 = false ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj1 = 0 ;
3877 PyObject * obj2 = 0 ;
3878 PyObject * obj3 = 0 ;
3879 PyObject * obj4 = 0 ;
3880 PyObject * obj5 = 0 ;
3881 PyObject * obj6 = 0 ;
3882 char * kwnames[] = {
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3884 };
3885
3886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3888 if (!SWIG_IsOK(res1)) {
3889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3890 }
3891 arg1 = reinterpret_cast< wxPanel * >(argp1);
3892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3893 if (!SWIG_IsOK(res2)) {
3894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3895 }
3896 arg2 = reinterpret_cast< wxWindow * >(argp2);
3897 if (obj2) {
3898 ecode3 = SWIG_AsVal_int(obj2, &val3);
3899 if (!SWIG_IsOK(ecode3)) {
3900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3901 }
3902 arg3 = static_cast< int >(val3);
3903 }
3904 if (obj3) {
d55e5bfc 3905 {
554f62e9
RD
3906 arg4 = &temp4;
3907 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3908 }
554f62e9
RD
3909 }
3910 if (obj4) {
d55e5bfc 3911 {
554f62e9
RD
3912 arg5 = &temp5;
3913 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3914 }
554f62e9
RD
3915 }
3916 if (obj5) {
3917 ecode6 = SWIG_AsVal_long(obj5, &val6);
3918 if (!SWIG_IsOK(ecode6)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3920 }
3921 arg6 = static_cast< long >(val6);
3922 }
3923 if (obj6) {
d55e5bfc 3924 {
554f62e9
RD
3925 arg7 = wxString_in_helper(obj6);
3926 if (arg7 == NULL) SWIG_fail;
3927 temp7 = true;
d55e5bfc 3928 }
554f62e9
RD
3929 }
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 {
3937 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3938 }
3939 {
3940 if (temp7)
3941 delete arg7;
3942 }
3943 return resultobj;
3944fail:
3945 {
3946 if (temp7)
3947 delete arg7;
3948 }
3949 return NULL;
b519803b
RD
3950}
3951
3952
554f62e9
RD
3953SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3954 PyObject *resultobj = 0;
3955 wxPanel *arg1 = (wxPanel *) 0 ;
3956 void *argp1 = 0 ;
3957 int res1 = 0 ;
3958 PyObject *swig_obj[1] ;
3959
3960 if (!args) SWIG_fail;
3961 swig_obj[0] = args;
3962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3963 if (!SWIG_IsOK(res1)) {
3964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3965 }
3966 arg1 = reinterpret_cast< wxPanel * >(argp1);
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 (arg1)->SetFocusIgnoringChildren();
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 resultobj = SWIG_Py_Void();
3974 return resultobj;
3975fail:
3976 return NULL;
3977}
3978
3979
3980SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3981 PyObject *resultobj = 0;
3982 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3983 SwigValueWrapper<wxVisualAttributes > result;
3984 int val1 ;
3985 int ecode1 = 0 ;
3986 PyObject * obj0 = 0 ;
3987 char * kwnames[] = {
3988 (char *) "variant", NULL
3989 };
3990
3991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3992 if (obj0) {
3993 ecode1 = SWIG_AsVal_int(obj0, &val1);
3994 if (!SWIG_IsOK(ecode1)) {
3995 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3996 }
3997 arg1 = static_cast< wxWindowVariant >(val1);
3998 }
3999 {
4000 if (!wxPyCheckForApp()) SWIG_fail;
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = wxPanel::GetClassDefaultAttributes(arg1);
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4007 return resultobj;
4008fail:
4009 return NULL;
4010}
4011
4012
4013SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4014 PyObject *obj;
4015 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4017 return SWIG_Py_Void();
4018}
4019
4020SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4021 return SWIG_Python_InitShadowInstance(args);
4022}
4023
4024SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4025 PyObject *resultobj = 0;
4026 wxWindow *arg1 = (wxWindow *) 0 ;
4027 int arg2 = (int) (int)-1 ;
4028 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4029 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4030 wxSize const &arg4_defvalue = wxDefaultSize ;
4031 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4032 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4033 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4034 wxString *arg6 = (wxString *) &arg6_defvalue ;
4035 wxScrolledWindow *result = 0 ;
4036 void *argp1 = 0 ;
4037 int res1 = 0 ;
4038 int val2 ;
4039 int ecode2 = 0 ;
4040 wxPoint temp3 ;
4041 wxSize temp4 ;
4042 long val5 ;
4043 int ecode5 = 0 ;
4044 bool temp6 = false ;
4045 PyObject * obj0 = 0 ;
4046 PyObject * obj1 = 0 ;
4047 PyObject * obj2 = 0 ;
4048 PyObject * obj3 = 0 ;
4049 PyObject * obj4 = 0 ;
4050 PyObject * obj5 = 0 ;
4051 char * kwnames[] = {
4052 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4053 };
4054
4055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4057 if (!SWIG_IsOK(res1)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4059 }
4060 arg1 = reinterpret_cast< wxWindow * >(argp1);
4061 if (obj1) {
4062 ecode2 = SWIG_AsVal_int(obj1, &val2);
4063 if (!SWIG_IsOK(ecode2)) {
4064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4065 }
4066 arg2 = static_cast< int >(val2);
4067 }
4068 if (obj2) {
b519803b 4069 {
554f62e9
RD
4070 arg3 = &temp3;
4071 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4072 }
554f62e9
RD
4073 }
4074 if (obj3) {
f20a2e1f 4075 {
554f62e9
RD
4076 arg4 = &temp4;
4077 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4078 }
554f62e9
RD
4079 }
4080 if (obj4) {
4081 ecode5 = SWIG_AsVal_long(obj4, &val5);
4082 if (!SWIG_IsOK(ecode5)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4084 }
4085 arg5 = static_cast< long >(val5);
4086 }
4087 if (obj5) {
f20a2e1f 4088 {
554f62e9
RD
4089 arg6 = wxString_in_helper(obj5);
4090 if (arg6 == NULL) SWIG_fail;
4091 temp6 = true;
f20a2e1f 4092 }
554f62e9
RD
4093 }
4094 {
4095 if (!wxPyCheckForApp()) SWIG_fail;
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4098 wxPyEndAllowThreads(__tstate);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4102 {
4103 if (temp6)
4104 delete arg6;
4105 }
4106 return resultobj;
4107fail:
4108 {
4109 if (temp6)
4110 delete arg6;
4111 }
4112 return NULL;
f20a2e1f
RD
4113}
4114
4115
554f62e9
RD
4116SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4117 PyObject *resultobj = 0;
4118 wxScrolledWindow *result = 0 ;
4119
4120 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4121 {
4122 if (!wxPyCheckForApp()) SWIG_fail;
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (wxScrolledWindow *)new wxScrolledWindow();
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4129 return resultobj;
4130fail:
4131 return NULL;
4132}
4133
4134
4135SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4136 PyObject *resultobj = 0;
4137 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4138 wxWindow *arg2 = (wxWindow *) 0 ;
4139 int arg3 = (int) (int)-1 ;
4140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4142 wxSize const &arg5_defvalue = wxDefaultSize ;
4143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4144 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4145 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4146 wxString *arg7 = (wxString *) &arg7_defvalue ;
4147 bool result;
4148 void *argp1 = 0 ;
4149 int res1 = 0 ;
4150 void *argp2 = 0 ;
4151 int res2 = 0 ;
4152 int val3 ;
4153 int ecode3 = 0 ;
4154 wxPoint temp4 ;
4155 wxSize temp5 ;
4156 long val6 ;
4157 int ecode6 = 0 ;
4158 bool temp7 = false ;
4159 PyObject * obj0 = 0 ;
4160 PyObject * obj1 = 0 ;
4161 PyObject * obj2 = 0 ;
4162 PyObject * obj3 = 0 ;
4163 PyObject * obj4 = 0 ;
4164 PyObject * obj5 = 0 ;
4165 PyObject * obj6 = 0 ;
4166 char * kwnames[] = {
4167 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4168 };
4169
4170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4172 if (!SWIG_IsOK(res1)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4174 }
4175 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4176 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4177 if (!SWIG_IsOK(res2)) {
4178 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4179 }
4180 arg2 = reinterpret_cast< wxWindow * >(argp2);
4181 if (obj2) {
4182 ecode3 = SWIG_AsVal_int(obj2, &val3);
4183 if (!SWIG_IsOK(ecode3)) {
4184 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4185 }
4186 arg3 = static_cast< int >(val3);
4187 }
4188 if (obj3) {
d55e5bfc 4189 {
554f62e9
RD
4190 arg4 = &temp4;
4191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4192 }
4193 }
4194 if (obj4) {
d55e5bfc 4195 {
554f62e9
RD
4196 arg5 = &temp5;
4197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4198 }
554f62e9
RD
4199 }
4200 if (obj5) {
4201 ecode6 = SWIG_AsVal_long(obj5, &val6);
4202 if (!SWIG_IsOK(ecode6)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4204 }
4205 arg6 = static_cast< long >(val6);
4206 }
4207 if (obj6) {
d55e5bfc 4208 {
554f62e9
RD
4209 arg7 = wxString_in_helper(obj6);
4210 if (arg7 == NULL) SWIG_fail;
4211 temp7 = true;
d55e5bfc 4212 }
554f62e9
RD
4213 }
4214 {
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 {
4221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4222 }
4223 {
4224 if (temp7)
4225 delete arg7;
4226 }
4227 return resultobj;
4228fail:
4229 {
4230 if (temp7)
4231 delete arg7;
4232 }
4233 return NULL;
4234}
4235
4236
4237SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4238 PyObject *resultobj = 0;
4239 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4240 int arg2 ;
4241 int arg3 ;
4242 int arg4 ;
4243 int arg5 ;
4244 int arg6 = (int) 0 ;
4245 int arg7 = (int) 0 ;
4246 bool arg8 = (bool) false ;
4247 void *argp1 = 0 ;
4248 int res1 = 0 ;
4249 int val2 ;
4250 int ecode2 = 0 ;
4251 int val3 ;
4252 int ecode3 = 0 ;
4253 int val4 ;
4254 int ecode4 = 0 ;
4255 int val5 ;
4256 int ecode5 = 0 ;
4257 int val6 ;
4258 int ecode6 = 0 ;
4259 int val7 ;
4260 int ecode7 = 0 ;
4261 bool val8 ;
4262 int ecode8 = 0 ;
4263 PyObject * obj0 = 0 ;
4264 PyObject * obj1 = 0 ;
4265 PyObject * obj2 = 0 ;
4266 PyObject * obj3 = 0 ;
4267 PyObject * obj4 = 0 ;
4268 PyObject * obj5 = 0 ;
4269 PyObject * obj6 = 0 ;
4270 PyObject * obj7 = 0 ;
4271 char * kwnames[] = {
4272 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4273 };
4274
4275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4277 if (!SWIG_IsOK(res1)) {
4278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4279 }
4280 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4281 ecode2 = SWIG_AsVal_int(obj1, &val2);
4282 if (!SWIG_IsOK(ecode2)) {
4283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4284 }
4285 arg2 = static_cast< int >(val2);
4286 ecode3 = SWIG_AsVal_int(obj2, &val3);
4287 if (!SWIG_IsOK(ecode3)) {
4288 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4289 }
4290 arg3 = static_cast< int >(val3);
4291 ecode4 = SWIG_AsVal_int(obj3, &val4);
4292 if (!SWIG_IsOK(ecode4)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4294 }
4295 arg4 = static_cast< int >(val4);
4296 ecode5 = SWIG_AsVal_int(obj4, &val5);
4297 if (!SWIG_IsOK(ecode5)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4299 }
4300 arg5 = static_cast< int >(val5);
4301 if (obj5) {
4302 ecode6 = SWIG_AsVal_int(obj5, &val6);
4303 if (!SWIG_IsOK(ecode6)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4305 }
4306 arg6 = static_cast< int >(val6);
4307 }
4308 if (obj6) {
4309 ecode7 = SWIG_AsVal_int(obj6, &val7);
4310 if (!SWIG_IsOK(ecode7)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4312 }
4313 arg7 = static_cast< int >(val7);
4314 }
4315 if (obj7) {
4316 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4317 if (!SWIG_IsOK(ecode8)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4319 }
4320 arg8 = static_cast< bool >(val8);
4321 }
4322 {
4323 PyThreadState* __tstate = wxPyBeginAllowThreads();
4324 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4325 wxPyEndAllowThreads(__tstate);
4326 if (PyErr_Occurred()) SWIG_fail;
4327 }
4328 resultobj = SWIG_Py_Void();
4329 return resultobj;
4330fail:
4331 return NULL;
4332}
4333
4334
4335SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4336 PyObject *resultobj = 0;
4337 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4338 int arg2 ;
4339 int arg3 ;
4340 void *argp1 = 0 ;
4341 int res1 = 0 ;
4342 int val2 ;
4343 int ecode2 = 0 ;
4344 int val3 ;
4345 int ecode3 = 0 ;
4346 PyObject * obj0 = 0 ;
4347 PyObject * obj1 = 0 ;
4348 PyObject * obj2 = 0 ;
4349 char * kwnames[] = {
4350 (char *) "self",(char *) "x",(char *) "y", NULL
4351 };
4352
4353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4355 if (!SWIG_IsOK(res1)) {
4356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4357 }
4358 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4359 ecode2 = SWIG_AsVal_int(obj1, &val2);
4360 if (!SWIG_IsOK(ecode2)) {
4361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4362 }
4363 arg2 = static_cast< int >(val2);
4364 ecode3 = SWIG_AsVal_int(obj2, &val3);
4365 if (!SWIG_IsOK(ecode3)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4367 }
4368 arg3 = static_cast< int >(val3);
4369 {
4370 PyThreadState* __tstate = wxPyBeginAllowThreads();
4371 (arg1)->Scroll(arg2,arg3);
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 resultobj = SWIG_Py_Void();
4376 return resultobj;
4377fail:
4378 return NULL;
4379}
4380
4381
4382SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj = 0;
4384 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4385 int arg2 ;
4386 int result;
4387 void *argp1 = 0 ;
4388 int res1 = 0 ;
4389 int val2 ;
4390 int ecode2 = 0 ;
4391 PyObject * obj0 = 0 ;
4392 PyObject * obj1 = 0 ;
4393 char * kwnames[] = {
4394 (char *) "self",(char *) "orient", NULL
4395 };
4396
4397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4399 if (!SWIG_IsOK(res1)) {
4400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4401 }
4402 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4403 ecode2 = SWIG_AsVal_int(obj1, &val2);
4404 if (!SWIG_IsOK(ecode2)) {
4405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4406 }
4407 arg2 = static_cast< int >(val2);
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_From_int(static_cast< int >(result));
4415 return resultobj;
4416fail:
4417 return NULL;
4418}
4419
4420
4421SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj = 0;
4423 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4424 int arg2 ;
4425 int arg3 ;
4426 void *argp1 = 0 ;
4427 int res1 = 0 ;
4428 int val2 ;
4429 int ecode2 = 0 ;
4430 int val3 ;
4431 int ecode3 = 0 ;
4432 PyObject * obj0 = 0 ;
4433 PyObject * obj1 = 0 ;
4434 PyObject * obj2 = 0 ;
4435 char * kwnames[] = {
4436 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4437 };
4438
4439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4441 if (!SWIG_IsOK(res1)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4443 }
4444 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4445 ecode2 = SWIG_AsVal_int(obj1, &val2);
4446 if (!SWIG_IsOK(ecode2)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4448 }
4449 arg2 = static_cast< int >(val2);
4450 ecode3 = SWIG_AsVal_int(obj2, &val3);
4451 if (!SWIG_IsOK(ecode3)) {
4452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4453 }
4454 arg3 = static_cast< int >(val3);
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 (arg1)->SetScrollPageSize(arg2,arg3);
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 resultobj = SWIG_Py_Void();
4462 return resultobj;
4463fail:
4464 return NULL;
4465}
4466
4467
4468SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj = 0;
4470 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4471 int arg2 ;
4472 int arg3 ;
4473 void *argp1 = 0 ;
4474 int res1 = 0 ;
4475 int val2 ;
4476 int ecode2 = 0 ;
4477 int val3 ;
4478 int ecode3 = 0 ;
4479 PyObject * obj0 = 0 ;
4480 PyObject * obj1 = 0 ;
4481 PyObject * obj2 = 0 ;
4482 char * kwnames[] = {
4483 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4484 };
4485
4486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4488 if (!SWIG_IsOK(res1)) {
4489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4490 }
4491 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4492 ecode2 = SWIG_AsVal_int(obj1, &val2);
4493 if (!SWIG_IsOK(ecode2)) {
4494 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4495 }
4496 arg2 = static_cast< int >(val2);
4497 ecode3 = SWIG_AsVal_int(obj2, &val3);
4498 if (!SWIG_IsOK(ecode3)) {
4499 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4500 }
4501 arg3 = static_cast< int >(val3);
4502 {
4503 PyThreadState* __tstate = wxPyBeginAllowThreads();
4504 (arg1)->SetScrollRate(arg2,arg3);
4505 wxPyEndAllowThreads(__tstate);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 resultobj = SWIG_Py_Void();
4509 return resultobj;
4510fail:
4511 return NULL;
4512}
4513
4514
4515SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4516 PyObject *resultobj = 0;
4517 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4518 int *arg2 = (int *) 0 ;
4519 int *arg3 = (int *) 0 ;
4520 void *argp1 = 0 ;
4521 int res1 = 0 ;
4522 int temp2 ;
4523 int res2 = SWIG_TMPOBJ ;
4524 int temp3 ;
4525 int res3 = SWIG_TMPOBJ ;
4526 PyObject *swig_obj[1] ;
4527
4528 arg2 = &temp2;
4529 arg3 = &temp3;
4530 if (!args) SWIG_fail;
4531 swig_obj[0] = args;
4532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4533 if (!SWIG_IsOK(res1)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4535 }
4536 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 resultobj = SWIG_Py_Void();
4544 if (SWIG_IsTmpObj(res2)) {
4545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4546 } else {
4547 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4548 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4549 }
4550 if (SWIG_IsTmpObj(res3)) {
4551 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4552 } else {
4553 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4555 }
4556 return resultobj;
4557fail:
4558 return NULL;
4559}
4560
4561
4562SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4563 PyObject *resultobj = 0;
4564 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4565 bool arg2 ;
4566 bool arg3 ;
4567 void *argp1 = 0 ;
4568 int res1 = 0 ;
4569 bool val2 ;
4570 int ecode2 = 0 ;
4571 bool val3 ;
4572 int ecode3 = 0 ;
4573 PyObject * obj0 = 0 ;
4574 PyObject * obj1 = 0 ;
4575 PyObject * obj2 = 0 ;
4576 char * kwnames[] = {
4577 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4578 };
4579
4580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4582 if (!SWIG_IsOK(res1)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4584 }
4585 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4586 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4587 if (!SWIG_IsOK(ecode2)) {
4588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4589 }
4590 arg2 = static_cast< bool >(val2);
4591 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4592 if (!SWIG_IsOK(ecode3)) {
4593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4594 }
4595 arg3 = static_cast< bool >(val3);
4596 {
4597 PyThreadState* __tstate = wxPyBeginAllowThreads();
4598 (arg1)->EnableScrolling(arg2,arg3);
4599 wxPyEndAllowThreads(__tstate);
4600 if (PyErr_Occurred()) SWIG_fail;
4601 }
4602 resultobj = SWIG_Py_Void();
4603 return resultobj;
4604fail:
4605 return NULL;
4606}
4607
4608
4609SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4610 PyObject *resultobj = 0;
4611 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4612 int *arg2 = (int *) 0 ;
4613 int *arg3 = (int *) 0 ;
4614 void *argp1 = 0 ;
4615 int res1 = 0 ;
4616 int temp2 ;
4617 int res2 = SWIG_TMPOBJ ;
4618 int temp3 ;
4619 int res3 = SWIG_TMPOBJ ;
4620 PyObject *swig_obj[1] ;
4621
4622 arg2 = &temp2;
4623 arg3 = &temp3;
4624 if (!args) SWIG_fail;
4625 swig_obj[0] = args;
4626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4627 if (!SWIG_IsOK(res1)) {
4628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4629 }
4630 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4631 {
4632 PyThreadState* __tstate = wxPyBeginAllowThreads();
4633 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4634 wxPyEndAllowThreads(__tstate);
4635 if (PyErr_Occurred()) SWIG_fail;
4636 }
4637 resultobj = SWIG_Py_Void();
4638 if (SWIG_IsTmpObj(res2)) {
4639 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4640 } else {
4641 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4642 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4643 }
4644 if (SWIG_IsTmpObj(res3)) {
4645 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4646 } else {
4647 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4649 }
4650 return resultobj;
4651fail:
4652 return NULL;
4653}
4654
4655
4656SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj = 0;
4658 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4659 double arg2 ;
4660 double arg3 ;
4661 void *argp1 = 0 ;
4662 int res1 = 0 ;
4663 double val2 ;
4664 int ecode2 = 0 ;
4665 double val3 ;
4666 int ecode3 = 0 ;
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
4669 PyObject * obj2 = 0 ;
4670 char * kwnames[] = {
4671 (char *) "self",(char *) "xs",(char *) "ys", NULL
4672 };
4673
4674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4676 if (!SWIG_IsOK(res1)) {
4677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4678 }
4679 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4680 ecode2 = SWIG_AsVal_double(obj1, &val2);
4681 if (!SWIG_IsOK(ecode2)) {
4682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4683 }
4684 arg2 = static_cast< double >(val2);
4685 ecode3 = SWIG_AsVal_double(obj2, &val3);
4686 if (!SWIG_IsOK(ecode3)) {
4687 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4688 }
4689 arg3 = static_cast< double >(val3);
4690 {
4691 PyThreadState* __tstate = wxPyBeginAllowThreads();
4692 (arg1)->SetScale(arg2,arg3);
4693 wxPyEndAllowThreads(__tstate);
4694 if (PyErr_Occurred()) SWIG_fail;
4695 }
4696 resultobj = SWIG_Py_Void();
4697 return resultobj;
4698fail:
4699 return NULL;
d55e5bfc
RD
4700}
4701
4702
554f62e9
RD
4703SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4704 PyObject *resultobj = 0;
4705 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4706 double result;
4707 void *argp1 = 0 ;
4708 int res1 = 0 ;
4709 PyObject *swig_obj[1] ;
4710
4711 if (!args) SWIG_fail;
4712 swig_obj[0] = args;
4713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4714 if (!SWIG_IsOK(res1)) {
4715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4716 }
4717 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_From_double(static_cast< double >(result));
4725 return resultobj;
4726fail:
4727 return NULL;
d55e5bfc
RD
4728}
4729
4730
554f62e9
RD
4731SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4732 PyObject *resultobj = 0;
4733 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4734 double result;
4735 void *argp1 = 0 ;
4736 int res1 = 0 ;
4737 PyObject *swig_obj[1] ;
4738
4739 if (!args) SWIG_fail;
4740 swig_obj[0] = args;
4741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4742 if (!SWIG_IsOK(res1)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4744 }
4745 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 resultobj = SWIG_From_double(static_cast< double >(result));
4753 return resultobj;
4754fail:
4755 return NULL;
d55e5bfc
RD
4756}
4757
4758
554f62e9
RD
4759SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4760 PyObject *resultobj = 0;
4761 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4762 wxPoint *arg2 = 0 ;
4763 wxPoint result;
4764 void *argp1 = 0 ;
4765 int res1 = 0 ;
4766 wxPoint temp2 ;
4767
4768 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4770 if (!SWIG_IsOK(res1)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4772 }
4773 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4774 {
4775 arg2 = &temp2;
4776 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4777 }
4778 {
4779 PyThreadState* __tstate = wxPyBeginAllowThreads();
4780 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4785 return resultobj;
4786fail:
4787 return NULL;
4788}
4789
4790
4791SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4792 PyObject *resultobj = 0;
4793 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4794 int arg2 ;
4795 int arg3 ;
4796 int *arg4 = (int *) 0 ;
4797 int *arg5 = (int *) 0 ;
4798 void *argp1 = 0 ;
4799 int res1 = 0 ;
4800 int val2 ;
4801 int ecode2 = 0 ;
4802 int val3 ;
4803 int ecode3 = 0 ;
4804 int temp4 ;
4805 int res4 = SWIG_TMPOBJ ;
4806 int temp5 ;
4807 int res5 = SWIG_TMPOBJ ;
4808
4809 arg4 = &temp4;
4810 arg5 = &temp5;
4811 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4813 if (!SWIG_IsOK(res1)) {
4814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4815 }
4816 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4817 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4818 if (!SWIG_IsOK(ecode2)) {
4819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4820 }
4821 arg2 = static_cast< int >(val2);
4822 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4823 if (!SWIG_IsOK(ecode3)) {
4824 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4825 }
4826 arg3 = static_cast< int >(val3);
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 resultobj = SWIG_Py_Void();
4834 if (SWIG_IsTmpObj(res4)) {
4835 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4836 } else {
4837 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4838 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4839 }
4840 if (SWIG_IsTmpObj(res5)) {
4841 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4842 } else {
4843 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4845 }
4846 return resultobj;
4847fail:
4848 return NULL;
d55e5bfc
RD
4849}
4850
4851
554f62e9
RD
4852SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4853 int argc;
4854 PyObject *argv[4];
4855
4856 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4857 --argc;
4858 if (argc == 2) {
4859 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4860 }
4861 if (argc == 3) {
4862 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4863 }
4864
4865fail:
4866 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4867 return NULL;
d55e5bfc
RD
4868}
4869
4870
554f62e9
RD
4871SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4872 PyObject *resultobj = 0;
4873 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4874 wxPoint *arg2 = 0 ;
4875 wxPoint result;
4876 void *argp1 = 0 ;
4877 int res1 = 0 ;
4878 wxPoint temp2 ;
4879
4880 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4882 if (!SWIG_IsOK(res1)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4884 }
4885 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4886 {
4887 arg2 = &temp2;
4888 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4889 }
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4897 return resultobj;
4898fail:
4899 return NULL;
4900}
4901
4902
4903SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4904 PyObject *resultobj = 0;
4905 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4906 int arg2 ;
4907 int arg3 ;
4908 int *arg4 = (int *) 0 ;
4909 int *arg5 = (int *) 0 ;
4910 void *argp1 = 0 ;
4911 int res1 = 0 ;
4912 int val2 ;
4913 int ecode2 = 0 ;
4914 int val3 ;
4915 int ecode3 = 0 ;
4916 int temp4 ;
4917 int res4 = SWIG_TMPOBJ ;
4918 int temp5 ;
4919 int res5 = SWIG_TMPOBJ ;
4920
4921 arg4 = &temp4;
4922 arg5 = &temp5;
4923 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4925 if (!SWIG_IsOK(res1)) {
4926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4927 }
4928 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4929 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4930 if (!SWIG_IsOK(ecode2)) {
4931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4932 }
4933 arg2 = static_cast< int >(val2);
4934 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4935 if (!SWIG_IsOK(ecode3)) {
4936 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4937 }
4938 arg3 = static_cast< int >(val3);
4939 {
4940 PyThreadState* __tstate = wxPyBeginAllowThreads();
4941 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4942 wxPyEndAllowThreads(__tstate);
4943 if (PyErr_Occurred()) SWIG_fail;
4944 }
4945 resultobj = SWIG_Py_Void();
4946 if (SWIG_IsTmpObj(res4)) {
4947 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4948 } else {
4949 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4950 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4951 }
4952 if (SWIG_IsTmpObj(res5)) {
4953 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4954 } else {
4955 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4957 }
4958 return resultobj;
4959fail:
4960 return NULL;
d55e5bfc
RD
4961}
4962
4963
554f62e9
RD
4964SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4965 int argc;
4966 PyObject *argv[4];
4967
4968 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4969 --argc;
4970 if (argc == 2) {
4971 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4972 }
4973 if (argc == 3) {
4974 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4975 }
4976
4977fail:
4978 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4979 return NULL;
d55e5bfc
RD
4980}
4981
4982
554f62e9
RD
4983SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4984 PyObject *resultobj = 0;
4985 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4986 void *argp1 = 0 ;
4987 int res1 = 0 ;
4988 PyObject *swig_obj[1] ;
4989
4990 if (!args) SWIG_fail;
4991 swig_obj[0] = args;
4992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4993 if (!SWIG_IsOK(res1)) {
4994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4995 }
4996 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4997 {
4998 PyThreadState* __tstate = wxPyBeginAllowThreads();
4999 (arg1)->AdjustScrollbars();
5000 wxPyEndAllowThreads(__tstate);
5001 if (PyErr_Occurred()) SWIG_fail;
5002 }
5003 resultobj = SWIG_Py_Void();
5004 return resultobj;
5005fail:
5006 return NULL;
5007}
5008
5009
5010SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5011 PyObject *resultobj = 0;
5012 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5013 wxScrollWinEvent *arg2 = 0 ;
5014 int result;
5015 void *argp1 = 0 ;
5016 int res1 = 0 ;
5017 void *argp2 = 0 ;
5018 int res2 = 0 ;
5019 PyObject * obj0 = 0 ;
5020 PyObject * obj1 = 0 ;
5021 char * kwnames[] = {
5022 (char *) "self",(char *) "event", NULL
5023 };
5024
5025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5027 if (!SWIG_IsOK(res1)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5029 }
5030 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5031 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5032 if (!SWIG_IsOK(res2)) {
5033 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5034 }
5035 if (!argp2) {
5036 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5037 }
5038 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = (int)(arg1)->CalcScrollInc(*arg2);
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 resultobj = SWIG_From_int(static_cast< int >(result));
5046 return resultobj;
5047fail:
5048 return NULL;
5049}
5050
5051
5052SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj = 0;
5054 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5055 wxWindow *arg2 = (wxWindow *) 0 ;
5056 void *argp1 = 0 ;
5057 int res1 = 0 ;
5058 void *argp2 = 0 ;
5059 int res2 = 0 ;
5060 PyObject * obj0 = 0 ;
5061 PyObject * obj1 = 0 ;
5062 char * kwnames[] = {
5063 (char *) "self",(char *) "target", NULL
5064 };
5065
5066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5068 if (!SWIG_IsOK(res1)) {
5069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5070 }
5071 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5072 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5073 if (!SWIG_IsOK(res2)) {
5074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5075 }
5076 arg2 = reinterpret_cast< wxWindow * >(argp2);
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 (arg1)->SetTargetWindow(arg2);
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
5083 resultobj = SWIG_Py_Void();
5084 return resultobj;
5085fail:
5086 return NULL;
d55e5bfc
RD
5087}
5088
5089
554f62e9
RD
5090SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5091 PyObject *resultobj = 0;
5092 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5093 wxWindow *result = 0 ;
5094 void *argp1 = 0 ;
5095 int res1 = 0 ;
5096 PyObject *swig_obj[1] ;
5097
5098 if (!args) SWIG_fail;
5099 swig_obj[0] = args;
5100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5101 if (!SWIG_IsOK(res1)) {
5102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5103 }
5104 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 {
5112 resultobj = wxPyMake_wxObject(result, 0);
5113 }
5114 return resultobj;
5115fail:
5116 return NULL;
5117}
5118
5119
5120SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj = 0;
5122 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5123 wxRect *arg2 = 0 ;
5124 void *argp1 = 0 ;
5125 int res1 = 0 ;
5126 wxRect temp2 ;
5127 PyObject * obj0 = 0 ;
5128 PyObject * obj1 = 0 ;
5129 char * kwnames[] = {
5130 (char *) "self",(char *) "rect", NULL
5131 };
5132
5133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5135 if (!SWIG_IsOK(res1)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5137 }
5138 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5139 {
5140 arg2 = &temp2;
5141 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5142 }
5143 {
5144 PyThreadState* __tstate = wxPyBeginAllowThreads();
5145 (arg1)->SetTargetRect((wxRect const &)*arg2);
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
5149 resultobj = SWIG_Py_Void();
5150 return resultobj;
5151fail:
5152 return NULL;
d55e5bfc
RD
5153}
5154
5155
554f62e9
RD
5156SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5157 PyObject *resultobj = 0;
5158 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5159 wxRect result;
5160 void *argp1 = 0 ;
5161 int res1 = 0 ;
5162 PyObject *swig_obj[1] ;
5163
5164 if (!args) SWIG_fail;
5165 swig_obj[0] = args;
5166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5167 if (!SWIG_IsOK(res1)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5169 }
5170 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5178 return resultobj;
5179fail:
5180 return NULL;
5181}
5182
5183
5184SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5185 PyObject *resultobj = 0;
5186 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5187 wxDC *arg2 = 0 ;
5188 void *argp1 = 0 ;
5189 int res1 = 0 ;
5190 void *argp2 = 0 ;
5191 int res2 = 0 ;
5192 PyObject * obj0 = 0 ;
5193 PyObject * obj1 = 0 ;
5194 char * kwnames[] = {
5195 (char *) "self",(char *) "dc", NULL
5196 };
5197
5198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5200 if (!SWIG_IsOK(res1)) {
5201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5202 }
5203 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5204 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5205 if (!SWIG_IsOK(res2)) {
5206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5207 }
5208 if (!argp2) {
5209 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5210 }
5211 arg2 = reinterpret_cast< wxDC * >(argp2);
5212 {
5213 PyThreadState* __tstate = wxPyBeginAllowThreads();
5214 (arg1)->DoPrepareDC(*arg2);
5215 wxPyEndAllowThreads(__tstate);
5216 if (PyErr_Occurred()) SWIG_fail;
5217 }
5218 resultobj = SWIG_Py_Void();
5219 return resultobj;
5220fail:
5221 return NULL;
5222}
5223
5224
5225SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5226 PyObject *resultobj = 0;
5227 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5228 SwigValueWrapper<wxVisualAttributes > result;
5229 int val1 ;
5230 int ecode1 = 0 ;
5231 PyObject * obj0 = 0 ;
5232 char * kwnames[] = {
5233 (char *) "variant", NULL
5234 };
5235
5236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5237 if (obj0) {
5238 ecode1 = SWIG_AsVal_int(obj0, &val1);
5239 if (!SWIG_IsOK(ecode1)) {
5240 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5241 }
5242 arg1 = static_cast< wxWindowVariant >(val1);
5243 }
5244 {
5245 if (!wxPyCheckForApp()) SWIG_fail;
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
5251 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5252 return resultobj;
5253fail:
5254 return NULL;
d55e5bfc
RD
5255}
5256
5257
554f62e9
RD
5258SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5259 PyObject *obj;
5260 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5261 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5262 return SWIG_Py_Void();
d55e5bfc
RD
5263}
5264
554f62e9
RD
5265SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5266 return SWIG_Python_InitShadowInstance(args);
5267}
d55e5bfc 5268
554f62e9
RD
5269SWIGINTERN int FrameNameStr_set(PyObject *) {
5270 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5271 return 1;
d55e5bfc
RD
5272}
5273
5274
554f62e9
RD
5275SWIGINTERN PyObject *FrameNameStr_get(void) {
5276 PyObject *pyobj = 0;
5277
5278 {
5279#if wxUSE_UNICODE
5280 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5281#else
5282 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5283#endif
5284 }
5285 return pyobj;
d55e5bfc
RD
5286}
5287
5288
554f62e9
RD
5289SWIGINTERN int DialogNameStr_set(PyObject *) {
5290 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5291 return 1;
d55e5bfc
RD
5292}
5293
5294
554f62e9
RD
5295SWIGINTERN PyObject *DialogNameStr_get(void) {
5296 PyObject *pyobj = 0;
5297
5298 {
5299#if wxUSE_UNICODE
5300 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5301#else
5302 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5303#endif
5304 }
5305 return pyobj;
d55e5bfc
RD
5306}
5307
5308
554f62e9
RD
5309SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5310 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5311 return 1;
d55e5bfc
RD
5312}
5313
5314
554f62e9
RD
5315SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5316 PyObject *pyobj = 0;
5317
5318 {
5319#if wxUSE_UNICODE
5320 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5321#else
5322 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5323#endif
5324 }
5325 return pyobj;
d55e5bfc
RD
5326}
5327
5328
554f62e9
RD
5329SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5330 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5331 return 1;
d55e5bfc
RD
5332}
5333
5334
554f62e9
RD
5335SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5336 PyObject *pyobj = 0;
5337
5338 {
5339#if wxUSE_UNICODE
5340 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5341#else
5342 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5343#endif
5344 }
5345 return pyobj;
5346}
5347
5348
5349SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5350 PyObject *resultobj = 0;
5351 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5352 bool arg2 = (bool) true ;
5353 void *argp1 = 0 ;
5354 int res1 = 0 ;
5355 bool val2 ;
5356 int ecode2 = 0 ;
5357 PyObject * obj0 = 0 ;
5358 PyObject * obj1 = 0 ;
5359 char * kwnames[] = {
5360 (char *) "self",(char *) "maximize", NULL
5361 };
5362
5363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5365 if (!SWIG_IsOK(res1)) {
5366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5367 }
5368 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5369 if (obj1) {
5370 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5371 if (!SWIG_IsOK(ecode2)) {
5372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5373 }
5374 arg2 = static_cast< bool >(val2);
5375 }
5376 {
5377 PyThreadState* __tstate = wxPyBeginAllowThreads();
5378 (arg1)->Maximize(arg2);
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 resultobj = SWIG_Py_Void();
5383 return resultobj;
5384fail:
5385 return NULL;
d55e5bfc
RD
5386}
5387
5388
554f62e9
RD
5389SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5390 PyObject *resultobj = 0;
5391 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5392 void *argp1 = 0 ;
5393 int res1 = 0 ;
5394 PyObject *swig_obj[1] ;
5395
5396 if (!args) SWIG_fail;
5397 swig_obj[0] = args;
5398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5399 if (!SWIG_IsOK(res1)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5401 }
5402 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 (arg1)->Restore();
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 resultobj = SWIG_Py_Void();
5410 return resultobj;
5411fail:
5412 return NULL;
5413}
5414
5415
5416SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5417 PyObject *resultobj = 0;
5418 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5419 bool arg2 = (bool) true ;
5420 void *argp1 = 0 ;
5421 int res1 = 0 ;
5422 bool val2 ;
5423 int ecode2 = 0 ;
5424 PyObject * obj0 = 0 ;
5425 PyObject * obj1 = 0 ;
5426 char * kwnames[] = {
5427 (char *) "self",(char *) "iconize", NULL
5428 };
5429
5430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5432 if (!SWIG_IsOK(res1)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5434 }
5435 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5436 if (obj1) {
5437 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5438 if (!SWIG_IsOK(ecode2)) {
5439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5440 }
5441 arg2 = static_cast< bool >(val2);
5442 }
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 (arg1)->Iconize(arg2);
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 resultobj = SWIG_Py_Void();
5450 return resultobj;
5451fail:
5452 return NULL;
d55e5bfc
RD
5453}
5454
5455
554f62e9
RD
5456SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5457 PyObject *resultobj = 0;
5458 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5459 bool result;
5460 void *argp1 = 0 ;
5461 int res1 = 0 ;
5462 PyObject *swig_obj[1] ;
5463
5464 if (!args) SWIG_fail;
5465 swig_obj[0] = args;
5466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5467 if (!SWIG_IsOK(res1)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5469 }
5470 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 {
5478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5479 }
5480 return resultobj;
5481fail:
5482 return NULL;
d55e5bfc
RD
5483}
5484
5485
f460c29d
RD
5486SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5487 PyObject *resultobj = 0;
5488 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5489 bool result;
5490 void *argp1 = 0 ;
5491 int res1 = 0 ;
5492 PyObject *swig_obj[1] ;
5493
5494 if (!args) SWIG_fail;
5495 swig_obj[0] = args;
5496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5497 if (!SWIG_IsOK(res1)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5499 }
5500 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 {
5508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5509 }
5510 return resultobj;
5511fail:
5512 return NULL;
5513}
5514
5515
554f62e9
RD
5516SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5517 PyObject *resultobj = 0;
5518 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5519 bool result;
5520 void *argp1 = 0 ;
5521 int res1 = 0 ;
5522 PyObject *swig_obj[1] ;
5523
5524 if (!args) SWIG_fail;
5525 swig_obj[0] = args;
5526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5527 if (!SWIG_IsOK(res1)) {
5528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5529 }
5530 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 {
5538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5539 }
5540 return resultobj;
5541fail:
5542 return NULL;
d55e5bfc
RD
5543}
5544
5545
554f62e9
RD
5546SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5547 PyObject *resultobj = 0;
5548 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5549 wxIcon result;
5550 void *argp1 = 0 ;
5551 int res1 = 0 ;
5552 PyObject *swig_obj[1] ;
5553
5554 if (!args) SWIG_fail;
5555 swig_obj[0] = args;
5556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5557 if (!SWIG_IsOK(res1)) {
5558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5559 }
5560 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5561 {
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5564 wxPyEndAllowThreads(__tstate);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5568 return resultobj;
5569fail:
5570 return NULL;
5571}
5572
5573
5574SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5575 PyObject *resultobj = 0;
5576 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5577 wxIcon *arg2 = 0 ;
5578 void *argp1 = 0 ;
5579 int res1 = 0 ;
5580 void *argp2 = 0 ;
5581 int res2 = 0 ;
5582 PyObject * obj0 = 0 ;
5583 PyObject * obj1 = 0 ;
5584 char * kwnames[] = {
5585 (char *) "self",(char *) "icon", NULL
5586 };
5587
5588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5590 if (!SWIG_IsOK(res1)) {
5591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5592 }
5593 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5594 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5595 if (!SWIG_IsOK(res2)) {
5596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5597 }
5598 if (!argp2) {
5599 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5600 }
5601 arg2 = reinterpret_cast< wxIcon * >(argp2);
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->SetIcon((wxIcon const &)*arg2);
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = SWIG_Py_Void();
5609 return resultobj;
5610fail:
5611 return NULL;
5612}
5613
5614
5615SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj = 0;
5617 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5618 wxIconBundle *arg2 = 0 ;
5619 void *argp1 = 0 ;
5620 int res1 = 0 ;
5621 void *argp2 = 0 ;
5622 int res2 = 0 ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 char * kwnames[] = {
5626 (char *) "self",(char *) "icons", NULL
5627 };
5628
5629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5631 if (!SWIG_IsOK(res1)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5633 }
5634 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5635 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5636 if (!SWIG_IsOK(res2)) {
5637 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5638 }
5639 if (!argp2) {
5640 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5641 }
5642 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 resultobj = SWIG_Py_Void();
5650 return resultobj;
5651fail:
5652 return NULL;
5653}
5654
5655
5656SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj = 0;
5658 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5659 bool arg2 ;
5660 long arg3 = (long) wxFULLSCREEN_ALL ;
5661 bool result;
5662 void *argp1 = 0 ;
5663 int res1 = 0 ;
5664 bool val2 ;
5665 int ecode2 = 0 ;
5666 long val3 ;
5667 int ecode3 = 0 ;
5668 PyObject * obj0 = 0 ;
5669 PyObject * obj1 = 0 ;
5670 PyObject * obj2 = 0 ;
5671 char * kwnames[] = {
5672 (char *) "self",(char *) "show",(char *) "style", NULL
5673 };
5674
5675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5677 if (!SWIG_IsOK(res1)) {
5678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5679 }
5680 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5681 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5682 if (!SWIG_IsOK(ecode2)) {
5683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5684 }
5685 arg2 = static_cast< bool >(val2);
5686 if (obj2) {
5687 ecode3 = SWIG_AsVal_long(obj2, &val3);
5688 if (!SWIG_IsOK(ecode3)) {
5689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5690 }
5691 arg3 = static_cast< long >(val3);
5692 }
5693 {
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
5699 {
5700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5701 }
5702 return resultobj;
5703fail:
5704 return NULL;
d55e5bfc
RD
5705}
5706
5707
554f62e9
RD
5708SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5709 PyObject *resultobj = 0;
5710 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5711 bool result;
5712 void *argp1 = 0 ;
5713 int res1 = 0 ;
5714 PyObject *swig_obj[1] ;
5715
5716 if (!args) SWIG_fail;
5717 swig_obj[0] = args;
5718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5719 if (!SWIG_IsOK(res1)) {
5720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5721 }
5722 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5723 {
5724 PyThreadState* __tstate = wxPyBeginAllowThreads();
5725 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5726 wxPyEndAllowThreads(__tstate);
5727 if (PyErr_Occurred()) SWIG_fail;
5728 }
5729 {
5730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5731 }
5732 return resultobj;
5733fail:
5734 return NULL;
5735}
5736
5737
5738SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5739 PyObject *resultobj = 0;
5740 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5741 wxString *arg2 = 0 ;
5742 void *argp1 = 0 ;
5743 int res1 = 0 ;
5744 bool temp2 = false ;
5745 PyObject * obj0 = 0 ;
5746 PyObject * obj1 = 0 ;
5747 char * kwnames[] = {
5748 (char *) "self",(char *) "title", NULL
5749 };
5750
5751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5753 if (!SWIG_IsOK(res1)) {
5754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5755 }
5756 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5757 {
5758 arg2 = wxString_in_helper(obj1);
5759 if (arg2 == NULL) SWIG_fail;
5760 temp2 = true;
5761 }
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 (arg1)->SetTitle((wxString const &)*arg2);
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 resultobj = SWIG_Py_Void();
5769 {
5770 if (temp2)
5771 delete arg2;
5772 }
5773 return resultobj;
5774fail:
5775 {
5776 if (temp2)
5777 delete arg2;
5778 }
5779 return NULL;
d55e5bfc
RD
5780}
5781
5782
554f62e9
RD
5783SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5784 PyObject *resultobj = 0;
5785 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5786 wxString result;
5787 void *argp1 = 0 ;
5788 int res1 = 0 ;
5789 PyObject *swig_obj[1] ;
5790
5791 if (!args) SWIG_fail;
5792 swig_obj[0] = args;
5793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5794 if (!SWIG_IsOK(res1)) {
5795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5796 }
5797 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 {
5805#if wxUSE_UNICODE
5806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5807#else
5808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5809#endif
5810 }
5811 return resultobj;
5812fail:
5813 return NULL;
5814}
5815
5816
5817SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5818 PyObject *resultobj = 0;
5819 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5820 wxRegion *arg2 = 0 ;
5821 bool result;
5822 void *argp1 = 0 ;
5823 int res1 = 0 ;
5824 void *argp2 = 0 ;
5825 int res2 = 0 ;
5826 PyObject * obj0 = 0 ;
5827 PyObject * obj1 = 0 ;
5828 char * kwnames[] = {
5829 (char *) "self",(char *) "region", NULL
5830 };
5831
5832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5834 if (!SWIG_IsOK(res1)) {
5835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5836 }
5837 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5838 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5839 if (!SWIG_IsOK(res2)) {
5840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5841 }
5842 if (!argp2) {
5843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5844 }
5845 arg2 = reinterpret_cast< wxRegion * >(argp2);
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 {
5853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5854 }
5855 return resultobj;
5856fail:
5857 return NULL;
5858}
5859
5860
5861SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj = 0;
5863 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5864 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5865 void *argp1 = 0 ;
5866 int res1 = 0 ;
5867 int val2 ;
5868 int ecode2 = 0 ;
5869 PyObject * obj0 = 0 ;
5870 PyObject * obj1 = 0 ;
5871 char * kwnames[] = {
5872 (char *) "self",(char *) "flags", NULL
5873 };
5874
5875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5877 if (!SWIG_IsOK(res1)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5879 }
5880 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5881 if (obj1) {
5882 ecode2 = SWIG_AsVal_int(obj1, &val2);
5883 if (!SWIG_IsOK(ecode2)) {
5884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5885 }
5886 arg2 = static_cast< int >(val2);
5887 }
5888 {
5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
5890 (arg1)->RequestUserAttention(arg2);
5891 wxPyEndAllowThreads(__tstate);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 resultobj = SWIG_Py_Void();
5895 return resultobj;
5896fail:
5897 return NULL;
d55e5bfc
RD
5898}
5899
5900
554f62e9
RD
5901SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5902 PyObject *resultobj = 0;
5903 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5904 bool result;
5905 void *argp1 = 0 ;
5906 int res1 = 0 ;
5907 PyObject *swig_obj[1] ;
5908
5909 if (!args) SWIG_fail;
5910 swig_obj[0] = args;
5911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5912 if (!SWIG_IsOK(res1)) {
5913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5914 }
5915 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 result = (bool)(arg1)->IsActive();
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 {
5923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5924 }
5925 return resultobj;
5926fail:
5927 return NULL;
5928}
5929
5930
5931SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5932 PyObject *resultobj = 0;
5933 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5934 bool arg2 ;
5935 void *argp1 = 0 ;
5936 int res1 = 0 ;
5937 bool val2 ;
5938 int ecode2 = 0 ;
5939 PyObject * obj0 = 0 ;
5940 PyObject * obj1 = 0 ;
5941 char * kwnames[] = {
5942 (char *) "self",(char *) "on", NULL
5943 };
5944
5945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5947 if (!SWIG_IsOK(res1)) {
5948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5949 }
5950 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5951 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5952 if (!SWIG_IsOK(ecode2)) {
5953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5954 }
5955 arg2 = static_cast< bool >(val2);
5956 {
5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
5958 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5959 wxPyEndAllowThreads(__tstate);
5960 if (PyErr_Occurred()) SWIG_fail;
5961 }
5962 resultobj = SWIG_Py_Void();
5963 return resultobj;
5964fail:
5965 return NULL;
d55e5bfc
RD
5966}
5967
5968
554f62e9
RD
5969SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5970 PyObject *resultobj = 0;
5971 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5972 bool result;
5973 void *argp1 = 0 ;
5974 int res1 = 0 ;
5975 PyObject *swig_obj[1] ;
5976
5977 if (!args) SWIG_fail;
5978 swig_obj[0] = args;
5979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5980 if (!SWIG_IsOK(res1)) {
5981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5982 }
5983 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5984 {
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 {
5991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5992 }
5993 return resultobj;
5994fail:
5995 return NULL;
5996}
5997
5998
5999SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6000 PyObject *resultobj = 0;
6001 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6002 int arg2 = (int) wxBOTH ;
6003 void *argp1 = 0 ;
6004 int res1 = 0 ;
6005 int val2 ;
6006 int ecode2 = 0 ;
6007 PyObject * obj0 = 0 ;
6008 PyObject * obj1 = 0 ;
6009 char * kwnames[] = {
6010 (char *) "self",(char *) "dir", NULL
6011 };
6012
6013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6015 if (!SWIG_IsOK(res1)) {
6016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6017 }
6018 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6019 if (obj1) {
6020 ecode2 = SWIG_AsVal_int(obj1, &val2);
6021 if (!SWIG_IsOK(ecode2)) {
6022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6023 }
6024 arg2 = static_cast< int >(val2);
6025 }
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 (arg1)->CenterOnScreen(arg2);
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 resultobj = SWIG_Py_Void();
6033 return resultobj;
6034fail:
6035 return NULL;
6036}
6037
6038
6039SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6040 PyObject *obj;
6041 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6042 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6043 return SWIG_Py_Void();
6044}
6045
6046SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6047 PyObject *resultobj = 0;
6048 wxWindow *arg1 = (wxWindow *) 0 ;
6049 int arg2 = (int) (int)-1 ;
6050 wxString const &arg3_defvalue = wxPyEmptyString ;
6051 wxString *arg3 = (wxString *) &arg3_defvalue ;
6052 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6053 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6054 wxSize const &arg5_defvalue = wxDefaultSize ;
6055 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6056 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6057 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6058 wxString *arg7 = (wxString *) &arg7_defvalue ;
6059 wxFrame *result = 0 ;
6060 void *argp1 = 0 ;
6061 int res1 = 0 ;
6062 int val2 ;
6063 int ecode2 = 0 ;
6064 bool temp3 = false ;
6065 wxPoint temp4 ;
6066 wxSize temp5 ;
6067 long val6 ;
6068 int ecode6 = 0 ;
6069 bool temp7 = false ;
6070 PyObject * obj0 = 0 ;
6071 PyObject * obj1 = 0 ;
6072 PyObject * obj2 = 0 ;
6073 PyObject * obj3 = 0 ;
6074 PyObject * obj4 = 0 ;
6075 PyObject * obj5 = 0 ;
6076 PyObject * obj6 = 0 ;
6077 char * kwnames[] = {
6078 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6079 };
6080
6081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6083 if (!SWIG_IsOK(res1)) {
6084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6085 }
6086 arg1 = reinterpret_cast< wxWindow * >(argp1);
6087 if (obj1) {
6088 ecode2 = SWIG_AsVal_int(obj1, &val2);
6089 if (!SWIG_IsOK(ecode2)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6091 }
6092 arg2 = static_cast< int >(val2);
6093 }
6094 if (obj2) {
093d3ff1 6095 {
554f62e9
RD
6096 arg3 = wxString_in_helper(obj2);
6097 if (arg3 == NULL) SWIG_fail;
6098 temp3 = true;
f5b96ee1 6099 }
554f62e9
RD
6100 }
6101 if (obj3) {
f5b96ee1 6102 {
554f62e9
RD
6103 arg4 = &temp4;
6104 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 6105 }
554f62e9
RD
6106 }
6107 if (obj4) {
f20a2e1f 6108 {
554f62e9
RD
6109 arg5 = &temp5;
6110 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
f20a2e1f 6111 }
554f62e9
RD
6112 }
6113 if (obj5) {
6114 ecode6 = SWIG_AsVal_long(obj5, &val6);
6115 if (!SWIG_IsOK(ecode6)) {
6116 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6117 }
6118 arg6 = static_cast< long >(val6);
6119 }
6120 if (obj6) {
f20a2e1f 6121 {
554f62e9
RD
6122 arg7 = wxString_in_helper(obj6);
6123 if (arg7 == NULL) SWIG_fail;
6124 temp7 = true;
f20a2e1f 6125 }
554f62e9
RD
6126 }
6127 {
6128 if (!wxPyCheckForApp()) SWIG_fail;
6129 PyThreadState* __tstate = wxPyBeginAllowThreads();
6130 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6131 wxPyEndAllowThreads(__tstate);
6132 if (PyErr_Occurred()) SWIG_fail;
6133 }
6134 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6135 {
6136 if (temp3)
6137 delete arg3;
6138 }
6139 {
6140 if (temp7)
6141 delete arg7;
6142 }
6143 return resultobj;
6144fail:
6145 {
6146 if (temp3)
6147 delete arg3;
6148 }
6149 {
6150 if (temp7)
6151 delete arg7;
6152 }
6153 return NULL;
d55e5bfc
RD
6154}
6155
6156
554f62e9
RD
6157SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6158 PyObject *resultobj = 0;
6159 wxFrame *result = 0 ;
6160
6161 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6162 {
6163 if (!wxPyCheckForApp()) SWIG_fail;
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 result = (wxFrame *)new wxFrame();
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6170 return resultobj;
6171fail:
6172 return NULL;
6173}
6174
6175
6176SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6177 PyObject *resultobj = 0;
6178 wxFrame *arg1 = (wxFrame *) 0 ;
6179 wxWindow *arg2 = (wxWindow *) 0 ;
6180 int arg3 = (int) (int)-1 ;
6181 wxString const &arg4_defvalue = wxPyEmptyString ;
6182 wxString *arg4 = (wxString *) &arg4_defvalue ;
6183 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6184 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6185 wxSize const &arg6_defvalue = wxDefaultSize ;
6186 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6187 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6188 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6189 wxString *arg8 = (wxString *) &arg8_defvalue ;
6190 bool result;
6191 void *argp1 = 0 ;
6192 int res1 = 0 ;
6193 void *argp2 = 0 ;
6194 int res2 = 0 ;
6195 int val3 ;
6196 int ecode3 = 0 ;
6197 bool temp4 = false ;
6198 wxPoint temp5 ;
6199 wxSize temp6 ;
6200 long val7 ;
6201 int ecode7 = 0 ;
6202 bool temp8 = false ;
6203 PyObject * obj0 = 0 ;
6204 PyObject * obj1 = 0 ;
6205 PyObject * obj2 = 0 ;
6206 PyObject * obj3 = 0 ;
6207 PyObject * obj4 = 0 ;
6208 PyObject * obj5 = 0 ;
6209 PyObject * obj6 = 0 ;
6210 PyObject * obj7 = 0 ;
6211 char * kwnames[] = {
6212 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6213 };
6214
6215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6217 if (!SWIG_IsOK(res1)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6219 }
6220 arg1 = reinterpret_cast< wxFrame * >(argp1);
6221 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6222 if (!SWIG_IsOK(res2)) {
6223 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6224 }
6225 arg2 = reinterpret_cast< wxWindow * >(argp2);
6226 if (obj2) {
6227 ecode3 = SWIG_AsVal_int(obj2, &val3);
6228 if (!SWIG_IsOK(ecode3)) {
6229 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6230 }
6231 arg3 = static_cast< int >(val3);
6232 }
6233 if (obj3) {
d55e5bfc 6234 {
554f62e9
RD
6235 arg4 = wxString_in_helper(obj3);
6236 if (arg4 == NULL) SWIG_fail;
6237 temp4 = true;
d55e5bfc 6238 }
554f62e9
RD
6239 }
6240 if (obj4) {
d55e5bfc 6241 {
554f62e9
RD
6242 arg5 = &temp5;
6243 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6244 }
554f62e9
RD
6245 }
6246 if (obj5) {
d55e5bfc 6247 {
554f62e9
RD
6248 arg6 = &temp6;
6249 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6250 }
554f62e9
RD
6251 }
6252 if (obj6) {
6253 ecode7 = SWIG_AsVal_long(obj6, &val7);
6254 if (!SWIG_IsOK(ecode7)) {
6255 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6256 }
6257 arg7 = static_cast< long >(val7);
6258 }
6259 if (obj7) {
6260 {
6261 arg8 = wxString_in_helper(obj7);
6262 if (arg8 == NULL) SWIG_fail;
6263 temp8 = true;
6264 }
6265 }
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6269 wxPyEndAllowThreads(__tstate);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 {
6273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6274 }
6275 {
6276 if (temp4)
6277 delete arg4;
6278 }
6279 {
6280 if (temp8)
6281 delete arg8;
6282 }
6283 return resultobj;
6284fail:
6285 {
6286 if (temp4)
6287 delete arg4;
6288 }
6289 {
6290 if (temp8)
6291 delete arg8;
6292 }
6293 return NULL;
d55e5bfc
RD
6294}
6295
6296
554f62e9
RD
6297SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6298 PyObject *resultobj = 0;
6299 wxFrame *arg1 = (wxFrame *) 0 ;
6300 void *argp1 = 0 ;
6301 int res1 = 0 ;
6302 PyObject *swig_obj[1] ;
6303
6304 if (!args) SWIG_fail;
6305 swig_obj[0] = args;
6306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6307 if (!SWIG_IsOK(res1)) {
6308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6309 }
6310 arg1 = reinterpret_cast< wxFrame * >(argp1);
6311 {
6312 PyThreadState* __tstate = wxPyBeginAllowThreads();
6313 (arg1)->SendSizeEvent();
6314 wxPyEndAllowThreads(__tstate);
6315 if (PyErr_Occurred()) SWIG_fail;
6316 }
6317 resultobj = SWIG_Py_Void();
6318 return resultobj;
6319fail:
6320 return NULL;
6321}
6322
6323
6324SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6325 PyObject *resultobj = 0;
6326 wxFrame *arg1 = (wxFrame *) 0 ;
6327 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6328 void *argp1 = 0 ;
6329 int res1 = 0 ;
6330 void *argp2 = 0 ;
6331 int res2 = 0 ;
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334 char * kwnames[] = {
6335 (char *) "self",(char *) "menubar", NULL
6336 };
6337
6338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6340 if (!SWIG_IsOK(res1)) {
6341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6342 }
6343 arg1 = reinterpret_cast< wxFrame * >(argp1);
6344 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6345 if (!SWIG_IsOK(res2)) {
6346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6347 }
6348 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6349 {
6350 PyThreadState* __tstate = wxPyBeginAllowThreads();
6351 (arg1)->SetMenuBar(arg2);
6352 wxPyEndAllowThreads(__tstate);
6353 if (PyErr_Occurred()) SWIG_fail;
6354 }
6355 resultobj = SWIG_Py_Void();
6356 return resultobj;
6357fail:
6358 return NULL;
d55e5bfc
RD
6359}
6360
6361
554f62e9
RD
6362SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6363 PyObject *resultobj = 0;
6364 wxFrame *arg1 = (wxFrame *) 0 ;
6365 wxMenuBar *result = 0 ;
6366 void *argp1 = 0 ;
6367 int res1 = 0 ;
6368 PyObject *swig_obj[1] ;
6369
6370 if (!args) SWIG_fail;
6371 swig_obj[0] = args;
6372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6373 if (!SWIG_IsOK(res1)) {
6374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6375 }
6376 arg1 = reinterpret_cast< wxFrame * >(argp1);
6377 {
6378 PyThreadState* __tstate = wxPyBeginAllowThreads();
6379 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 {
6384 resultobj = wxPyMake_wxObject(result, 0);
6385 }
6386 return resultobj;
6387fail:
6388 return NULL;
6389}
6390
6391
6392SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6393 PyObject *resultobj = 0;
6394 wxFrame *arg1 = (wxFrame *) 0 ;
6395 int arg2 ;
6396 bool result;
6397 void *argp1 = 0 ;
6398 int res1 = 0 ;
6399 int val2 ;
6400 int ecode2 = 0 ;
6401 PyObject * obj0 = 0 ;
6402 PyObject * obj1 = 0 ;
6403 char * kwnames[] = {
6404 (char *) "self",(char *) "winid", NULL
6405 };
6406
6407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6409 if (!SWIG_IsOK(res1)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6411 }
6412 arg1 = reinterpret_cast< wxFrame * >(argp1);
6413 ecode2 = SWIG_AsVal_int(obj1, &val2);
6414 if (!SWIG_IsOK(ecode2)) {
6415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6416 }
6417 arg2 = static_cast< int >(val2);
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = (bool)(arg1)->ProcessCommand(arg2);
6421 wxPyEndAllowThreads(__tstate);
6422 if (PyErr_Occurred()) SWIG_fail;
6423 }
6424 {
6425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6426 }
6427 return resultobj;
6428fail:
6429 return NULL;
6430}
6431
6432
6433SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6434 PyObject *resultobj = 0;
6435 wxFrame *arg1 = (wxFrame *) 0 ;
6436 int arg2 = (int) 1 ;
6437 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6438 int arg4 = (int) 0 ;
6439 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6440 wxString *arg5 = (wxString *) &arg5_defvalue ;
6441 wxStatusBar *result = 0 ;
6442 void *argp1 = 0 ;
6443 int res1 = 0 ;
6444 int val2 ;
6445 int ecode2 = 0 ;
6446 long val3 ;
6447 int ecode3 = 0 ;
6448 int val4 ;
6449 int ecode4 = 0 ;
6450 bool temp5 = false ;
6451 PyObject * obj0 = 0 ;
6452 PyObject * obj1 = 0 ;
6453 PyObject * obj2 = 0 ;
6454 PyObject * obj3 = 0 ;
6455 PyObject * obj4 = 0 ;
6456 char * kwnames[] = {
6457 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6458 };
6459
6460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6462 if (!SWIG_IsOK(res1)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6464 }
6465 arg1 = reinterpret_cast< wxFrame * >(argp1);
6466 if (obj1) {
6467 ecode2 = SWIG_AsVal_int(obj1, &val2);
6468 if (!SWIG_IsOK(ecode2)) {
6469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6470 }
6471 arg2 = static_cast< int >(val2);
6472 }
6473 if (obj2) {
6474 ecode3 = SWIG_AsVal_long(obj2, &val3);
6475 if (!SWIG_IsOK(ecode3)) {
6476 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6477 }
6478 arg3 = static_cast< long >(val3);
6479 }
6480 if (obj3) {
6481 ecode4 = SWIG_AsVal_int(obj3, &val4);
6482 if (!SWIG_IsOK(ecode4)) {
6483 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6484 }
6485 arg4 = static_cast< int >(val4);
6486 }
6487 if (obj4) {
d55e5bfc 6488 {
554f62e9
RD
6489 arg5 = wxString_in_helper(obj4);
6490 if (arg5 == NULL) SWIG_fail;
6491 temp5 = true;
6492 }
6493 }
6494 {
6495 PyThreadState* __tstate = wxPyBeginAllowThreads();
6496 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6497 wxPyEndAllowThreads(__tstate);
6498 if (PyErr_Occurred()) SWIG_fail;
6499 }
6500 {
6501 resultobj = wxPyMake_wxObject(result, (bool)0);
6502 }
6503 {
6504 if (temp5)
6505 delete arg5;
6506 }
6507 return resultobj;
6508fail:
6509 {
6510 if (temp5)
6511 delete arg5;
6512 }
6513 return NULL;
d55e5bfc
RD
6514}
6515
6516
554f62e9
RD
6517SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6518 PyObject *resultobj = 0;
6519 wxFrame *arg1 = (wxFrame *) 0 ;
6520 wxStatusBar *result = 0 ;
6521 void *argp1 = 0 ;
6522 int res1 = 0 ;
6523 PyObject *swig_obj[1] ;
6524
6525 if (!args) SWIG_fail;
6526 swig_obj[0] = args;
6527 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6528 if (!SWIG_IsOK(res1)) {
6529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6530 }
6531 arg1 = reinterpret_cast< wxFrame * >(argp1);
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6535 wxPyEndAllowThreads(__tstate);
6536 if (PyErr_Occurred()) SWIG_fail;
6537 }
6538 {
6539 resultobj = wxPyMake_wxObject(result, (bool)0);
6540 }
6541 return resultobj;
6542fail:
6543 return NULL;
6544}
6545
6546
6547SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6548 PyObject *resultobj = 0;
6549 wxFrame *arg1 = (wxFrame *) 0 ;
6550 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6551 void *argp1 = 0 ;
6552 int res1 = 0 ;
6553 void *argp2 = 0 ;
6554 int res2 = 0 ;
6555 PyObject * obj0 = 0 ;
6556 PyObject * obj1 = 0 ;
6557 char * kwnames[] = {
6558 (char *) "self",(char *) "statBar", NULL
6559 };
6560
6561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6563 if (!SWIG_IsOK(res1)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6565 }
6566 arg1 = reinterpret_cast< wxFrame * >(argp1);
6567 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6568 if (!SWIG_IsOK(res2)) {
6569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6570 }
6571 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 (arg1)->SetStatusBar(arg2);
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 resultobj = SWIG_Py_Void();
6579 return resultobj;
6580fail:
6581 return NULL;
6582}
6583
6584
6585SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj = 0;
6587 wxFrame *arg1 = (wxFrame *) 0 ;
6588 wxString *arg2 = 0 ;
6589 int arg3 = (int) 0 ;
6590 void *argp1 = 0 ;
6591 int res1 = 0 ;
6592 bool temp2 = false ;
6593 int val3 ;
6594 int ecode3 = 0 ;
6595 PyObject * obj0 = 0 ;
6596 PyObject * obj1 = 0 ;
6597 PyObject * obj2 = 0 ;
6598 char * kwnames[] = {
6599 (char *) "self",(char *) "text",(char *) "number", NULL
6600 };
6601
6602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6604 if (!SWIG_IsOK(res1)) {
6605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6606 }
6607 arg1 = reinterpret_cast< wxFrame * >(argp1);
6608 {
6609 arg2 = wxString_in_helper(obj1);
6610 if (arg2 == NULL) SWIG_fail;
6611 temp2 = true;
6612 }
6613 if (obj2) {
6614 ecode3 = SWIG_AsVal_int(obj2, &val3);
6615 if (!SWIG_IsOK(ecode3)) {
6616 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6617 }
6618 arg3 = static_cast< int >(val3);
6619 }
6620 {
6621 PyThreadState* __tstate = wxPyBeginAllowThreads();
6622 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6623 wxPyEndAllowThreads(__tstate);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 }
6626 resultobj = SWIG_Py_Void();
6627 {
6628 if (temp2)
6629 delete arg2;
6630 }
6631 return resultobj;
6632fail:
6633 {
6634 if (temp2)
6635 delete arg2;
6636 }
6637 return NULL;
d55e5bfc
RD
6638}
6639
6640
554f62e9
RD
6641SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6642 PyObject *resultobj = 0;
6643 wxFrame *arg1 = (wxFrame *) 0 ;
6644 int arg2 ;
6645 int *arg3 = (int *) 0 ;
6646 void *argp1 = 0 ;
6647 int res1 = 0 ;
6648 PyObject * obj0 = 0 ;
6649 PyObject * obj1 = 0 ;
6650 char * kwnames[] = {
6651 (char *) "self",(char *) "widths", NULL
6652 };
6653
6654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6658 }
6659 arg1 = reinterpret_cast< wxFrame * >(argp1);
6660 {
6661 arg2 = PyList_Size(obj1);
6662 arg3 = int_LIST_helper(obj1);
6663 if (arg3 == NULL) SWIG_fail;
6664 }
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6668 wxPyEndAllowThreads(__tstate);
6669 if (PyErr_Occurred()) SWIG_fail;
6670 }
6671 resultobj = SWIG_Py_Void();
6672 {
6673 if (arg3) delete [] arg3;
6674 }
6675 return resultobj;
6676fail:
6677 {
6678 if (arg3) delete [] arg3;
6679 }
6680 return NULL;
6681}
6682
6683
6684SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6685 PyObject *resultobj = 0;
6686 wxFrame *arg1 = (wxFrame *) 0 ;
6687 wxString *arg2 = 0 ;
6688 int arg3 = (int) 0 ;
6689 void *argp1 = 0 ;
6690 int res1 = 0 ;
6691 bool temp2 = false ;
6692 int val3 ;
6693 int ecode3 = 0 ;
6694 PyObject * obj0 = 0 ;
6695 PyObject * obj1 = 0 ;
6696 PyObject * obj2 = 0 ;
6697 char * kwnames[] = {
6698 (char *) "self",(char *) "text",(char *) "number", NULL
6699 };
6700
6701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6703 if (!SWIG_IsOK(res1)) {
6704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6705 }
6706 arg1 = reinterpret_cast< wxFrame * >(argp1);
6707 {
6708 arg2 = wxString_in_helper(obj1);
6709 if (arg2 == NULL) SWIG_fail;
6710 temp2 = true;
6711 }
6712 if (obj2) {
6713 ecode3 = SWIG_AsVal_int(obj2, &val3);
6714 if (!SWIG_IsOK(ecode3)) {
6715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6716 }
6717 arg3 = static_cast< int >(val3);
6718 }
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 resultobj = SWIG_Py_Void();
6726 {
6727 if (temp2)
6728 delete arg2;
6729 }
6730 return resultobj;
6731fail:
6732 {
6733 if (temp2)
6734 delete arg2;
6735 }
6736 return NULL;
6737}
6738
6739
6740SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6741 PyObject *resultobj = 0;
6742 wxFrame *arg1 = (wxFrame *) 0 ;
6743 int arg2 = (int) 0 ;
6744 void *argp1 = 0 ;
6745 int res1 = 0 ;
6746 int val2 ;
6747 int ecode2 = 0 ;
6748 PyObject * obj0 = 0 ;
6749 PyObject * obj1 = 0 ;
6750 char * kwnames[] = {
6751 (char *) "self",(char *) "number", NULL
6752 };
6753
6754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6756 if (!SWIG_IsOK(res1)) {
6757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6758 }
6759 arg1 = reinterpret_cast< wxFrame * >(argp1);
6760 if (obj1) {
6761 ecode2 = SWIG_AsVal_int(obj1, &val2);
6762 if (!SWIG_IsOK(ecode2)) {
6763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6764 }
6765 arg2 = static_cast< int >(val2);
6766 }
6767 {
6768 PyThreadState* __tstate = wxPyBeginAllowThreads();
6769 (arg1)->PopStatusText(arg2);
6770 wxPyEndAllowThreads(__tstate);
6771 if (PyErr_Occurred()) SWIG_fail;
6772 }
6773 resultobj = SWIG_Py_Void();
6774 return resultobj;
6775fail:
6776 return NULL;
6777}
6778
6779
6780SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj = 0;
6782 wxFrame *arg1 = (wxFrame *) 0 ;
6783 int arg2 ;
6784 void *argp1 = 0 ;
6785 int res1 = 0 ;
6786 int val2 ;
6787 int ecode2 = 0 ;
6788 PyObject * obj0 = 0 ;
6789 PyObject * obj1 = 0 ;
6790 char * kwnames[] = {
6791 (char *) "self",(char *) "n", NULL
6792 };
6793
6794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6796 if (!SWIG_IsOK(res1)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6798 }
6799 arg1 = reinterpret_cast< wxFrame * >(argp1);
6800 ecode2 = SWIG_AsVal_int(obj1, &val2);
6801 if (!SWIG_IsOK(ecode2)) {
6802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6803 }
6804 arg2 = static_cast< int >(val2);
6805 {
6806 PyThreadState* __tstate = wxPyBeginAllowThreads();
6807 (arg1)->SetStatusBarPane(arg2);
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 resultobj = SWIG_Py_Void();
6812 return resultobj;
6813fail:
6814 return NULL;
d55e5bfc
RD
6815}
6816
6817
554f62e9
RD
6818SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6819 PyObject *resultobj = 0;
6820 wxFrame *arg1 = (wxFrame *) 0 ;
6821 int result;
6822 void *argp1 = 0 ;
6823 int res1 = 0 ;
6824 PyObject *swig_obj[1] ;
6825
6826 if (!args) SWIG_fail;
6827 swig_obj[0] = args;
6828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6829 if (!SWIG_IsOK(res1)) {
6830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6831 }
6832 arg1 = reinterpret_cast< wxFrame * >(argp1);
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 resultobj = SWIG_From_int(static_cast< int >(result));
6840 return resultobj;
6841fail:
6842 return NULL;
6843}
6844
6845
6846SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6847 PyObject *resultobj = 0;
6848 wxFrame *arg1 = (wxFrame *) 0 ;
6849 long arg2 = (long) -1 ;
6850 int arg3 = (int) -1 ;
6851 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6852 wxString *arg4 = (wxString *) &arg4_defvalue ;
6853 wxToolBar *result = 0 ;
6854 void *argp1 = 0 ;
6855 int res1 = 0 ;
6856 long val2 ;
6857 int ecode2 = 0 ;
6858 int val3 ;
6859 int ecode3 = 0 ;
6860 bool temp4 = false ;
6861 PyObject * obj0 = 0 ;
6862 PyObject * obj1 = 0 ;
6863 PyObject * obj2 = 0 ;
6864 PyObject * obj3 = 0 ;
6865 char * kwnames[] = {
6866 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6867 };
6868
6869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6871 if (!SWIG_IsOK(res1)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6873 }
6874 arg1 = reinterpret_cast< wxFrame * >(argp1);
6875 if (obj1) {
6876 ecode2 = SWIG_AsVal_long(obj1, &val2);
6877 if (!SWIG_IsOK(ecode2)) {
6878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6879 }
6880 arg2 = static_cast< long >(val2);
6881 }
6882 if (obj2) {
6883 ecode3 = SWIG_AsVal_int(obj2, &val3);
6884 if (!SWIG_IsOK(ecode3)) {
6885 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6886 }
6887 arg3 = static_cast< int >(val3);
6888 }
6889 if (obj3) {
d55e5bfc 6890 {
554f62e9
RD
6891 arg4 = wxString_in_helper(obj3);
6892 if (arg4 == NULL) SWIG_fail;
6893 temp4 = true;
d55e5bfc 6894 }
554f62e9
RD
6895 }
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 {
6903 resultobj = wxPyMake_wxObject(result, (bool)0);
6904 }
6905 {
6906 if (temp4)
6907 delete arg4;
6908 }
6909 return resultobj;
6910fail:
6911 {
6912 if (temp4)
6913 delete arg4;
6914 }
6915 return NULL;
d55e5bfc
RD
6916}
6917
6918
554f62e9
RD
6919SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6920 PyObject *resultobj = 0;
6921 wxFrame *arg1 = (wxFrame *) 0 ;
6922 wxToolBar *result = 0 ;
6923 void *argp1 = 0 ;
6924 int res1 = 0 ;
6925 PyObject *swig_obj[1] ;
6926
6927 if (!args) SWIG_fail;
6928 swig_obj[0] = args;
6929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6930 if (!SWIG_IsOK(res1)) {
6931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6932 }
6933 arg1 = reinterpret_cast< wxFrame * >(argp1);
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6937 wxPyEndAllowThreads(__tstate);
6938 if (PyErr_Occurred()) SWIG_fail;
6939 }
6940 {
6941 resultobj = wxPyMake_wxObject(result, (bool)0);
6942 }
6943 return resultobj;
6944fail:
6945 return NULL;
6946}
6947
6948
6949SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6950 PyObject *resultobj = 0;
6951 wxFrame *arg1 = (wxFrame *) 0 ;
6952 wxToolBar *arg2 = (wxToolBar *) 0 ;
6953 void *argp1 = 0 ;
6954 int res1 = 0 ;
6955 void *argp2 = 0 ;
6956 int res2 = 0 ;
6957 PyObject * obj0 = 0 ;
6958 PyObject * obj1 = 0 ;
6959 char * kwnames[] = {
6960 (char *) "self",(char *) "toolbar", NULL
6961 };
6962
6963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6965 if (!SWIG_IsOK(res1)) {
6966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6967 }
6968 arg1 = reinterpret_cast< wxFrame * >(argp1);
6969 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6970 if (!SWIG_IsOK(res2)) {
6971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6972 }
6973 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 (arg1)->SetToolBar(arg2);
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 resultobj = SWIG_Py_Void();
6981 return resultobj;
6982fail:
6983 return NULL;
6984}
6985
6986
6987SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj = 0;
6989 wxFrame *arg1 = (wxFrame *) 0 ;
6990 wxString *arg2 = 0 ;
6991 bool arg3 ;
6992 void *argp1 = 0 ;
6993 int res1 = 0 ;
6994 bool temp2 = false ;
6995 bool val3 ;
6996 int ecode3 = 0 ;
6997 PyObject * obj0 = 0 ;
6998 PyObject * obj1 = 0 ;
6999 PyObject * obj2 = 0 ;
7000 char * kwnames[] = {
7001 (char *) "self",(char *) "text",(char *) "show", NULL
7002 };
7003
7004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7006 if (!SWIG_IsOK(res1)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7008 }
7009 arg1 = reinterpret_cast< wxFrame * >(argp1);
7010 {
7011 arg2 = wxString_in_helper(obj1);
7012 if (arg2 == NULL) SWIG_fail;
7013 temp2 = true;
7014 }
7015 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7016 if (!SWIG_IsOK(ecode3)) {
7017 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7018 }
7019 arg3 = static_cast< bool >(val3);
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 resultobj = SWIG_Py_Void();
7027 {
7028 if (temp2)
7029 delete arg2;
7030 }
7031 return resultobj;
7032fail:
7033 {
7034 if (temp2)
7035 delete arg2;
7036 }
7037 return NULL;
7038}
7039
7040
7041SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj = 0;
7043 wxFrame *arg1 = (wxFrame *) 0 ;
7044 wxMenu *arg2 = (wxMenu *) NULL ;
7045 void *argp1 = 0 ;
7046 int res1 = 0 ;
7047 void *argp2 = 0 ;
7048 int res2 = 0 ;
7049 PyObject * obj0 = 0 ;
7050 PyObject * obj1 = 0 ;
7051 char * kwnames[] = {
7052 (char *) "self",(char *) "menu", NULL
7053 };
7054
7055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7057 if (!SWIG_IsOK(res1)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7059 }
7060 arg1 = reinterpret_cast< wxFrame * >(argp1);
7061 if (obj1) {
7062 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7063 if (!SWIG_IsOK(res2)) {
7064 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7065 }
554f62e9
RD
7066 arg2 = reinterpret_cast< wxMenu * >(argp2);
7067 }
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 (arg1)->DoMenuUpdates(arg2);
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 resultobj = SWIG_Py_Void();
7075 return resultobj;
7076fail:
7077 return NULL;
7078}
7079
7080
7081SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7082 PyObject *resultobj = 0;
7083 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7084 SwigValueWrapper<wxVisualAttributes > result;
7085 int val1 ;
7086 int ecode1 = 0 ;
7087 PyObject * obj0 = 0 ;
7088 char * kwnames[] = {
7089 (char *) "variant", NULL
7090 };
7091
7092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7093 if (obj0) {
7094 ecode1 = SWIG_AsVal_int(obj0, &val1);
7095 if (!SWIG_IsOK(ecode1)) {
7096 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7097 }
7098 arg1 = static_cast< wxWindowVariant >(val1);
7099 }
7100 {
7101 if (!wxPyCheckForApp()) SWIG_fail;
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 result = wxFrame::GetClassDefaultAttributes(arg1);
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7108 return resultobj;
7109fail:
7110 return NULL;
7111}
7112
7113
7114SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7115 PyObject *obj;
7116 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7117 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7118 return SWIG_Py_Void();
7119}
7120
7121SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7122 return SWIG_Python_InitShadowInstance(args);
7123}
7124
7125SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7126 PyObject *resultobj = 0;
7127 wxWindow *arg1 = (wxWindow *) 0 ;
7128 int arg2 = (int) (int)-1 ;
7129 wxString const &arg3_defvalue = wxPyEmptyString ;
7130 wxString *arg3 = (wxString *) &arg3_defvalue ;
7131 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7132 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7133 wxSize const &arg5_defvalue = wxDefaultSize ;
7134 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7135 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7136 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7137 wxString *arg7 = (wxString *) &arg7_defvalue ;
7138 wxDialog *result = 0 ;
7139 void *argp1 = 0 ;
7140 int res1 = 0 ;
7141 int val2 ;
7142 int ecode2 = 0 ;
7143 bool temp3 = false ;
7144 wxPoint temp4 ;
7145 wxSize temp5 ;
7146 long val6 ;
7147 int ecode6 = 0 ;
7148 bool temp7 = false ;
7149 PyObject * obj0 = 0 ;
7150 PyObject * obj1 = 0 ;
7151 PyObject * obj2 = 0 ;
7152 PyObject * obj3 = 0 ;
7153 PyObject * obj4 = 0 ;
7154 PyObject * obj5 = 0 ;
7155 PyObject * obj6 = 0 ;
7156 char * kwnames[] = {
7157 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7158 };
7159
7160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7162 if (!SWIG_IsOK(res1)) {
7163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7164 }
7165 arg1 = reinterpret_cast< wxWindow * >(argp1);
7166 if (obj1) {
7167 ecode2 = SWIG_AsVal_int(obj1, &val2);
7168 if (!SWIG_IsOK(ecode2)) {
7169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7170 }
7171 arg2 = static_cast< int >(val2);
7172 }
7173 if (obj2) {
d55e5bfc 7174 {
554f62e9
RD
7175 arg3 = wxString_in_helper(obj2);
7176 if (arg3 == NULL) SWIG_fail;
7177 temp3 = true;
d55e5bfc 7178 }
554f62e9
RD
7179 }
7180 if (obj3) {
d55e5bfc 7181 {
554f62e9
RD
7182 arg4 = &temp4;
7183 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7184 }
554f62e9
RD
7185 }
7186 if (obj4) {
d55e5bfc 7187 {
554f62e9
RD
7188 arg5 = &temp5;
7189 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7190 }
554f62e9
RD
7191 }
7192 if (obj5) {
7193 ecode6 = SWIG_AsVal_long(obj5, &val6);
7194 if (!SWIG_IsOK(ecode6)) {
7195 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7196 }
7197 arg6 = static_cast< long >(val6);
7198 }
7199 if (obj6) {
093d3ff1 7200 {
554f62e9
RD
7201 arg7 = wxString_in_helper(obj6);
7202 if (arg7 == NULL) SWIG_fail;
7203 temp7 = true;
d55e5bfc 7204 }
554f62e9
RD
7205 }
7206 {
7207 if (!wxPyCheckForApp()) SWIG_fail;
7208 PyThreadState* __tstate = wxPyBeginAllowThreads();
7209 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7214 {
7215 if (temp3)
7216 delete arg3;
7217 }
7218 {
7219 if (temp7)
7220 delete arg7;
7221 }
7222 return resultobj;
7223fail:
7224 {
7225 if (temp3)
7226 delete arg3;
7227 }
7228 {
7229 if (temp7)
7230 delete arg7;
7231 }
7232 return NULL;
d55e5bfc
RD
7233}
7234
7235
554f62e9
RD
7236SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7237 PyObject *resultobj = 0;
7238 wxDialog *result = 0 ;
7239
7240 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7241 {
7242 if (!wxPyCheckForApp()) SWIG_fail;
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 result = (wxDialog *)new wxDialog();
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7249 return resultobj;
7250fail:
7251 return NULL;
7252}
7253
7254
7255SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj = 0;
7257 wxDialog *arg1 = (wxDialog *) 0 ;
7258 wxWindow *arg2 = (wxWindow *) 0 ;
7259 int arg3 = (int) (int)-1 ;
7260 wxString const &arg4_defvalue = wxPyEmptyString ;
7261 wxString *arg4 = (wxString *) &arg4_defvalue ;
7262 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7263 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7264 wxSize const &arg6_defvalue = wxDefaultSize ;
7265 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7266 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7267 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7268 wxString *arg8 = (wxString *) &arg8_defvalue ;
7269 bool result;
7270 void *argp1 = 0 ;
7271 int res1 = 0 ;
7272 void *argp2 = 0 ;
7273 int res2 = 0 ;
7274 int val3 ;
7275 int ecode3 = 0 ;
7276 bool temp4 = false ;
7277 wxPoint temp5 ;
7278 wxSize temp6 ;
7279 long val7 ;
7280 int ecode7 = 0 ;
7281 bool temp8 = false ;
7282 PyObject * obj0 = 0 ;
7283 PyObject * obj1 = 0 ;
7284 PyObject * obj2 = 0 ;
7285 PyObject * obj3 = 0 ;
7286 PyObject * obj4 = 0 ;
7287 PyObject * obj5 = 0 ;
7288 PyObject * obj6 = 0 ;
7289 PyObject * obj7 = 0 ;
7290 char * kwnames[] = {
7291 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7292 };
7293
7294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7296 if (!SWIG_IsOK(res1)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7298 }
7299 arg1 = reinterpret_cast< wxDialog * >(argp1);
7300 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7301 if (!SWIG_IsOK(res2)) {
7302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7303 }
7304 arg2 = reinterpret_cast< wxWindow * >(argp2);
7305 if (obj2) {
7306 ecode3 = SWIG_AsVal_int(obj2, &val3);
7307 if (!SWIG_IsOK(ecode3)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7309 }
7310 arg3 = static_cast< int >(val3);
7311 }
7312 if (obj3) {
093d3ff1 7313 {
554f62e9
RD
7314 arg4 = wxString_in_helper(obj3);
7315 if (arg4 == NULL) SWIG_fail;
7316 temp4 = true;
d55e5bfc 7317 }
554f62e9
RD
7318 }
7319 if (obj4) {
d55e5bfc 7320 {
554f62e9
RD
7321 arg5 = &temp5;
7322 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7323 }
554f62e9
RD
7324 }
7325 if (obj5) {
d55e5bfc 7326 {
554f62e9
RD
7327 arg6 = &temp6;
7328 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7329 }
554f62e9
RD
7330 }
7331 if (obj6) {
7332 ecode7 = SWIG_AsVal_long(obj6, &val7);
7333 if (!SWIG_IsOK(ecode7)) {
7334 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7335 }
7336 arg7 = static_cast< long >(val7);
7337 }
7338 if (obj7) {
d55e5bfc 7339 {
554f62e9
RD
7340 arg8 = wxString_in_helper(obj7);
7341 if (arg8 == NULL) SWIG_fail;
7342 temp8 = true;
d55e5bfc 7343 }
554f62e9
RD
7344 }
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7348 wxPyEndAllowThreads(__tstate);
7349 if (PyErr_Occurred()) SWIG_fail;
7350 }
7351 {
7352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7353 }
7354 {
7355 if (temp4)
7356 delete arg4;
7357 }
7358 {
7359 if (temp8)
7360 delete arg8;
7361 }
7362 return resultobj;
7363fail:
7364 {
7365 if (temp4)
7366 delete arg4;
7367 }
7368 {
7369 if (temp8)
7370 delete arg8;
7371 }
7372 return NULL;
7373}
7374
7375
7376SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj = 0;
7378 wxDialog *arg1 = (wxDialog *) 0 ;
7379 int arg2 ;
7380 void *argp1 = 0 ;
7381 int res1 = 0 ;
7382 int val2 ;
7383 int ecode2 = 0 ;
7384 PyObject * obj0 = 0 ;
7385 PyObject * obj1 = 0 ;
7386 char * kwnames[] = {
7387 (char *) "self",(char *) "returnCode", NULL
7388 };
7389
7390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7392 if (!SWIG_IsOK(res1)) {
7393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7394 }
7395 arg1 = reinterpret_cast< wxDialog * >(argp1);
7396 ecode2 = SWIG_AsVal_int(obj1, &val2);
7397 if (!SWIG_IsOK(ecode2)) {
7398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7399 }
7400 arg2 = static_cast< int >(val2);
7401 {
7402 PyThreadState* __tstate = wxPyBeginAllowThreads();
7403 (arg1)->SetReturnCode(arg2);
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 resultobj = SWIG_Py_Void();
7408 return resultobj;
7409fail:
7410 return NULL;
d55e5bfc
RD
7411}
7412
7413
554f62e9
RD
7414SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7415 PyObject *resultobj = 0;
7416 wxDialog *arg1 = (wxDialog *) 0 ;
7417 int result;
7418 void *argp1 = 0 ;
7419 int res1 = 0 ;
7420 PyObject *swig_obj[1] ;
7421
7422 if (!args) SWIG_fail;
7423 swig_obj[0] = args;
7424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7425 if (!SWIG_IsOK(res1)) {
7426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7427 }
7428 arg1 = reinterpret_cast< wxDialog * >(argp1);
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 resultobj = SWIG_From_int(static_cast< int >(result));
7436 return resultobj;
7437fail:
7438 return NULL;
7439}
7440
7441
7442SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7443 PyObject *resultobj = 0;
7444 wxDialog *arg1 = (wxDialog *) 0 ;
7445 int arg2 ;
7446 void *argp1 = 0 ;
7447 int res1 = 0 ;
7448 int val2 ;
7449 int ecode2 = 0 ;
7450 PyObject * obj0 = 0 ;
7451 PyObject * obj1 = 0 ;
7452 char * kwnames[] = {
7453 (char *) "self",(char *) "affirmativeId", NULL
7454 };
7455
7456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7457 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7458 if (!SWIG_IsOK(res1)) {
7459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7460 }
7461 arg1 = reinterpret_cast< wxDialog * >(argp1);
7462 ecode2 = SWIG_AsVal_int(obj1, &val2);
7463 if (!SWIG_IsOK(ecode2)) {
7464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7465 }
7466 arg2 = static_cast< int >(val2);
7467 {
7468 PyThreadState* __tstate = wxPyBeginAllowThreads();
7469 (arg1)->SetAffirmativeId(arg2);
7470 wxPyEndAllowThreads(__tstate);
7471 if (PyErr_Occurred()) SWIG_fail;
7472 }
7473 resultobj = SWIG_Py_Void();
7474 return resultobj;
7475fail:
7476 return NULL;
d55e5bfc
RD
7477}
7478
7479
554f62e9
RD
7480SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7481 PyObject *resultobj = 0;
7482 wxDialog *arg1 = (wxDialog *) 0 ;
7483 int result;
7484 void *argp1 = 0 ;
7485 int res1 = 0 ;
7486 PyObject *swig_obj[1] ;
7487
7488 if (!args) SWIG_fail;
7489 swig_obj[0] = args;
7490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7491 if (!SWIG_IsOK(res1)) {
7492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7493 }
7494 arg1 = reinterpret_cast< wxDialog * >(argp1);
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 resultobj = SWIG_From_int(static_cast< int >(result));
7502 return resultobj;
7503fail:
7504 return NULL;
7505}
7506
7507
7508SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj = 0;
7510 wxDialog *arg1 = (wxDialog *) 0 ;
7511 int arg2 ;
7512 void *argp1 = 0 ;
7513 int res1 = 0 ;
7514 int val2 ;
7515 int ecode2 = 0 ;
7516 PyObject * obj0 = 0 ;
7517 PyObject * obj1 = 0 ;
7518 char * kwnames[] = {
7519 (char *) "self",(char *) "escapeId", NULL
7520 };
7521
7522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7524 if (!SWIG_IsOK(res1)) {
7525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7526 }
7527 arg1 = reinterpret_cast< wxDialog * >(argp1);
7528 ecode2 = SWIG_AsVal_int(obj1, &val2);
7529 if (!SWIG_IsOK(ecode2)) {
7530 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7531 }
7532 arg2 = static_cast< int >(val2);
7533 {
7534 PyThreadState* __tstate = wxPyBeginAllowThreads();
7535 (arg1)->SetEscapeId(arg2);
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 resultobj = SWIG_Py_Void();
7540 return resultobj;
7541fail:
7542 return NULL;
d55e5bfc
RD
7543}
7544
7545
554f62e9
RD
7546SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7547 PyObject *resultobj = 0;
7548 wxDialog *arg1 = (wxDialog *) 0 ;
7549 int result;
7550 void *argp1 = 0 ;
7551 int res1 = 0 ;
7552 PyObject *swig_obj[1] ;
7553
7554 if (!args) SWIG_fail;
7555 swig_obj[0] = args;
7556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7557 if (!SWIG_IsOK(res1)) {
7558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7559 }
7560 arg1 = reinterpret_cast< wxDialog * >(argp1);
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7564 wxPyEndAllowThreads(__tstate);
7565 if (PyErr_Occurred()) SWIG_fail;
7566 }
7567 resultobj = SWIG_From_int(static_cast< int >(result));
7568 return resultobj;
7569fail:
7570 return NULL;
7571}
7572
7573
7574SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj = 0;
7576 wxDialog *arg1 = (wxDialog *) 0 ;
7577 wxString *arg2 = 0 ;
7578 wxSizer *result = 0 ;
7579 void *argp1 = 0 ;
7580 int res1 = 0 ;
7581 bool temp2 = false ;
7582 PyObject * obj0 = 0 ;
7583 PyObject * obj1 = 0 ;
7584 char * kwnames[] = {
7585 (char *) "self",(char *) "message", NULL
7586 };
7587
7588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",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_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7592 }
7593 arg1 = reinterpret_cast< wxDialog * >(argp1);
7594 {
7595 arg2 = wxString_in_helper(obj1);
7596 if (arg2 == NULL) SWIG_fail;
7597 temp2 = true;
7598 }
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7602 wxPyEndAllowThreads(__tstate);
7603 if (PyErr_Occurred()) SWIG_fail;
7604 }
7605 {
7606 resultobj = wxPyMake_wxObject(result, (bool)0);
7607 }
7608 {
7609 if (temp2)
7610 delete arg2;
7611 }
7612 return resultobj;
7613fail:
7614 {
7615 if (temp2)
7616 delete arg2;
7617 }
7618 return NULL;
7619}
7620
7621
7622SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7623 PyObject *resultobj = 0;
7624 wxDialog *arg1 = (wxDialog *) 0 ;
7625 long arg2 ;
7626 bool arg3 = (bool) false ;
7627 int arg4 = (int) 0 ;
7628 wxSizer *result = 0 ;
7629 void *argp1 = 0 ;
7630 int res1 = 0 ;
7631 long val2 ;
7632 int ecode2 = 0 ;
7633 bool val3 ;
7634 int ecode3 = 0 ;
7635 int val4 ;
7636 int ecode4 = 0 ;
7637 PyObject * obj0 = 0 ;
7638 PyObject * obj1 = 0 ;
7639 PyObject * obj2 = 0 ;
7640 PyObject * obj3 = 0 ;
7641 char * kwnames[] = {
7642 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7643 };
7644
7645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7647 if (!SWIG_IsOK(res1)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7649 }
7650 arg1 = reinterpret_cast< wxDialog * >(argp1);
7651 ecode2 = SWIG_AsVal_long(obj1, &val2);
7652 if (!SWIG_IsOK(ecode2)) {
7653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7654 }
7655 arg2 = static_cast< long >(val2);
7656 if (obj2) {
7657 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7658 if (!SWIG_IsOK(ecode3)) {
7659 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7660 }
7661 arg3 = static_cast< bool >(val3);
7662 }
7663 if (obj3) {
7664 ecode4 = SWIG_AsVal_int(obj3, &val4);
7665 if (!SWIG_IsOK(ecode4)) {
7666 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7667 }
7668 arg4 = static_cast< int >(val4);
7669 }
7670 {
7671 PyThreadState* __tstate = wxPyBeginAllowThreads();
7672 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7673 wxPyEndAllowThreads(__tstate);
7674 if (PyErr_Occurred()) SWIG_fail;
7675 }
7676 {
7677 resultobj = wxPyMake_wxObject(result, (bool)0);
7678 }
7679 return resultobj;
7680fail:
7681 return NULL;
7682}
7683
7684
7685SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj = 0;
7687 wxDialog *arg1 = (wxDialog *) 0 ;
7688 long arg2 ;
7689 wxStdDialogButtonSizer *result = 0 ;
7690 void *argp1 = 0 ;
7691 int res1 = 0 ;
7692 long val2 ;
7693 int ecode2 = 0 ;
7694 PyObject * obj0 = 0 ;
7695 PyObject * obj1 = 0 ;
7696 char * kwnames[] = {
7697 (char *) "self",(char *) "flags", NULL
7698 };
7699
7700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7702 if (!SWIG_IsOK(res1)) {
7703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7704 }
7705 arg1 = reinterpret_cast< wxDialog * >(argp1);
7706 ecode2 = SWIG_AsVal_long(obj1, &val2);
7707 if (!SWIG_IsOK(ecode2)) {
7708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7709 }
7710 arg2 = static_cast< long >(val2);
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7718 return resultobj;
7719fail:
7720 return NULL;
d55e5bfc
RD
7721}
7722
7723
554f62e9
RD
7724SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7725 PyObject *resultobj = 0;
7726 wxDialog *arg1 = (wxDialog *) 0 ;
7727 bool result;
7728 void *argp1 = 0 ;
7729 int res1 = 0 ;
7730 PyObject *swig_obj[1] ;
7731
7732 if (!args) SWIG_fail;
7733 swig_obj[0] = args;
7734 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7735 if (!SWIG_IsOK(res1)) {
7736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7737 }
7738 arg1 = reinterpret_cast< wxDialog * >(argp1);
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 result = (bool)((wxDialog const *)arg1)->IsModal();
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 {
7746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7747 }
7748 return resultobj;
7749fail:
7750 return NULL;
c32bde28
RD
7751}
7752
7753
554f62e9
RD
7754SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7755 PyObject *resultobj = 0;
7756 wxDialog *arg1 = (wxDialog *) 0 ;
7757 int result;
7758 void *argp1 = 0 ;
7759 int res1 = 0 ;
7760 PyObject *swig_obj[1] ;
7761
7762 if (!args) SWIG_fail;
7763 swig_obj[0] = args;
7764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7765 if (!SWIG_IsOK(res1)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7767 }
7768 arg1 = reinterpret_cast< wxDialog * >(argp1);
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = (int)(arg1)->ShowModal();
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 resultobj = SWIG_From_int(static_cast< int >(result));
7776 return resultobj;
7777fail:
7778 return NULL;
7779}
7780
7781
7782SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7783 PyObject *resultobj = 0;
7784 wxDialog *arg1 = (wxDialog *) 0 ;
7785 int arg2 ;
7786 void *argp1 = 0 ;
7787 int res1 = 0 ;
7788 int val2 ;
7789 int ecode2 = 0 ;
7790 PyObject * obj0 = 0 ;
7791 PyObject * obj1 = 0 ;
7792 char * kwnames[] = {
7793 (char *) "self",(char *) "retCode", NULL
7794 };
7795
7796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7798 if (!SWIG_IsOK(res1)) {
7799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7800 }
7801 arg1 = reinterpret_cast< wxDialog * >(argp1);
7802 ecode2 = SWIG_AsVal_int(obj1, &val2);
7803 if (!SWIG_IsOK(ecode2)) {
7804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7805 }
7806 arg2 = static_cast< int >(val2);
7807 {
7808 PyThreadState* __tstate = wxPyBeginAllowThreads();
7809 (arg1)->EndModal(arg2);
7810 wxPyEndAllowThreads(__tstate);
7811 if (PyErr_Occurred()) SWIG_fail;
7812 }
7813 resultobj = SWIG_Py_Void();
7814 return resultobj;
7815fail:
7816 return NULL;
7817}
7818
7819
7820SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7821 PyObject *resultobj = 0;
7822 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7823 SwigValueWrapper<wxVisualAttributes > result;
7824 int val1 ;
7825 int ecode1 = 0 ;
7826 PyObject * obj0 = 0 ;
7827 char * kwnames[] = {
7828 (char *) "variant", NULL
7829 };
7830
7831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7832 if (obj0) {
7833 ecode1 = SWIG_AsVal_int(obj0, &val1);
7834 if (!SWIG_IsOK(ecode1)) {
7835 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7836 }
7837 arg1 = static_cast< wxWindowVariant >(val1);
7838 }
7839 {
7840 if (!wxPyCheckForApp()) SWIG_fail;
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 result = wxDialog::GetClassDefaultAttributes(arg1);
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7847 return resultobj;
7848fail:
7849 return NULL;
7850}
7851
7852
7853SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7854 PyObject *obj;
7855 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7856 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7857 return SWIG_Py_Void();
7858}
7859
7860SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7861 return SWIG_Python_InitShadowInstance(args);
7862}
7863
7864SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj = 0;
7866 wxWindow *arg1 = (wxWindow *) 0 ;
7867 int arg2 = (int) (int)-1 ;
7868 wxString const &arg3_defvalue = wxPyEmptyString ;
7869 wxString *arg3 = (wxString *) &arg3_defvalue ;
7870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7872 wxSize const &arg5_defvalue = wxDefaultSize ;
7873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7874 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7875 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7876 wxString *arg7 = (wxString *) &arg7_defvalue ;
7877 wxMiniFrame *result = 0 ;
7878 void *argp1 = 0 ;
7879 int res1 = 0 ;
7880 int val2 ;
7881 int ecode2 = 0 ;
7882 bool temp3 = false ;
7883 wxPoint temp4 ;
7884 wxSize temp5 ;
7885 long val6 ;
7886 int ecode6 = 0 ;
7887 bool temp7 = false ;
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 PyObject * obj2 = 0 ;
7891 PyObject * obj3 = 0 ;
7892 PyObject * obj4 = 0 ;
7893 PyObject * obj5 = 0 ;
7894 PyObject * obj6 = 0 ;
7895 char * kwnames[] = {
7896 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7897 };
7898
7899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7901 if (!SWIG_IsOK(res1)) {
7902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7903 }
7904 arg1 = reinterpret_cast< wxWindow * >(argp1);
7905 if (obj1) {
7906 ecode2 = SWIG_AsVal_int(obj1, &val2);
7907 if (!SWIG_IsOK(ecode2)) {
7908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7909 }
7910 arg2 = static_cast< int >(val2);
7911 }
7912 if (obj2) {
5e483524 7913 {
554f62e9
RD
7914 arg3 = wxString_in_helper(obj2);
7915 if (arg3 == NULL) SWIG_fail;
7916 temp3 = true;
5e483524 7917 }
554f62e9
RD
7918 }
7919 if (obj3) {
093d3ff1 7920 {
554f62e9
RD
7921 arg4 = &temp4;
7922 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 7923 }
554f62e9
RD
7924 }
7925 if (obj4) {
84f85550 7926 {
554f62e9
RD
7927 arg5 = &temp5;
7928 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
84f85550 7929 }
554f62e9
RD
7930 }
7931 if (obj5) {
7932 ecode6 = SWIG_AsVal_long(obj5, &val6);
7933 if (!SWIG_IsOK(ecode6)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7935 }
7936 arg6 = static_cast< long >(val6);
7937 }
7938 if (obj6) {
84f85550 7939 {
554f62e9
RD
7940 arg7 = wxString_in_helper(obj6);
7941 if (arg7 == NULL) SWIG_fail;
7942 temp7 = true;
84f85550 7943 }
554f62e9
RD
7944 }
7945 {
7946 if (!wxPyCheckForApp()) SWIG_fail;
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7953 {
7954 if (temp3)
7955 delete arg3;
7956 }
7957 {
7958 if (temp7)
7959 delete arg7;
7960 }
7961 return resultobj;
7962fail:
7963 {
7964 if (temp3)
7965 delete arg3;
7966 }
7967 {
7968 if (temp7)
7969 delete arg7;
7970 }
7971 return NULL;
84f85550
RD
7972}
7973
7974
554f62e9
RD
7975SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7976 PyObject *resultobj = 0;
7977 wxMiniFrame *result = 0 ;
7978
7979 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7980 {
7981 if (!wxPyCheckForApp()) SWIG_fail;
7982 PyThreadState* __tstate = wxPyBeginAllowThreads();
7983 result = (wxMiniFrame *)new wxMiniFrame();
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7988 return resultobj;
7989fail:
7990 return NULL;
7991}
7992
7993
7994SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7995 PyObject *resultobj = 0;
7996 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7997 wxWindow *arg2 = (wxWindow *) 0 ;
7998 int arg3 = (int) (int)-1 ;
7999 wxString const &arg4_defvalue = wxPyEmptyString ;
8000 wxString *arg4 = (wxString *) &arg4_defvalue ;
8001 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8002 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8003 wxSize const &arg6_defvalue = wxDefaultSize ;
8004 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8005 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8006 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8007 wxString *arg8 = (wxString *) &arg8_defvalue ;
8008 bool result;
8009 void *argp1 = 0 ;
8010 int res1 = 0 ;
8011 void *argp2 = 0 ;
8012 int res2 = 0 ;
8013 int val3 ;
8014 int ecode3 = 0 ;
8015 bool temp4 = false ;
8016 wxPoint temp5 ;
8017 wxSize temp6 ;
8018 long val7 ;
8019 int ecode7 = 0 ;
8020 bool temp8 = false ;
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 PyObject * obj2 = 0 ;
8024 PyObject * obj3 = 0 ;
8025 PyObject * obj4 = 0 ;
8026 PyObject * obj5 = 0 ;
8027 PyObject * obj6 = 0 ;
8028 PyObject * obj7 = 0 ;
8029 char * kwnames[] = {
8030 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8031 };
8032
8033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8035 if (!SWIG_IsOK(res1)) {
8036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8037 }
8038 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8039 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8040 if (!SWIG_IsOK(res2)) {
8041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8042 }
8043 arg2 = reinterpret_cast< wxWindow * >(argp2);
8044 if (obj2) {
8045 ecode3 = SWIG_AsVal_int(obj2, &val3);
8046 if (!SWIG_IsOK(ecode3)) {
8047 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8048 }
8049 arg3 = static_cast< int >(val3);
8050 }
8051 if (obj3) {
b1fcee84 8052 {
554f62e9
RD
8053 arg4 = wxString_in_helper(obj3);
8054 if (arg4 == NULL) SWIG_fail;
8055 temp4 = true;
d55e5bfc 8056 }
554f62e9
RD
8057 }
8058 if (obj4) {
d55e5bfc 8059 {
554f62e9
RD
8060 arg5 = &temp5;
8061 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8062 }
554f62e9
RD
8063 }
8064 if (obj5) {
d55e5bfc 8065 {
554f62e9
RD
8066 arg6 = &temp6;
8067 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8068 }
554f62e9
RD
8069 }
8070 if (obj6) {
8071 ecode7 = SWIG_AsVal_long(obj6, &val7);
8072 if (!SWIG_IsOK(ecode7)) {
8073 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8074 }
8075 arg7 = static_cast< long >(val7);
8076 }
8077 if (obj7) {
d55e5bfc 8078 {
554f62e9
RD
8079 arg8 = wxString_in_helper(obj7);
8080 if (arg8 == NULL) SWIG_fail;
8081 temp8 = true;
d55e5bfc 8082 }
554f62e9
RD
8083 }
8084 {
8085 PyThreadState* __tstate = wxPyBeginAllowThreads();
8086 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 {
8091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8092 }
8093 {
8094 if (temp4)
8095 delete arg4;
8096 }
8097 {
8098 if (temp8)
8099 delete arg8;
8100 }
8101 return resultobj;
8102fail:
8103 {
8104 if (temp4)
8105 delete arg4;
8106 }
8107 {
8108 if (temp8)
8109 delete arg8;
8110 }
8111 return NULL;
8112}
8113
8114
8115SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8116 PyObject *obj;
8117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8118 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8119 return SWIG_Py_Void();
8120}
8121
8122SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8123 return SWIG_Python_InitShadowInstance(args);
8124}
8125
8126SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8127 PyObject *resultobj = 0;
8128 wxBitmap *arg1 = 0 ;
8129 wxWindow *arg2 = (wxWindow *) 0 ;
8130 int arg3 ;
8131 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8132 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8133 wxSize const &arg5_defvalue = wxDefaultSize ;
8134 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8135 long arg6 = (long) wxNO_BORDER ;
8136 wxSplashScreenWindow *result = 0 ;
8137 void *argp1 = 0 ;
8138 int res1 = 0 ;
8139 void *argp2 = 0 ;
8140 int res2 = 0 ;
8141 int val3 ;
8142 int ecode3 = 0 ;
8143 wxPoint temp4 ;
8144 wxSize temp5 ;
8145 long val6 ;
8146 int ecode6 = 0 ;
8147 PyObject * obj0 = 0 ;
8148 PyObject * obj1 = 0 ;
8149 PyObject * obj2 = 0 ;
8150 PyObject * obj3 = 0 ;
8151 PyObject * obj4 = 0 ;
8152 PyObject * obj5 = 0 ;
8153 char * kwnames[] = {
8154 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8155 };
8156
8157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8158 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8159 if (!SWIG_IsOK(res1)) {
8160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8161 }
8162 if (!argp1) {
8163 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8164 }
8165 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8166 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8167 if (!SWIG_IsOK(res2)) {
8168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8169 }
8170 arg2 = reinterpret_cast< wxWindow * >(argp2);
8171 ecode3 = SWIG_AsVal_int(obj2, &val3);
8172 if (!SWIG_IsOK(ecode3)) {
8173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8174 }
8175 arg3 = static_cast< int >(val3);
8176 if (obj3) {
d55e5bfc 8177 {
554f62e9
RD
8178 arg4 = &temp4;
8179 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8180 }
554f62e9
RD
8181 }
8182 if (obj4) {
d55e5bfc 8183 {
554f62e9
RD
8184 arg5 = &temp5;
8185 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8186 }
8187 }
8188 if (obj5) {
8189 ecode6 = SWIG_AsVal_long(obj5, &val6);
8190 if (!SWIG_IsOK(ecode6)) {
8191 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8192 }
8193 arg6 = static_cast< long >(val6);
8194 }
8195 {
8196 if (!wxPyCheckForApp()) SWIG_fail;
8197 PyThreadState* __tstate = wxPyBeginAllowThreads();
8198 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8199 wxPyEndAllowThreads(__tstate);
8200 if (PyErr_Occurred()) SWIG_fail;
8201 }
8202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8203 return resultobj;
8204fail:
8205 return NULL;
8206}
8207
8208
8209SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj = 0;
8211 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8212 wxBitmap *arg2 = 0 ;
8213 void *argp1 = 0 ;
8214 int res1 = 0 ;
8215 void *argp2 = 0 ;
8216 int res2 = 0 ;
8217 PyObject * obj0 = 0 ;
8218 PyObject * obj1 = 0 ;
8219 char * kwnames[] = {
8220 (char *) "self",(char *) "bitmap", NULL
8221 };
8222
8223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8225 if (!SWIG_IsOK(res1)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8227 }
8228 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8229 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8230 if (!SWIG_IsOK(res2)) {
8231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8232 }
8233 if (!argp2) {
8234 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8235 }
8236 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 resultobj = SWIG_Py_Void();
8244 return resultobj;
8245fail:
8246 return NULL;
d55e5bfc
RD
8247}
8248
8249
554f62e9
RD
8250SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8251 PyObject *resultobj = 0;
8252 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8253 wxBitmap *result = 0 ;
8254 void *argp1 = 0 ;
8255 int res1 = 0 ;
8256 PyObject *swig_obj[1] ;
8257
8258 if (!args) SWIG_fail;
8259 swig_obj[0] = args;
8260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8261 if (!SWIG_IsOK(res1)) {
8262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8263 }
8264 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 8267 {
554f62e9
RD
8268 wxBitmap &_result_ref = (arg1)->GetBitmap();
8269 result = (wxBitmap *) &_result_ref;
d55e5bfc 8270 }
554f62e9
RD
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 {
8275 wxBitmap* resultptr = new wxBitmap(*result);
8276 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8277 }
8278 return resultobj;
8279fail:
8280 return NULL;
8281}
8282
8283
8284SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8285 PyObject *obj;
8286 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8287 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8288 return SWIG_Py_Void();
8289}
8290
8291SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8292 return SWIG_Python_InitShadowInstance(args);
8293}
8294
8295SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8296 PyObject *resultobj = 0;
8297 wxBitmap *arg1 = 0 ;
8298 long arg2 ;
8299 int arg3 ;
8300 wxWindow *arg4 = (wxWindow *) 0 ;
8301 int arg5 = (int) -1 ;
8302 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8303 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8304 wxSize const &arg7_defvalue = wxDefaultSize ;
8305 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8306 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8307 wxSplashScreen *result = 0 ;
8308 void *argp1 = 0 ;
8309 int res1 = 0 ;
8310 long val2 ;
8311 int ecode2 = 0 ;
8312 int val3 ;
8313 int ecode3 = 0 ;
8314 void *argp4 = 0 ;
8315 int res4 = 0 ;
8316 int val5 ;
8317 int ecode5 = 0 ;
8318 wxPoint temp6 ;
8319 wxSize temp7 ;
8320 long val8 ;
8321 int ecode8 = 0 ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 PyObject * obj2 = 0 ;
8325 PyObject * obj3 = 0 ;
8326 PyObject * obj4 = 0 ;
8327 PyObject * obj5 = 0 ;
8328 PyObject * obj6 = 0 ;
8329 PyObject * obj7 = 0 ;
8330 char * kwnames[] = {
8331 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8332 };
8333
8334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8335 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8336 if (!SWIG_IsOK(res1)) {
8337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8338 }
8339 if (!argp1) {
8340 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8341 }
8342 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8343 ecode2 = SWIG_AsVal_long(obj1, &val2);
8344 if (!SWIG_IsOK(ecode2)) {
8345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8346 }
8347 arg2 = static_cast< long >(val2);
8348 ecode3 = SWIG_AsVal_int(obj2, &val3);
8349 if (!SWIG_IsOK(ecode3)) {
8350 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8351 }
8352 arg3 = static_cast< int >(val3);
8353 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8354 if (!SWIG_IsOK(res4)) {
8355 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8356 }
8357 arg4 = reinterpret_cast< wxWindow * >(argp4);
8358 if (obj4) {
8359 ecode5 = SWIG_AsVal_int(obj4, &val5);
8360 if (!SWIG_IsOK(ecode5)) {
8361 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8362 }
8363 arg5 = static_cast< int >(val5);
8364 }
8365 if (obj5) {
d55e5bfc 8366 {
554f62e9
RD
8367 arg6 = &temp6;
8368 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8369 }
554f62e9
RD
8370 }
8371 if (obj6) {
d55e5bfc 8372 {
554f62e9
RD
8373 arg7 = &temp7;
8374 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8375 }
554f62e9
RD
8376 }
8377 if (obj7) {
8378 ecode8 = SWIG_AsVal_long(obj7, &val8);
8379 if (!SWIG_IsOK(ecode8)) {
8380 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8381 }
8382 arg8 = static_cast< long >(val8);
8383 }
8384 {
8385 if (!wxPyCheckForApp()) SWIG_fail;
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8392 return resultobj;
8393fail:
8394 return NULL;
d55e5bfc
RD
8395}
8396
8397
554f62e9
RD
8398SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8399 PyObject *resultobj = 0;
8400 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8401 long result;
8402 void *argp1 = 0 ;
8403 int res1 = 0 ;
8404 PyObject *swig_obj[1] ;
8405
8406 if (!args) SWIG_fail;
8407 swig_obj[0] = args;
8408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8409 if (!SWIG_IsOK(res1)) {
8410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8411 }
8412 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 resultobj = SWIG_From_long(static_cast< long >(result));
8420 return resultobj;
8421fail:
8422 return NULL;
d55e5bfc
RD
8423}
8424
8425
554f62e9
RD
8426SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8427 PyObject *resultobj = 0;
8428 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8429 wxSplashScreenWindow *result = 0 ;
8430 void *argp1 = 0 ;
8431 int res1 = 0 ;
8432 PyObject *swig_obj[1] ;
8433
8434 if (!args) SWIG_fail;
8435 swig_obj[0] = args;
8436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8437 if (!SWIG_IsOK(res1)) {
8438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8439 }
8440 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8448 return resultobj;
8449fail:
8450 return NULL;
d55e5bfc
RD
8451}
8452
8453
554f62e9
RD
8454SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8455 PyObject *resultobj = 0;
8456 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8457 int result;
8458 void *argp1 = 0 ;
8459 int res1 = 0 ;
8460 PyObject *swig_obj[1] ;
8461
8462 if (!args) SWIG_fail;
8463 swig_obj[0] = args;
8464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8465 if (!SWIG_IsOK(res1)) {
8466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8467 }
8468 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 resultobj = SWIG_From_int(static_cast< int >(result));
8476 return resultobj;
8477fail:
8478 return NULL;
8479}
8480
8481
8482SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8483 PyObject *obj;
8484 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8485 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8486 return SWIG_Py_Void();
8487}
8488
8489SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8490 return SWIG_Python_InitShadowInstance(args);
8491}
8492
8493SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8494 PyObject *resultobj = 0;
8495 wxWindow *arg1 = (wxWindow *) 0 ;
8496 int arg2 = (int) -1 ;
8497 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8498 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8499 wxString *arg4 = (wxString *) &arg4_defvalue ;
8500 wxStatusBar *result = 0 ;
8501 void *argp1 = 0 ;
8502 int res1 = 0 ;
8503 int val2 ;
8504 int ecode2 = 0 ;
8505 long val3 ;
8506 int ecode3 = 0 ;
8507 bool temp4 = false ;
8508 PyObject * obj0 = 0 ;
8509 PyObject * obj1 = 0 ;
8510 PyObject * obj2 = 0 ;
8511 PyObject * obj3 = 0 ;
8512 char * kwnames[] = {
8513 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8514 };
8515
8516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8518 if (!SWIG_IsOK(res1)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8520 }
8521 arg1 = reinterpret_cast< wxWindow * >(argp1);
8522 if (obj1) {
8523 ecode2 = SWIG_AsVal_int(obj1, &val2);
8524 if (!SWIG_IsOK(ecode2)) {
8525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8526 }
8527 arg2 = static_cast< int >(val2);
8528 }
8529 if (obj2) {
8530 ecode3 = SWIG_AsVal_long(obj2, &val3);
8531 if (!SWIG_IsOK(ecode3)) {
8532 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8533 }
8534 arg3 = static_cast< long >(val3);
8535 }
8536 if (obj3) {
d55e5bfc 8537 {
554f62e9
RD
8538 arg4 = wxString_in_helper(obj3);
8539 if (arg4 == NULL) SWIG_fail;
8540 temp4 = true;
d55e5bfc 8541 }
554f62e9
RD
8542 }
8543 {
8544 if (!wxPyCheckForApp()) SWIG_fail;
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8547 wxPyEndAllowThreads(__tstate);
8548 if (PyErr_Occurred()) SWIG_fail;
8549 }
8550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8551 {
8552 if (temp4)
8553 delete arg4;
8554 }
8555 return resultobj;
8556fail:
8557 {
8558 if (temp4)
8559 delete arg4;
8560 }
8561 return NULL;
d55e5bfc
RD
8562}
8563
8564
554f62e9
RD
8565SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8566 PyObject *resultobj = 0;
8567 wxStatusBar *result = 0 ;
8568
8569 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8570 {
8571 if (!wxPyCheckForApp()) SWIG_fail;
8572 PyThreadState* __tstate = wxPyBeginAllowThreads();
8573 result = (wxStatusBar *)new wxStatusBar();
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
8577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8578 return resultobj;
8579fail:
8580 return NULL;
8581}
8582
8583
8584SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8585 PyObject *resultobj = 0;
8586 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8587 wxWindow *arg2 = (wxWindow *) 0 ;
8588 int arg3 = (int) -1 ;
8589 long arg4 = (long) wxST_SIZEGRIP ;
8590 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8591 wxString *arg5 = (wxString *) &arg5_defvalue ;
8592 bool result;
8593 void *argp1 = 0 ;
8594 int res1 = 0 ;
8595 void *argp2 = 0 ;
8596 int res2 = 0 ;
8597 int val3 ;
8598 int ecode3 = 0 ;
8599 long val4 ;
8600 int ecode4 = 0 ;
8601 bool temp5 = false ;
8602 PyObject * obj0 = 0 ;
8603 PyObject * obj1 = 0 ;
8604 PyObject * obj2 = 0 ;
8605 PyObject * obj3 = 0 ;
8606 PyObject * obj4 = 0 ;
8607 char * kwnames[] = {
8608 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8609 };
8610
8611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8613 if (!SWIG_IsOK(res1)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8615 }
8616 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8617 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8618 if (!SWIG_IsOK(res2)) {
8619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8620 }
8621 arg2 = reinterpret_cast< wxWindow * >(argp2);
8622 if (obj2) {
8623 ecode3 = SWIG_AsVal_int(obj2, &val3);
8624 if (!SWIG_IsOK(ecode3)) {
8625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8626 }
8627 arg3 = static_cast< int >(val3);
8628 }
8629 if (obj3) {
8630 ecode4 = SWIG_AsVal_long(obj3, &val4);
8631 if (!SWIG_IsOK(ecode4)) {
8632 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8633 }
8634 arg4 = static_cast< long >(val4);
8635 }
8636 if (obj4) {
d55e5bfc 8637 {
554f62e9
RD
8638 arg5 = wxString_in_helper(obj4);
8639 if (arg5 == NULL) SWIG_fail;
8640 temp5 = true;
d55e5bfc 8641 }
554f62e9
RD
8642 }
8643 {
8644 PyThreadState* __tstate = wxPyBeginAllowThreads();
8645 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8646 wxPyEndAllowThreads(__tstate);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 }
8649 {
8650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8651 }
8652 {
8653 if (temp5)
8654 delete arg5;
8655 }
8656 return resultobj;
8657fail:
8658 {
8659 if (temp5)
8660 delete arg5;
8661 }
8662 return NULL;
8663}
8664
8665
8666SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj = 0;
8668 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8669 int arg2 = (int) 1 ;
8670 void *argp1 = 0 ;
8671 int res1 = 0 ;
8672 int val2 ;
8673 int ecode2 = 0 ;
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
8676 char * kwnames[] = {
8677 (char *) "self",(char *) "number", NULL
8678 };
8679
8680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8682 if (!SWIG_IsOK(res1)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8684 }
8685 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8686 if (obj1) {
8687 ecode2 = SWIG_AsVal_int(obj1, &val2);
8688 if (!SWIG_IsOK(ecode2)) {
8689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8690 }
8691 arg2 = static_cast< int >(val2);
8692 }
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 (arg1)->SetFieldsCount(arg2);
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 resultobj = SWIG_Py_Void();
8700 return resultobj;
8701fail:
8702 return NULL;
d55e5bfc
RD
8703}
8704
8705
554f62e9
RD
8706SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8707 PyObject *resultobj = 0;
8708 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8709 int result;
8710 void *argp1 = 0 ;
8711 int res1 = 0 ;
8712 PyObject *swig_obj[1] ;
8713
8714 if (!args) SWIG_fail;
8715 swig_obj[0] = args;
8716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8717 if (!SWIG_IsOK(res1)) {
8718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8719 }
8720 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_From_int(static_cast< int >(result));
8728 return resultobj;
8729fail:
8730 return NULL;
8731}
8732
8733
8734SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj = 0;
8736 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8737 wxString *arg2 = 0 ;
8738 int arg3 = (int) 0 ;
8739 void *argp1 = 0 ;
8740 int res1 = 0 ;
8741 bool temp2 = false ;
8742 int val3 ;
8743 int ecode3 = 0 ;
8744 PyObject * obj0 = 0 ;
8745 PyObject * obj1 = 0 ;
8746 PyObject * obj2 = 0 ;
8747 char * kwnames[] = {
8748 (char *) "self",(char *) "text",(char *) "number", NULL
8749 };
8750
8751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8753 if (!SWIG_IsOK(res1)) {
8754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8755 }
8756 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8757 {
8758 arg2 = wxString_in_helper(obj1);
8759 if (arg2 == NULL) SWIG_fail;
8760 temp2 = true;
8761 }
8762 if (obj2) {
8763 ecode3 = SWIG_AsVal_int(obj2, &val3);
8764 if (!SWIG_IsOK(ecode3)) {
8765 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8766 }
8767 arg3 = static_cast< int >(val3);
8768 }
8769 {
8770 PyThreadState* __tstate = wxPyBeginAllowThreads();
8771 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 resultobj = SWIG_Py_Void();
8776 {
8777 if (temp2)
8778 delete arg2;
8779 }
8780 return resultobj;
8781fail:
8782 {
8783 if (temp2)
8784 delete arg2;
8785 }
8786 return NULL;
8787}
8788
8789
8790SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj = 0;
8792 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8793 int arg2 = (int) 0 ;
8794 wxString result;
8795 void *argp1 = 0 ;
8796 int res1 = 0 ;
8797 int val2 ;
8798 int ecode2 = 0 ;
8799 PyObject * obj0 = 0 ;
8800 PyObject * obj1 = 0 ;
8801 char * kwnames[] = {
8802 (char *) "self",(char *) "number", NULL
8803 };
8804
8805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8807 if (!SWIG_IsOK(res1)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8809 }
8810 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8811 if (obj1) {
8812 ecode2 = SWIG_AsVal_int(obj1, &val2);
8813 if (!SWIG_IsOK(ecode2)) {
8814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8815 }
8816 arg2 = static_cast< int >(val2);
8817 }
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 {
8825#if wxUSE_UNICODE
8826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8827#else
8828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8829#endif
8830 }
8831 return resultobj;
8832fail:
8833 return NULL;
8834}
8835
8836
8837SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj = 0;
8839 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8840 wxString *arg2 = 0 ;
8841 int arg3 = (int) 0 ;
8842 void *argp1 = 0 ;
8843 int res1 = 0 ;
8844 bool temp2 = false ;
8845 int val3 ;
8846 int ecode3 = 0 ;
8847 PyObject * obj0 = 0 ;
8848 PyObject * obj1 = 0 ;
8849 PyObject * obj2 = 0 ;
8850 char * kwnames[] = {
8851 (char *) "self",(char *) "text",(char *) "number", NULL
8852 };
8853
8854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8856 if (!SWIG_IsOK(res1)) {
8857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8858 }
8859 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8860 {
8861 arg2 = wxString_in_helper(obj1);
8862 if (arg2 == NULL) SWIG_fail;
8863 temp2 = true;
8864 }
8865 if (obj2) {
8866 ecode3 = SWIG_AsVal_int(obj2, &val3);
8867 if (!SWIG_IsOK(ecode3)) {
8868 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8869 }
8870 arg3 = static_cast< int >(val3);
8871 }
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8875 wxPyEndAllowThreads(__tstate);
8876 if (PyErr_Occurred()) SWIG_fail;
8877 }
8878 resultobj = SWIG_Py_Void();
8879 {
8880 if (temp2)
8881 delete arg2;
8882 }
8883 return resultobj;
8884fail:
8885 {
8886 if (temp2)
8887 delete arg2;
8888 }
8889 return NULL;
8890}
8891
8892
8893SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj = 0;
8895 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8896 int arg2 = (int) 0 ;
8897 void *argp1 = 0 ;
8898 int res1 = 0 ;
8899 int val2 ;
8900 int ecode2 = 0 ;
8901 PyObject * obj0 = 0 ;
8902 PyObject * obj1 = 0 ;
8903 char * kwnames[] = {
8904 (char *) "self",(char *) "number", NULL
8905 };
8906
8907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8909 if (!SWIG_IsOK(res1)) {
8910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8911 }
8912 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8913 if (obj1) {
8914 ecode2 = SWIG_AsVal_int(obj1, &val2);
8915 if (!SWIG_IsOK(ecode2)) {
8916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8917 }
8918 arg2 = static_cast< int >(val2);
8919 }
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 (arg1)->PopStatusText(arg2);
8923 wxPyEndAllowThreads(__tstate);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 }
8926 resultobj = SWIG_Py_Void();
8927 return resultobj;
8928fail:
8929 return NULL;
8930}
8931
8932
8933SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj = 0;
8935 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8936 int arg2 ;
8937 int *arg3 = (int *) 0 ;
8938 void *argp1 = 0 ;
8939 int res1 = 0 ;
8940 PyObject * obj0 = 0 ;
8941 PyObject * obj1 = 0 ;
8942 char * kwnames[] = {
8943 (char *) "self",(char *) "widths", NULL
8944 };
8945
8946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8948 if (!SWIG_IsOK(res1)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8950 }
8951 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8952 {
8953 arg2 = PyList_Size(obj1);
8954 arg3 = int_LIST_helper(obj1);
8955 if (arg3 == NULL) SWIG_fail;
8956 }
8957 {
8958 PyThreadState* __tstate = wxPyBeginAllowThreads();
8959 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
8963 resultobj = SWIG_Py_Void();
8964 {
8965 if (arg3) delete [] arg3;
8966 }
8967 return resultobj;
8968fail:
8969 {
8970 if (arg3) delete [] arg3;
8971 }
8972 return NULL;
d55e5bfc
RD
8973}
8974
8975
554f62e9
RD
8976SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8977 PyObject *resultobj = 0;
8978 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8979 int arg2 ;
8980 int *arg3 = (int *) 0 ;
8981 void *argp1 = 0 ;
8982 int res1 = 0 ;
8983 PyObject * obj0 = 0 ;
8984 PyObject * obj1 = 0 ;
8985 char * kwnames[] = {
8986 (char *) "self",(char *) "styles", NULL
8987 };
8988
8989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8991 if (!SWIG_IsOK(res1)) {
8992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8993 }
8994 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8995 {
8996 arg2 = PyList_Size(obj1);
8997 arg3 = int_LIST_helper(obj1);
8998 if (arg3 == NULL) SWIG_fail;
8999 }
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 resultobj = SWIG_Py_Void();
9007 {
9008 if (arg3) delete [] arg3;
9009 }
9010 return resultobj;
9011fail:
9012 {
9013 if (arg3) delete [] arg3;
9014 }
9015 return NULL;
9016}
9017
9018
9019SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9020 PyObject *resultobj = 0;
9021 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9022 int arg2 ;
9023 wxRect result;
9024 void *argp1 = 0 ;
9025 int res1 = 0 ;
9026 int val2 ;
9027 int ecode2 = 0 ;
9028 PyObject * obj0 = 0 ;
9029 PyObject * obj1 = 0 ;
9030 char * kwnames[] = {
9031 (char *) "self",(char *) "i", NULL
9032 };
9033
9034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9036 if (!SWIG_IsOK(res1)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9038 }
9039 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9040 ecode2 = SWIG_AsVal_int(obj1, &val2);
9041 if (!SWIG_IsOK(ecode2)) {
9042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9043 }
9044 arg2 = static_cast< int >(val2);
9045 {
9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
9047 result = wxStatusBar_GetFieldRect(arg1,arg2);
9048 wxPyEndAllowThreads(__tstate);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 }
9051 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9052 return resultobj;
9053fail:
9054 return NULL;
9055}
9056
9057
9058SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9059 PyObject *resultobj = 0;
9060 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9061 int arg2 ;
9062 void *argp1 = 0 ;
9063 int res1 = 0 ;
9064 int val2 ;
9065 int ecode2 = 0 ;
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
9068 char * kwnames[] = {
9069 (char *) "self",(char *) "height", NULL
9070 };
9071
9072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9074 if (!SWIG_IsOK(res1)) {
9075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9076 }
9077 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9078 ecode2 = SWIG_AsVal_int(obj1, &val2);
9079 if (!SWIG_IsOK(ecode2)) {
9080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9081 }
9082 arg2 = static_cast< int >(val2);
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 (arg1)->SetMinHeight(arg2);
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 resultobj = SWIG_Py_Void();
9090 return resultobj;
9091fail:
9092 return NULL;
d55e5bfc
RD
9093}
9094
9095
554f62e9
RD
9096SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9097 PyObject *resultobj = 0;
9098 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9099 int result;
9100 void *argp1 = 0 ;
9101 int res1 = 0 ;
9102 PyObject *swig_obj[1] ;
9103
9104 if (!args) SWIG_fail;
9105 swig_obj[0] = args;
9106 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9107 if (!SWIG_IsOK(res1)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9109 }
9110 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 resultobj = SWIG_From_int(static_cast< int >(result));
9118 return resultobj;
9119fail:
9120 return NULL;
d55e5bfc
RD
9121}
9122
9123
554f62e9
RD
9124SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9125 PyObject *resultobj = 0;
9126 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9127 int result;
9128 void *argp1 = 0 ;
9129 int res1 = 0 ;
9130 PyObject *swig_obj[1] ;
9131
9132 if (!args) SWIG_fail;
9133 swig_obj[0] = args;
9134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9135 if (!SWIG_IsOK(res1)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9137 }
9138 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9139 {
9140 PyThreadState* __tstate = wxPyBeginAllowThreads();
9141 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 resultobj = SWIG_From_int(static_cast< int >(result));
9146 return resultobj;
9147fail:
9148 return NULL;
9149}
9150
9151
9152SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj = 0;
9154 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9155 SwigValueWrapper<wxVisualAttributes > result;
9156 int val1 ;
9157 int ecode1 = 0 ;
9158 PyObject * obj0 = 0 ;
9159 char * kwnames[] = {
9160 (char *) "variant", NULL
9161 };
9162
9163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9164 if (obj0) {
9165 ecode1 = SWIG_AsVal_int(obj0, &val1);
9166 if (!SWIG_IsOK(ecode1)) {
9167 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9168 }
9169 arg1 = static_cast< wxWindowVariant >(val1);
9170 }
9171 {
9172 if (!wxPyCheckForApp()) SWIG_fail;
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
9178 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9179 return resultobj;
9180fail:
9181 return NULL;
d55e5bfc
RD
9182}
9183
9184
554f62e9
RD
9185SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9186 PyObject *obj;
9187 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9188 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9189 return SWIG_Py_Void();
d55e5bfc
RD
9190}
9191
554f62e9
RD
9192SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9193 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
9194}
9195
554f62e9
RD
9196SWIGINTERN int SplitterNameStr_set(PyObject *) {
9197 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9198 return 1;
d55e5bfc
RD
9199}
9200
9201
554f62e9
RD
9202SWIGINTERN PyObject *SplitterNameStr_get(void) {
9203 PyObject *pyobj = 0;
9204
9205 {
9206#if wxUSE_UNICODE
9207 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9208#else
9209 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9210#endif
9211 }
9212 return pyobj;
9213}
9214
9215
9216SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj = 0;
9218 wxWindow *arg1 = (wxWindow *) 0 ;
9219 int arg2 = (int) -1 ;
9220 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9221 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9222 wxSize const &arg4_defvalue = wxDefaultSize ;
9223 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9224 long arg5 = (long) wxSP_3D ;
9225 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9226 wxString *arg6 = (wxString *) &arg6_defvalue ;
9227 wxSplitterWindow *result = 0 ;
9228 void *argp1 = 0 ;
9229 int res1 = 0 ;
9230 int val2 ;
9231 int ecode2 = 0 ;
9232 wxPoint temp3 ;
9233 wxSize temp4 ;
9234 long val5 ;
9235 int ecode5 = 0 ;
9236 bool temp6 = false ;
9237 PyObject * obj0 = 0 ;
9238 PyObject * obj1 = 0 ;
9239 PyObject * obj2 = 0 ;
9240 PyObject * obj3 = 0 ;
9241 PyObject * obj4 = 0 ;
9242 PyObject * obj5 = 0 ;
9243 char * kwnames[] = {
9244 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9245 };
9246
9247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9249 if (!SWIG_IsOK(res1)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9251 }
9252 arg1 = reinterpret_cast< wxWindow * >(argp1);
9253 if (obj1) {
9254 ecode2 = SWIG_AsVal_int(obj1, &val2);
9255 if (!SWIG_IsOK(ecode2)) {
9256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9257 }
9258 arg2 = static_cast< int >(val2);
9259 }
9260 if (obj2) {
093d3ff1 9261 {
554f62e9
RD
9262 arg3 = &temp3;
9263 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 9264 }
554f62e9
RD
9265 }
9266 if (obj3) {
d55e5bfc 9267 {
554f62e9
RD
9268 arg4 = &temp4;
9269 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9270 }
554f62e9
RD
9271 }
9272 if (obj4) {
9273 ecode5 = SWIG_AsVal_long(obj4, &val5);
9274 if (!SWIG_IsOK(ecode5)) {
9275 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9276 }
9277 arg5 = static_cast< long >(val5);
9278 }
9279 if (obj5) {
093d3ff1 9280 {
554f62e9
RD
9281 arg6 = wxString_in_helper(obj5);
9282 if (arg6 == NULL) SWIG_fail;
9283 temp6 = true;
093d3ff1 9284 }
554f62e9
RD
9285 }
9286 {
9287 if (!wxPyCheckForApp()) SWIG_fail;
9288 PyThreadState* __tstate = wxPyBeginAllowThreads();
9289 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
9293 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9294 {
9295 if (temp6)
9296 delete arg6;
9297 }
9298 return resultobj;
9299fail:
9300 {
9301 if (temp6)
9302 delete arg6;
9303 }
9304 return NULL;
d55e5bfc
RD
9305}
9306
9307
554f62e9
RD
9308SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9309 PyObject *resultobj = 0;
9310 wxSplitterWindow *result = 0 ;
9311
9312 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9313 {
9314 if (!wxPyCheckForApp()) SWIG_fail;
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = (wxSplitterWindow *)new wxSplitterWindow();
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9321 return resultobj;
9322fail:
9323 return NULL;
9324}
9325
9326
9327SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj = 0;
9329 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9330 wxWindow *arg2 = (wxWindow *) 0 ;
9331 int arg3 = (int) -1 ;
9332 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9333 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9334 wxSize const &arg5_defvalue = wxDefaultSize ;
9335 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9336 long arg6 = (long) wxSP_3D ;
9337 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9338 wxString *arg7 = (wxString *) &arg7_defvalue ;
9339 bool result;
9340 void *argp1 = 0 ;
9341 int res1 = 0 ;
9342 void *argp2 = 0 ;
9343 int res2 = 0 ;
9344 int val3 ;
9345 int ecode3 = 0 ;
9346 wxPoint temp4 ;
9347 wxSize temp5 ;
9348 long val6 ;
9349 int ecode6 = 0 ;
9350 bool temp7 = false ;
9351 PyObject * obj0 = 0 ;
9352 PyObject * obj1 = 0 ;
9353 PyObject * obj2 = 0 ;
9354 PyObject * obj3 = 0 ;
9355 PyObject * obj4 = 0 ;
9356 PyObject * obj5 = 0 ;
9357 PyObject * obj6 = 0 ;
9358 char * kwnames[] = {
9359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9360 };
9361
9362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9364 if (!SWIG_IsOK(res1)) {
9365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9366 }
9367 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9368 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9369 if (!SWIG_IsOK(res2)) {
9370 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9371 }
9372 arg2 = reinterpret_cast< wxWindow * >(argp2);
9373 if (obj2) {
9374 ecode3 = SWIG_AsVal_int(obj2, &val3);
9375 if (!SWIG_IsOK(ecode3)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9377 }
9378 arg3 = static_cast< int >(val3);
9379 }
9380 if (obj3) {
d55e5bfc 9381 {
554f62e9
RD
9382 arg4 = &temp4;
9383 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9384 }
554f62e9
RD
9385 }
9386 if (obj4) {
d55e5bfc 9387 {
554f62e9
RD
9388 arg5 = &temp5;
9389 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9390 }
554f62e9
RD
9391 }
9392 if (obj5) {
9393 ecode6 = SWIG_AsVal_long(obj5, &val6);
9394 if (!SWIG_IsOK(ecode6)) {
9395 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9396 }
9397 arg6 = static_cast< long >(val6);
9398 }
9399 if (obj6) {
d55e5bfc 9400 {
554f62e9
RD
9401 arg7 = wxString_in_helper(obj6);
9402 if (arg7 == NULL) SWIG_fail;
9403 temp7 = true;
d55e5bfc 9404 }
554f62e9
RD
9405 }
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 {
9413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9414 }
9415 {
9416 if (temp7)
9417 delete arg7;
9418 }
9419 return resultobj;
9420fail:
9421 {
9422 if (temp7)
9423 delete arg7;
9424 }
9425 return NULL;
d55e5bfc
RD
9426}
9427
9428
554f62e9
RD
9429SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9430 PyObject *resultobj = 0;
9431 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9432 wxWindow *result = 0 ;
9433 void *argp1 = 0 ;
9434 int res1 = 0 ;
9435 PyObject *swig_obj[1] ;
9436
9437 if (!args) SWIG_fail;
9438 swig_obj[0] = args;
9439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9440 if (!SWIG_IsOK(res1)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9442 }
9443 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9444 {
9445 PyThreadState* __tstate = wxPyBeginAllowThreads();
9446 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9447 wxPyEndAllowThreads(__tstate);
9448 if (PyErr_Occurred()) SWIG_fail;
9449 }
9450 {
9451 resultobj = wxPyMake_wxObject(result, 0);
9452 }
9453 return resultobj;
9454fail:
9455 return NULL;
d55e5bfc
RD
9456}
9457
9458
554f62e9
RD
9459SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9460 PyObject *resultobj = 0;
9461 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9462 wxWindow *result = 0 ;
9463 void *argp1 = 0 ;
9464 int res1 = 0 ;
9465 PyObject *swig_obj[1] ;
9466
9467 if (!args) SWIG_fail;
9468 swig_obj[0] = args;
9469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9470 if (!SWIG_IsOK(res1)) {
9471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9472 }
9473 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9474 {
9475 PyThreadState* __tstate = wxPyBeginAllowThreads();
9476 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 {
9481 resultobj = wxPyMake_wxObject(result, 0);
9482 }
9483 return resultobj;
9484fail:
9485 return NULL;
9486}
9487
9488
9489SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj = 0;
9491 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9492 int arg2 ;
9493 void *argp1 = 0 ;
9494 int res1 = 0 ;
9495 int val2 ;
9496 int ecode2 = 0 ;
9497 PyObject * obj0 = 0 ;
9498 PyObject * obj1 = 0 ;
9499 char * kwnames[] = {
9500 (char *) "self",(char *) "mode", NULL
9501 };
9502
9503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9505 if (!SWIG_IsOK(res1)) {
9506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9507 }
9508 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9509 ecode2 = SWIG_AsVal_int(obj1, &val2);
9510 if (!SWIG_IsOK(ecode2)) {
9511 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9512 }
9513 arg2 = static_cast< int >(val2);
9514 {
9515 PyThreadState* __tstate = wxPyBeginAllowThreads();
9516 (arg1)->SetSplitMode(arg2);
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
9520 resultobj = SWIG_Py_Void();
9521 return resultobj;
9522fail:
9523 return NULL;
d55e5bfc
RD
9524}
9525
9526
554f62e9
RD
9527SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9528 PyObject *resultobj = 0;
9529 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9530 wxSplitMode result;
9531 void *argp1 = 0 ;
9532 int res1 = 0 ;
9533 PyObject *swig_obj[1] ;
9534
9535 if (!args) SWIG_fail;
9536 swig_obj[0] = args;
9537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9538 if (!SWIG_IsOK(res1)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9540 }
9541 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9542 {
9543 PyThreadState* __tstate = wxPyBeginAllowThreads();
9544 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
9548 resultobj = SWIG_From_int(static_cast< int >(result));
9549 return resultobj;
9550fail:
9551 return NULL;
9552}
9553
9554
9555SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9556 PyObject *resultobj = 0;
9557 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9558 wxWindow *arg2 = (wxWindow *) 0 ;
9559 void *argp1 = 0 ;
9560 int res1 = 0 ;
9561 void *argp2 = 0 ;
9562 int res2 = 0 ;
9563 PyObject * obj0 = 0 ;
9564 PyObject * obj1 = 0 ;
9565 char * kwnames[] = {
9566 (char *) "self",(char *) "window", NULL
9567 };
9568
9569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9571 if (!SWIG_IsOK(res1)) {
9572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9573 }
9574 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9576 if (!SWIG_IsOK(res2)) {
9577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9578 }
9579 arg2 = reinterpret_cast< wxWindow * >(argp2);
9580 {
9581 PyThreadState* __tstate = wxPyBeginAllowThreads();
9582 (arg1)->Initialize(arg2);
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 resultobj = SWIG_Py_Void();
9587 return resultobj;
9588fail:
9589 return NULL;
9590}
9591
9592
9593SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9594 PyObject *resultobj = 0;
9595 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9596 wxWindow *arg2 = (wxWindow *) 0 ;
9597 wxWindow *arg3 = (wxWindow *) 0 ;
9598 int arg4 = (int) 0 ;
9599 bool result;
9600 void *argp1 = 0 ;
9601 int res1 = 0 ;
9602 void *argp2 = 0 ;
9603 int res2 = 0 ;
9604 void *argp3 = 0 ;
9605 int res3 = 0 ;
9606 int val4 ;
9607 int ecode4 = 0 ;
9608 PyObject * obj0 = 0 ;
9609 PyObject * obj1 = 0 ;
9610 PyObject * obj2 = 0 ;
9611 PyObject * obj3 = 0 ;
9612 char * kwnames[] = {
9613 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9614 };
9615
9616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9618 if (!SWIG_IsOK(res1)) {
9619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9620 }
9621 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9622 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9623 if (!SWIG_IsOK(res2)) {
9624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9625 }
9626 arg2 = reinterpret_cast< wxWindow * >(argp2);
9627 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9628 if (!SWIG_IsOK(res3)) {
9629 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9630 }
9631 arg3 = reinterpret_cast< wxWindow * >(argp3);
9632 if (obj3) {
9633 ecode4 = SWIG_AsVal_int(obj3, &val4);
9634 if (!SWIG_IsOK(ecode4)) {
9635 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9636 }
9637 arg4 = static_cast< int >(val4);
9638 }
9639 {
9640 PyThreadState* __tstate = wxPyBeginAllowThreads();
9641 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9642 wxPyEndAllowThreads(__tstate);
9643 if (PyErr_Occurred()) SWIG_fail;
9644 }
9645 {
9646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9647 }
9648 return resultobj;
9649fail:
9650 return NULL;
9651}
9652
9653
9654SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj = 0;
9656 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9657 wxWindow *arg2 = (wxWindow *) 0 ;
9658 wxWindow *arg3 = (wxWindow *) 0 ;
9659 int arg4 = (int) 0 ;
9660 bool result;
9661 void *argp1 = 0 ;
9662 int res1 = 0 ;
9663 void *argp2 = 0 ;
9664 int res2 = 0 ;
9665 void *argp3 = 0 ;
9666 int res3 = 0 ;
9667 int val4 ;
9668 int ecode4 = 0 ;
9669 PyObject * obj0 = 0 ;
9670 PyObject * obj1 = 0 ;
9671 PyObject * obj2 = 0 ;
9672 PyObject * obj3 = 0 ;
9673 char * kwnames[] = {
9674 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9675 };
9676
9677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9679 if (!SWIG_IsOK(res1)) {
9680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9681 }
9682 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9683 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9684 if (!SWIG_IsOK(res2)) {
9685 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9686 }
9687 arg2 = reinterpret_cast< wxWindow * >(argp2);
9688 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9689 if (!SWIG_IsOK(res3)) {
9690 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9691 }
9692 arg3 = reinterpret_cast< wxWindow * >(argp3);
9693 if (obj3) {
9694 ecode4 = SWIG_AsVal_int(obj3, &val4);
9695 if (!SWIG_IsOK(ecode4)) {
9696 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9697 }
9698 arg4 = static_cast< int >(val4);
9699 }
9700 {
9701 PyThreadState* __tstate = wxPyBeginAllowThreads();
9702 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9703 wxPyEndAllowThreads(__tstate);
9704 if (PyErr_Occurred()) SWIG_fail;
9705 }
9706 {
9707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9708 }
9709 return resultobj;
9710fail:
9711 return NULL;
9712}
9713
9714
9715SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9716 PyObject *resultobj = 0;
9717 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9718 wxWindow *arg2 = (wxWindow *) NULL ;
9719 bool result;
9720 void *argp1 = 0 ;
9721 int res1 = 0 ;
9722 void *argp2 = 0 ;
9723 int res2 = 0 ;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 char * kwnames[] = {
9727 (char *) "self",(char *) "toRemove", NULL
9728 };
9729
9730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9732 if (!SWIG_IsOK(res1)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9734 }
9735 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9736 if (obj1) {
9737 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9738 if (!SWIG_IsOK(res2)) {
9739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
d55e5bfc 9740 }
554f62e9
RD
9741 arg2 = reinterpret_cast< wxWindow * >(argp2);
9742 }
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 result = (bool)(arg1)->Unsplit(arg2);
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 {
9750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9751 }
9752 return resultobj;
9753fail:
9754 return NULL;
9755}
9756
9757
9758SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj = 0;
9760 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9761 wxWindow *arg2 = (wxWindow *) 0 ;
9762 wxWindow *arg3 = (wxWindow *) 0 ;
9763 bool result;
9764 void *argp1 = 0 ;
9765 int res1 = 0 ;
9766 void *argp2 = 0 ;
9767 int res2 = 0 ;
9768 void *argp3 = 0 ;
9769 int res3 = 0 ;
9770 PyObject * obj0 = 0 ;
9771 PyObject * obj1 = 0 ;
9772 PyObject * obj2 = 0 ;
9773 char * kwnames[] = {
9774 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9775 };
9776
9777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9779 if (!SWIG_IsOK(res1)) {
9780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9781 }
9782 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9783 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9784 if (!SWIG_IsOK(res2)) {
9785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9786 }
9787 arg2 = reinterpret_cast< wxWindow * >(argp2);
9788 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9789 if (!SWIG_IsOK(res3)) {
9790 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9791 }
9792 arg3 = reinterpret_cast< wxWindow * >(argp3);
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 {
9800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9801 }
9802 return resultobj;
9803fail:
9804 return NULL;
d55e5bfc
RD
9805}
9806
9807
554f62e9
RD
9808SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9809 PyObject *resultobj = 0;
9810 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9811 void *argp1 = 0 ;
9812 int res1 = 0 ;
9813 PyObject *swig_obj[1] ;
9814
9815 if (!args) SWIG_fail;
9816 swig_obj[0] = args;
9817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9818 if (!SWIG_IsOK(res1)) {
9819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9820 }
9821 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9822 {
9823 PyThreadState* __tstate = wxPyBeginAllowThreads();
9824 (arg1)->UpdateSize();
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 resultobj = SWIG_Py_Void();
9829 return resultobj;
9830fail:
9831 return NULL;
f20a2e1f
RD
9832}
9833
9834
554f62e9
RD
9835SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9836 PyObject *resultobj = 0;
9837 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9838 bool result;
9839 void *argp1 = 0 ;
9840 int res1 = 0 ;
9841 PyObject *swig_obj[1] ;
9842
9843 if (!args) SWIG_fail;
9844 swig_obj[0] = args;
9845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9846 if (!SWIG_IsOK(res1)) {
9847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9848 }
9849 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 {
9857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9858 }
9859 return resultobj;
9860fail:
9861 return NULL;
9862}
9863
9864
9865SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj = 0;
9867 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9868 int arg2 ;
9869 void *argp1 = 0 ;
9870 int res1 = 0 ;
9871 int val2 ;
9872 int ecode2 = 0 ;
9873 PyObject * obj0 = 0 ;
9874 PyObject * obj1 = 0 ;
9875 char * kwnames[] = {
9876 (char *) "self",(char *) "width", NULL
9877 };
9878
9879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9881 if (!SWIG_IsOK(res1)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9883 }
9884 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9885 ecode2 = SWIG_AsVal_int(obj1, &val2);
9886 if (!SWIG_IsOK(ecode2)) {
9887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9888 }
9889 arg2 = static_cast< int >(val2);
9890 {
9891 PyThreadState* __tstate = wxPyBeginAllowThreads();
9892 (arg1)->SetSashSize(arg2);
9893 wxPyEndAllowThreads(__tstate);
9894 if (PyErr_Occurred()) SWIG_fail;
9895 }
9896 resultobj = SWIG_Py_Void();
9897 return resultobj;
9898fail:
9899 return NULL;
9900}
9901
9902
9903SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj = 0;
9905 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9906 int arg2 ;
9907 void *argp1 = 0 ;
9908 int res1 = 0 ;
9909 int val2 ;
9910 int ecode2 = 0 ;
9911 PyObject * obj0 = 0 ;
9912 PyObject * obj1 = 0 ;
9913 char * kwnames[] = {
9914 (char *) "self",(char *) "width", NULL
9915 };
9916
9917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9919 if (!SWIG_IsOK(res1)) {
9920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9921 }
9922 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9923 ecode2 = SWIG_AsVal_int(obj1, &val2);
9924 if (!SWIG_IsOK(ecode2)) {
9925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9926 }
9927 arg2 = static_cast< int >(val2);
9928 {
9929 PyThreadState* __tstate = wxPyBeginAllowThreads();
9930 (arg1)->SetBorderSize(arg2);
9931 wxPyEndAllowThreads(__tstate);
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
9934 resultobj = SWIG_Py_Void();
9935 return resultobj;
9936fail:
9937 return NULL;
d55e5bfc
RD
9938}
9939
9940
554f62e9
RD
9941SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9942 PyObject *resultobj = 0;
9943 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9944 int result;
9945 void *argp1 = 0 ;
9946 int res1 = 0 ;
9947 PyObject *swig_obj[1] ;
9948
9949 if (!args) SWIG_fail;
9950 swig_obj[0] = args;
9951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9952 if (!SWIG_IsOK(res1)) {
9953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9954 }
9955 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9956 {
9957 PyThreadState* __tstate = wxPyBeginAllowThreads();
9958 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9959 wxPyEndAllowThreads(__tstate);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 }
9962 resultobj = SWIG_From_int(static_cast< int >(result));
9963 return resultobj;
9964fail:
9965 return NULL;
d55e5bfc
RD
9966}
9967
9968
554f62e9
RD
9969SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9970 PyObject *resultobj = 0;
9971 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9972 int result;
9973 void *argp1 = 0 ;
9974 int res1 = 0 ;
9975 PyObject *swig_obj[1] ;
9976
9977 if (!args) SWIG_fail;
9978 swig_obj[0] = args;
9979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9980 if (!SWIG_IsOK(res1)) {
9981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9982 }
9983 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9987 wxPyEndAllowThreads(__tstate);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 resultobj = SWIG_From_int(static_cast< int >(result));
9991 return resultobj;
9992fail:
9993 return NULL;
9994}
9995
9996
9997SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj = 0;
9999 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10000 int arg2 ;
10001 bool arg3 = (bool) true ;
10002 void *argp1 = 0 ;
10003 int res1 = 0 ;
10004 int val2 ;
10005 int ecode2 = 0 ;
10006 bool val3 ;
10007 int ecode3 = 0 ;
10008 PyObject * obj0 = 0 ;
10009 PyObject * obj1 = 0 ;
10010 PyObject * obj2 = 0 ;
10011 char * kwnames[] = {
10012 (char *) "self",(char *) "position",(char *) "redraw", NULL
10013 };
10014
10015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10017 if (!SWIG_IsOK(res1)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10019 }
10020 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10021 ecode2 = SWIG_AsVal_int(obj1, &val2);
10022 if (!SWIG_IsOK(ecode2)) {
10023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10024 }
10025 arg2 = static_cast< int >(val2);
10026 if (obj2) {
10027 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10028 if (!SWIG_IsOK(ecode3)) {
10029 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10030 }
10031 arg3 = static_cast< bool >(val3);
10032 }
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 (arg1)->SetSashPosition(arg2,arg3);
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 resultobj = SWIG_Py_Void();
10040 return resultobj;
10041fail:
10042 return NULL;
d55e5bfc
RD
10043}
10044
10045
554f62e9
RD
10046SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10047 PyObject *resultobj = 0;
10048 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10049 int result;
10050 void *argp1 = 0 ;
10051 int res1 = 0 ;
10052 PyObject *swig_obj[1] ;
10053
10054 if (!args) SWIG_fail;
10055 swig_obj[0] = args;
10056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10057 if (!SWIG_IsOK(res1)) {
10058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10059 }
10060 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 resultobj = SWIG_From_int(static_cast< int >(result));
10068 return resultobj;
10069fail:
10070 return NULL;
10071}
10072
10073
10074SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10075 PyObject *resultobj = 0;
10076 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10077 double arg2 ;
10078 void *argp1 = 0 ;
10079 int res1 = 0 ;
10080 double val2 ;
10081 int ecode2 = 0 ;
10082 PyObject * obj0 = 0 ;
10083 PyObject * obj1 = 0 ;
10084 char * kwnames[] = {
10085 (char *) "self",(char *) "gravity", NULL
10086 };
10087
10088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10090 if (!SWIG_IsOK(res1)) {
10091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10092 }
10093 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10094 ecode2 = SWIG_AsVal_double(obj1, &val2);
10095 if (!SWIG_IsOK(ecode2)) {
10096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10097 }
10098 arg2 = static_cast< double >(val2);
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetSashGravity(arg2);
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 resultobj = SWIG_Py_Void();
10106 return resultobj;
10107fail:
10108 return NULL;
d55e5bfc
RD
10109}
10110
10111
554f62e9
RD
10112SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10113 PyObject *resultobj = 0;
10114 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10115 double result;
10116 void *argp1 = 0 ;
10117 int res1 = 0 ;
10118 PyObject *swig_obj[1] ;
10119
10120 if (!args) SWIG_fail;
10121 swig_obj[0] = args;
10122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10123 if (!SWIG_IsOK(res1)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10125 }
10126 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 resultobj = SWIG_From_double(static_cast< double >(result));
10134 return resultobj;
10135fail:
10136 return NULL;
10137}
10138
10139
10140SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj = 0;
10142 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10143 int arg2 ;
10144 void *argp1 = 0 ;
10145 int res1 = 0 ;
10146 int val2 ;
10147 int ecode2 = 0 ;
10148 PyObject * obj0 = 0 ;
10149 PyObject * obj1 = 0 ;
10150 char * kwnames[] = {
10151 (char *) "self",(char *) "min", NULL
10152 };
10153
10154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10156 if (!SWIG_IsOK(res1)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10158 }
10159 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10160 ecode2 = SWIG_AsVal_int(obj1, &val2);
10161 if (!SWIG_IsOK(ecode2)) {
10162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10163 }
10164 arg2 = static_cast< int >(val2);
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 (arg1)->SetMinimumPaneSize(arg2);
10168 wxPyEndAllowThreads(__tstate);
10169 if (PyErr_Occurred()) SWIG_fail;
10170 }
10171 resultobj = SWIG_Py_Void();
10172 return resultobj;
10173fail:
10174 return NULL;
d55e5bfc
RD
10175}
10176
10177
554f62e9
RD
10178SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10179 PyObject *resultobj = 0;
10180 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10181 int result;
10182 void *argp1 = 0 ;
10183 int res1 = 0 ;
10184 PyObject *swig_obj[1] ;
10185
10186 if (!args) SWIG_fail;
10187 swig_obj[0] = args;
10188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10189 if (!SWIG_IsOK(res1)) {
10190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10191 }
10192 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10193 {
10194 PyThreadState* __tstate = wxPyBeginAllowThreads();
10195 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10196 wxPyEndAllowThreads(__tstate);
10197 if (PyErr_Occurred()) SWIG_fail;
10198 }
10199 resultobj = SWIG_From_int(static_cast< int >(result));
10200 return resultobj;
10201fail:
10202 return NULL;
10203}
10204
10205
10206SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10207 PyObject *resultobj = 0;
10208 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10209 int arg2 ;
10210 int arg3 ;
10211 int arg4 = (int) 5 ;
10212 bool result;
10213 void *argp1 = 0 ;
10214 int res1 = 0 ;
10215 int val2 ;
10216 int ecode2 = 0 ;
10217 int val3 ;
10218 int ecode3 = 0 ;
10219 int val4 ;
10220 int ecode4 = 0 ;
10221 PyObject * obj0 = 0 ;
10222 PyObject * obj1 = 0 ;
10223 PyObject * obj2 = 0 ;
10224 PyObject * obj3 = 0 ;
10225 char * kwnames[] = {
10226 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10227 };
10228
10229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10231 if (!SWIG_IsOK(res1)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10233 }
10234 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10235 ecode2 = SWIG_AsVal_int(obj1, &val2);
10236 if (!SWIG_IsOK(ecode2)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10238 }
10239 arg2 = static_cast< int >(val2);
10240 ecode3 = SWIG_AsVal_int(obj2, &val3);
10241 if (!SWIG_IsOK(ecode3)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10243 }
10244 arg3 = static_cast< int >(val3);
10245 if (obj3) {
10246 ecode4 = SWIG_AsVal_int(obj3, &val4);
10247 if (!SWIG_IsOK(ecode4)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10249 }
10250 arg4 = static_cast< int >(val4);
10251 }
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 {
10259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10260 }
10261 return resultobj;
10262fail:
10263 return NULL;
b1fcee84
RD
10264}
10265
10266
554f62e9
RD
10267SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10268 PyObject *resultobj = 0;
10269 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10270 void *argp1 = 0 ;
10271 int res1 = 0 ;
10272 PyObject *swig_obj[1] ;
10273
10274 if (!args) SWIG_fail;
10275 swig_obj[0] = args;
10276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10277 if (!SWIG_IsOK(res1)) {
10278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10279 }
10280 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 (arg1)->SizeWindows();
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 resultobj = SWIG_Py_Void();
10288 return resultobj;
10289fail:
10290 return NULL;
10291}
10292
10293
10294SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj = 0;
10296 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10297 bool arg2 ;
10298 void *argp1 = 0 ;
10299 int res1 = 0 ;
10300 bool val2 ;
10301 int ecode2 = 0 ;
10302 PyObject * obj0 = 0 ;
10303 PyObject * obj1 = 0 ;
10304 char * kwnames[] = {
10305 (char *) "self",(char *) "needUpdating", NULL
10306 };
10307
10308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10310 if (!SWIG_IsOK(res1)) {
10311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10312 }
10313 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10314 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10315 if (!SWIG_IsOK(ecode2)) {
10316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10317 }
10318 arg2 = static_cast< bool >(val2);
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 (arg1)->SetNeedUpdating(arg2);
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 resultobj = SWIG_Py_Void();
10326 return resultobj;
10327fail:
10328 return NULL;
b1fcee84
RD
10329}
10330
10331
554f62e9
RD
10332SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10333 PyObject *resultobj = 0;
10334 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10335 bool result;
10336 void *argp1 = 0 ;
10337 int res1 = 0 ;
10338 PyObject *swig_obj[1] ;
10339
10340 if (!args) SWIG_fail;
10341 swig_obj[0] = args;
10342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10343 if (!SWIG_IsOK(res1)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10345 }
10346 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 {
10354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10355 }
10356 return resultobj;
10357fail:
10358 return NULL;
b1fcee84
RD
10359}
10360
10361
554f62e9
RD
10362SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10363 PyObject *resultobj = 0;
10364 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10365 SwigValueWrapper<wxVisualAttributes > result;
10366 int val1 ;
10367 int ecode1 = 0 ;
10368 PyObject * obj0 = 0 ;
10369 char * kwnames[] = {
10370 (char *) "variant", NULL
10371 };
10372
10373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10374 if (obj0) {
10375 ecode1 = SWIG_AsVal_int(obj0, &val1);
10376 if (!SWIG_IsOK(ecode1)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10378 }
10379 arg1 = static_cast< wxWindowVariant >(val1);
10380 }
10381 {
10382 if (!wxPyCheckForApp()) SWIG_fail;
10383 PyThreadState* __tstate = wxPyBeginAllowThreads();
10384 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10389 return resultobj;
10390fail:
10391 return NULL;
b1fcee84
RD
10392}
10393
10394
554f62e9
RD
10395SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10396 PyObject *obj;
10397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10398 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10399 return SWIG_Py_Void();
d55e5bfc
RD
10400}
10401
554f62e9
RD
10402SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10403 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10404}
10405
554f62e9
RD
10406SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10407 PyObject *resultobj = 0;
10408 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10409 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10410 wxSplitterEvent *result = 0 ;
10411 int val1 ;
10412 int ecode1 = 0 ;
10413 void *argp2 = 0 ;
10414 int res2 = 0 ;
10415 PyObject * obj0 = 0 ;
10416 PyObject * obj1 = 0 ;
10417 char * kwnames[] = {
10418 (char *) "type",(char *) "splitter", NULL
10419 };
10420
10421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10422 if (obj0) {
10423 ecode1 = SWIG_AsVal_int(obj0, &val1);
10424 if (!SWIG_IsOK(ecode1)) {
10425 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10426 }
10427 arg1 = static_cast< wxEventType >(val1);
10428 }
10429 if (obj1) {
10430 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10431 if (!SWIG_IsOK(res2)) {
10432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
62d32a5f 10433 }
554f62e9
RD
10434 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10435 }
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10443 return resultobj;
10444fail:
10445 return NULL;
10446}
10447
10448
10449SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10450 PyObject *resultobj = 0;
10451 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10452 int arg2 ;
10453 void *argp1 = 0 ;
10454 int res1 = 0 ;
10455 int val2 ;
10456 int ecode2 = 0 ;
10457 PyObject * obj0 = 0 ;
10458 PyObject * obj1 = 0 ;
10459 char * kwnames[] = {
10460 (char *) "self",(char *) "pos", NULL
10461 };
10462
10463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10465 if (!SWIG_IsOK(res1)) {
10466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10467 }
10468 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10469 ecode2 = SWIG_AsVal_int(obj1, &val2);
10470 if (!SWIG_IsOK(ecode2)) {
10471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10472 }
10473 arg2 = static_cast< int >(val2);
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 (arg1)->SetSashPosition(arg2);
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 resultobj = SWIG_Py_Void();
10481 return resultobj;
10482fail:
10483 return NULL;
62d32a5f
RD
10484}
10485
10486
554f62e9
RD
10487SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10488 PyObject *resultobj = 0;
10489 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10490 int result;
10491 void *argp1 = 0 ;
10492 int res1 = 0 ;
10493 PyObject *swig_obj[1] ;
10494
10495 if (!args) SWIG_fail;
10496 swig_obj[0] = args;
10497 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10498 if (!SWIG_IsOK(res1)) {
10499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10500 }
10501 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 resultobj = SWIG_From_int(static_cast< int >(result));
10509 return resultobj;
10510fail:
10511 return NULL;
d55e5bfc
RD
10512}
10513
10514
554f62e9
RD
10515SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10516 PyObject *resultobj = 0;
10517 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10518 wxWindow *result = 0 ;
10519 void *argp1 = 0 ;
10520 int res1 = 0 ;
10521 PyObject *swig_obj[1] ;
10522
10523 if (!args) SWIG_fail;
10524 swig_obj[0] = args;
10525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10526 if (!SWIG_IsOK(res1)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10528 }
10529 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 {
10537 resultobj = wxPyMake_wxObject(result, 0);
10538 }
10539 return resultobj;
10540fail:
10541 return NULL;
d55e5bfc
RD
10542}
10543
10544
554f62e9
RD
10545SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10546 PyObject *resultobj = 0;
10547 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10548 int result;
10549 void *argp1 = 0 ;
10550 int res1 = 0 ;
10551 PyObject *swig_obj[1] ;
10552
10553 if (!args) SWIG_fail;
10554 swig_obj[0] = args;
10555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10556 if (!SWIG_IsOK(res1)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10558 }
10559 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_From_int(static_cast< int >(result));
10567 return resultobj;
10568fail:
10569 return NULL;
d55e5bfc
RD
10570}
10571
10572
554f62e9
RD
10573SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10574 PyObject *resultobj = 0;
10575 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10576 int result;
10577 void *argp1 = 0 ;
10578 int res1 = 0 ;
10579 PyObject *swig_obj[1] ;
10580
10581 if (!args) SWIG_fail;
10582 swig_obj[0] = args;
10583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10584 if (!SWIG_IsOK(res1)) {
10585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10586 }
10587 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 resultobj = SWIG_From_int(static_cast< int >(result));
10595 return resultobj;
10596fail:
10597 return NULL;
f20a2e1f
RD
10598}
10599
10600
554f62e9
RD
10601SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10602 PyObject *obj;
10603 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10604 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10605 return SWIG_Py_Void();
d55e5bfc
RD
10606}
10607
554f62e9
RD
10608SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10609 return SWIG_Python_InitShadowInstance(args);
10610}
d55e5bfc 10611
554f62e9
RD
10612SWIGINTERN int SashNameStr_set(PyObject *) {
10613 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10614 return 1;
d55e5bfc
RD
10615}
10616
10617
554f62e9
RD
10618SWIGINTERN PyObject *SashNameStr_get(void) {
10619 PyObject *pyobj = 0;
10620
10621 {
10622#if wxUSE_UNICODE
10623 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10624#else
10625 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10626#endif
10627 }
10628 return pyobj;
d55e5bfc
RD
10629}
10630
10631
554f62e9
RD
10632SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10633 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10634 return 1;
d55e5bfc
RD
10635}
10636
10637
554f62e9
RD
10638SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10639 PyObject *pyobj = 0;
10640
10641 {
10642#if wxUSE_UNICODE
10643 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10644#else
10645 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10646#endif
10647 }
10648 return pyobj;
10649}
10650
10651
10652SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj = 0;
10654 wxWindow *arg1 = (wxWindow *) 0 ;
10655 int arg2 = (int) -1 ;
10656 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10657 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10658 wxSize const &arg4_defvalue = wxDefaultSize ;
10659 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10660 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10661 wxString const &arg6_defvalue = wxPySashNameStr ;
10662 wxString *arg6 = (wxString *) &arg6_defvalue ;
10663 wxSashWindow *result = 0 ;
10664 void *argp1 = 0 ;
10665 int res1 = 0 ;
10666 int val2 ;
10667 int ecode2 = 0 ;
10668 wxPoint temp3 ;
10669 wxSize temp4 ;
10670 long val5 ;
10671 int ecode5 = 0 ;
10672 bool temp6 = false ;
10673 PyObject * obj0 = 0 ;
10674 PyObject * obj1 = 0 ;
10675 PyObject * obj2 = 0 ;
10676 PyObject * obj3 = 0 ;
10677 PyObject * obj4 = 0 ;
10678 PyObject * obj5 = 0 ;
10679 char * kwnames[] = {
10680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10681 };
10682
10683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10685 if (!SWIG_IsOK(res1)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10687 }
10688 arg1 = reinterpret_cast< wxWindow * >(argp1);
10689 if (obj1) {
10690 ecode2 = SWIG_AsVal_int(obj1, &val2);
10691 if (!SWIG_IsOK(ecode2)) {
10692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10693 }
10694 arg2 = static_cast< int >(val2);
10695 }
10696 if (obj2) {
093d3ff1 10697 {
554f62e9
RD
10698 arg3 = &temp3;
10699 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 10700 }
554f62e9
RD
10701 }
10702 if (obj3) {
d55e5bfc 10703 {
554f62e9
RD
10704 arg4 = &temp4;
10705 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10706 }
554f62e9
RD
10707 }
10708 if (obj4) {
10709 ecode5 = SWIG_AsVal_long(obj4, &val5);
10710 if (!SWIG_IsOK(ecode5)) {
10711 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10712 }
10713 arg5 = static_cast< long >(val5);
10714 }
10715 if (obj5) {
d55e5bfc 10716 {
554f62e9
RD
10717 arg6 = wxString_in_helper(obj5);
10718 if (arg6 == NULL) SWIG_fail;
10719 temp6 = true;
d55e5bfc 10720 }
554f62e9
RD
10721 }
10722 {
10723 if (!wxPyCheckForApp()) SWIG_fail;
10724 PyThreadState* __tstate = wxPyBeginAllowThreads();
10725 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10726 wxPyEndAllowThreads(__tstate);
10727 if (PyErr_Occurred()) SWIG_fail;
10728 }
10729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10730 {
10731 if (temp6)
10732 delete arg6;
10733 }
10734 return resultobj;
10735fail:
10736 {
10737 if (temp6)
10738 delete arg6;
10739 }
10740 return NULL;
d55e5bfc
RD
10741}
10742
10743
554f62e9
RD
10744SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10745 PyObject *resultobj = 0;
10746 wxSashWindow *result = 0 ;
10747
10748 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10749 {
10750 if (!wxPyCheckForApp()) SWIG_fail;
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 result = (wxSashWindow *)new wxSashWindow();
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10757 return resultobj;
10758fail:
10759 return NULL;
10760}
10761
10762
10763SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10764 PyObject *resultobj = 0;
10765 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10766 wxWindow *arg2 = (wxWindow *) 0 ;
10767 int arg3 = (int) -1 ;
10768 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10769 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10770 wxSize const &arg5_defvalue = wxDefaultSize ;
10771 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10772 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10773 wxString const &arg7_defvalue = wxPySashNameStr ;
10774 wxString *arg7 = (wxString *) &arg7_defvalue ;
10775 bool result;
10776 void *argp1 = 0 ;
10777 int res1 = 0 ;
10778 void *argp2 = 0 ;
10779 int res2 = 0 ;
10780 int val3 ;
10781 int ecode3 = 0 ;
10782 wxPoint temp4 ;
10783 wxSize temp5 ;
10784 long val6 ;
10785 int ecode6 = 0 ;
10786 bool temp7 = false ;
10787 PyObject * obj0 = 0 ;
10788 PyObject * obj1 = 0 ;
10789 PyObject * obj2 = 0 ;
10790 PyObject * obj3 = 0 ;
10791 PyObject * obj4 = 0 ;
10792 PyObject * obj5 = 0 ;
10793 PyObject * obj6 = 0 ;
10794 char * kwnames[] = {
10795 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10796 };
10797
10798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10800 if (!SWIG_IsOK(res1)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10802 }
10803 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10804 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10805 if (!SWIG_IsOK(res2)) {
10806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10807 }
10808 arg2 = reinterpret_cast< wxWindow * >(argp2);
10809 if (obj2) {
10810 ecode3 = SWIG_AsVal_int(obj2, &val3);
10811 if (!SWIG_IsOK(ecode3)) {
10812 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10813 }
10814 arg3 = static_cast< int >(val3);
10815 }
10816 if (obj3) {
093d3ff1 10817 {
554f62e9
RD
10818 arg4 = &temp4;
10819 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10820 }
554f62e9
RD
10821 }
10822 if (obj4) {
d55e5bfc 10823 {
554f62e9
RD
10824 arg5 = &temp5;
10825 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 10826 }
554f62e9
RD
10827 }
10828 if (obj5) {
10829 ecode6 = SWIG_AsVal_long(obj5, &val6);
10830 if (!SWIG_IsOK(ecode6)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10832 }
10833 arg6 = static_cast< long >(val6);
10834 }
10835 if (obj6) {
093d3ff1 10836 {
554f62e9
RD
10837 arg7 = wxString_in_helper(obj6);
10838 if (arg7 == NULL) SWIG_fail;
10839 temp7 = true;
093d3ff1 10840 }
554f62e9
RD
10841 }
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10845 wxPyEndAllowThreads(__tstate);
10846 if (PyErr_Occurred()) SWIG_fail;
10847 }
10848 {
10849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10850 }
10851 {
10852 if (temp7)
10853 delete arg7;
10854 }
10855 return resultobj;
10856fail:
10857 {
10858 if (temp7)
10859 delete arg7;
10860 }
10861 return NULL;
10862}
10863
10864
10865SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj = 0;
10867 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10868 wxSashEdgePosition arg2 ;
10869 bool arg3 ;
10870 void *argp1 = 0 ;
10871 int res1 = 0 ;
10872 int val2 ;
10873 int ecode2 = 0 ;
10874 bool val3 ;
10875 int ecode3 = 0 ;
10876 PyObject * obj0 = 0 ;
10877 PyObject * obj1 = 0 ;
10878 PyObject * obj2 = 0 ;
10879 char * kwnames[] = {
10880 (char *) "self",(char *) "edge",(char *) "sash", NULL
10881 };
10882
10883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10885 if (!SWIG_IsOK(res1)) {
10886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10887 }
10888 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10889 ecode2 = SWIG_AsVal_int(obj1, &val2);
10890 if (!SWIG_IsOK(ecode2)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10892 }
10893 arg2 = static_cast< wxSashEdgePosition >(val2);
10894 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10895 if (!SWIG_IsOK(ecode3)) {
10896 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10897 }
10898 arg3 = static_cast< bool >(val3);
10899 {
10900 PyThreadState* __tstate = wxPyBeginAllowThreads();
10901 (arg1)->SetSashVisible(arg2,arg3);
10902 wxPyEndAllowThreads(__tstate);
10903 if (PyErr_Occurred()) SWIG_fail;
10904 }
10905 resultobj = SWIG_Py_Void();
10906 return resultobj;
10907fail:
10908 return NULL;
10909}
10910
10911
10912SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10913 PyObject *resultobj = 0;
10914 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10915 wxSashEdgePosition arg2 ;
10916 bool result;
10917 void *argp1 = 0 ;
10918 int res1 = 0 ;
10919 int val2 ;
10920 int ecode2 = 0 ;
10921 PyObject * obj0 = 0 ;
10922 PyObject * obj1 = 0 ;
10923 char * kwnames[] = {
10924 (char *) "self",(char *) "edge", NULL
10925 };
10926
10927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10929 if (!SWIG_IsOK(res1)) {
10930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10931 }
10932 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10933 ecode2 = SWIG_AsVal_int(obj1, &val2);
10934 if (!SWIG_IsOK(ecode2)) {
10935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10936 }
10937 arg2 = static_cast< wxSashEdgePosition >(val2);
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10941 wxPyEndAllowThreads(__tstate);
10942 if (PyErr_Occurred()) SWIG_fail;
10943 }
10944 {
10945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10946 }
10947 return resultobj;
10948fail:
10949 return NULL;
10950}
10951
10952
10953SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10954 PyObject *resultobj = 0;
10955 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10956 wxSashEdgePosition arg2 ;
10957 bool arg3 ;
10958 void *argp1 = 0 ;
10959 int res1 = 0 ;
10960 int val2 ;
10961 int ecode2 = 0 ;
10962 bool val3 ;
10963 int ecode3 = 0 ;
10964 PyObject * obj0 = 0 ;
10965 PyObject * obj1 = 0 ;
10966 PyObject * obj2 = 0 ;
10967 char * kwnames[] = {
10968 (char *) "self",(char *) "edge",(char *) "border", NULL
10969 };
10970
10971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10973 if (!SWIG_IsOK(res1)) {
10974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10975 }
10976 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10977 ecode2 = SWIG_AsVal_int(obj1, &val2);
10978 if (!SWIG_IsOK(ecode2)) {
10979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10980 }
10981 arg2 = static_cast< wxSashEdgePosition >(val2);
10982 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10983 if (!SWIG_IsOK(ecode3)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10985 }
10986 arg3 = static_cast< bool >(val3);
10987 {
10988 PyThreadState* __tstate = wxPyBeginAllowThreads();
10989 (arg1)->SetSashBorder(arg2,arg3);
10990 wxPyEndAllowThreads(__tstate);
10991 if (PyErr_Occurred()) SWIG_fail;
10992 }
10993 resultobj = SWIG_Py_Void();
10994 return resultobj;
10995fail:
10996 return NULL;
10997}
10998
10999
11000SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11001 PyObject *resultobj = 0;
11002 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11003 wxSashEdgePosition arg2 ;
11004 bool result;
11005 void *argp1 = 0 ;
11006 int res1 = 0 ;
11007 int val2 ;
11008 int ecode2 = 0 ;
11009 PyObject * obj0 = 0 ;
11010 PyObject * obj1 = 0 ;
11011 char * kwnames[] = {
11012 (char *) "self",(char *) "edge", NULL
11013 };
11014
11015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) 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_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11019 }
11020 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11021 ecode2 = SWIG_AsVal_int(obj1, &val2);
11022 if (!SWIG_IsOK(ecode2)) {
11023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11024 }
11025 arg2 = static_cast< wxSashEdgePosition >(val2);
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 {
11033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11034 }
11035 return resultobj;
11036fail:
11037 return NULL;
11038}
11039
11040
11041SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11042 PyObject *resultobj = 0;
11043 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11044 wxSashEdgePosition arg2 ;
11045 int result;
11046 void *argp1 = 0 ;
11047 int res1 = 0 ;
11048 int val2 ;
11049 int ecode2 = 0 ;
11050 PyObject * obj0 = 0 ;
11051 PyObject * obj1 = 0 ;
11052 char * kwnames[] = {
11053 (char *) "self",(char *) "edge", NULL
11054 };
11055
11056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11058 if (!SWIG_IsOK(res1)) {
11059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11060 }
11061 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11062 ecode2 = SWIG_AsVal_int(obj1, &val2);
11063 if (!SWIG_IsOK(ecode2)) {
11064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11065 }
11066 arg2 = static_cast< wxSashEdgePosition >(val2);
11067 {
11068 PyThreadState* __tstate = wxPyBeginAllowThreads();
11069 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11070 wxPyEndAllowThreads(__tstate);
11071 if (PyErr_Occurred()) SWIG_fail;
11072 }
11073 resultobj = SWIG_From_int(static_cast< int >(result));
11074 return resultobj;
11075fail:
11076 return NULL;
11077}
11078
11079
11080SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11081 PyObject *resultobj = 0;
11082 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11083 int arg2 ;
11084 void *argp1 = 0 ;
11085 int res1 = 0 ;
11086 int val2 ;
11087 int ecode2 = 0 ;
11088 PyObject * obj0 = 0 ;
11089 PyObject * obj1 = 0 ;
11090 char * kwnames[] = {
11091 (char *) "self",(char *) "width", NULL
11092 };
11093
11094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11096 if (!SWIG_IsOK(res1)) {
11097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11098 }
11099 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11100 ecode2 = SWIG_AsVal_int(obj1, &val2);
11101 if (!SWIG_IsOK(ecode2)) {
11102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11103 }
11104 arg2 = static_cast< int >(val2);
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 (arg1)->SetDefaultBorderSize(arg2);
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 resultobj = SWIG_Py_Void();
11112 return resultobj;
11113fail:
11114 return NULL;
d55e5bfc
RD
11115}
11116
11117
554f62e9
RD
11118SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11119 PyObject *resultobj = 0;
11120 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11121 int result;
11122 void *argp1 = 0 ;
11123 int res1 = 0 ;
11124 PyObject *swig_obj[1] ;
11125
11126 if (!args) SWIG_fail;
11127 swig_obj[0] = args;
11128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11129 if (!SWIG_IsOK(res1)) {
11130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11131 }
11132 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 resultobj = SWIG_From_int(static_cast< int >(result));
11140 return resultobj;
11141fail:
11142 return NULL;
11143}
11144
11145
11146SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj = 0;
11148 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11149 int arg2 ;
11150 void *argp1 = 0 ;
11151 int res1 = 0 ;
11152 int val2 ;
11153 int ecode2 = 0 ;
11154 PyObject * obj0 = 0 ;
11155 PyObject * obj1 = 0 ;
11156 char * kwnames[] = {
11157 (char *) "self",(char *) "width", NULL
11158 };
11159
11160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11162 if (!SWIG_IsOK(res1)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11164 }
11165 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11166 ecode2 = SWIG_AsVal_int(obj1, &val2);
11167 if (!SWIG_IsOK(ecode2)) {
11168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11169 }
11170 arg2 = static_cast< int >(val2);
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 (arg1)->SetExtraBorderSize(arg2);
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 resultobj = SWIG_Py_Void();
11178 return resultobj;
11179fail:
11180 return NULL;
d55e5bfc
RD
11181}
11182
11183
554f62e9
RD
11184SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11185 PyObject *resultobj = 0;
11186 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11187 int result;
11188 void *argp1 = 0 ;
11189 int res1 = 0 ;
11190 PyObject *swig_obj[1] ;
11191
11192 if (!args) SWIG_fail;
11193 swig_obj[0] = args;
11194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11195 if (!SWIG_IsOK(res1)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11197 }
11198 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 resultobj = SWIG_From_int(static_cast< int >(result));
11206 return resultobj;
11207fail:
11208 return NULL;
11209}
11210
11211
11212SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11213 PyObject *resultobj = 0;
11214 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11215 int arg2 ;
11216 void *argp1 = 0 ;
11217 int res1 = 0 ;
11218 int val2 ;
11219 int ecode2 = 0 ;
11220 PyObject * obj0 = 0 ;
11221 PyObject * obj1 = 0 ;
11222 char * kwnames[] = {
11223 (char *) "self",(char *) "min", NULL
11224 };
11225
11226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11228 if (!SWIG_IsOK(res1)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11230 }
11231 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11232 ecode2 = SWIG_AsVal_int(obj1, &val2);
11233 if (!SWIG_IsOK(ecode2)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11235 }
11236 arg2 = static_cast< int >(val2);
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 (arg1)->SetMinimumSizeX(arg2);
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 resultobj = SWIG_Py_Void();
11244 return resultobj;
11245fail:
11246 return NULL;
11247}
11248
11249
11250SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11251 PyObject *resultobj = 0;
11252 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11253 int arg2 ;
11254 void *argp1 = 0 ;
11255 int res1 = 0 ;
11256 int val2 ;
11257 int ecode2 = 0 ;
11258 PyObject * obj0 = 0 ;
11259 PyObject * obj1 = 0 ;
11260 char * kwnames[] = {
11261 (char *) "self",(char *) "min", NULL
11262 };
11263
11264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11266 if (!SWIG_IsOK(res1)) {
11267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11268 }
11269 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11270 ecode2 = SWIG_AsVal_int(obj1, &val2);
11271 if (!SWIG_IsOK(ecode2)) {
11272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11273 }
11274 arg2 = static_cast< int >(val2);
11275 {
11276 PyThreadState* __tstate = wxPyBeginAllowThreads();
11277 (arg1)->SetMinimumSizeY(arg2);
11278 wxPyEndAllowThreads(__tstate);
11279 if (PyErr_Occurred()) SWIG_fail;
11280 }
11281 resultobj = SWIG_Py_Void();
11282 return resultobj;
11283fail:
11284 return NULL;
d55e5bfc
RD
11285}
11286
11287
554f62e9
RD
11288SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11289 PyObject *resultobj = 0;
11290 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11291 int result;
11292 void *argp1 = 0 ;
11293 int res1 = 0 ;
11294 PyObject *swig_obj[1] ;
11295
11296 if (!args) SWIG_fail;
11297 swig_obj[0] = args;
11298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11299 if (!SWIG_IsOK(res1)) {
11300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11301 }
11302 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 resultobj = SWIG_From_int(static_cast< int >(result));
11310 return resultobj;
11311fail:
11312 return NULL;
d55e5bfc
RD
11313}
11314
11315
554f62e9
RD
11316SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11317 PyObject *resultobj = 0;
11318 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11319 int result;
11320 void *argp1 = 0 ;
11321 int res1 = 0 ;
11322 PyObject *swig_obj[1] ;
11323
11324 if (!args) SWIG_fail;
11325 swig_obj[0] = args;
11326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11327 if (!SWIG_IsOK(res1)) {
11328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11329 }
11330 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11331 {
11332 PyThreadState* __tstate = wxPyBeginAllowThreads();
11333 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11334 wxPyEndAllowThreads(__tstate);
11335 if (PyErr_Occurred()) SWIG_fail;
11336 }
11337 resultobj = SWIG_From_int(static_cast< int >(result));
11338 return resultobj;
11339fail:
11340 return NULL;
11341}
11342
11343
11344SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11345 PyObject *resultobj = 0;
11346 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11347 int arg2 ;
11348 void *argp1 = 0 ;
11349 int res1 = 0 ;
11350 int val2 ;
11351 int ecode2 = 0 ;
11352 PyObject * obj0 = 0 ;
11353 PyObject * obj1 = 0 ;
11354 char * kwnames[] = {
11355 (char *) "self",(char *) "max", NULL
11356 };
11357
11358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11360 if (!SWIG_IsOK(res1)) {
11361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11362 }
11363 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11364 ecode2 = SWIG_AsVal_int(obj1, &val2);
11365 if (!SWIG_IsOK(ecode2)) {
11366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11367 }
11368 arg2 = static_cast< int >(val2);
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 (arg1)->SetMaximumSizeX(arg2);
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
11375 resultobj = SWIG_Py_Void();
11376 return resultobj;
11377fail:
11378 return NULL;
11379}
11380
11381
11382SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11383 PyObject *resultobj = 0;
11384 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11385 int arg2 ;
11386 void *argp1 = 0 ;
11387 int res1 = 0 ;
11388 int val2 ;
11389 int ecode2 = 0 ;
11390 PyObject * obj0 = 0 ;
11391 PyObject * obj1 = 0 ;
11392 char * kwnames[] = {
11393 (char *) "self",(char *) "max", NULL
11394 };
11395
11396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11398 if (!SWIG_IsOK(res1)) {
11399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11400 }
11401 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11402 ecode2 = SWIG_AsVal_int(obj1, &val2);
11403 if (!SWIG_IsOK(ecode2)) {
11404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11405 }
11406 arg2 = static_cast< int >(val2);
11407 {
11408 PyThreadState* __tstate = wxPyBeginAllowThreads();
11409 (arg1)->SetMaximumSizeY(arg2);
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 resultobj = SWIG_Py_Void();
11414 return resultobj;
11415fail:
11416 return NULL;
d55e5bfc
RD
11417}
11418
11419
554f62e9
RD
11420SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11421 PyObject *resultobj = 0;
11422 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11423 int result;
11424 void *argp1 = 0 ;
11425 int res1 = 0 ;
11426 PyObject *swig_obj[1] ;
11427
11428 if (!args) SWIG_fail;
11429 swig_obj[0] = args;
11430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11431 if (!SWIG_IsOK(res1)) {
11432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11433 }
11434 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11435 {
11436 PyThreadState* __tstate = wxPyBeginAllowThreads();
11437 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11438 wxPyEndAllowThreads(__tstate);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 }
11441 resultobj = SWIG_From_int(static_cast< int >(result));
11442 return resultobj;
11443fail:
11444 return NULL;
d55e5bfc
RD
11445}
11446
11447
554f62e9
RD
11448SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11449 PyObject *resultobj = 0;
11450 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11451 int result;
11452 void *argp1 = 0 ;
11453 int res1 = 0 ;
11454 PyObject *swig_obj[1] ;
11455
11456 if (!args) SWIG_fail;
11457 swig_obj[0] = args;
11458 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11459 if (!SWIG_IsOK(res1)) {
11460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11461 }
11462 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11463 {
11464 PyThreadState* __tstate = wxPyBeginAllowThreads();
11465 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11466 wxPyEndAllowThreads(__tstate);
11467 if (PyErr_Occurred()) SWIG_fail;
11468 }
11469 resultobj = SWIG_From_int(static_cast< int >(result));
11470 return resultobj;
11471fail:
11472 return NULL;
11473}
11474
11475
11476SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11477 PyObject *resultobj = 0;
11478 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11479 int arg2 ;
11480 int arg3 ;
11481 int arg4 = (int) 2 ;
11482 wxSashEdgePosition result;
11483 void *argp1 = 0 ;
11484 int res1 = 0 ;
11485 int val2 ;
11486 int ecode2 = 0 ;
11487 int val3 ;
11488 int ecode3 = 0 ;
11489 int val4 ;
11490 int ecode4 = 0 ;
11491 PyObject * obj0 = 0 ;
11492 PyObject * obj1 = 0 ;
11493 PyObject * obj2 = 0 ;
11494 PyObject * obj3 = 0 ;
11495 char * kwnames[] = {
11496 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11497 };
11498
11499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11501 if (!SWIG_IsOK(res1)) {
11502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11503 }
11504 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11505 ecode2 = SWIG_AsVal_int(obj1, &val2);
11506 if (!SWIG_IsOK(ecode2)) {
11507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11508 }
11509 arg2 = static_cast< int >(val2);
11510 ecode3 = SWIG_AsVal_int(obj2, &val3);
11511 if (!SWIG_IsOK(ecode3)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11513 }
11514 arg3 = static_cast< int >(val3);
11515 if (obj3) {
11516 ecode4 = SWIG_AsVal_int(obj3, &val4);
11517 if (!SWIG_IsOK(ecode4)) {
11518 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11519 }
11520 arg4 = static_cast< int >(val4);
11521 }
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11525 wxPyEndAllowThreads(__tstate);
11526 if (PyErr_Occurred()) SWIG_fail;
11527 }
11528 resultobj = SWIG_From_int(static_cast< int >(result));
11529 return resultobj;
11530fail:
11531 return NULL;
d55e5bfc
RD
11532}
11533
11534
554f62e9
RD
11535SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11536 PyObject *resultobj = 0;
11537 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11538 void *argp1 = 0 ;
11539 int res1 = 0 ;
11540 PyObject *swig_obj[1] ;
11541
11542 if (!args) SWIG_fail;
11543 swig_obj[0] = args;
11544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11545 if (!SWIG_IsOK(res1)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11547 }
11548 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 (arg1)->SizeWindows();
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 resultobj = SWIG_Py_Void();
11556 return resultobj;
11557fail:
11558 return NULL;
d55e5bfc
RD
11559}
11560
11561
554f62e9
RD
11562SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11563 PyObject *obj;
11564 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11565 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11566 return SWIG_Py_Void();
d55e5bfc
RD
11567}
11568
554f62e9
RD
11569SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11570 return SWIG_Python_InitShadowInstance(args);
11571}
d55e5bfc 11572
554f62e9
RD
11573SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11574 PyObject *resultobj = 0;
11575 int arg1 = (int) 0 ;
11576 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11577 wxSashEvent *result = 0 ;
11578 int val1 ;
11579 int ecode1 = 0 ;
11580 int val2 ;
11581 int ecode2 = 0 ;
11582 PyObject * obj0 = 0 ;
11583 PyObject * obj1 = 0 ;
11584 char * kwnames[] = {
11585 (char *) "id",(char *) "edge", NULL
11586 };
11587
11588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11589 if (obj0) {
11590 ecode1 = SWIG_AsVal_int(obj0, &val1);
11591 if (!SWIG_IsOK(ecode1)) {
11592 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11593 }
11594 arg1 = static_cast< int >(val1);
11595 }
11596 if (obj1) {
11597 ecode2 = SWIG_AsVal_int(obj1, &val2);
11598 if (!SWIG_IsOK(ecode2)) {
11599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11600 }
11601 arg2 = static_cast< wxSashEdgePosition >(val2);
11602 }
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11610 return resultobj;
11611fail:
11612 return NULL;
11613}
11614
11615
11616SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj = 0;
11618 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11619 wxSashEdgePosition arg2 ;
11620 void *argp1 = 0 ;
11621 int res1 = 0 ;
11622 int val2 ;
11623 int ecode2 = 0 ;
11624 PyObject * obj0 = 0 ;
11625 PyObject * obj1 = 0 ;
11626 char * kwnames[] = {
11627 (char *) "self",(char *) "edge", NULL
11628 };
11629
11630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11632 if (!SWIG_IsOK(res1)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11634 }
11635 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11636 ecode2 = SWIG_AsVal_int(obj1, &val2);
11637 if (!SWIG_IsOK(ecode2)) {
11638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11639 }
11640 arg2 = static_cast< wxSashEdgePosition >(val2);
11641 {
11642 PyThreadState* __tstate = wxPyBeginAllowThreads();
11643 (arg1)->SetEdge(arg2);
11644 wxPyEndAllowThreads(__tstate);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 }
11647 resultobj = SWIG_Py_Void();
11648 return resultobj;
11649fail:
11650 return NULL;
d55e5bfc
RD
11651}
11652
11653
554f62e9
RD
11654SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11655 PyObject *resultobj = 0;
11656 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11657 wxSashEdgePosition result;
11658 void *argp1 = 0 ;
11659 int res1 = 0 ;
11660 PyObject *swig_obj[1] ;
11661
11662 if (!args) SWIG_fail;
11663 swig_obj[0] = args;
11664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11665 if (!SWIG_IsOK(res1)) {
11666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11667 }
11668 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
11675 resultobj = SWIG_From_int(static_cast< int >(result));
11676 return resultobj;
11677fail:
11678 return NULL;
11679}
11680
11681
11682SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj = 0;
11684 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11685 wxRect *arg2 = 0 ;
11686 void *argp1 = 0 ;
11687 int res1 = 0 ;
11688 wxRect temp2 ;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char * kwnames[] = {
11692 (char *) "self",(char *) "rect", NULL
11693 };
11694
11695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11697 if (!SWIG_IsOK(res1)) {
11698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11699 }
11700 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11701 {
11702 arg2 = &temp2;
11703 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11704 }
11705 {
11706 PyThreadState* __tstate = wxPyBeginAllowThreads();
11707 (arg1)->SetDragRect((wxRect const &)*arg2);
11708 wxPyEndAllowThreads(__tstate);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
11711 resultobj = SWIG_Py_Void();
11712 return resultobj;
11713fail:
11714 return NULL;
d55e5bfc
RD
11715}
11716
11717
554f62e9
RD
11718SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11719 PyObject *resultobj = 0;
11720 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11721 wxRect result;
11722 void *argp1 = 0 ;
11723 int res1 = 0 ;
11724 PyObject *swig_obj[1] ;
11725
11726 if (!args) SWIG_fail;
11727 swig_obj[0] = args;
11728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11729 if (!SWIG_IsOK(res1)) {
11730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11731 }
11732 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = ((wxSashEvent const *)arg1)->GetDragRect();
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11740 return resultobj;
11741fail:
11742 return NULL;
11743}
11744
11745
11746SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj = 0;
11748 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11749 wxSashDragStatus arg2 ;
11750 void *argp1 = 0 ;
11751 int res1 = 0 ;
11752 int val2 ;
11753 int ecode2 = 0 ;
11754 PyObject * obj0 = 0 ;
11755 PyObject * obj1 = 0 ;
11756 char * kwnames[] = {
11757 (char *) "self",(char *) "status", NULL
11758 };
11759
11760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11762 if (!SWIG_IsOK(res1)) {
11763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11764 }
11765 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11766 ecode2 = SWIG_AsVal_int(obj1, &val2);
11767 if (!SWIG_IsOK(ecode2)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11769 }
11770 arg2 = static_cast< wxSashDragStatus >(val2);
11771 {
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 (arg1)->SetDragStatus(arg2);
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 resultobj = SWIG_Py_Void();
11778 return resultobj;
11779fail:
11780 return NULL;
d55e5bfc
RD
11781}
11782
11783
554f62e9
RD
11784SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11785 PyObject *resultobj = 0;
11786 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11787 wxSashDragStatus result;
11788 void *argp1 = 0 ;
11789 int res1 = 0 ;
11790 PyObject *swig_obj[1] ;
11791
11792 if (!args) SWIG_fail;
11793 swig_obj[0] = args;
11794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11795 if (!SWIG_IsOK(res1)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11797 }
11798 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 resultobj = SWIG_From_int(static_cast< int >(result));
11806 return resultobj;
11807fail:
11808 return NULL;
03837c5c
RD
11809}
11810
11811
554f62e9
RD
11812SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11813 PyObject *obj;
11814 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11815 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11816 return SWIG_Py_Void();
d55e5bfc
RD
11817}
11818
554f62e9
RD
11819SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11820 return SWIG_Python_InitShadowInstance(args);
11821}
d55e5bfc 11822
554f62e9
RD
11823SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj = 0;
11825 int arg1 = (int) 0 ;
11826 wxQueryLayoutInfoEvent *result = 0 ;
11827 int val1 ;
11828 int ecode1 = 0 ;
11829 PyObject * obj0 = 0 ;
11830 char * kwnames[] = {
11831 (char *) "id", NULL
11832 };
11833
11834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11835 if (obj0) {
11836 ecode1 = SWIG_AsVal_int(obj0, &val1);
11837 if (!SWIG_IsOK(ecode1)) {
11838 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11839 }
11840 arg1 = static_cast< int >(val1);
11841 }
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11845 wxPyEndAllowThreads(__tstate);
11846 if (PyErr_Occurred()) SWIG_fail;
11847 }
11848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11849 return resultobj;
11850fail:
11851 return NULL;
11852}
11853
11854
11855SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11856 PyObject *resultobj = 0;
11857 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11858 int arg2 ;
11859 void *argp1 = 0 ;
11860 int res1 = 0 ;
11861 int val2 ;
11862 int ecode2 = 0 ;
11863 PyObject * obj0 = 0 ;
11864 PyObject * obj1 = 0 ;
11865 char * kwnames[] = {
11866 (char *) "self",(char *) "length", NULL
11867 };
11868
11869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11871 if (!SWIG_IsOK(res1)) {
11872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11873 }
11874 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11875 ecode2 = SWIG_AsVal_int(obj1, &val2);
11876 if (!SWIG_IsOK(ecode2)) {
11877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11878 }
11879 arg2 = static_cast< int >(val2);
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 (arg1)->SetRequestedLength(arg2);
11883 wxPyEndAllowThreads(__tstate);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
11886 resultobj = SWIG_Py_Void();
11887 return resultobj;
11888fail:
11889 return NULL;
d55e5bfc
RD
11890}
11891
11892
554f62e9
RD
11893SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11894 PyObject *resultobj = 0;
11895 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11896 int result;
11897 void *argp1 = 0 ;
11898 int res1 = 0 ;
11899 PyObject *swig_obj[1] ;
11900
11901 if (!args) SWIG_fail;
11902 swig_obj[0] = args;
11903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11904 if (!SWIG_IsOK(res1)) {
11905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11906 }
11907 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 resultobj = SWIG_From_int(static_cast< int >(result));
11915 return resultobj;
11916fail:
11917 return NULL;
11918}
11919
11920
11921SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj = 0;
11923 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11924 int arg2 ;
11925 void *argp1 = 0 ;
11926 int res1 = 0 ;
11927 int val2 ;
11928 int ecode2 = 0 ;
11929 PyObject * obj0 = 0 ;
11930 PyObject * obj1 = 0 ;
11931 char * kwnames[] = {
11932 (char *) "self",(char *) "flags", NULL
11933 };
11934
11935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11937 if (!SWIG_IsOK(res1)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11939 }
11940 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11941 ecode2 = SWIG_AsVal_int(obj1, &val2);
11942 if (!SWIG_IsOK(ecode2)) {
11943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11944 }
11945 arg2 = static_cast< int >(val2);
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 (arg1)->SetFlags(arg2);
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = SWIG_Py_Void();
11953 return resultobj;
11954fail:
11955 return NULL;
d55e5bfc
RD
11956}
11957
11958
554f62e9
RD
11959SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11960 PyObject *resultobj = 0;
11961 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11962 int result;
11963 void *argp1 = 0 ;
11964 int res1 = 0 ;
11965 PyObject *swig_obj[1] ;
11966
11967 if (!args) SWIG_fail;
11968 swig_obj[0] = args;
11969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11970 if (!SWIG_IsOK(res1)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11972 }
11973 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 resultobj = SWIG_From_int(static_cast< int >(result));
11981 return resultobj;
11982fail:
11983 return NULL;
11984}
11985
11986
11987SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj = 0;
11989 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11990 wxSize *arg2 = 0 ;
11991 void *argp1 = 0 ;
11992 int res1 = 0 ;
11993 wxSize temp2 ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char * kwnames[] = {
11997 (char *) "self",(char *) "size", NULL
11998 };
11999
12000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12002 if (!SWIG_IsOK(res1)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12004 }
12005 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12006 {
12007 arg2 = &temp2;
12008 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12009 }
12010 {
12011 PyThreadState* __tstate = wxPyBeginAllowThreads();
12012 (arg1)->SetSize((wxSize const &)*arg2);
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_Py_Void();
12017 return resultobj;
12018fail:
12019 return NULL;
d55e5bfc
RD
12020}
12021
12022
554f62e9
RD
12023SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12024 PyObject *resultobj = 0;
12025 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12026 wxSize result;
12027 void *argp1 = 0 ;
12028 int res1 = 0 ;
12029 PyObject *swig_obj[1] ;
12030
12031 if (!args) SWIG_fail;
12032 swig_obj[0] = args;
12033 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12034 if (!SWIG_IsOK(res1)) {
12035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12036 }
12037 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12041 wxPyEndAllowThreads(__tstate);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 }
12044 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12045 return resultobj;
12046fail:
12047 return NULL;
12048}
12049
12050
12051SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12052 PyObject *resultobj = 0;
12053 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12054 wxLayoutOrientation arg2 ;
12055 void *argp1 = 0 ;
12056 int res1 = 0 ;
12057 int val2 ;
12058 int ecode2 = 0 ;
12059 PyObject * obj0 = 0 ;
12060 PyObject * obj1 = 0 ;
12061 char * kwnames[] = {
12062 (char *) "self",(char *) "orient", NULL
12063 };
12064
12065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12067 if (!SWIG_IsOK(res1)) {
12068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12069 }
12070 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12071 ecode2 = SWIG_AsVal_int(obj1, &val2);
12072 if (!SWIG_IsOK(ecode2)) {
12073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12074 }
12075 arg2 = static_cast< wxLayoutOrientation >(val2);
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 (arg1)->SetOrientation(arg2);
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 resultobj = SWIG_Py_Void();
12083 return resultobj;
12084fail:
12085 return NULL;
f20a2e1f
RD
12086}
12087
12088
554f62e9
RD
12089SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12090 PyObject *resultobj = 0;
12091 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12092 wxLayoutOrientation result;
12093 void *argp1 = 0 ;
12094 int res1 = 0 ;
12095 PyObject *swig_obj[1] ;
12096
12097 if (!args) SWIG_fail;
12098 swig_obj[0] = args;
12099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12100 if (!SWIG_IsOK(res1)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12102 }
12103 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 resultobj = SWIG_From_int(static_cast< int >(result));
12111 return resultobj;
12112fail:
12113 return NULL;
12114}
12115
12116
12117SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12118 PyObject *resultobj = 0;
12119 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12120 wxLayoutAlignment arg2 ;
12121 void *argp1 = 0 ;
12122 int res1 = 0 ;
12123 int val2 ;
12124 int ecode2 = 0 ;
12125 PyObject * obj0 = 0 ;
12126 PyObject * obj1 = 0 ;
12127 char * kwnames[] = {
12128 (char *) "self",(char *) "align", NULL
12129 };
12130
12131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12133 if (!SWIG_IsOK(res1)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12135 }
12136 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12137 ecode2 = SWIG_AsVal_int(obj1, &val2);
12138 if (!SWIG_IsOK(ecode2)) {
12139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12140 }
12141 arg2 = static_cast< wxLayoutAlignment >(val2);
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 (arg1)->SetAlignment(arg2);
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 resultobj = SWIG_Py_Void();
12149 return resultobj;
12150fail:
12151 return NULL;
d55e5bfc 12152}
554f62e9
RD
12153
12154
12155SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12156 PyObject *resultobj = 0;
12157 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12158 wxLayoutAlignment result;
12159 void *argp1 = 0 ;
12160 int res1 = 0 ;
12161 PyObject *swig_obj[1] ;
12162
12163 if (!args) SWIG_fail;
12164 swig_obj[0] = args;
12165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12166 if (!SWIG_IsOK(res1)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12168 }
12169 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 resultobj = SWIG_From_int(static_cast< int >(result));
12177 return resultobj;
12178fail:
12179 return NULL;
d55e5bfc
RD
12180}
12181
12182
554f62e9
RD
12183SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12184 PyObject *obj;
12185 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12186 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12187 return SWIG_Py_Void();
d55e5bfc
RD
12188}
12189
554f62e9
RD
12190SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12191 return SWIG_Python_InitShadowInstance(args);
12192}
d55e5bfc 12193
554f62e9
RD
12194SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12195 PyObject *resultobj = 0;
12196 int arg1 = (int) 0 ;
12197 wxCalculateLayoutEvent *result = 0 ;
12198 int val1 ;
12199 int ecode1 = 0 ;
12200 PyObject * obj0 = 0 ;
12201 char * kwnames[] = {
12202 (char *) "id", NULL
12203 };
12204
12205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12206 if (obj0) {
12207 ecode1 = SWIG_AsVal_int(obj0, &val1);
12208 if (!SWIG_IsOK(ecode1)) {
12209 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12210 }
12211 arg1 = static_cast< int >(val1);
12212 }
12213 {
12214 PyThreadState* __tstate = wxPyBeginAllowThreads();
12215 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12216 wxPyEndAllowThreads(__tstate);
12217 if (PyErr_Occurred()) SWIG_fail;
12218 }
12219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12220 return resultobj;
12221fail:
12222 return NULL;
12223}
12224
12225
12226SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12227 PyObject *resultobj = 0;
12228 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12229 int arg2 ;
12230 void *argp1 = 0 ;
12231 int res1 = 0 ;
12232 int val2 ;
12233 int ecode2 = 0 ;
12234 PyObject * obj0 = 0 ;
12235 PyObject * obj1 = 0 ;
12236 char * kwnames[] = {
12237 (char *) "self",(char *) "flags", NULL
12238 };
12239
12240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12242 if (!SWIG_IsOK(res1)) {
12243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12244 }
12245 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12246 ecode2 = SWIG_AsVal_int(obj1, &val2);
12247 if (!SWIG_IsOK(ecode2)) {
12248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12249 }
12250 arg2 = static_cast< int >(val2);
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 (arg1)->SetFlags(arg2);
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 resultobj = SWIG_Py_Void();
12258 return resultobj;
12259fail:
12260 return NULL;
d55e5bfc
RD
12261}
12262
12263
554f62e9
RD
12264SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12265 PyObject *resultobj = 0;
12266 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12267 int result;
12268 void *argp1 = 0 ;
12269 int res1 = 0 ;
12270 PyObject *swig_obj[1] ;
12271
12272 if (!args) SWIG_fail;
12273 swig_obj[0] = args;
12274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12275 if (!SWIG_IsOK(res1)) {
12276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12277 }
12278 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 resultobj = SWIG_From_int(static_cast< int >(result));
12286 return resultobj;
12287fail:
12288 return NULL;
12289}
12290
12291
12292SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj = 0;
12294 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12295 wxRect *arg2 = 0 ;
12296 void *argp1 = 0 ;
12297 int res1 = 0 ;
12298 wxRect temp2 ;
12299 PyObject * obj0 = 0 ;
12300 PyObject * obj1 = 0 ;
12301 char * kwnames[] = {
12302 (char *) "self",(char *) "rect", NULL
12303 };
12304
12305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12307 if (!SWIG_IsOK(res1)) {
12308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12309 }
12310 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12311 {
12312 arg2 = &temp2;
12313 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12314 }
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 (arg1)->SetRect((wxRect const &)*arg2);
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 resultobj = SWIG_Py_Void();
12322 return resultobj;
12323fail:
12324 return NULL;
12325}
12326
12327
12328SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12329 PyObject *resultobj = 0;
12330 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12331 wxRect result;
12332 void *argp1 = 0 ;
12333 int res1 = 0 ;
12334 PyObject *swig_obj[1] ;
12335
12336 if (!args) SWIG_fail;
12337 swig_obj[0] = args;
12338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12339 if (!SWIG_IsOK(res1)) {
12340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12341 }
12342 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
12349 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12350 return resultobj;
12351fail:
12352 return NULL;
12353}
12354
12355
12356SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12357 PyObject *obj;
12358 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12359 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12360 return SWIG_Py_Void();
12361}
12362
12363SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12364 return SWIG_Python_InitShadowInstance(args);
12365}
12366
12367SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12368 PyObject *resultobj = 0;
12369 wxWindow *arg1 = (wxWindow *) 0 ;
12370 int arg2 = (int) -1 ;
12371 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12372 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12373 wxSize const &arg4_defvalue = wxDefaultSize ;
12374 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12375 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12376 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12377 wxString *arg6 = (wxString *) &arg6_defvalue ;
12378 wxSashLayoutWindow *result = 0 ;
12379 void *argp1 = 0 ;
12380 int res1 = 0 ;
12381 int val2 ;
12382 int ecode2 = 0 ;
12383 wxPoint temp3 ;
12384 wxSize temp4 ;
12385 long val5 ;
12386 int ecode5 = 0 ;
12387 bool temp6 = false ;
12388 PyObject * obj0 = 0 ;
12389 PyObject * obj1 = 0 ;
12390 PyObject * obj2 = 0 ;
12391 PyObject * obj3 = 0 ;
12392 PyObject * obj4 = 0 ;
12393 PyObject * obj5 = 0 ;
12394 char * kwnames[] = {
12395 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12396 };
12397
12398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12400 if (!SWIG_IsOK(res1)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12402 }
12403 arg1 = reinterpret_cast< wxWindow * >(argp1);
12404 if (obj1) {
12405 ecode2 = SWIG_AsVal_int(obj1, &val2);
12406 if (!SWIG_IsOK(ecode2)) {
12407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12408 }
12409 arg2 = static_cast< int >(val2);
12410 }
12411 if (obj2) {
d55e5bfc 12412 {
554f62e9
RD
12413 arg3 = &temp3;
12414 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12415 }
554f62e9
RD
12416 }
12417 if (obj3) {
d55e5bfc 12418 {
554f62e9
RD
12419 arg4 = &temp4;
12420 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12421 }
554f62e9
RD
12422 }
12423 if (obj4) {
12424 ecode5 = SWIG_AsVal_long(obj4, &val5);
12425 if (!SWIG_IsOK(ecode5)) {
12426 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12427 }
12428 arg5 = static_cast< long >(val5);
12429 }
12430 if (obj5) {
d55e5bfc 12431 {
554f62e9
RD
12432 arg6 = wxString_in_helper(obj5);
12433 if (arg6 == NULL) SWIG_fail;
12434 temp6 = true;
d55e5bfc 12435 }
554f62e9
RD
12436 }
12437 {
12438 if (!wxPyCheckForApp()) SWIG_fail;
12439 PyThreadState* __tstate = wxPyBeginAllowThreads();
12440 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12441 wxPyEndAllowThreads(__tstate);
12442 if (PyErr_Occurred()) SWIG_fail;
12443 }
12444 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12445 {
12446 if (temp6)
12447 delete arg6;
12448 }
12449 return resultobj;
12450fail:
12451 {
12452 if (temp6)
12453 delete arg6;
12454 }
12455 return NULL;
d55e5bfc
RD
12456}
12457
12458
554f62e9
RD
12459SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12460 PyObject *resultobj = 0;
12461 wxSashLayoutWindow *result = 0 ;
12462
12463 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12464 {
12465 if (!wxPyCheckForApp()) SWIG_fail;
12466 PyThreadState* __tstate = wxPyBeginAllowThreads();
12467 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12468 wxPyEndAllowThreads(__tstate);
12469 if (PyErr_Occurred()) SWIG_fail;
12470 }
12471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12472 return resultobj;
12473fail:
12474 return NULL;
12475}
12476
12477
12478SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12479 PyObject *resultobj = 0;
12480 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12481 wxWindow *arg2 = (wxWindow *) 0 ;
12482 int arg3 = (int) -1 ;
12483 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12484 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12485 wxSize const &arg5_defvalue = wxDefaultSize ;
12486 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12487 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12488 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12489 wxString *arg7 = (wxString *) &arg7_defvalue ;
12490 bool result;
12491 void *argp1 = 0 ;
12492 int res1 = 0 ;
12493 void *argp2 = 0 ;
12494 int res2 = 0 ;
12495 int val3 ;
12496 int ecode3 = 0 ;
12497 wxPoint temp4 ;
12498 wxSize temp5 ;
12499 long val6 ;
12500 int ecode6 = 0 ;
12501 bool temp7 = false ;
12502 PyObject * obj0 = 0 ;
12503 PyObject * obj1 = 0 ;
12504 PyObject * obj2 = 0 ;
12505 PyObject * obj3 = 0 ;
12506 PyObject * obj4 = 0 ;
12507 PyObject * obj5 = 0 ;
12508 PyObject * obj6 = 0 ;
12509 char * kwnames[] = {
12510 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12511 };
12512
12513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12515 if (!SWIG_IsOK(res1)) {
12516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12517 }
12518 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12519 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12520 if (!SWIG_IsOK(res2)) {
12521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12522 }
12523 arg2 = reinterpret_cast< wxWindow * >(argp2);
12524 if (obj2) {
12525 ecode3 = SWIG_AsVal_int(obj2, &val3);
12526 if (!SWIG_IsOK(ecode3)) {
12527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12528 }
12529 arg3 = static_cast< int >(val3);
12530 }
12531 if (obj3) {
d55e5bfc 12532 {
554f62e9
RD
12533 arg4 = &temp4;
12534 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12535 }
554f62e9
RD
12536 }
12537 if (obj4) {
d55e5bfc 12538 {
554f62e9
RD
12539 arg5 = &temp5;
12540 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12541 }
554f62e9
RD
12542 }
12543 if (obj5) {
12544 ecode6 = SWIG_AsVal_long(obj5, &val6);
12545 if (!SWIG_IsOK(ecode6)) {
12546 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12547 }
12548 arg6 = static_cast< long >(val6);
12549 }
12550 if (obj6) {
d55e5bfc 12551 {
554f62e9
RD
12552 arg7 = wxString_in_helper(obj6);
12553 if (arg7 == NULL) SWIG_fail;
12554 temp7 = true;
d55e5bfc 12555 }
554f62e9
RD
12556 }
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12560 wxPyEndAllowThreads(__tstate);
12561 if (PyErr_Occurred()) SWIG_fail;
12562 }
12563 {
12564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12565 }
12566 {
12567 if (temp7)
12568 delete arg7;
12569 }
12570 return resultobj;
12571fail:
12572 {
12573 if (temp7)
12574 delete arg7;
12575 }
12576 return NULL;
d55e5bfc
RD
12577}
12578
12579
554f62e9
RD
12580SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12581 PyObject *resultobj = 0;
12582 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12583 wxLayoutAlignment result;
12584 void *argp1 = 0 ;
12585 int res1 = 0 ;
12586 PyObject *swig_obj[1] ;
12587
12588 if (!args) SWIG_fail;
12589 swig_obj[0] = args;
12590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12591 if (!SWIG_IsOK(res1)) {
12592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12593 }
12594 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12595 {
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
12597 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 resultobj = SWIG_From_int(static_cast< int >(result));
12602 return resultobj;
12603fail:
12604 return NULL;
d55e5bfc
RD
12605}
12606
12607
554f62e9
RD
12608SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12609 PyObject *resultobj = 0;
12610 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12611 wxLayoutOrientation result;
12612 void *argp1 = 0 ;
12613 int res1 = 0 ;
12614 PyObject *swig_obj[1] ;
12615
12616 if (!args) SWIG_fail;
12617 swig_obj[0] = args;
12618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12619 if (!SWIG_IsOK(res1)) {
12620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12621 }
12622 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 resultobj = SWIG_From_int(static_cast< int >(result));
12630 return resultobj;
12631fail:
12632 return NULL;
12633}
12634
12635
12636SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj = 0;
12638 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12639 wxLayoutAlignment arg2 ;
12640 void *argp1 = 0 ;
12641 int res1 = 0 ;
12642 int val2 ;
12643 int ecode2 = 0 ;
12644 PyObject * obj0 = 0 ;
12645 PyObject * obj1 = 0 ;
12646 char * kwnames[] = {
12647 (char *) "self",(char *) "alignment", NULL
12648 };
12649
12650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12652 if (!SWIG_IsOK(res1)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12654 }
12655 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12656 ecode2 = SWIG_AsVal_int(obj1, &val2);
12657 if (!SWIG_IsOK(ecode2)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12659 }
12660 arg2 = static_cast< wxLayoutAlignment >(val2);
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 (arg1)->SetAlignment(arg2);
12664 wxPyEndAllowThreads(__tstate);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 resultobj = SWIG_Py_Void();
12668 return resultobj;
12669fail:
12670 return NULL;
12671}
12672
12673
12674SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12675 PyObject *resultobj = 0;
12676 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12677 wxSize *arg2 = 0 ;
12678 void *argp1 = 0 ;
12679 int res1 = 0 ;
12680 wxSize temp2 ;
12681 PyObject * obj0 = 0 ;
12682 PyObject * obj1 = 0 ;
12683 char * kwnames[] = {
12684 (char *) "self",(char *) "size", NULL
12685 };
12686
12687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12689 if (!SWIG_IsOK(res1)) {
12690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12691 }
12692 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12693 {
12694 arg2 = &temp2;
12695 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12696 }
12697 {
12698 PyThreadState* __tstate = wxPyBeginAllowThreads();
12699 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12700 wxPyEndAllowThreads(__tstate);
12701 if (PyErr_Occurred()) SWIG_fail;
12702 }
12703 resultobj = SWIG_Py_Void();
12704 return resultobj;
12705fail:
12706 return NULL;
12707}
12708
12709
12710SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12711 PyObject *resultobj = 0;
12712 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12713 wxLayoutOrientation arg2 ;
12714 void *argp1 = 0 ;
12715 int res1 = 0 ;
12716 int val2 ;
12717 int ecode2 = 0 ;
12718 PyObject * obj0 = 0 ;
12719 PyObject * obj1 = 0 ;
12720 char * kwnames[] = {
12721 (char *) "self",(char *) "orientation", NULL
12722 };
12723
12724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12726 if (!SWIG_IsOK(res1)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12728 }
12729 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12730 ecode2 = SWIG_AsVal_int(obj1, &val2);
12731 if (!SWIG_IsOK(ecode2)) {
12732 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12733 }
12734 arg2 = static_cast< wxLayoutOrientation >(val2);
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 (arg1)->SetOrientation(arg2);
12738 wxPyEndAllowThreads(__tstate);
12739 if (PyErr_Occurred()) SWIG_fail;
12740 }
12741 resultobj = SWIG_Py_Void();
12742 return resultobj;
12743fail:
12744 return NULL;
d55e5bfc
RD
12745}
12746
12747
554f62e9
RD
12748SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12749 PyObject *obj;
12750 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12751 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12752 return SWIG_Py_Void();
d55e5bfc
RD
12753}
12754
554f62e9
RD
12755SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12756 return SWIG_Python_InitShadowInstance(args);
12757}
d55e5bfc 12758
554f62e9
RD
12759SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12760 PyObject *resultobj = 0;
12761 wxLayoutAlgorithm *result = 0 ;
12762
12763 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12764 {
12765 PyThreadState* __tstate = wxPyBeginAllowThreads();
12766 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12767 wxPyEndAllowThreads(__tstate);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12771 return resultobj;
12772fail:
12773 return NULL;
d55e5bfc
RD
12774}
12775
12776
554f62e9
RD
12777SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12778 PyObject *resultobj = 0;
12779 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12780 void *argp1 = 0 ;
12781 int res1 = 0 ;
12782 PyObject *swig_obj[1] ;
12783
12784 if (!args) SWIG_fail;
12785 swig_obj[0] = args;
12786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12787 if (!SWIG_IsOK(res1)) {
12788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12789 }
12790 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12791 {
12792 PyThreadState* __tstate = wxPyBeginAllowThreads();
12793 delete arg1;
d55e5bfc 12794
554f62e9
RD
12795 wxPyEndAllowThreads(__tstate);
12796 if (PyErr_Occurred()) SWIG_fail;
12797 }
12798 resultobj = SWIG_Py_Void();
12799 return resultobj;
12800fail:
12801 return NULL;
12802}
12803
12804
12805SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12806 PyObject *resultobj = 0;
12807 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12808 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12809 wxRect *arg3 = (wxRect *) NULL ;
12810 bool result;
12811 void *argp1 = 0 ;
12812 int res1 = 0 ;
12813 void *argp2 = 0 ;
12814 int res2 = 0 ;
12815 void *argp3 = 0 ;
12816 int res3 = 0 ;
12817 PyObject * obj0 = 0 ;
12818 PyObject * obj1 = 0 ;
12819 PyObject * obj2 = 0 ;
12820 char * kwnames[] = {
12821 (char *) "self",(char *) "frame",(char *) "rect", NULL
12822 };
12823
12824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12826 if (!SWIG_IsOK(res1)) {
12827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12828 }
12829 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12830 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12831 if (!SWIG_IsOK(res2)) {
12832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12833 }
12834 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12835 if (obj2) {
12836 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12837 if (!SWIG_IsOK(res3)) {
12838 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
d55e5bfc 12839 }
554f62e9
RD
12840 arg3 = reinterpret_cast< wxRect * >(argp3);
12841 }
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12845 wxPyEndAllowThreads(__tstate);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 {
12849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12850 }
12851 return resultobj;
12852fail:
12853 return NULL;
12854}
12855
12856
12857SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12858 PyObject *resultobj = 0;
12859 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12860 wxFrame *arg2 = (wxFrame *) 0 ;
12861 wxWindow *arg3 = (wxWindow *) NULL ;
12862 bool result;
12863 void *argp1 = 0 ;
12864 int res1 = 0 ;
12865 void *argp2 = 0 ;
12866 int res2 = 0 ;
12867 void *argp3 = 0 ;
12868 int res3 = 0 ;
12869 PyObject * obj0 = 0 ;
12870 PyObject * obj1 = 0 ;
12871 PyObject * obj2 = 0 ;
12872 char * kwnames[] = {
12873 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12874 };
12875
12876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12878 if (!SWIG_IsOK(res1)) {
12879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12880 }
12881 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12882 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12883 if (!SWIG_IsOK(res2)) {
12884 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12885 }
12886 arg2 = reinterpret_cast< wxFrame * >(argp2);
12887 if (obj2) {
12888 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12889 if (!SWIG_IsOK(res3)) {
12890 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 12891 }
554f62e9
RD
12892 arg3 = reinterpret_cast< wxWindow * >(argp3);
12893 }
12894 {
12895 PyThreadState* __tstate = wxPyBeginAllowThreads();
12896 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12897 wxPyEndAllowThreads(__tstate);
12898 if (PyErr_Occurred()) SWIG_fail;
12899 }
12900 {
12901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12902 }
12903 return resultobj;
12904fail:
12905 return NULL;
12906}
12907
12908
12909SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12910 PyObject *resultobj = 0;
12911 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12912 wxWindow *arg2 = (wxWindow *) 0 ;
12913 wxWindow *arg3 = (wxWindow *) NULL ;
12914 bool result;
12915 void *argp1 = 0 ;
12916 int res1 = 0 ;
12917 void *argp2 = 0 ;
12918 int res2 = 0 ;
12919 void *argp3 = 0 ;
12920 int res3 = 0 ;
12921 PyObject * obj0 = 0 ;
12922 PyObject * obj1 = 0 ;
12923 PyObject * obj2 = 0 ;
12924 char * kwnames[] = {
12925 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12926 };
12927
12928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12930 if (!SWIG_IsOK(res1)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12932 }
12933 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12934 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12935 if (!SWIG_IsOK(res2)) {
12936 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12937 }
12938 arg2 = reinterpret_cast< wxWindow * >(argp2);
12939 if (obj2) {
12940 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12941 if (!SWIG_IsOK(res3)) {
12942 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 12943 }
554f62e9
RD
12944 arg3 = reinterpret_cast< wxWindow * >(argp3);
12945 }
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 {
12953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12954 }
12955 return resultobj;
12956fail:
12957 return NULL;
d55e5bfc
RD
12958}
12959
12960
554f62e9
RD
12961SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12962 PyObject *obj;
12963 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12964 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12965 return SWIG_Py_Void();
d55e5bfc
RD
12966}
12967
554f62e9
RD
12968SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12969 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12970}
12971
554f62e9
RD
12972SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12973 PyObject *resultobj = 0;
12974 wxWindow *arg1 = (wxWindow *) 0 ;
12975 int arg2 = (int) wxBORDER_NONE ;
12976 wxPopupWindow *result = 0 ;
12977 void *argp1 = 0 ;
12978 int res1 = 0 ;
12979 int val2 ;
12980 int ecode2 = 0 ;
12981 PyObject * obj0 = 0 ;
12982 PyObject * obj1 = 0 ;
12983 char * kwnames[] = {
12984 (char *) "parent",(char *) "flags", NULL
12985 };
12986
12987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12989 if (!SWIG_IsOK(res1)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12991 }
12992 arg1 = reinterpret_cast< wxWindow * >(argp1);
12993 if (obj1) {
12994 ecode2 = SWIG_AsVal_int(obj1, &val2);
12995 if (!SWIG_IsOK(ecode2)) {
12996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12997 }
12998 arg2 = static_cast< int >(val2);
12999 }
13000 {
13001 if (!wxPyCheckForApp()) SWIG_fail;
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13008 return resultobj;
13009fail:
13010 return NULL;
d55e5bfc
RD
13011}
13012
13013
554f62e9
RD
13014SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13015 PyObject *resultobj = 0;
13016 wxPopupWindow *result = 0 ;
13017
13018 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13019 {
13020 if (!wxPyCheckForApp()) SWIG_fail;
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 result = (wxPopupWindow *)new wxPopupWindow();
13023 wxPyEndAllowThreads(__tstate);
13024 if (PyErr_Occurred()) SWIG_fail;
13025 }
13026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13027 return resultobj;
13028fail:
13029 return NULL;
13030}
13031
13032
13033SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13034 PyObject *resultobj = 0;
13035 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13036 wxWindow *arg2 = (wxWindow *) 0 ;
13037 int arg3 = (int) wxBORDER_NONE ;
13038 bool result;
13039 void *argp1 = 0 ;
13040 int res1 = 0 ;
13041 void *argp2 = 0 ;
13042 int res2 = 0 ;
13043 int val3 ;
13044 int ecode3 = 0 ;
13045 PyObject * obj0 = 0 ;
13046 PyObject * obj1 = 0 ;
13047 PyObject * obj2 = 0 ;
13048 char * kwnames[] = {
13049 (char *) "self",(char *) "parent",(char *) "flags", NULL
13050 };
13051
13052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13054 if (!SWIG_IsOK(res1)) {
13055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13056 }
13057 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13058 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13059 if (!SWIG_IsOK(res2)) {
13060 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13061 }
13062 arg2 = reinterpret_cast< wxWindow * >(argp2);
13063 if (obj2) {
13064 ecode3 = SWIG_AsVal_int(obj2, &val3);
13065 if (!SWIG_IsOK(ecode3)) {
13066 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13067 }
13068 arg3 = static_cast< int >(val3);
13069 }
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 result = (bool)(arg1)->Create(arg2,arg3);
13073 wxPyEndAllowThreads(__tstate);
13074 if (PyErr_Occurred()) SWIG_fail;
13075 }
13076 {
13077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13078 }
13079 return resultobj;
13080fail:
13081 return NULL;
13082}
13083
13084
13085SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13086 PyObject *resultobj = 0;
13087 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13088 wxPoint *arg2 = 0 ;
13089 wxSize *arg3 = 0 ;
13090 void *argp1 = 0 ;
13091 int res1 = 0 ;
13092 wxPoint temp2 ;
13093 wxSize temp3 ;
13094 PyObject * obj0 = 0 ;
13095 PyObject * obj1 = 0 ;
13096 PyObject * obj2 = 0 ;
13097 char * kwnames[] = {
13098 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13099 };
13100
13101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13103 if (!SWIG_IsOK(res1)) {
13104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13105 }
13106 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13107 {
13108 arg2 = &temp2;
13109 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13110 }
13111 {
13112 arg3 = &temp3;
13113 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13114 }
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13118 wxPyEndAllowThreads(__tstate);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 }
13121 resultobj = SWIG_Py_Void();
13122 return resultobj;
13123fail:
13124 return NULL;
d55e5bfc
RD
13125}
13126
13127
554f62e9
RD
13128SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13129 PyObject *obj;
13130 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13131 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13132 return SWIG_Py_Void();
d55e5bfc
RD
13133}
13134
554f62e9
RD
13135SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13136 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13137}
13138
554f62e9
RD
13139SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13140 PyObject *resultobj = 0;
13141 wxWindow *arg1 = (wxWindow *) 0 ;
13142 int arg2 = (int) wxBORDER_NONE ;
13143 wxPyPopupTransientWindow *result = 0 ;
13144 void *argp1 = 0 ;
13145 int res1 = 0 ;
13146 int val2 ;
13147 int ecode2 = 0 ;
13148 PyObject * obj0 = 0 ;
13149 PyObject * obj1 = 0 ;
13150 char * kwnames[] = {
13151 (char *) "parent",(char *) "style", NULL
13152 };
13153
13154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13156 if (!SWIG_IsOK(res1)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13158 }
13159 arg1 = reinterpret_cast< wxWindow * >(argp1);
13160 if (obj1) {
13161 ecode2 = SWIG_AsVal_int(obj1, &val2);
13162 if (!SWIG_IsOK(ecode2)) {
13163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13164 }
13165 arg2 = static_cast< int >(val2);
13166 }
13167 {
13168 if (!wxPyCheckForApp()) SWIG_fail;
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13175 return resultobj;
13176fail:
13177 return NULL;
d55e5bfc
RD
13178}
13179
13180
554f62e9
RD
13181SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13182 PyObject *resultobj = 0;
13183 wxPyPopupTransientWindow *result = 0 ;
13184
13185 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13186 {
13187 if (!wxPyCheckForApp()) SWIG_fail;
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13194 return resultobj;
13195fail:
13196 return NULL;
13197}
13198
13199
13200SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13201 PyObject *resultobj = 0;
13202 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13203 PyObject *arg2 = (PyObject *) 0 ;
13204 PyObject *arg3 = (PyObject *) 0 ;
13205 void *argp1 = 0 ;
13206 int res1 = 0 ;
13207 PyObject * obj0 = 0 ;
13208 PyObject * obj1 = 0 ;
13209 PyObject * obj2 = 0 ;
13210 char * kwnames[] = {
13211 (char *) "self",(char *) "self",(char *) "_class", NULL
13212 };
13213
13214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13216 if (!SWIG_IsOK(res1)) {
13217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13218 }
13219 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13220 arg2 = obj1;
13221 arg3 = obj2;
13222 {
13223 PyThreadState* __tstate = wxPyBeginAllowThreads();
13224 (arg1)->_setCallbackInfo(arg2,arg3);
13225 wxPyEndAllowThreads(__tstate);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 }
13228 resultobj = SWIG_Py_Void();
13229 return resultobj;
13230fail:
13231 return NULL;
13232}
13233
13234
13235SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13236 PyObject *resultobj = 0;
13237 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13238 wxWindow *arg2 = (wxWindow *) NULL ;
13239 void *argp1 = 0 ;
13240 int res1 = 0 ;
13241 void *argp2 = 0 ;
13242 int res2 = 0 ;
13243 PyObject * obj0 = 0 ;
13244 PyObject * obj1 = 0 ;
13245 char * kwnames[] = {
13246 (char *) "self",(char *) "focus", NULL
13247 };
13248
13249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13251 if (!SWIG_IsOK(res1)) {
13252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13253 }
13254 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13255 if (obj1) {
13256 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13257 if (!SWIG_IsOK(res2)) {
13258 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
093d3ff1 13259 }
554f62e9
RD
13260 arg2 = reinterpret_cast< wxWindow * >(argp2);
13261 }
13262 {
13263 PyThreadState* __tstate = wxPyBeginAllowThreads();
13264 (arg1)->Popup(arg2);
13265 wxPyEndAllowThreads(__tstate);
13266 if (PyErr_Occurred()) SWIG_fail;
13267 }
13268 resultobj = SWIG_Py_Void();
13269 return resultobj;
13270fail:
13271 return NULL;
d55e5bfc
RD
13272}
13273
13274
554f62e9
RD
13275SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13276 PyObject *resultobj = 0;
13277 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13278 void *argp1 = 0 ;
13279 int res1 = 0 ;
13280 PyObject *swig_obj[1] ;
13281
13282 if (!args) SWIG_fail;
13283 swig_obj[0] = args;
13284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13285 if (!SWIG_IsOK(res1)) {
13286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13287 }
13288 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 (arg1)->Dismiss();
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 resultobj = SWIG_Py_Void();
13296 return resultobj;
13297fail:
13298 return NULL;
13299}
13300
13301
13302SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13303 PyObject *obj;
13304 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13305 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13306 return SWIG_Py_Void();
13307}
13308
13309SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13310 return SWIG_Python_InitShadowInstance(args);
13311}
13312
13313SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13314 PyObject *resultobj = 0;
13315 wxWindow *arg1 = (wxWindow *) 0 ;
13316 wxString *arg2 = 0 ;
13317 int arg3 = (int) 100 ;
13318 wxRect *arg4 = (wxRect *) NULL ;
13319 wxTipWindow *result = 0 ;
13320 void *argp1 = 0 ;
13321 int res1 = 0 ;
13322 bool temp2 = false ;
13323 int val3 ;
13324 int ecode3 = 0 ;
13325 void *argp4 = 0 ;
13326 int res4 = 0 ;
13327 PyObject * obj0 = 0 ;
13328 PyObject * obj1 = 0 ;
13329 PyObject * obj2 = 0 ;
13330 PyObject * obj3 = 0 ;
13331 char * kwnames[] = {
13332 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13333 };
13334
13335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13337 if (!SWIG_IsOK(res1)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13339 }
13340 arg1 = reinterpret_cast< wxWindow * >(argp1);
13341 {
13342 arg2 = wxString_in_helper(obj1);
13343 if (arg2 == NULL) SWIG_fail;
13344 temp2 = true;
13345 }
13346 if (obj2) {
13347 ecode3 = SWIG_AsVal_int(obj2, &val3);
13348 if (!SWIG_IsOK(ecode3)) {
13349 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13350 }
13351 arg3 = static_cast< int >(val3);
13352 }
13353 if (obj3) {
13354 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13355 if (!SWIG_IsOK(res4)) {
13356 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
093d3ff1 13357 }
554f62e9
RD
13358 arg4 = reinterpret_cast< wxRect * >(argp4);
13359 }
13360 {
13361 if (!wxPyCheckForApp()) SWIG_fail;
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13364 wxPyEndAllowThreads(__tstate);
13365 if (PyErr_Occurred()) SWIG_fail;
13366 }
13367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13368 {
13369 if (temp2)
13370 delete arg2;
13371 }
13372 return resultobj;
13373fail:
13374 {
13375 if (temp2)
13376 delete arg2;
13377 }
13378 return NULL;
b519803b
RD
13379}
13380
13381
554f62e9
RD
13382SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj = 0;
13384 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13385 wxRect *arg2 = 0 ;
13386 void *argp1 = 0 ;
13387 int res1 = 0 ;
13388 wxRect temp2 ;
13389 PyObject * obj0 = 0 ;
13390 PyObject * obj1 = 0 ;
13391 char * kwnames[] = {
13392 (char *) "self",(char *) "rectBound", NULL
13393 };
13394
13395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13397 if (!SWIG_IsOK(res1)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13399 }
13400 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13401 {
13402 arg2 = &temp2;
13403 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13404 }
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 resultobj = SWIG_Py_Void();
13412 return resultobj;
13413fail:
13414 return NULL;
b519803b
RD
13415}
13416
13417
554f62e9
RD
13418SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13419 PyObject *resultobj = 0;
13420 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13421 void *argp1 = 0 ;
13422 int res1 = 0 ;
13423 PyObject *swig_obj[1] ;
13424
13425 if (!args) SWIG_fail;
13426 swig_obj[0] = args;
13427 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13428 if (!SWIG_IsOK(res1)) {
13429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13430 }
13431 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 (arg1)->Close();
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 resultobj = SWIG_Py_Void();
13439 return resultobj;
13440fail:
13441 return NULL;
13442}
13443
13444
13445SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13446 PyObject *obj;
13447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13448 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13449 return SWIG_Py_Void();
13450}
13451
13452SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13453 return SWIG_Python_InitShadowInstance(args);
13454}
13455
13456SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj = 0;
13458 wxWindow *arg1 = (wxWindow *) 0 ;
13459 int arg2 = (int) wxID_ANY ;
13460 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13461 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13462 wxSize const &arg4_defvalue = wxDefaultSize ;
13463 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13464 long arg5 = (long) 0 ;
13465 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13466 wxString *arg6 = (wxString *) &arg6_defvalue ;
13467 wxPyVScrolledWindow *result = 0 ;
13468 void *argp1 = 0 ;
13469 int res1 = 0 ;
13470 int val2 ;
13471 int ecode2 = 0 ;
13472 wxPoint temp3 ;
13473 wxSize temp4 ;
13474 long val5 ;
13475 int ecode5 = 0 ;
13476 bool temp6 = false ;
13477 PyObject * obj0 = 0 ;
13478 PyObject * obj1 = 0 ;
13479 PyObject * obj2 = 0 ;
13480 PyObject * obj3 = 0 ;
13481 PyObject * obj4 = 0 ;
13482 PyObject * obj5 = 0 ;
13483 char * kwnames[] = {
13484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13485 };
13486
13487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13489 if (!SWIG_IsOK(res1)) {
13490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13491 }
13492 arg1 = reinterpret_cast< wxWindow * >(argp1);
13493 if (obj1) {
13494 ecode2 = SWIG_AsVal_int(obj1, &val2);
13495 if (!SWIG_IsOK(ecode2)) {
13496 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13497 }
13498 arg2 = static_cast< int >(val2);
13499 }
13500 if (obj2) {
093d3ff1 13501 {
554f62e9
RD
13502 arg3 = &temp3;
13503 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 13504 }
554f62e9
RD
13505 }
13506 if (obj3) {
d55e5bfc 13507 {
554f62e9
RD
13508 arg4 = &temp4;
13509 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13510 }
554f62e9
RD
13511 }
13512 if (obj4) {
13513 ecode5 = SWIG_AsVal_long(obj4, &val5);
13514 if (!SWIG_IsOK(ecode5)) {
13515 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13516 }
13517 arg5 = static_cast< long >(val5);
13518 }
13519 if (obj5) {
093d3ff1 13520 {
554f62e9
RD
13521 arg6 = wxString_in_helper(obj5);
13522 if (arg6 == NULL) SWIG_fail;
13523 temp6 = true;
093d3ff1 13524 }
554f62e9
RD
13525 }
13526 {
13527 if (!wxPyCheckForApp()) SWIG_fail;
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13530 wxPyEndAllowThreads(__tstate);
13531 if (PyErr_Occurred()) SWIG_fail;
13532 }
13533 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13534 {
13535 if (temp6)
13536 delete arg6;
13537 }
13538 return resultobj;
13539fail:
13540 {
13541 if (temp6)
13542 delete arg6;
13543 }
13544 return NULL;
d55e5bfc
RD
13545}
13546
13547
554f62e9
RD
13548SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13549 PyObject *resultobj = 0;
13550 wxPyVScrolledWindow *result = 0 ;
13551
13552 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13553 {
13554 if (!wxPyCheckForApp()) SWIG_fail;
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13557 wxPyEndAllowThreads(__tstate);
13558 if (PyErr_Occurred()) SWIG_fail;
13559 }
13560 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13561 return resultobj;
13562fail:
13563 return NULL;
13564}
13565
13566
13567SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13568 PyObject *resultobj = 0;
13569 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13570 PyObject *arg2 = (PyObject *) 0 ;
13571 PyObject *arg3 = (PyObject *) 0 ;
13572 void *argp1 = 0 ;
13573 int res1 = 0 ;
13574 PyObject * obj0 = 0 ;
13575 PyObject * obj1 = 0 ;
13576 PyObject * obj2 = 0 ;
13577 char * kwnames[] = {
13578 (char *) "self",(char *) "self",(char *) "_class", NULL
13579 };
13580
13581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13583 if (!SWIG_IsOK(res1)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13585 }
13586 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13587 arg2 = obj1;
13588 arg3 = obj2;
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 (arg1)->_setCallbackInfo(arg2,arg3);
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
13595 resultobj = SWIG_Py_Void();
13596 return resultobj;
13597fail:
13598 return NULL;
13599}
13600
13601
13602SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj = 0;
13604 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13605 wxWindow *arg2 = (wxWindow *) 0 ;
13606 int arg3 = (int) wxID_ANY ;
13607 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13608 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13609 wxSize const &arg5_defvalue = wxDefaultSize ;
13610 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13611 long arg6 = (long) 0 ;
13612 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13613 wxString *arg7 = (wxString *) &arg7_defvalue ;
13614 bool result;
13615 void *argp1 = 0 ;
13616 int res1 = 0 ;
13617 void *argp2 = 0 ;
13618 int res2 = 0 ;
13619 int val3 ;
13620 int ecode3 = 0 ;
13621 wxPoint temp4 ;
13622 wxSize temp5 ;
13623 long val6 ;
13624 int ecode6 = 0 ;
13625 bool temp7 = false ;
13626 PyObject * obj0 = 0 ;
13627 PyObject * obj1 = 0 ;
13628 PyObject * obj2 = 0 ;
13629 PyObject * obj3 = 0 ;
13630 PyObject * obj4 = 0 ;
13631 PyObject * obj5 = 0 ;
13632 PyObject * obj6 = 0 ;
13633 char * kwnames[] = {
13634 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13635 };
13636
13637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13639 if (!SWIG_IsOK(res1)) {
13640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13641 }
13642 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13643 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13644 if (!SWIG_IsOK(res2)) {
13645 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13646 }
13647 arg2 = reinterpret_cast< wxWindow * >(argp2);
13648 if (obj2) {
13649 ecode3 = SWIG_AsVal_int(obj2, &val3);
13650 if (!SWIG_IsOK(ecode3)) {
13651 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13652 }
13653 arg3 = static_cast< int >(val3);
13654 }
13655 if (obj3) {
d55e5bfc 13656 {
554f62e9
RD
13657 arg4 = &temp4;
13658 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13659 }
554f62e9
RD
13660 }
13661 if (obj4) {
d55e5bfc 13662 {
554f62e9
RD
13663 arg5 = &temp5;
13664 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 13665 }
554f62e9
RD
13666 }
13667 if (obj5) {
13668 ecode6 = SWIG_AsVal_long(obj5, &val6);
13669 if (!SWIG_IsOK(ecode6)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13671 }
13672 arg6 = static_cast< long >(val6);
13673 }
13674 if (obj6) {
093d3ff1 13675 {
554f62e9
RD
13676 arg7 = wxString_in_helper(obj6);
13677 if (arg7 == NULL) SWIG_fail;
13678 temp7 = true;
093d3ff1 13679 }
554f62e9
RD
13680 }
13681 {
13682 PyThreadState* __tstate = wxPyBeginAllowThreads();
13683 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13684 wxPyEndAllowThreads(__tstate);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 }
13687 {
13688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13689 }
13690 {
13691 if (temp7)
13692 delete arg7;
13693 }
13694 return resultobj;
13695fail:
13696 {
13697 if (temp7)
13698 delete arg7;
13699 }
13700 return NULL;
13701}
13702
13703
13704SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13705 PyObject *resultobj = 0;
13706 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13707 size_t arg2 ;
13708 void *argp1 = 0 ;
13709 int res1 = 0 ;
13710 size_t val2 ;
13711 int ecode2 = 0 ;
13712 PyObject * obj0 = 0 ;
13713 PyObject * obj1 = 0 ;
13714 char * kwnames[] = {
13715 (char *) "self",(char *) "count", NULL
13716 };
13717
13718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13720 if (!SWIG_IsOK(res1)) {
13721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13722 }
13723 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13724 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13725 if (!SWIG_IsOK(ecode2)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13727 }
13728 arg2 = static_cast< size_t >(val2);
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 (arg1)->SetLineCount(arg2);
13732 wxPyEndAllowThreads(__tstate);
13733 if (PyErr_Occurred()) SWIG_fail;
13734 }
13735 resultobj = SWIG_Py_Void();
13736 return resultobj;
13737fail:
13738 return NULL;
13739}
13740
13741
13742SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj = 0;
13744 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13745 size_t arg2 ;
13746 bool result;
13747 void *argp1 = 0 ;
13748 int res1 = 0 ;
13749 size_t val2 ;
13750 int ecode2 = 0 ;
13751 PyObject * obj0 = 0 ;
13752 PyObject * obj1 = 0 ;
13753 char * kwnames[] = {
13754 (char *) "self",(char *) "line", NULL
13755 };
13756
13757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13759 if (!SWIG_IsOK(res1)) {
13760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13761 }
13762 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13763 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13764 if (!SWIG_IsOK(ecode2)) {
13765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13766 }
13767 arg2 = static_cast< size_t >(val2);
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 result = (bool)(arg1)->ScrollToLine(arg2);
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 {
13775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13776 }
13777 return resultobj;
13778fail:
13779 return NULL;
13780}
13781
13782
13783SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj = 0;
13785 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13786 size_t arg2 ;
13787 void *argp1 = 0 ;
13788 int res1 = 0 ;
13789 size_t val2 ;
13790 int ecode2 = 0 ;
13791 PyObject * obj0 = 0 ;
13792 PyObject * obj1 = 0 ;
13793 char * kwnames[] = {
13794 (char *) "self",(char *) "line", NULL
13795 };
13796
13797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13799 if (!SWIG_IsOK(res1)) {
13800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13801 }
13802 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13803 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13804 if (!SWIG_IsOK(ecode2)) {
13805 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13806 }
13807 arg2 = static_cast< size_t >(val2);
13808 {
13809 PyThreadState* __tstate = wxPyBeginAllowThreads();
13810 (arg1)->RefreshLine(arg2);
13811 wxPyEndAllowThreads(__tstate);
13812 if (PyErr_Occurred()) SWIG_fail;
13813 }
13814 resultobj = SWIG_Py_Void();
13815 return resultobj;
13816fail:
13817 return NULL;
13818}
13819
13820
13821SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13822 PyObject *resultobj = 0;
13823 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13824 size_t arg2 ;
13825 size_t arg3 ;
13826 void *argp1 = 0 ;
13827 int res1 = 0 ;
13828 size_t val2 ;
13829 int ecode2 = 0 ;
13830 size_t val3 ;
13831 int ecode3 = 0 ;
13832 PyObject * obj0 = 0 ;
13833 PyObject * obj1 = 0 ;
13834 PyObject * obj2 = 0 ;
13835 char * kwnames[] = {
f460c29d 13836 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
13837 };
13838
13839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13841 if (!SWIG_IsOK(res1)) {
13842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13843 }
13844 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13845 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13846 if (!SWIG_IsOK(ecode2)) {
13847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13848 }
13849 arg2 = static_cast< size_t >(val2);
13850 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13851 if (!SWIG_IsOK(ecode3)) {
13852 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13853 }
13854 arg3 = static_cast< size_t >(val3);
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 (arg1)->RefreshLines(arg2,arg3);
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 resultobj = SWIG_Py_Void();
13862 return resultobj;
13863fail:
13864 return NULL;
13865}
13866
13867
13868SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj = 0;
13870 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13871 int arg2 ;
13872 int arg3 ;
13873 int result;
13874 void *argp1 = 0 ;
13875 int res1 = 0 ;
13876 int val2 ;
13877 int ecode2 = 0 ;
13878 int val3 ;
13879 int ecode3 = 0 ;
13880 PyObject * obj0 = 0 ;
13881 PyObject * obj1 = 0 ;
13882 PyObject * obj2 = 0 ;
13883 char * kwnames[] = {
13884 (char *) "self",(char *) "x",(char *) "y", NULL
13885 };
13886
13887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13889 if (!SWIG_IsOK(res1)) {
13890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13891 }
13892 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13893 ecode2 = SWIG_AsVal_int(obj1, &val2);
13894 if (!SWIG_IsOK(ecode2)) {
13895 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13896 }
13897 arg2 = static_cast< int >(val2);
13898 ecode3 = SWIG_AsVal_int(obj2, &val3);
13899 if (!SWIG_IsOK(ecode3)) {
13900 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13901 }
13902 arg3 = static_cast< int >(val3);
13903 {
13904 PyThreadState* __tstate = wxPyBeginAllowThreads();
13905 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13906 wxPyEndAllowThreads(__tstate);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 resultobj = SWIG_From_int(static_cast< int >(result));
13910 return resultobj;
13911fail:
13912 return NULL;
13913}
13914
13915
13916SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13917 PyObject *resultobj = 0;
13918 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13919 wxPoint *arg2 = 0 ;
13920 int result;
13921 void *argp1 = 0 ;
13922 int res1 = 0 ;
13923 wxPoint temp2 ;
13924 PyObject * obj0 = 0 ;
13925 PyObject * obj1 = 0 ;
13926 char * kwnames[] = {
13927 (char *) "self",(char *) "pt", NULL
13928 };
13929
13930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13932 if (!SWIG_IsOK(res1)) {
13933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13934 }
13935 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13936 {
13937 arg2 = &temp2;
13938 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13939 }
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 resultobj = SWIG_From_int(static_cast< int >(result));
13947 return resultobj;
13948fail:
13949 return NULL;
f20a2e1f
RD
13950}
13951
13952
554f62e9
RD
13953SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13954 PyObject *resultobj = 0;
13955 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13956 void *argp1 = 0 ;
13957 int res1 = 0 ;
13958 PyObject *swig_obj[1] ;
13959
13960 if (!args) SWIG_fail;
13961 swig_obj[0] = args;
13962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13963 if (!SWIG_IsOK(res1)) {
13964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13965 }
13966 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13967 {
13968 PyThreadState* __tstate = wxPyBeginAllowThreads();
13969 (arg1)->RefreshAll();
13970 wxPyEndAllowThreads(__tstate);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 resultobj = SWIG_Py_Void();
13974 return resultobj;
13975fail:
13976 return NULL;
d55e5bfc
RD
13977}
13978
13979
554f62e9
RD
13980SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13981 PyObject *resultobj = 0;
13982 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13983 size_t result;
13984 void *argp1 = 0 ;
13985 int res1 = 0 ;
13986 PyObject *swig_obj[1] ;
13987
13988 if (!args) SWIG_fail;
13989 swig_obj[0] = args;
13990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13991 if (!SWIG_IsOK(res1)) {
13992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13993 }
13994 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13998 wxPyEndAllowThreads(__tstate);
13999 if (PyErr_Occurred()) SWIG_fail;
14000 }
14001 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14002 return resultobj;
14003fail:
14004 return NULL;
d55e5bfc
RD
14005}
14006
14007
554f62e9
RD
14008SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14009 PyObject *resultobj = 0;
14010 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14011 size_t result;
14012 void *argp1 = 0 ;
14013 int res1 = 0 ;
14014 PyObject *swig_obj[1] ;
14015
14016 if (!args) SWIG_fail;
14017 swig_obj[0] = args;
14018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14019 if (!SWIG_IsOK(res1)) {
14020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14021 }
14022 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14023 {
14024 PyThreadState* __tstate = wxPyBeginAllowThreads();
14025 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14030 return resultobj;
14031fail:
14032 return NULL;
d55e5bfc
RD
14033}
14034
14035
554f62e9
RD
14036SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14037 PyObject *resultobj = 0;
14038 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14039 size_t result;
14040 void *argp1 = 0 ;
14041 int res1 = 0 ;
14042 PyObject *swig_obj[1] ;
14043
14044 if (!args) SWIG_fail;
14045 swig_obj[0] = args;
14046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14047 if (!SWIG_IsOK(res1)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14049 }
14050 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14051 {
14052 PyThreadState* __tstate = wxPyBeginAllowThreads();
14053 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14054 wxPyEndAllowThreads(__tstate);
14055 if (PyErr_Occurred()) SWIG_fail;
14056 }
14057 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14058 return resultobj;
14059fail:
14060 return NULL;
14061}
14062
14063
14064SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14065 PyObject *resultobj = 0;
14066 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14067 size_t arg2 ;
14068 bool result;
14069 void *argp1 = 0 ;
14070 int res1 = 0 ;
14071 size_t val2 ;
14072 int ecode2 = 0 ;
14073 PyObject * obj0 = 0 ;
14074 PyObject * obj1 = 0 ;
14075 char * kwnames[] = {
14076 (char *) "self",(char *) "line", NULL
14077 };
14078
14079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14081 if (!SWIG_IsOK(res1)) {
14082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14083 }
14084 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14085 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14086 if (!SWIG_IsOK(ecode2)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14088 }
14089 arg2 = static_cast< size_t >(val2);
14090 {
14091 PyThreadState* __tstate = wxPyBeginAllowThreads();
14092 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14093 wxPyEndAllowThreads(__tstate);
14094 if (PyErr_Occurred()) SWIG_fail;
14095 }
14096 {
14097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14098 }
14099 return resultobj;
14100fail:
14101 return NULL;
d55e5bfc
RD
14102}
14103
14104
554f62e9
RD
14105SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14106 PyObject *resultobj = 0;
14107 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14108 size_t result;
14109 void *argp1 = 0 ;
14110 int res1 = 0 ;
14111 PyObject *swig_obj[1] ;
14112
14113 if (!args) SWIG_fail;
14114 swig_obj[0] = args;
14115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14116 if (!SWIG_IsOK(res1)) {
14117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14118 }
14119 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14127 return resultobj;
14128fail:
14129 return NULL;
d55e5bfc
RD
14130}
14131
14132
554f62e9
RD
14133SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14134 PyObject *resultobj = 0;
14135 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14136 size_t result;
14137 void *argp1 = 0 ;
14138 int res1 = 0 ;
14139 PyObject *swig_obj[1] ;
14140
14141 if (!args) SWIG_fail;
14142 swig_obj[0] = args;
14143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14144 if (!SWIG_IsOK(res1)) {
14145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14146 }
14147 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14148 {
14149 PyThreadState* __tstate = wxPyBeginAllowThreads();
14150 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14151 wxPyEndAllowThreads(__tstate);
14152 if (PyErr_Occurred()) SWIG_fail;
14153 }
14154 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14155 return resultobj;
14156fail:
14157 return NULL;
14158}
14159
14160
14161SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj = 0;
14163 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14164 size_t arg2 ;
14165 bool arg3 = (bool) false ;
14166 size_t result;
14167 void *argp1 = 0 ;
14168 int res1 = 0 ;
14169 size_t val2 ;
14170 int ecode2 = 0 ;
14171 bool val3 ;
14172 int ecode3 = 0 ;
14173 PyObject * obj0 = 0 ;
14174 PyObject * obj1 = 0 ;
14175 PyObject * obj2 = 0 ;
14176 char * kwnames[] = {
14177 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14178 };
14179
14180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14182 if (!SWIG_IsOK(res1)) {
14183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14184 }
14185 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14186 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14187 if (!SWIG_IsOK(ecode2)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14189 }
14190 arg2 = static_cast< size_t >(val2);
14191 if (obj2) {
14192 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14193 if (!SWIG_IsOK(ecode3)) {
14194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14195 }
14196 arg3 = static_cast< bool >(val3);
14197 }
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14205 return resultobj;
14206fail:
14207 return NULL;
14208}
14209
14210
14211SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj = 0;
14213 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14214 size_t arg2 ;
14215 size_t arg3 ;
14216 int result;
14217 void *argp1 = 0 ;
14218 int res1 = 0 ;
14219 size_t val2 ;
14220 int ecode2 = 0 ;
14221 size_t val3 ;
14222 int ecode3 = 0 ;
14223 PyObject * obj0 = 0 ;
14224 PyObject * obj1 = 0 ;
14225 PyObject * obj2 = 0 ;
14226 char * kwnames[] = {
14227 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14228 };
14229
14230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14232 if (!SWIG_IsOK(res1)) {
14233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14234 }
14235 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14236 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14237 if (!SWIG_IsOK(ecode2)) {
14238 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14239 }
14240 arg2 = static_cast< size_t >(val2);
14241 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14242 if (!SWIG_IsOK(ecode3)) {
14243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14244 }
14245 arg3 = static_cast< size_t >(val3);
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 resultobj = SWIG_From_int(static_cast< int >(result));
14253 return resultobj;
14254fail:
14255 return NULL;
d55e5bfc
RD
14256}
14257
14258
554f62e9
RD
14259SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14260 PyObject *obj;
14261 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14262 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14263 return SWIG_Py_Void();
d55e5bfc
RD
14264}
14265
554f62e9
RD
14266SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14267 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14268}
14269
554f62e9
RD
14270SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14271 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14272 return 1;
d55e5bfc
RD
14273}
14274
14275
554f62e9
RD
14276SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14277 PyObject *pyobj = 0;
14278
14279 {
d55e5bfc 14280#if wxUSE_UNICODE
554f62e9 14281 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14282#else
554f62e9 14283 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
d55e5bfc 14284#endif
554f62e9
RD
14285 }
14286 return pyobj;
14287}
14288
14289
14290SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj = 0;
14292 wxWindow *arg1 = (wxWindow *) 0 ;
14293 int arg2 = (int) wxID_ANY ;
14294 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14295 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14296 wxSize const &arg4_defvalue = wxDefaultSize ;
14297 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14298 long arg5 = (long) 0 ;
14299 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14300 wxString *arg6 = (wxString *) &arg6_defvalue ;
14301 wxPyVListBox *result = 0 ;
14302 void *argp1 = 0 ;
14303 int res1 = 0 ;
14304 int val2 ;
14305 int ecode2 = 0 ;
14306 wxPoint temp3 ;
14307 wxSize temp4 ;
14308 long val5 ;
14309 int ecode5 = 0 ;
14310 bool temp6 = false ;
14311 PyObject * obj0 = 0 ;
14312 PyObject * obj1 = 0 ;
14313 PyObject * obj2 = 0 ;
14314 PyObject * obj3 = 0 ;
14315 PyObject * obj4 = 0 ;
14316 PyObject * obj5 = 0 ;
14317 char * kwnames[] = {
14318 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14319 };
14320
14321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14323 if (!SWIG_IsOK(res1)) {
14324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14325 }
14326 arg1 = reinterpret_cast< wxWindow * >(argp1);
14327 if (obj1) {
14328 ecode2 = SWIG_AsVal_int(obj1, &val2);
14329 if (!SWIG_IsOK(ecode2)) {
14330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14331 }
14332 arg2 = static_cast< int >(val2);
14333 }
14334 if (obj2) {
d55e5bfc 14335 {
554f62e9
RD
14336 arg3 = &temp3;
14337 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 14338 }
554f62e9
RD
14339 }
14340 if (obj3) {
d55e5bfc 14341 {
554f62e9
RD
14342 arg4 = &temp4;
14343 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14344 }
554f62e9
RD
14345 }
14346 if (obj4) {
14347 ecode5 = SWIG_AsVal_long(obj4, &val5);
14348 if (!SWIG_IsOK(ecode5)) {
14349 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14350 }
14351 arg5 = static_cast< long >(val5);
14352 }
14353 if (obj5) {
d55e5bfc 14354 {
554f62e9
RD
14355 arg6 = wxString_in_helper(obj5);
14356 if (arg6 == NULL) SWIG_fail;
14357 temp6 = true;
14358 }
14359 }
14360 {
14361 if (!wxPyCheckForApp()) SWIG_fail;
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14368 {
14369 if (temp6)
14370 delete arg6;
14371 }
14372 return resultobj;
14373fail:
14374 {
14375 if (temp6)
14376 delete arg6;
14377 }
14378 return NULL;
d55e5bfc
RD
14379}
14380
14381
554f62e9
RD
14382SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14383 PyObject *resultobj = 0;
14384 wxPyVListBox *result = 0 ;
14385
14386 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14387 {
14388 if (!wxPyCheckForApp()) SWIG_fail;
14389 PyThreadState* __tstate = wxPyBeginAllowThreads();
14390 result = (wxPyVListBox *)new wxPyVListBox();
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14395 return resultobj;
14396fail:
14397 return NULL;
14398}
14399
14400
14401SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14402 PyObject *resultobj = 0;
14403 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14404 PyObject *arg2 = (PyObject *) 0 ;
14405 PyObject *arg3 = (PyObject *) 0 ;
14406 void *argp1 = 0 ;
14407 int res1 = 0 ;
14408 PyObject * obj0 = 0 ;
14409 PyObject * obj1 = 0 ;
14410 PyObject * obj2 = 0 ;
14411 char * kwnames[] = {
14412 (char *) "self",(char *) "self",(char *) "_class", NULL
14413 };
14414
14415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14417 if (!SWIG_IsOK(res1)) {
14418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14419 }
14420 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14421 arg2 = obj1;
14422 arg3 = obj2;
14423 {
14424 PyThreadState* __tstate = wxPyBeginAllowThreads();
14425 (arg1)->_setCallbackInfo(arg2,arg3);
14426 wxPyEndAllowThreads(__tstate);
14427 if (PyErr_Occurred()) SWIG_fail;
14428 }
14429 resultobj = SWIG_Py_Void();
14430 return resultobj;
14431fail:
14432 return NULL;
14433}
14434
14435
14436SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj = 0;
14438 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14439 wxWindow *arg2 = (wxWindow *) 0 ;
14440 int arg3 = (int) wxID_ANY ;
14441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14443 wxSize const &arg5_defvalue = wxDefaultSize ;
14444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14445 long arg6 = (long) 0 ;
14446 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14447 wxString *arg7 = (wxString *) &arg7_defvalue ;
14448 bool result;
14449 void *argp1 = 0 ;
14450 int res1 = 0 ;
14451 void *argp2 = 0 ;
14452 int res2 = 0 ;
14453 int val3 ;
14454 int ecode3 = 0 ;
14455 wxPoint temp4 ;
14456 wxSize temp5 ;
14457 long val6 ;
14458 int ecode6 = 0 ;
14459 bool temp7 = false ;
14460 PyObject * obj0 = 0 ;
14461 PyObject * obj1 = 0 ;
14462 PyObject * obj2 = 0 ;
14463 PyObject * obj3 = 0 ;
14464 PyObject * obj4 = 0 ;
14465 PyObject * obj5 = 0 ;
14466 PyObject * obj6 = 0 ;
14467 char * kwnames[] = {
14468 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14469 };
14470
14471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14473 if (!SWIG_IsOK(res1)) {
14474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14475 }
14476 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14477 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14478 if (!SWIG_IsOK(res2)) {
14479 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14480 }
14481 arg2 = reinterpret_cast< wxWindow * >(argp2);
14482 if (obj2) {
14483 ecode3 = SWIG_AsVal_int(obj2, &val3);
14484 if (!SWIG_IsOK(ecode3)) {
14485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14486 }
14487 arg3 = static_cast< int >(val3);
14488 }
14489 if (obj3) {
d55e5bfc 14490 {
554f62e9
RD
14491 arg4 = &temp4;
14492 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14493 }
554f62e9
RD
14494 }
14495 if (obj4) {
d55e5bfc 14496 {
554f62e9
RD
14497 arg5 = &temp5;
14498 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 14499 }
554f62e9
RD
14500 }
14501 if (obj5) {
14502 ecode6 = SWIG_AsVal_long(obj5, &val6);
14503 if (!SWIG_IsOK(ecode6)) {
14504 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14505 }
14506 arg6 = static_cast< long >(val6);
14507 }
14508 if (obj6) {
d55e5bfc 14509 {
554f62e9
RD
14510 arg7 = wxString_in_helper(obj6);
14511 if (arg7 == NULL) SWIG_fail;
14512 temp7 = true;
d55e5bfc 14513 }
554f62e9
RD
14514 }
14515 {
14516 PyThreadState* __tstate = wxPyBeginAllowThreads();
14517 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14518 wxPyEndAllowThreads(__tstate);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 {
14522 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14523 }
14524 {
14525 if (temp7)
14526 delete arg7;
14527 }
14528 return resultobj;
14529fail:
14530 {
14531 if (temp7)
14532 delete arg7;
14533 }
14534 return NULL;
d55e5bfc
RD
14535}
14536
14537
554f62e9
RD
14538SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14539 PyObject *resultobj = 0;
14540 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14541 size_t result;
14542 void *argp1 = 0 ;
14543 int res1 = 0 ;
14544 PyObject *swig_obj[1] ;
14545
14546 if (!args) SWIG_fail;
14547 swig_obj[0] = args;
14548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14549 if (!SWIG_IsOK(res1)) {
14550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14551 }
14552 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14553 {
14554 PyThreadState* __tstate = wxPyBeginAllowThreads();
14555 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14556 wxPyEndAllowThreads(__tstate);
14557 if (PyErr_Occurred()) SWIG_fail;
14558 }
14559 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14560 return resultobj;
14561fail:
14562 return NULL;
d55e5bfc
RD
14563}
14564
14565
554f62e9
RD
14566SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14567 PyObject *resultobj = 0;
14568 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14569 bool result;
14570 void *argp1 = 0 ;
14571 int res1 = 0 ;
14572 PyObject *swig_obj[1] ;
14573
14574 if (!args) SWIG_fail;
14575 swig_obj[0] = args;
14576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14577 if (!SWIG_IsOK(res1)) {
14578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14579 }
14580 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14581 {
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
14583 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14584 wxPyEndAllowThreads(__tstate);
14585 if (PyErr_Occurred()) SWIG_fail;
14586 }
14587 {
14588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14589 }
14590 return resultobj;
14591fail:
14592 return NULL;
d55e5bfc
RD
14593}
14594
14595
554f62e9
RD
14596SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14597 PyObject *resultobj = 0;
14598 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14599 int result;
14600 void *argp1 = 0 ;
14601 int res1 = 0 ;
14602 PyObject *swig_obj[1] ;
14603
14604 if (!args) SWIG_fail;
14605 swig_obj[0] = args;
14606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14607 if (!SWIG_IsOK(res1)) {
14608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14609 }
14610 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14614 wxPyEndAllowThreads(__tstate);
14615 if (PyErr_Occurred()) SWIG_fail;
14616 }
14617 resultobj = SWIG_From_int(static_cast< int >(result));
14618 return resultobj;
14619fail:
14620 return NULL;
14621}
14622
14623
14624SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14625 PyObject *resultobj = 0;
14626 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14627 size_t arg2 ;
14628 bool result;
14629 void *argp1 = 0 ;
14630 int res1 = 0 ;
14631 size_t val2 ;
14632 int ecode2 = 0 ;
14633 PyObject * obj0 = 0 ;
14634 PyObject * obj1 = 0 ;
14635 char * kwnames[] = {
14636 (char *) "self",(char *) "item", NULL
14637 };
14638
14639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14641 if (!SWIG_IsOK(res1)) {
14642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14643 }
14644 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14645 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14646 if (!SWIG_IsOK(ecode2)) {
14647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14648 }
14649 arg2 = static_cast< size_t >(val2);
14650 {
14651 PyThreadState* __tstate = wxPyBeginAllowThreads();
14652 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14653 wxPyEndAllowThreads(__tstate);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 {
14657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14658 }
14659 return resultobj;
14660fail:
14661 return NULL;
14662}
14663
14664
14665SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14666 PyObject *resultobj = 0;
14667 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14668 size_t arg2 ;
14669 bool result;
14670 void *argp1 = 0 ;
14671 int res1 = 0 ;
14672 size_t val2 ;
14673 int ecode2 = 0 ;
14674 PyObject * obj0 = 0 ;
14675 PyObject * obj1 = 0 ;
14676 char * kwnames[] = {
14677 (char *) "self",(char *) "item", NULL
14678 };
14679
14680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14682 if (!SWIG_IsOK(res1)) {
14683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14684 }
14685 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14686 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14687 if (!SWIG_IsOK(ecode2)) {
14688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14689 }
14690 arg2 = static_cast< size_t >(val2);
14691 {
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14694 wxPyEndAllowThreads(__tstate);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
14697 {
14698 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14699 }
14700 return resultobj;
14701fail:
14702 return NULL;
d55e5bfc
RD
14703}
14704
14705
554f62e9
RD
14706SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14707 PyObject *resultobj = 0;
14708 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14709 size_t result;
14710 void *argp1 = 0 ;
14711 int res1 = 0 ;
14712 PyObject *swig_obj[1] ;
14713
14714 if (!args) SWIG_fail;
14715 swig_obj[0] = args;
14716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14717 if (!SWIG_IsOK(res1)) {
14718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14719 }
14720 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14721 {
14722 PyThreadState* __tstate = wxPyBeginAllowThreads();
14723 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14728 return resultobj;
14729fail:
14730 return NULL;
d55e5bfc
RD
14731}
14732
14733
554f62e9
RD
14734SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14735 PyObject *resultobj = 0;
14736 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14737 PyObject *result = 0 ;
14738 void *argp1 = 0 ;
14739 int res1 = 0 ;
14740 PyObject *swig_obj[1] ;
14741
14742 if (!args) SWIG_fail;
14743 swig_obj[0] = args;
14744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14745 if (!SWIG_IsOK(res1)) {
14746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14747 }
14748 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14749 {
14750 PyThreadState* __tstate = wxPyBeginAllowThreads();
14751 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14752 wxPyEndAllowThreads(__tstate);
14753 if (PyErr_Occurred()) SWIG_fail;
14754 }
14755 resultobj = result;
14756 return resultobj;
14757fail:
14758 return NULL;
14759}
14760
14761
14762SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14763 PyObject *resultobj = 0;
14764 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14765 unsigned long arg2 ;
14766 PyObject *result = 0 ;
14767 void *argp1 = 0 ;
14768 int res1 = 0 ;
14769 unsigned long val2 ;
14770 int ecode2 = 0 ;
14771 PyObject * obj0 = 0 ;
14772 PyObject * obj1 = 0 ;
14773 char * kwnames[] = {
14774 (char *) "self",(char *) "cookie", NULL
14775 };
14776
14777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14779 if (!SWIG_IsOK(res1)) {
14780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14781 }
14782 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14783 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14784 if (!SWIG_IsOK(ecode2)) {
14785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14786 }
14787 arg2 = static_cast< unsigned long >(val2);
14788 {
14789 PyThreadState* __tstate = wxPyBeginAllowThreads();
14790 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14791 wxPyEndAllowThreads(__tstate);
14792 if (PyErr_Occurred()) SWIG_fail;
14793 }
14794 resultobj = result;
14795 return resultobj;
14796fail:
14797 return NULL;
d55e5bfc
RD
14798}
14799
14800
554f62e9
RD
14801SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14802 PyObject *resultobj = 0;
14803 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14804 wxPoint result;
14805 void *argp1 = 0 ;
14806 int res1 = 0 ;
14807 PyObject *swig_obj[1] ;
14808
14809 if (!args) SWIG_fail;
14810 swig_obj[0] = args;
14811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14812 if (!SWIG_IsOK(res1)) {
14813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14814 }
14815 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14816 {
14817 PyThreadState* __tstate = wxPyBeginAllowThreads();
14818 result = ((wxPyVListBox const *)arg1)->GetMargins();
14819 wxPyEndAllowThreads(__tstate);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14823 return resultobj;
14824fail:
14825 return NULL;
d55e5bfc
RD
14826}
14827
14828
554f62e9
RD
14829SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14830 PyObject *resultobj = 0;
14831 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14832 wxColour *result = 0 ;
14833 void *argp1 = 0 ;
14834 int res1 = 0 ;
14835 PyObject *swig_obj[1] ;
14836
14837 if (!args) SWIG_fail;
14838 swig_obj[0] = args;
14839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14840 if (!SWIG_IsOK(res1)) {
14841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14842 }
14843 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14844 {
14845 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14846 {
554f62e9
RD
14847 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14848 result = (wxColour *) &_result_ref;
093d3ff1 14849 }
554f62e9
RD
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14854 return resultobj;
14855fail:
14856 return NULL;
14857}
14858
14859
14860SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj = 0;
14862 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14863 size_t arg2 ;
14864 void *argp1 = 0 ;
14865 int res1 = 0 ;
14866 size_t val2 ;
14867 int ecode2 = 0 ;
14868 PyObject * obj0 = 0 ;
14869 PyObject * obj1 = 0 ;
14870 char * kwnames[] = {
14871 (char *) "self",(char *) "count", NULL
14872 };
14873
14874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14876 if (!SWIG_IsOK(res1)) {
14877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14878 }
14879 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14880 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14881 if (!SWIG_IsOK(ecode2)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14883 }
14884 arg2 = static_cast< size_t >(val2);
14885 {
14886 PyThreadState* __tstate = wxPyBeginAllowThreads();
14887 (arg1)->SetItemCount(arg2);
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 resultobj = SWIG_Py_Void();
14892 return resultobj;
14893fail:
14894 return NULL;
d55e5bfc
RD
14895}
14896
14897
554f62e9
RD
14898SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14899 PyObject *resultobj = 0;
14900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14901 void *argp1 = 0 ;
14902 int res1 = 0 ;
14903 PyObject *swig_obj[1] ;
14904
14905 if (!args) SWIG_fail;
14906 swig_obj[0] = args;
14907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14908 if (!SWIG_IsOK(res1)) {
14909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14910 }
14911 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14912 {
14913 PyThreadState* __tstate = wxPyBeginAllowThreads();
14914 (arg1)->Clear();
14915 wxPyEndAllowThreads(__tstate);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 resultobj = SWIG_Py_Void();
14919 return resultobj;
14920fail:
14921 return NULL;
14922}
14923
14924
14925SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14926 PyObject *resultobj = 0;
14927 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14928 int arg2 ;
14929 void *argp1 = 0 ;
14930 int res1 = 0 ;
14931 int val2 ;
14932 int ecode2 = 0 ;
14933 PyObject * obj0 = 0 ;
14934 PyObject * obj1 = 0 ;
14935 char * kwnames[] = {
14936 (char *) "self",(char *) "selection", NULL
14937 };
14938
14939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14941 if (!SWIG_IsOK(res1)) {
14942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14943 }
14944 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14945 ecode2 = SWIG_AsVal_int(obj1, &val2);
14946 if (!SWIG_IsOK(ecode2)) {
14947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14948 }
14949 arg2 = static_cast< int >(val2);
14950 {
14951 PyThreadState* __tstate = wxPyBeginAllowThreads();
14952 (arg1)->SetSelection(arg2);
14953 wxPyEndAllowThreads(__tstate);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 resultobj = SWIG_Py_Void();
14957 return resultobj;
14958fail:
14959 return NULL;
14960}
14961
14962
14963SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14964 PyObject *resultobj = 0;
14965 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14966 size_t arg2 ;
14967 bool arg3 = (bool) true ;
14968 bool result;
14969 void *argp1 = 0 ;
14970 int res1 = 0 ;
14971 size_t val2 ;
14972 int ecode2 = 0 ;
14973 bool val3 ;
14974 int ecode3 = 0 ;
14975 PyObject * obj0 = 0 ;
14976 PyObject * obj1 = 0 ;
14977 PyObject * obj2 = 0 ;
14978 char * kwnames[] = {
14979 (char *) "self",(char *) "item",(char *) "select", NULL
14980 };
14981
14982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14984 if (!SWIG_IsOK(res1)) {
14985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14986 }
14987 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14988 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14989 if (!SWIG_IsOK(ecode2)) {
14990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14991 }
14992 arg2 = static_cast< size_t >(val2);
14993 if (obj2) {
14994 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14995 if (!SWIG_IsOK(ecode3)) {
14996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14997 }
14998 arg3 = static_cast< bool >(val3);
14999 }
15000 {
15001 PyThreadState* __tstate = wxPyBeginAllowThreads();
15002 result = (bool)(arg1)->Select(arg2,arg3);
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 {
15007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15008 }
15009 return resultobj;
15010fail:
15011 return NULL;
15012}
15013
15014
15015SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj = 0;
15017 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15018 size_t arg2 ;
15019 size_t arg3 ;
15020 bool result;
15021 void *argp1 = 0 ;
15022 int res1 = 0 ;
15023 size_t val2 ;
15024 int ecode2 = 0 ;
15025 size_t val3 ;
15026 int ecode3 = 0 ;
15027 PyObject * obj0 = 0 ;
15028 PyObject * obj1 = 0 ;
15029 PyObject * obj2 = 0 ;
15030 char * kwnames[] = {
f460c29d 15031 (char *) "self",(char *) "from",(char *) "to", NULL
554f62e9
RD
15032 };
15033
15034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15036 if (!SWIG_IsOK(res1)) {
15037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15038 }
15039 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15040 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15041 if (!SWIG_IsOK(ecode2)) {
15042 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15043 }
15044 arg2 = static_cast< size_t >(val2);
15045 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15046 if (!SWIG_IsOK(ecode3)) {
15047 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15048 }
15049 arg3 = static_cast< size_t >(val3);
15050 {
15051 PyThreadState* __tstate = wxPyBeginAllowThreads();
15052 result = (bool)(arg1)->SelectRange(arg2,arg3);
15053 wxPyEndAllowThreads(__tstate);
15054 if (PyErr_Occurred()) SWIG_fail;
15055 }
15056 {
15057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15058 }
15059 return resultobj;
15060fail:
15061 return NULL;
15062}
15063
15064
15065SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj = 0;
15067 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15068 size_t arg2 ;
15069 void *argp1 = 0 ;
15070 int res1 = 0 ;
15071 size_t val2 ;
15072 int ecode2 = 0 ;
15073 PyObject * obj0 = 0 ;
15074 PyObject * obj1 = 0 ;
15075 char * kwnames[] = {
15076 (char *) "self",(char *) "item", NULL
15077 };
15078
15079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15081 if (!SWIG_IsOK(res1)) {
15082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15083 }
15084 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15085 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15086 if (!SWIG_IsOK(ecode2)) {
15087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15088 }
15089 arg2 = static_cast< size_t >(val2);
15090 {
15091 PyThreadState* __tstate = wxPyBeginAllowThreads();
15092 (arg1)->Toggle(arg2);
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 resultobj = SWIG_Py_Void();
15097 return resultobj;
15098fail:
15099 return NULL;
d55e5bfc
RD
15100}
15101
15102
554f62e9
RD
15103SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15104 PyObject *resultobj = 0;
15105 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15106 bool result;
15107 void *argp1 = 0 ;
15108 int res1 = 0 ;
15109 PyObject *swig_obj[1] ;
15110
15111 if (!args) SWIG_fail;
15112 swig_obj[0] = args;
15113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15114 if (!SWIG_IsOK(res1)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15116 }
15117 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15118 {
15119 PyThreadState* __tstate = wxPyBeginAllowThreads();
15120 result = (bool)(arg1)->SelectAll();
15121 wxPyEndAllowThreads(__tstate);
15122 if (PyErr_Occurred()) SWIG_fail;
15123 }
15124 {
15125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15126 }
15127 return resultobj;
15128fail:
15129 return NULL;
d55e5bfc
RD
15130}
15131
15132
554f62e9
RD
15133SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15134 PyObject *resultobj = 0;
15135 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15136 bool result;
15137 void *argp1 = 0 ;
15138 int res1 = 0 ;
15139 PyObject *swig_obj[1] ;
15140
15141 if (!args) SWIG_fail;
15142 swig_obj[0] = args;
15143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15144 if (!SWIG_IsOK(res1)) {
15145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15146 }
15147 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15148 {
15149 PyThreadState* __tstate = wxPyBeginAllowThreads();
15150 result = (bool)(arg1)->DeselectAll();
15151 wxPyEndAllowThreads(__tstate);
15152 if (PyErr_Occurred()) SWIG_fail;
15153 }
15154 {
15155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15156 }
15157 return resultobj;
15158fail:
15159 return NULL;
15160}
15161
15162
15163SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15164 PyObject *resultobj = 0;
15165 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15166 wxPoint *arg2 = 0 ;
15167 void *argp1 = 0 ;
15168 int res1 = 0 ;
15169 wxPoint temp2 ;
15170 PyObject * obj0 = 0 ;
15171 PyObject * obj1 = 0 ;
15172 char * kwnames[] = {
15173 (char *) "self",(char *) "pt", NULL
15174 };
15175
15176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15178 if (!SWIG_IsOK(res1)) {
15179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15180 }
15181 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15182 {
15183 arg2 = &temp2;
15184 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15185 }
15186 {
15187 PyThreadState* __tstate = wxPyBeginAllowThreads();
15188 (arg1)->SetMargins((wxPoint const &)*arg2);
15189 wxPyEndAllowThreads(__tstate);
15190 if (PyErr_Occurred()) SWIG_fail;
15191 }
15192 resultobj = SWIG_Py_Void();
15193 return resultobj;
15194fail:
15195 return NULL;
15196}
15197
15198
15199SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15200 PyObject *resultobj = 0;
15201 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15202 int arg2 ;
15203 int arg3 ;
15204 void *argp1 = 0 ;
15205 int res1 = 0 ;
15206 int val2 ;
15207 int ecode2 = 0 ;
15208 int val3 ;
15209 int ecode3 = 0 ;
15210 PyObject * obj0 = 0 ;
15211 PyObject * obj1 = 0 ;
15212 PyObject * obj2 = 0 ;
15213 char * kwnames[] = {
15214 (char *) "self",(char *) "x",(char *) "y", NULL
15215 };
15216
15217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15219 if (!SWIG_IsOK(res1)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15221 }
15222 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15223 ecode2 = SWIG_AsVal_int(obj1, &val2);
15224 if (!SWIG_IsOK(ecode2)) {
15225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15226 }
15227 arg2 = static_cast< int >(val2);
15228 ecode3 = SWIG_AsVal_int(obj2, &val3);
15229 if (!SWIG_IsOK(ecode3)) {
15230 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15231 }
15232 arg3 = static_cast< int >(val3);
15233 {
15234 PyThreadState* __tstate = wxPyBeginAllowThreads();
15235 (arg1)->SetMargins(arg2,arg3);
15236 wxPyEndAllowThreads(__tstate);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 }
15239 resultobj = SWIG_Py_Void();
15240 return resultobj;
15241fail:
15242 return NULL;
15243}
15244
15245
15246SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15247 PyObject *resultobj = 0;
15248 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15249 wxColour *arg2 = 0 ;
15250 void *argp1 = 0 ;
15251 int res1 = 0 ;
15252 wxColour temp2 ;
15253 PyObject * obj0 = 0 ;
15254 PyObject * obj1 = 0 ;
15255 char * kwnames[] = {
15256 (char *) "self",(char *) "col", NULL
15257 };
15258
15259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15261 if (!SWIG_IsOK(res1)) {
15262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15263 }
15264 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15265 {
15266 arg2 = &temp2;
15267 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15268 }
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 resultobj = SWIG_Py_Void();
15276 return resultobj;
15277fail:
15278 return NULL;
15279}
15280
15281
1c71765a
RD
15282SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj = 0;
15284 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15285 wxDC *arg2 = 0 ;
15286 wxRect *arg3 = 0 ;
15287 size_t arg4 ;
15288 void *argp1 = 0 ;
15289 int res1 = 0 ;
15290 void *argp2 = 0 ;
15291 int res2 = 0 ;
15292 wxRect temp3 ;
15293 size_t val4 ;
15294 int ecode4 = 0 ;
15295 PyObject * obj0 = 0 ;
15296 PyObject * obj1 = 0 ;
15297 PyObject * obj2 = 0 ;
15298 PyObject * obj3 = 0 ;
15299 char * kwnames[] = {
15300 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15301 };
15302
15303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15305 if (!SWIG_IsOK(res1)) {
15306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15307 }
15308 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15309 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15310 if (!SWIG_IsOK(res2)) {
15311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15312 }
15313 if (!argp2) {
15314 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15315 }
15316 arg2 = reinterpret_cast< wxDC * >(argp2);
15317 {
15318 arg3 = &temp3;
15319 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15320 }
15321 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15322 if (!SWIG_IsOK(ecode4)) {
15323 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15324 }
15325 arg4 = static_cast< size_t >(val4);
15326 {
15327 PyThreadState* __tstate = wxPyBeginAllowThreads();
15328 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15329 wxPyEndAllowThreads(__tstate);
15330 if (PyErr_Occurred()) SWIG_fail;
15331 }
15332 resultobj = SWIG_Py_Void();
15333 return resultobj;
15334fail:
15335 return NULL;
15336}
15337
15338
15339SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15340 PyObject *resultobj = 0;
15341 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15342 wxDC *arg2 = 0 ;
15343 wxRect *arg3 = 0 ;
15344 size_t arg4 ;
15345 void *argp1 = 0 ;
15346 int res1 = 0 ;
15347 void *argp2 = 0 ;
15348 int res2 = 0 ;
15349 wxRect temp3 ;
15350 size_t val4 ;
15351 int ecode4 = 0 ;
15352 PyObject * obj0 = 0 ;
15353 PyObject * obj1 = 0 ;
15354 PyObject * obj2 = 0 ;
15355 PyObject * obj3 = 0 ;
15356 char * kwnames[] = {
15357 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15358 };
15359
15360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15362 if (!SWIG_IsOK(res1)) {
15363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15364 }
15365 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15366 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15367 if (!SWIG_IsOK(res2)) {
15368 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15369 }
15370 if (!argp2) {
15371 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15372 }
15373 arg2 = reinterpret_cast< wxDC * >(argp2);
15374 {
15375 arg3 = &temp3;
15376 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15377 }
15378 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15379 if (!SWIG_IsOK(ecode4)) {
15380 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15381 }
15382 arg4 = static_cast< size_t >(val4);
15383 {
15384 PyThreadState* __tstate = wxPyBeginAllowThreads();
15385 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 resultobj = SWIG_Py_Void();
15390 return resultobj;
15391fail:
15392 return NULL;
15393}
15394
15395
554f62e9
RD
15396SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15397 PyObject *obj;
15398 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15399 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15400 return SWIG_Py_Void();
15401}
15402
15403SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15404 return SWIG_Python_InitShadowInstance(args);
15405}
15406
15407SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15408 PyObject *resultobj = 0;
15409 wxWindow *arg1 = (wxWindow *) 0 ;
15410 int arg2 = (int) wxID_ANY ;
15411 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15412 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15413 wxSize const &arg4_defvalue = wxDefaultSize ;
15414 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15415 long arg5 = (long) 0 ;
15416 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15417 wxString *arg6 = (wxString *) &arg6_defvalue ;
15418 wxPyHtmlListBox *result = 0 ;
15419 void *argp1 = 0 ;
15420 int res1 = 0 ;
15421 int val2 ;
15422 int ecode2 = 0 ;
15423 wxPoint temp3 ;
15424 wxSize temp4 ;
15425 long val5 ;
15426 int ecode5 = 0 ;
15427 bool temp6 = false ;
15428 PyObject * obj0 = 0 ;
15429 PyObject * obj1 = 0 ;
15430 PyObject * obj2 = 0 ;
15431 PyObject * obj3 = 0 ;
15432 PyObject * obj4 = 0 ;
15433 PyObject * obj5 = 0 ;
15434 char * kwnames[] = {
15435 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15436 };
15437
15438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15440 if (!SWIG_IsOK(res1)) {
15441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15442 }
15443 arg1 = reinterpret_cast< wxWindow * >(argp1);
15444 if (obj1) {
15445 ecode2 = SWIG_AsVal_int(obj1, &val2);
15446 if (!SWIG_IsOK(ecode2)) {
15447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15448 }
15449 arg2 = static_cast< int >(val2);
15450 }
15451 if (obj2) {
093d3ff1 15452 {
554f62e9
RD
15453 arg3 = &temp3;
15454 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 15455 }
554f62e9
RD
15456 }
15457 if (obj3) {
d55e5bfc 15458 {
554f62e9
RD
15459 arg4 = &temp4;
15460 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15461 }
554f62e9
RD
15462 }
15463 if (obj4) {
15464 ecode5 = SWIG_AsVal_long(obj4, &val5);
15465 if (!SWIG_IsOK(ecode5)) {
15466 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15467 }
15468 arg5 = static_cast< long >(val5);
15469 }
15470 if (obj5) {
d55e5bfc 15471 {
554f62e9
RD
15472 arg6 = wxString_in_helper(obj5);
15473 if (arg6 == NULL) SWIG_fail;
15474 temp6 = true;
15475 }
15476 }
15477 {
15478 if (!wxPyCheckForApp()) SWIG_fail;
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15485 {
15486 if (temp6)
15487 delete arg6;
15488 }
15489 return resultobj;
15490fail:
15491 {
15492 if (temp6)
15493 delete arg6;
15494 }
15495 return NULL;
d55e5bfc
RD
15496}
15497
15498
554f62e9
RD
15499SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15500 PyObject *resultobj = 0;
15501 wxPyHtmlListBox *result = 0 ;
15502
15503 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15504 {
15505 if (!wxPyCheckForApp()) SWIG_fail;
15506 PyThreadState* __tstate = wxPyBeginAllowThreads();
15507 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15508 wxPyEndAllowThreads(__tstate);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15512 return resultobj;
15513fail:
15514 return NULL;
15515}
15516
15517
15518SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj = 0;
15520 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15521 PyObject *arg2 = (PyObject *) 0 ;
15522 PyObject *arg3 = (PyObject *) 0 ;
15523 void *argp1 = 0 ;
15524 int res1 = 0 ;
15525 PyObject * obj0 = 0 ;
15526 PyObject * obj1 = 0 ;
15527 PyObject * obj2 = 0 ;
15528 char * kwnames[] = {
15529 (char *) "self",(char *) "self",(char *) "_class", NULL
15530 };
15531
15532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15534 if (!SWIG_IsOK(res1)) {
15535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15536 }
15537 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15538 arg2 = obj1;
15539 arg3 = obj2;
15540 {
15541 PyThreadState* __tstate = wxPyBeginAllowThreads();
15542 (arg1)->_setCallbackInfo(arg2,arg3);
15543 wxPyEndAllowThreads(__tstate);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 resultobj = SWIG_Py_Void();
15547 return resultobj;
15548fail:
15549 return NULL;
15550}
15551
15552
15553SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj = 0;
15555 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15556 wxWindow *arg2 = (wxWindow *) 0 ;
15557 int arg3 = (int) wxID_ANY ;
15558 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15559 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15560 wxSize const &arg5_defvalue = wxDefaultSize ;
15561 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15562 long arg6 = (long) 0 ;
15563 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15564 wxString *arg7 = (wxString *) &arg7_defvalue ;
15565 bool result;
15566 void *argp1 = 0 ;
15567 int res1 = 0 ;
15568 void *argp2 = 0 ;
15569 int res2 = 0 ;
15570 int val3 ;
15571 int ecode3 = 0 ;
15572 wxPoint temp4 ;
15573 wxSize temp5 ;
15574 long val6 ;
15575 int ecode6 = 0 ;
15576 bool temp7 = false ;
15577 PyObject * obj0 = 0 ;
15578 PyObject * obj1 = 0 ;
15579 PyObject * obj2 = 0 ;
15580 PyObject * obj3 = 0 ;
15581 PyObject * obj4 = 0 ;
15582 PyObject * obj5 = 0 ;
15583 PyObject * obj6 = 0 ;
15584 char * kwnames[] = {
15585 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15586 };
15587
15588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15590 if (!SWIG_IsOK(res1)) {
15591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15592 }
15593 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15594 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15595 if (!SWIG_IsOK(res2)) {
15596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15597 }
15598 arg2 = reinterpret_cast< wxWindow * >(argp2);
15599 if (obj2) {
15600 ecode3 = SWIG_AsVal_int(obj2, &val3);
15601 if (!SWIG_IsOK(ecode3)) {
15602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15603 }
15604 arg3 = static_cast< int >(val3);
15605 }
15606 if (obj3) {
093d3ff1 15607 {
554f62e9
RD
15608 arg4 = &temp4;
15609 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15610 }
554f62e9
RD
15611 }
15612 if (obj4) {
d55e5bfc 15613 {
554f62e9
RD
15614 arg5 = &temp5;
15615 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15616 }
554f62e9
RD
15617 }
15618 if (obj5) {
15619 ecode6 = SWIG_AsVal_long(obj5, &val6);
15620 if (!SWIG_IsOK(ecode6)) {
15621 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15622 }
15623 arg6 = static_cast< long >(val6);
15624 }
15625 if (obj6) {
093d3ff1 15626 {
554f62e9
RD
15627 arg7 = wxString_in_helper(obj6);
15628 if (arg7 == NULL) SWIG_fail;
15629 temp7 = true;
093d3ff1 15630 }
554f62e9
RD
15631 }
15632 {
15633 PyThreadState* __tstate = wxPyBeginAllowThreads();
15634 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 {
15639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15640 }
15641 {
15642 if (temp7)
15643 delete arg7;
15644 }
15645 return resultobj;
15646fail:
15647 {
15648 if (temp7)
15649 delete arg7;
15650 }
15651 return NULL;
15652}
15653
15654
15655SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15656 PyObject *resultobj = 0;
15657 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15658 size_t arg2 ;
15659 void *argp1 = 0 ;
15660 int res1 = 0 ;
15661 size_t val2 ;
15662 int ecode2 = 0 ;
15663 PyObject * obj0 = 0 ;
15664 PyObject * obj1 = 0 ;
15665 char * kwnames[] = {
15666 (char *) "self",(char *) "count", NULL
15667 };
15668
15669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15671 if (!SWIG_IsOK(res1)) {
15672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15673 }
15674 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15675 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15676 if (!SWIG_IsOK(ecode2)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15678 }
15679 arg2 = static_cast< size_t >(val2);
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 (arg1)->SetItemCount(arg2);
15683 wxPyEndAllowThreads(__tstate);
15684 if (PyErr_Occurred()) SWIG_fail;
15685 }
15686 resultobj = SWIG_Py_Void();
15687 return resultobj;
15688fail:
15689 return NULL;
d55e5bfc
RD
15690}
15691
15692
554f62e9
RD
15693SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15694 PyObject *resultobj = 0;
15695 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15696 wxFileSystem *result = 0 ;
15697 void *argp1 = 0 ;
15698 int res1 = 0 ;
15699 PyObject *swig_obj[1] ;
15700
15701 if (!args) SWIG_fail;
15702 swig_obj[0] = args;
15703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15704 if (!SWIG_IsOK(res1)) {
15705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15706 }
15707 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15708 {
15709 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15710 {
554f62e9
RD
15711 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15712 result = (wxFileSystem *) &_result_ref;
093d3ff1 15713 }
554f62e9
RD
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15718 return resultobj;
15719fail:
15720 return NULL;
d55e5bfc
RD
15721}
15722
15723
e9d6f3a4
RD
15724SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj = 0;
15726 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15727 size_t arg2 ;
15728 wxHtmlLinkInfo *arg3 = 0 ;
15729 void *argp1 = 0 ;
15730 int res1 = 0 ;
15731 size_t val2 ;
15732 int ecode2 = 0 ;
15733 void *argp3 = 0 ;
15734 int res3 = 0 ;
15735 PyObject * obj0 = 0 ;
15736 PyObject * obj1 = 0 ;
15737 PyObject * obj2 = 0 ;
15738 char * kwnames[] = {
15739 (char *) "self",(char *) "n",(char *) "link", NULL
15740 };
15741
15742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15744 if (!SWIG_IsOK(res1)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15746 }
15747 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15748 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15749 if (!SWIG_IsOK(ecode2)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15751 }
15752 arg2 = static_cast< size_t >(val2);
15753 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15754 if (!SWIG_IsOK(res3)) {
15755 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15756 }
15757 if (!argp3) {
15758 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15759 }
15760 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15761 {
15762 PyThreadState* __tstate = wxPyBeginAllowThreads();
15763 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
15767 resultobj = SWIG_Py_Void();
15768 return resultobj;
15769fail:
15770 return NULL;
15771}
15772
15773
554f62e9
RD
15774SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15775 PyObject *obj;
15776 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15777 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15778 return SWIG_Py_Void();
d55e5bfc
RD
15779}
15780
554f62e9
RD
15781SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15782 return SWIG_Python_InitShadowInstance(args);
15783}
d55e5bfc 15784
554f62e9
RD
15785SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15786 PyObject *resultobj = 0;
15787 wxPyTaskBarIcon *result = 0 ;
15788
15789 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15790 {
15791 if (!wxPyCheckForApp()) SWIG_fail;
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15798 return resultobj;
15799fail:
15800 return NULL;
d55e5bfc
RD
15801}
15802
15803
554f62e9
RD
15804SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15805 PyObject *resultobj = 0;
15806 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15807 void *argp1 = 0 ;
15808 int res1 = 0 ;
15809 PyObject *swig_obj[1] ;
15810
15811 if (!args) SWIG_fail;
15812 swig_obj[0] = args;
15813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15814 if (!SWIG_IsOK(res1)) {
15815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15816 }
15817 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15818 {
15819 PyThreadState* __tstate = wxPyBeginAllowThreads();
15820 delete arg1;
d55e5bfc 15821
554f62e9
RD
15822 wxPyEndAllowThreads(__tstate);
15823 if (PyErr_Occurred()) SWIG_fail;
15824 }
15825 resultobj = SWIG_Py_Void();
15826 return resultobj;
15827fail:
15828 return NULL;
15829}
15830
15831
15832SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15833 PyObject *resultobj = 0;
15834 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15835 PyObject *arg2 = (PyObject *) 0 ;
15836 PyObject *arg3 = (PyObject *) 0 ;
15837 int arg4 ;
15838 void *argp1 = 0 ;
15839 int res1 = 0 ;
15840 int val4 ;
15841 int ecode4 = 0 ;
15842 PyObject * obj0 = 0 ;
15843 PyObject * obj1 = 0 ;
15844 PyObject * obj2 = 0 ;
15845 PyObject * obj3 = 0 ;
15846 char * kwnames[] = {
15847 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15848 };
15849
15850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15852 if (!SWIG_IsOK(res1)) {
15853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15854 }
15855 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15856 arg2 = obj1;
15857 arg3 = obj2;
15858 ecode4 = SWIG_AsVal_int(obj3, &val4);
15859 if (!SWIG_IsOK(ecode4)) {
15860 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15861 }
15862 arg4 = static_cast< int >(val4);
15863 {
15864 PyThreadState* __tstate = wxPyBeginAllowThreads();
15865 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 resultobj = SWIG_Py_Void();
15870 return resultobj;
15871fail:
15872 return NULL;
d55e5bfc
RD
15873}
15874
15875
554f62e9
RD
15876SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15877 PyObject *resultobj = 0;
15878 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15879 void *argp1 = 0 ;
15880 int res1 = 0 ;
15881 PyObject *swig_obj[1] ;
15882
15883 if (!args) SWIG_fail;
15884 swig_obj[0] = args;
15885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15886 if (!SWIG_IsOK(res1)) {
15887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15888 }
15889 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 wxPyTaskBarIcon_Destroy(arg1);
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 resultobj = SWIG_Py_Void();
15897 return resultobj;
15898fail:
15899 return NULL;
d55e5bfc
RD
15900}
15901
15902
554f62e9
RD
15903SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15904 PyObject *resultobj = 0;
15905 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15906 bool result;
15907 void *argp1 = 0 ;
15908 int res1 = 0 ;
15909 PyObject *swig_obj[1] ;
15910
15911 if (!args) SWIG_fail;
15912 swig_obj[0] = args;
15913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15914 if (!SWIG_IsOK(res1)) {
15915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15916 }
15917 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15918 {
15919 PyThreadState* __tstate = wxPyBeginAllowThreads();
15920 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15921 wxPyEndAllowThreads(__tstate);
15922 if (PyErr_Occurred()) SWIG_fail;
15923 }
15924 {
15925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15926 }
15927 return resultobj;
15928fail:
15929 return NULL;
d55e5bfc
RD
15930}
15931
15932
554f62e9
RD
15933SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15934 PyObject *resultobj = 0;
15935 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15936 bool result;
15937 void *argp1 = 0 ;
15938 int res1 = 0 ;
15939 PyObject *swig_obj[1] ;
15940
15941 if (!args) SWIG_fail;
15942 swig_obj[0] = args;
15943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15944 if (!SWIG_IsOK(res1)) {
15945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15946 }
15947 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15951 wxPyEndAllowThreads(__tstate);
15952 if (PyErr_Occurred()) SWIG_fail;
15953 }
15954 {
15955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15956 }
15957 return resultobj;
15958fail:
15959 return NULL;
15960}
15961
15962
15963SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj = 0;
15965 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15966 wxIcon *arg2 = 0 ;
15967 wxString const &arg3_defvalue = wxPyEmptyString ;
15968 wxString *arg3 = (wxString *) &arg3_defvalue ;
15969 bool result;
15970 void *argp1 = 0 ;
15971 int res1 = 0 ;
15972 void *argp2 = 0 ;
15973 int res2 = 0 ;
15974 bool temp3 = false ;
15975 PyObject * obj0 = 0 ;
15976 PyObject * obj1 = 0 ;
15977 PyObject * obj2 = 0 ;
15978 char * kwnames[] = {
15979 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15980 };
15981
15982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15984 if (!SWIG_IsOK(res1)) {
15985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15986 }
15987 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15988 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15989 if (!SWIG_IsOK(res2)) {
15990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15991 }
15992 if (!argp2) {
15993 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15994 }
15995 arg2 = reinterpret_cast< wxIcon * >(argp2);
15996 if (obj2) {
093d3ff1 15997 {
554f62e9
RD
15998 arg3 = wxString_in_helper(obj2);
15999 if (arg3 == NULL) SWIG_fail;
16000 temp3 = true;
093d3ff1 16001 }
554f62e9
RD
16002 }
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16006 wxPyEndAllowThreads(__tstate);
16007 if (PyErr_Occurred()) SWIG_fail;
16008 }
16009 {
16010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16011 }
16012 {
16013 if (temp3)
16014 delete arg3;
16015 }
16016 return resultobj;
16017fail:
16018 {
16019 if (temp3)
16020 delete arg3;
16021 }
16022 return NULL;
d55e5bfc
RD
16023}
16024
16025
554f62e9
RD
16026SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16027 PyObject *resultobj = 0;
16028 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16029 bool result;
16030 void *argp1 = 0 ;
16031 int res1 = 0 ;
16032 PyObject *swig_obj[1] ;
16033
16034 if (!args) SWIG_fail;
16035 swig_obj[0] = args;
16036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16037 if (!SWIG_IsOK(res1)) {
16038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16039 }
16040 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16041 {
16042 PyThreadState* __tstate = wxPyBeginAllowThreads();
16043 result = (bool)(arg1)->RemoveIcon();
16044 wxPyEndAllowThreads(__tstate);
16045 if (PyErr_Occurred()) SWIG_fail;
16046 }
16047 {
16048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16049 }
16050 return resultobj;
16051fail:
16052 return NULL;
16053}
16054
16055
16056SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16057 PyObject *resultobj = 0;
16058 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16059 wxMenu *arg2 = (wxMenu *) 0 ;
16060 bool result;
16061 void *argp1 = 0 ;
16062 int res1 = 0 ;
16063 void *argp2 = 0 ;
16064 int res2 = 0 ;
16065 PyObject * obj0 = 0 ;
16066 PyObject * obj1 = 0 ;
16067 char * kwnames[] = {
16068 (char *) "self",(char *) "menu", NULL
16069 };
16070
16071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16073 if (!SWIG_IsOK(res1)) {
16074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16075 }
16076 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16077 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16078 if (!SWIG_IsOK(res2)) {
16079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16080 }
16081 arg2 = reinterpret_cast< wxMenu * >(argp2);
16082 {
16083 PyThreadState* __tstate = wxPyBeginAllowThreads();
16084 result = (bool)(arg1)->PopupMenu(arg2);
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 {
16089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16090 }
16091 return resultobj;
16092fail:
16093 return NULL;
d55e5bfc
RD
16094}
16095
16096
554f62e9
RD
16097SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16098 PyObject *obj;
16099 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16100 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16101 return SWIG_Py_Void();
d55e5bfc
RD
16102}
16103
554f62e9
RD
16104SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16105 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16106}
16107
554f62e9
RD
16108SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16109 PyObject *resultobj = 0;
16110 wxEventType arg1 ;
16111 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16112 wxTaskBarIconEvent *result = 0 ;
16113 int val1 ;
16114 int ecode1 = 0 ;
16115 void *argp2 = 0 ;
16116 int res2 = 0 ;
16117 PyObject * obj0 = 0 ;
16118 PyObject * obj1 = 0 ;
16119 char * kwnames[] = {
16120 (char *) "evtType",(char *) "tbIcon", NULL
16121 };
16122
16123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16124 ecode1 = SWIG_AsVal_int(obj0, &val1);
16125 if (!SWIG_IsOK(ecode1)) {
16126 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16127 }
16128 arg1 = static_cast< wxEventType >(val1);
16129 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16130 if (!SWIG_IsOK(res2)) {
16131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16132 }
16133 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16134 {
16135 PyThreadState* __tstate = wxPyBeginAllowThreads();
16136 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16137 wxPyEndAllowThreads(__tstate);
16138 if (PyErr_Occurred()) SWIG_fail;
16139 }
16140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16141 return resultobj;
16142fail:
16143 return NULL;
d55e5bfc
RD
16144}
16145
16146
554f62e9
RD
16147SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16148 PyObject *obj;
16149 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16150 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16151 return SWIG_Py_Void();
d55e5bfc
RD
16152}
16153
554f62e9
RD
16154SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16155 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16156}
16157
554f62e9
RD
16158SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16159 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16160 return 1;
d55e5bfc
RD
16161}
16162
16163
554f62e9
RD
16164SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16165 PyObject *pyobj = 0;
16166
16167 {
16168#if wxUSE_UNICODE
16169 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16170#else
16171 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16172#endif
16173 }
16174 return pyobj;
d55e5bfc
RD
16175}
16176
16177
554f62e9
RD
16178SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16179 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16180 return 1;
d55e5bfc
RD
16181}
16182
16183
554f62e9
RD
16184SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16185 PyObject *pyobj = 0;
16186
16187 {
16188#if wxUSE_UNICODE
16189 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16190#else
16191 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16192#endif
16193 }
16194 return pyobj;
d55e5bfc
RD
16195}
16196
16197
554f62e9
RD
16198SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16199 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16200 return 1;
d55e5bfc
RD
16201}
16202
16203
554f62e9
RD
16204SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16205 PyObject *pyobj = 0;
16206
16207 {
16208#if wxUSE_UNICODE
16209 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16210#else
16211 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16212#endif
16213 }
16214 return pyobj;
d55e5bfc
RD
16215}
16216
16217
554f62e9
RD
16218SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16219 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16220 return 1;
d55e5bfc
RD
16221}
16222
16223
554f62e9
RD
16224SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16225 PyObject *pyobj = 0;
16226
16227 {
16228#if wxUSE_UNICODE
16229 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16230#else
16231 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16232#endif
16233 }
16234 return pyobj;
d55e5bfc
RD
16235}
16236
16237
554f62e9
RD
16238SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16239 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16240 return 1;
d55e5bfc
RD
16241}
16242
16243
554f62e9
RD
16244SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16245 PyObject *pyobj = 0;
16246
16247 {
16248#if wxUSE_UNICODE
16249 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16250#else
16251 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16252#endif
16253 }
16254 return pyobj;
d55e5bfc
RD
16255}
16256
16257
554f62e9
RD
16258SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16259 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16260 return 1;
d55e5bfc
RD
16261}
16262
16263
554f62e9
RD
16264SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16265 PyObject *pyobj = 0;
16266
16267 {
16268#if wxUSE_UNICODE
16269 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16270#else
16271 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16272#endif
16273 }
16274 return pyobj;
d55e5bfc
RD
16275}
16276
16277
554f62e9
RD
16278SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16279 PyObject *resultobj = 0;
16280 wxColourData *result = 0 ;
16281
16282 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 result = (wxColourData *)new wxColourData();
16286 wxPyEndAllowThreads(__tstate);
16287 if (PyErr_Occurred()) SWIG_fail;
16288 }
16289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16290 return resultobj;
16291fail:
16292 return NULL;
d55e5bfc
RD
16293}
16294
16295
554f62e9
RD
16296SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16297 PyObject *resultobj = 0;
16298 wxColourData *arg1 = (wxColourData *) 0 ;
16299 void *argp1 = 0 ;
16300 int res1 = 0 ;
16301 PyObject *swig_obj[1] ;
16302
16303 if (!args) SWIG_fail;
16304 swig_obj[0] = args;
16305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16306 if (!SWIG_IsOK(res1)) {
16307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16308 }
16309 arg1 = reinterpret_cast< wxColourData * >(argp1);
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 delete arg1;
d55e5bfc 16313
554f62e9
RD
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 resultobj = SWIG_Py_Void();
16318 return resultobj;
16319fail:
16320 return NULL;
d55e5bfc
RD
16321}
16322
16323
554f62e9
RD
16324SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16325 PyObject *resultobj = 0;
16326 wxColourData *arg1 = (wxColourData *) 0 ;
16327 bool result;
16328 void *argp1 = 0 ;
16329 int res1 = 0 ;
16330 PyObject *swig_obj[1] ;
16331
16332 if (!args) SWIG_fail;
16333 swig_obj[0] = args;
16334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16335 if (!SWIG_IsOK(res1)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16337 }
16338 arg1 = reinterpret_cast< wxColourData * >(argp1);
16339 {
16340 PyThreadState* __tstate = wxPyBeginAllowThreads();
16341 result = (bool)(arg1)->GetChooseFull();
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 {
16346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16347 }
16348 return resultobj;
16349fail:
16350 return NULL;
d55e5bfc
RD
16351}
16352
16353
554f62e9
RD
16354SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16355 PyObject *resultobj = 0;
16356 wxColourData *arg1 = (wxColourData *) 0 ;
16357 wxColour result;
16358 void *argp1 = 0 ;
16359 int res1 = 0 ;
16360 PyObject *swig_obj[1] ;
16361
16362 if (!args) SWIG_fail;
16363 swig_obj[0] = args;
16364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16365 if (!SWIG_IsOK(res1)) {
16366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16367 }
16368 arg1 = reinterpret_cast< wxColourData * >(argp1);
16369 {
16370 PyThreadState* __tstate = wxPyBeginAllowThreads();
16371 result = (arg1)->GetColour();
16372 wxPyEndAllowThreads(__tstate);
16373 if (PyErr_Occurred()) SWIG_fail;
16374 }
16375 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16376 return resultobj;
16377fail:
16378 return NULL;
16379}
16380
16381
16382SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16383 PyObject *resultobj = 0;
16384 wxColourData *arg1 = (wxColourData *) 0 ;
16385 int arg2 ;
16386 wxColour result;
16387 void *argp1 = 0 ;
16388 int res1 = 0 ;
16389 int val2 ;
16390 int ecode2 = 0 ;
16391 PyObject * obj0 = 0 ;
16392 PyObject * obj1 = 0 ;
16393 char * kwnames[] = {
16394 (char *) "self",(char *) "i", NULL
16395 };
16396
16397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16399 if (!SWIG_IsOK(res1)) {
16400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16401 }
16402 arg1 = reinterpret_cast< wxColourData * >(argp1);
16403 ecode2 = SWIG_AsVal_int(obj1, &val2);
16404 if (!SWIG_IsOK(ecode2)) {
16405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16406 }
16407 arg2 = static_cast< int >(val2);
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 result = (arg1)->GetCustomColour(arg2);
16411 wxPyEndAllowThreads(__tstate);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16415 return resultobj;
16416fail:
16417 return NULL;
16418}
16419
16420
16421SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16422 PyObject *resultobj = 0;
16423 wxColourData *arg1 = (wxColourData *) 0 ;
16424 int arg2 ;
16425 void *argp1 = 0 ;
16426 int res1 = 0 ;
16427 int val2 ;
16428 int ecode2 = 0 ;
16429 PyObject * obj0 = 0 ;
16430 PyObject * obj1 = 0 ;
16431 char * kwnames[] = {
16432 (char *) "self",(char *) "flag", NULL
16433 };
16434
16435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16437 if (!SWIG_IsOK(res1)) {
16438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16439 }
16440 arg1 = reinterpret_cast< wxColourData * >(argp1);
16441 ecode2 = SWIG_AsVal_int(obj1, &val2);
16442 if (!SWIG_IsOK(ecode2)) {
16443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16444 }
16445 arg2 = static_cast< int >(val2);
16446 {
16447 PyThreadState* __tstate = wxPyBeginAllowThreads();
16448 (arg1)->SetChooseFull(arg2);
16449 wxPyEndAllowThreads(__tstate);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 }
16452 resultobj = SWIG_Py_Void();
16453 return resultobj;
16454fail:
16455 return NULL;
16456}
16457
16458
16459SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16460 PyObject *resultobj = 0;
16461 wxColourData *arg1 = (wxColourData *) 0 ;
16462 wxColour *arg2 = 0 ;
16463 void *argp1 = 0 ;
16464 int res1 = 0 ;
16465 wxColour temp2 ;
16466 PyObject * obj0 = 0 ;
16467 PyObject * obj1 = 0 ;
16468 char * kwnames[] = {
16469 (char *) "self",(char *) "colour", NULL
16470 };
16471
16472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16474 if (!SWIG_IsOK(res1)) {
16475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16476 }
16477 arg1 = reinterpret_cast< wxColourData * >(argp1);
16478 {
16479 arg2 = &temp2;
16480 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16481 }
16482 {
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 (arg1)->SetColour((wxColour const &)*arg2);
16485 wxPyEndAllowThreads(__tstate);
16486 if (PyErr_Occurred()) SWIG_fail;
16487 }
16488 resultobj = SWIG_Py_Void();
16489 return resultobj;
16490fail:
16491 return NULL;
16492}
16493
16494
16495SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16496 PyObject *resultobj = 0;
16497 wxColourData *arg1 = (wxColourData *) 0 ;
16498 int arg2 ;
16499 wxColour *arg3 = 0 ;
16500 void *argp1 = 0 ;
16501 int res1 = 0 ;
16502 int val2 ;
16503 int ecode2 = 0 ;
16504 wxColour temp3 ;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 PyObject * obj2 = 0 ;
16508 char * kwnames[] = {
16509 (char *) "self",(char *) "i",(char *) "colour", NULL
16510 };
16511
16512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16514 if (!SWIG_IsOK(res1)) {
16515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16516 }
16517 arg1 = reinterpret_cast< wxColourData * >(argp1);
16518 ecode2 = SWIG_AsVal_int(obj1, &val2);
16519 if (!SWIG_IsOK(ecode2)) {
16520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16521 }
16522 arg2 = static_cast< int >(val2);
16523 {
16524 arg3 = &temp3;
16525 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16526 }
16527 {
16528 PyThreadState* __tstate = wxPyBeginAllowThreads();
16529 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 resultobj = SWIG_Py_Void();
16534 return resultobj;
16535fail:
16536 return NULL;
d55e5bfc
RD
16537}
16538
16539
554f62e9
RD
16540SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16541 PyObject *obj;
16542 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16543 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16544 return SWIG_Py_Void();
d55e5bfc
RD
16545}
16546
554f62e9
RD
16547SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16548 return SWIG_Python_InitShadowInstance(args);
16549}
d55e5bfc 16550
554f62e9
RD
16551SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16552 PyObject *resultobj = 0;
16553 wxWindow *arg1 = (wxWindow *) 0 ;
16554 wxColourData *arg2 = (wxColourData *) NULL ;
16555 wxColourDialog *result = 0 ;
16556 void *argp1 = 0 ;
16557 int res1 = 0 ;
16558 void *argp2 = 0 ;
16559 int res2 = 0 ;
16560 PyObject * obj0 = 0 ;
16561 PyObject * obj1 = 0 ;
16562 char * kwnames[] = {
16563 (char *) "parent",(char *) "data", NULL
16564 };
16565
16566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16568 if (!SWIG_IsOK(res1)) {
16569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16570 }
16571 arg1 = reinterpret_cast< wxWindow * >(argp1);
16572 if (obj1) {
16573 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16574 if (!SWIG_IsOK(res2)) {
16575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
d55e5bfc 16576 }
554f62e9
RD
16577 arg2 = reinterpret_cast< wxColourData * >(argp2);
16578 }
16579 {
16580 if (!wxPyCheckForApp()) SWIG_fail;
16581 PyThreadState* __tstate = wxPyBeginAllowThreads();
16582 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16583 wxPyEndAllowThreads(__tstate);
16584 if (PyErr_Occurred()) SWIG_fail;
16585 }
16586 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16587 return resultobj;
16588fail:
16589 return NULL;
16590}
16591
16592
16593SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16594 PyObject *resultobj = 0;
16595 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16596 wxColourData *result = 0 ;
16597 void *argp1 = 0 ;
16598 int res1 = 0 ;
16599 PyObject *swig_obj[1] ;
16600
16601 if (!args) SWIG_fail;
16602 swig_obj[0] = args;
16603 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16604 if (!SWIG_IsOK(res1)) {
16605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16606 }
16607 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16608 {
16609 PyThreadState* __tstate = wxPyBeginAllowThreads();
16610 {
16611 wxColourData &_result_ref = (arg1)->GetColourData();
16612 result = (wxColourData *) &_result_ref;
d55e5bfc 16613 }
554f62e9
RD
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
16617 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16618 return resultobj;
16619fail:
16620 return NULL;
16621}
16622
16623
16624SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16625 PyObject *obj;
16626 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16627 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16628 return SWIG_Py_Void();
16629}
16630
16631SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16632 return SWIG_Python_InitShadowInstance(args);
16633}
16634
16635SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16636 PyObject *resultobj = 0;
16637 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16638 wxColour const &arg2_defvalue = wxNullColour ;
16639 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16640 wxString const &arg3_defvalue = wxPyEmptyString ;
16641 wxString *arg3 = (wxString *) &arg3_defvalue ;
16642 wxColour result;
16643 void *argp1 = 0 ;
16644 int res1 = 0 ;
16645 wxColour temp2 ;
16646 bool temp3 = false ;
16647 PyObject * obj0 = 0 ;
16648 PyObject * obj1 = 0 ;
16649 PyObject * obj2 = 0 ;
16650 char * kwnames[] = {
16651 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16652 };
16653
16654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16655 if (obj0) {
16656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16657 if (!SWIG_IsOK(res1)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16659 }
554f62e9
RD
16660 arg1 = reinterpret_cast< wxWindow * >(argp1);
16661 }
16662 if (obj1) {
d55e5bfc 16663 {
554f62e9
RD
16664 arg2 = &temp2;
16665 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16666 }
554f62e9
RD
16667 }
16668 if (obj2) {
d55e5bfc 16669 {
554f62e9
RD
16670 arg3 = wxString_in_helper(obj2);
16671 if (arg3 == NULL) SWIG_fail;
16672 temp3 = true;
d55e5bfc 16673 }
554f62e9
RD
16674 }
16675 {
16676 PyThreadState* __tstate = wxPyBeginAllowThreads();
16677 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16678 wxPyEndAllowThreads(__tstate);
16679 if (PyErr_Occurred()) SWIG_fail;
16680 }
16681 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16682 {
16683 if (temp3)
16684 delete arg3;
16685 }
16686 return resultobj;
16687fail:
16688 {
16689 if (temp3)
16690 delete arg3;
16691 }
16692 return NULL;
16693}
16694
16695
16696SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16697 PyObject *resultobj = 0;
16698 wxWindow *arg1 = (wxWindow *) 0 ;
16699 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16700 wxString *arg2 = (wxString *) &arg2_defvalue ;
16701 wxString const &arg3_defvalue = wxPyEmptyString ;
16702 wxString *arg3 = (wxString *) &arg3_defvalue ;
16703 long arg4 = (long) 0 ;
16704 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16705 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16706 wxSize const &arg6_defvalue = wxDefaultSize ;
16707 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16708 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16709 wxString *arg7 = (wxString *) &arg7_defvalue ;
16710 wxDirDialog *result = 0 ;
16711 void *argp1 = 0 ;
16712 int res1 = 0 ;
16713 bool temp2 = false ;
16714 bool temp3 = false ;
16715 long val4 ;
16716 int ecode4 = 0 ;
16717 wxPoint temp5 ;
16718 wxSize temp6 ;
16719 bool temp7 = false ;
16720 PyObject * obj0 = 0 ;
16721 PyObject * obj1 = 0 ;
16722 PyObject * obj2 = 0 ;
16723 PyObject * obj3 = 0 ;
16724 PyObject * obj4 = 0 ;
16725 PyObject * obj5 = 0 ;
16726 PyObject * obj6 = 0 ;
16727 char * kwnames[] = {
16728 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16729 };
16730
16731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16733 if (!SWIG_IsOK(res1)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16735 }
16736 arg1 = reinterpret_cast< wxWindow * >(argp1);
16737 if (obj1) {
d55e5bfc 16738 {
554f62e9
RD
16739 arg2 = wxString_in_helper(obj1);
16740 if (arg2 == NULL) SWIG_fail;
16741 temp2 = true;
d55e5bfc 16742 }
554f62e9
RD
16743 }
16744 if (obj2) {
d55e5bfc 16745 {
554f62e9
RD
16746 arg3 = wxString_in_helper(obj2);
16747 if (arg3 == NULL) SWIG_fail;
16748 temp3 = true;
d55e5bfc 16749 }
554f62e9
RD
16750 }
16751 if (obj3) {
16752 ecode4 = SWIG_AsVal_long(obj3, &val4);
16753 if (!SWIG_IsOK(ecode4)) {
16754 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16755 }
16756 arg4 = static_cast< long >(val4);
16757 }
16758 if (obj4) {
093d3ff1 16759 {
554f62e9
RD
16760 arg5 = &temp5;
16761 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 16762 }
554f62e9
RD
16763 }
16764 if (obj5) {
d55e5bfc 16765 {
554f62e9
RD
16766 arg6 = &temp6;
16767 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16768 }
554f62e9
RD
16769 }
16770 if (obj6) {
d55e5bfc 16771 {
554f62e9
RD
16772 arg7 = wxString_in_helper(obj6);
16773 if (arg7 == NULL) SWIG_fail;
16774 temp7 = true;
093d3ff1 16775 }
554f62e9
RD
16776 }
16777 {
16778 if (!wxPyCheckForApp()) SWIG_fail;
16779 PyThreadState* __tstate = wxPyBeginAllowThreads();
16780 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16781 wxPyEndAllowThreads(__tstate);
16782 if (PyErr_Occurred()) SWIG_fail;
16783 }
16784 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16785 {
16786 if (temp2)
16787 delete arg2;
16788 }
16789 {
16790 if (temp3)
16791 delete arg3;
16792 }
16793 {
16794 if (temp7)
16795 delete arg7;
16796 }
16797 return resultobj;
16798fail:
16799 {
16800 if (temp2)
16801 delete arg2;
16802 }
16803 {
16804 if (temp3)
16805 delete arg3;
16806 }
16807 {
16808 if (temp7)
16809 delete arg7;
16810 }
16811 return NULL;
d55e5bfc
RD
16812}
16813
16814
554f62e9
RD
16815SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16816 PyObject *resultobj = 0;
16817 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16818 wxString result;
16819 void *argp1 = 0 ;
16820 int res1 = 0 ;
16821 PyObject *swig_obj[1] ;
16822
16823 if (!args) SWIG_fail;
16824 swig_obj[0] = args;
16825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16826 if (!SWIG_IsOK(res1)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16828 }
16829 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16830 {
16831 PyThreadState* __tstate = wxPyBeginAllowThreads();
16832 result = (arg1)->GetPath();
16833 wxPyEndAllowThreads(__tstate);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
16836 {
16837#if wxUSE_UNICODE
16838 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16839#else
16840 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16841#endif
16842 }
16843 return resultobj;
16844fail:
16845 return NULL;
d55e5bfc
RD
16846}
16847
16848
554f62e9
RD
16849SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16850 PyObject *resultobj = 0;
16851 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16852 wxString result;
16853 void *argp1 = 0 ;
16854 int res1 = 0 ;
16855 PyObject *swig_obj[1] ;
16856
16857 if (!args) SWIG_fail;
16858 swig_obj[0] = args;
16859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16860 if (!SWIG_IsOK(res1)) {
16861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16862 }
16863 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16864 {
16865 PyThreadState* __tstate = wxPyBeginAllowThreads();
16866 result = (arg1)->GetMessage();
16867 wxPyEndAllowThreads(__tstate);
16868 if (PyErr_Occurred()) SWIG_fail;
16869 }
16870 {
16871#if wxUSE_UNICODE
16872 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16873#else
16874 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16875#endif
16876 }
16877 return resultobj;
16878fail:
16879 return NULL;
d55e5bfc
RD
16880}
16881
16882
554f62e9
RD
16883SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16884 PyObject *resultobj = 0;
16885 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16886 wxString *arg2 = 0 ;
16887 void *argp1 = 0 ;
16888 int res1 = 0 ;
16889 bool temp2 = false ;
16890 PyObject * obj0 = 0 ;
16891 PyObject * obj1 = 0 ;
16892 char * kwnames[] = {
16893 (char *) "self",(char *) "message", NULL
16894 };
16895
16896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16898 if (!SWIG_IsOK(res1)) {
16899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16900 }
16901 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16902 {
16903 arg2 = wxString_in_helper(obj1);
16904 if (arg2 == NULL) SWIG_fail;
16905 temp2 = true;
16906 }
16907 {
16908 PyThreadState* __tstate = wxPyBeginAllowThreads();
16909 (arg1)->SetMessage((wxString const &)*arg2);
16910 wxPyEndAllowThreads(__tstate);
16911 if (PyErr_Occurred()) SWIG_fail;
16912 }
16913 resultobj = SWIG_Py_Void();
16914 {
16915 if (temp2)
16916 delete arg2;
16917 }
16918 return resultobj;
16919fail:
16920 {
16921 if (temp2)
16922 delete arg2;
16923 }
16924 return NULL;
d55e5bfc
RD
16925}
16926
16927
554f62e9
RD
16928SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16929 PyObject *resultobj = 0;
16930 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16931 wxString *arg2 = 0 ;
16932 void *argp1 = 0 ;
16933 int res1 = 0 ;
16934 bool temp2 = false ;
16935 PyObject * obj0 = 0 ;
16936 PyObject * obj1 = 0 ;
16937 char * kwnames[] = {
16938 (char *) "self",(char *) "path", NULL
16939 };
16940
16941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16943 if (!SWIG_IsOK(res1)) {
16944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16945 }
16946 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16947 {
16948 arg2 = wxString_in_helper(obj1);
16949 if (arg2 == NULL) SWIG_fail;
16950 temp2 = true;
16951 }
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 (arg1)->SetPath((wxString const &)*arg2);
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 resultobj = SWIG_Py_Void();
16959 {
16960 if (temp2)
16961 delete arg2;
16962 }
16963 return resultobj;
16964fail:
16965 {
16966 if (temp2)
16967 delete arg2;
16968 }
16969 return NULL;
16970}
16971
16972
16973SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16974 PyObject *obj;
16975 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16976 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16977 return SWIG_Py_Void();
16978}
16979
16980SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16981 return SWIG_Python_InitShadowInstance(args);
16982}
16983
16984SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj = 0;
16986 wxWindow *arg1 = (wxWindow *) 0 ;
16987 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16988 wxString *arg2 = (wxString *) &arg2_defvalue ;
16989 wxString const &arg3_defvalue = wxPyEmptyString ;
16990 wxString *arg3 = (wxString *) &arg3_defvalue ;
16991 wxString const &arg4_defvalue = wxPyEmptyString ;
16992 wxString *arg4 = (wxString *) &arg4_defvalue ;
16993 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16994 wxString *arg5 = (wxString *) &arg5_defvalue ;
16995 long arg6 = (long) 0 ;
16996 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16997 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16998 wxFileDialog *result = 0 ;
16999 void *argp1 = 0 ;
17000 int res1 = 0 ;
17001 bool temp2 = false ;
17002 bool temp3 = false ;
17003 bool temp4 = false ;
17004 bool temp5 = false ;
17005 long val6 ;
17006 int ecode6 = 0 ;
17007 wxPoint temp7 ;
17008 PyObject * obj0 = 0 ;
17009 PyObject * obj1 = 0 ;
17010 PyObject * obj2 = 0 ;
17011 PyObject * obj3 = 0 ;
17012 PyObject * obj4 = 0 ;
17013 PyObject * obj5 = 0 ;
17014 PyObject * obj6 = 0 ;
17015 char * kwnames[] = {
17016 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17017 };
17018
17019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17021 if (!SWIG_IsOK(res1)) {
17022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17023 }
17024 arg1 = reinterpret_cast< wxWindow * >(argp1);
17025 if (obj1) {
d55e5bfc 17026 {
554f62e9
RD
17027 arg2 = wxString_in_helper(obj1);
17028 if (arg2 == NULL) SWIG_fail;
17029 temp2 = true;
d55e5bfc 17030 }
554f62e9
RD
17031 }
17032 if (obj2) {
d55e5bfc 17033 {
554f62e9
RD
17034 arg3 = wxString_in_helper(obj2);
17035 if (arg3 == NULL) SWIG_fail;
17036 temp3 = true;
d55e5bfc 17037 }
554f62e9
RD
17038 }
17039 if (obj3) {
17040 {
17041 arg4 = wxString_in_helper(obj3);
17042 if (arg4 == NULL) SWIG_fail;
17043 temp4 = true;
d55e5bfc 17044 }
554f62e9
RD
17045 }
17046 if (obj4) {
d55e5bfc 17047 {
554f62e9
RD
17048 arg5 = wxString_in_helper(obj4);
17049 if (arg5 == NULL) SWIG_fail;
17050 temp5 = true;
d55e5bfc 17051 }
554f62e9
RD
17052 }
17053 if (obj5) {
17054 ecode6 = SWIG_AsVal_long(obj5, &val6);
17055 if (!SWIG_IsOK(ecode6)) {
17056 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17057 }
17058 arg6 = static_cast< long >(val6);
17059 }
17060 if (obj6) {
d55e5bfc 17061 {
554f62e9
RD
17062 arg7 = &temp7;
17063 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17064 }
554f62e9
RD
17065 }
17066 {
17067 if (!wxPyCheckForApp()) SWIG_fail;
17068 PyThreadState* __tstate = wxPyBeginAllowThreads();
17069 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17074 {
17075 if (temp2)
17076 delete arg2;
17077 }
17078 {
17079 if (temp3)
17080 delete arg3;
17081 }
17082 {
17083 if (temp4)
17084 delete arg4;
17085 }
17086 {
17087 if (temp5)
17088 delete arg5;
17089 }
17090 return resultobj;
17091fail:
17092 {
17093 if (temp2)
17094 delete arg2;
17095 }
17096 {
17097 if (temp3)
17098 delete arg3;
17099 }
17100 {
17101 if (temp4)
17102 delete arg4;
17103 }
17104 {
17105 if (temp5)
17106 delete arg5;
17107 }
17108 return NULL;
d55e5bfc
RD
17109}
17110
17111
554f62e9
RD
17112SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17113 PyObject *resultobj = 0;
17114 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17115 wxString *arg2 = 0 ;
17116 void *argp1 = 0 ;
17117 int res1 = 0 ;
17118 bool temp2 = false ;
17119 PyObject * obj0 = 0 ;
17120 PyObject * obj1 = 0 ;
17121 char * kwnames[] = {
17122 (char *) "self",(char *) "message", NULL
17123 };
17124
17125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17127 if (!SWIG_IsOK(res1)) {
17128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17129 }
17130 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17131 {
17132 arg2 = wxString_in_helper(obj1);
17133 if (arg2 == NULL) SWIG_fail;
17134 temp2 = true;
17135 }
17136 {
17137 PyThreadState* __tstate = wxPyBeginAllowThreads();
17138 (arg1)->SetMessage((wxString const &)*arg2);
17139 wxPyEndAllowThreads(__tstate);
17140 if (PyErr_Occurred()) SWIG_fail;
17141 }
17142 resultobj = SWIG_Py_Void();
17143 {
17144 if (temp2)
17145 delete arg2;
17146 }
17147 return resultobj;
17148fail:
17149 {
17150 if (temp2)
17151 delete arg2;
17152 }
17153 return NULL;
d55e5bfc
RD
17154}
17155
17156
554f62e9
RD
17157SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17158 PyObject *resultobj = 0;
17159 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17160 wxString *arg2 = 0 ;
17161 void *argp1 = 0 ;
17162 int res1 = 0 ;
17163 bool temp2 = false ;
17164 PyObject * obj0 = 0 ;
17165 PyObject * obj1 = 0 ;
17166 char * kwnames[] = {
17167 (char *) "self",(char *) "path", NULL
17168 };
17169
17170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17172 if (!SWIG_IsOK(res1)) {
17173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17174 }
17175 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17176 {
17177 arg2 = wxString_in_helper(obj1);
17178 if (arg2 == NULL) SWIG_fail;
17179 temp2 = true;
17180 }
17181 {
17182 PyThreadState* __tstate = wxPyBeginAllowThreads();
17183 (arg1)->SetPath((wxString const &)*arg2);
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
17187 resultobj = SWIG_Py_Void();
17188 {
17189 if (temp2)
17190 delete arg2;
17191 }
17192 return resultobj;
17193fail:
17194 {
17195 if (temp2)
17196 delete arg2;
17197 }
17198 return NULL;
d55e5bfc
RD
17199}
17200
17201
554f62e9
RD
17202SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17203 PyObject *resultobj = 0;
17204 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17205 wxString *arg2 = 0 ;
17206 void *argp1 = 0 ;
17207 int res1 = 0 ;
17208 bool temp2 = false ;
17209 PyObject * obj0 = 0 ;
17210 PyObject * obj1 = 0 ;
17211 char * kwnames[] = {
17212 (char *) "self",(char *) "dir", NULL
17213 };
17214
17215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17217 if (!SWIG_IsOK(res1)) {
17218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17219 }
17220 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17221 {
17222 arg2 = wxString_in_helper(obj1);
17223 if (arg2 == NULL) SWIG_fail;
17224 temp2 = true;
17225 }
17226 {
17227 PyThreadState* __tstate = wxPyBeginAllowThreads();
17228 (arg1)->SetDirectory((wxString const &)*arg2);
17229 wxPyEndAllowThreads(__tstate);
17230 if (PyErr_Occurred()) SWIG_fail;
17231 }
17232 resultobj = SWIG_Py_Void();
17233 {
17234 if (temp2)
17235 delete arg2;
17236 }
17237 return resultobj;
17238fail:
17239 {
17240 if (temp2)
17241 delete arg2;
17242 }
17243 return NULL;
d55e5bfc
RD
17244}
17245
17246
554f62e9
RD
17247SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj = 0;
17249 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17250 wxString *arg2 = 0 ;
17251 void *argp1 = 0 ;
17252 int res1 = 0 ;
17253 bool temp2 = false ;
17254 PyObject * obj0 = 0 ;
17255 PyObject * obj1 = 0 ;
17256 char * kwnames[] = {
17257 (char *) "self",(char *) "name", NULL
17258 };
17259
17260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17262 if (!SWIG_IsOK(res1)) {
17263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17264 }
17265 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17266 {
17267 arg2 = wxString_in_helper(obj1);
17268 if (arg2 == NULL) SWIG_fail;
17269 temp2 = true;
17270 }
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 (arg1)->SetFilename((wxString const &)*arg2);
17274 wxPyEndAllowThreads(__tstate);
17275 if (PyErr_Occurred()) SWIG_fail;
17276 }
17277 resultobj = SWIG_Py_Void();
17278 {
17279 if (temp2)
17280 delete arg2;
17281 }
17282 return resultobj;
17283fail:
17284 {
17285 if (temp2)
17286 delete arg2;
17287 }
17288 return NULL;
d55e5bfc
RD
17289}
17290
17291
554f62e9
RD
17292SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj = 0;
17294 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17295 wxString *arg2 = 0 ;
17296 void *argp1 = 0 ;
17297 int res1 = 0 ;
17298 bool temp2 = false ;
17299 PyObject * obj0 = 0 ;
17300 PyObject * obj1 = 0 ;
17301 char * kwnames[] = {
17302 (char *) "self",(char *) "wildCard", NULL
17303 };
17304
17305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17307 if (!SWIG_IsOK(res1)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17309 }
17310 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17311 {
17312 arg2 = wxString_in_helper(obj1);
17313 if (arg2 == NULL) SWIG_fail;
17314 temp2 = true;
17315 }
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 (arg1)->SetWildcard((wxString const &)*arg2);
17319 wxPyEndAllowThreads(__tstate);
17320 if (PyErr_Occurred()) SWIG_fail;
17321 }
17322 resultobj = SWIG_Py_Void();
17323 {
17324 if (temp2)
17325 delete arg2;
17326 }
17327 return resultobj;
17328fail:
17329 {
17330 if (temp2)
17331 delete arg2;
17332 }
17333 return NULL;
17334}
17335
17336
17337SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17338 PyObject *resultobj = 0;
17339 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17340 long arg2 ;
17341 void *argp1 = 0 ;
17342 int res1 = 0 ;
17343 long val2 ;
17344 int ecode2 = 0 ;
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 char * kwnames[] = {
17348 (char *) "self",(char *) "style", NULL
17349 };
17350
17351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
17352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17353 if (!SWIG_IsOK(res1)) {
17354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17355 }
17356 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17357 ecode2 = SWIG_AsVal_long(obj1, &val2);
17358 if (!SWIG_IsOK(ecode2)) {
17359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17360 }
17361 arg2 = static_cast< long >(val2);
17362 {
17363 PyThreadState* __tstate = wxPyBeginAllowThreads();
17364 (arg1)->SetStyle(arg2);
17365 wxPyEndAllowThreads(__tstate);
17366 if (PyErr_Occurred()) SWIG_fail;
17367 }
17368 resultobj = SWIG_Py_Void();
17369 return resultobj;
17370fail:
17371 return NULL;
17372}
17373
17374
17375SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17376 PyObject *resultobj = 0;
17377 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17378 int arg2 ;
17379 void *argp1 = 0 ;
17380 int res1 = 0 ;
17381 int val2 ;
17382 int ecode2 = 0 ;
17383 PyObject * obj0 = 0 ;
17384 PyObject * obj1 = 0 ;
17385 char * kwnames[] = {
17386 (char *) "self",(char *) "filterIndex", NULL
17387 };
17388
17389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17391 if (!SWIG_IsOK(res1)) {
17392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17393 }
17394 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17395 ecode2 = SWIG_AsVal_int(obj1, &val2);
17396 if (!SWIG_IsOK(ecode2)) {
17397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17398 }
17399 arg2 = static_cast< int >(val2);
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 (arg1)->SetFilterIndex(arg2);
17403 wxPyEndAllowThreads(__tstate);
17404 if (PyErr_Occurred()) SWIG_fail;
17405 }
17406 resultobj = SWIG_Py_Void();
17407 return resultobj;
17408fail:
17409 return NULL;
d55e5bfc
RD
17410}
17411
17412
554f62e9
RD
17413SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17414 PyObject *resultobj = 0;
17415 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17416 wxString result;
17417 void *argp1 = 0 ;
17418 int res1 = 0 ;
17419 PyObject *swig_obj[1] ;
17420
17421 if (!args) SWIG_fail;
17422 swig_obj[0] = args;
17423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17424 if (!SWIG_IsOK(res1)) {
17425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17426 }
17427 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = ((wxFileDialog const *)arg1)->GetMessage();
17431 wxPyEndAllowThreads(__tstate);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 {
17435#if wxUSE_UNICODE
17436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17437#else
17438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17439#endif
17440 }
17441 return resultobj;
17442fail:
17443 return NULL;
d55e5bfc
RD
17444}
17445
17446
554f62e9
RD
17447SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17448 PyObject *resultobj = 0;
17449 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17450 wxString result;
17451 void *argp1 = 0 ;
17452 int res1 = 0 ;
17453 PyObject *swig_obj[1] ;
17454
17455 if (!args) SWIG_fail;
17456 swig_obj[0] = args;
17457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17458 if (!SWIG_IsOK(res1)) {
17459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17460 }
17461 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17462 {
17463 PyThreadState* __tstate = wxPyBeginAllowThreads();
17464 result = ((wxFileDialog const *)arg1)->GetPath();
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 {
17469#if wxUSE_UNICODE
17470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17471#else
17472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17473#endif
17474 }
17475 return resultobj;
17476fail:
17477 return NULL;
d55e5bfc
RD
17478}
17479
17480
554f62e9
RD
17481SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17482 PyObject *resultobj = 0;
17483 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17484 wxString result;
17485 void *argp1 = 0 ;
17486 int res1 = 0 ;
17487 PyObject *swig_obj[1] ;
17488
17489 if (!args) SWIG_fail;
17490 swig_obj[0] = args;
17491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17492 if (!SWIG_IsOK(res1)) {
17493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17494 }
17495 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = ((wxFileDialog const *)arg1)->GetDirectory();
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 {
17503#if wxUSE_UNICODE
17504 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17505#else
17506 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17507#endif
17508 }
17509 return resultobj;
17510fail:
17511 return NULL;
d55e5bfc
RD
17512}
17513
17514
554f62e9
RD
17515SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17516 PyObject *resultobj = 0;
17517 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17518 wxString result;
17519 void *argp1 = 0 ;
17520 int res1 = 0 ;
17521 PyObject *swig_obj[1] ;
17522
17523 if (!args) SWIG_fail;
17524 swig_obj[0] = args;
17525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17526 if (!SWIG_IsOK(res1)) {
17527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17528 }
17529 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 result = ((wxFileDialog const *)arg1)->GetFilename();
17533 wxPyEndAllowThreads(__tstate);
17534 if (PyErr_Occurred()) SWIG_fail;
17535 }
17536 {
17537#if wxUSE_UNICODE
17538 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17539#else
17540 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17541#endif
17542 }
17543 return resultobj;
17544fail:
17545 return NULL;
d55e5bfc
RD
17546}
17547
17548
554f62e9
RD
17549SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17550 PyObject *resultobj = 0;
17551 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17552 wxString result;
17553 void *argp1 = 0 ;
17554 int res1 = 0 ;
17555 PyObject *swig_obj[1] ;
17556
17557 if (!args) SWIG_fail;
17558 swig_obj[0] = args;
17559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17560 if (!SWIG_IsOK(res1)) {
17561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17562 }
17563 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17564 {
17565 PyThreadState* __tstate = wxPyBeginAllowThreads();
17566 result = ((wxFileDialog const *)arg1)->GetWildcard();
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 {
17571#if wxUSE_UNICODE
17572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17573#else
17574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17575#endif
17576 }
17577 return resultobj;
17578fail:
17579 return NULL;
d55e5bfc
RD
17580}
17581
17582
554f62e9
RD
17583SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17584 PyObject *resultobj = 0;
17585 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17586 long result;
17587 void *argp1 = 0 ;
17588 int res1 = 0 ;
17589 PyObject *swig_obj[1] ;
17590
17591 if (!args) SWIG_fail;
17592 swig_obj[0] = args;
17593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17594 if (!SWIG_IsOK(res1)) {
17595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17596 }
17597 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17601 wxPyEndAllowThreads(__tstate);
17602 if (PyErr_Occurred()) SWIG_fail;
17603 }
17604 resultobj = SWIG_From_long(static_cast< long >(result));
17605 return resultobj;
17606fail:
17607 return NULL;
d55e5bfc
RD
17608}
17609
17610
554f62e9
RD
17611SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17612 PyObject *resultobj = 0;
17613 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17614 int result;
17615 void *argp1 = 0 ;
17616 int res1 = 0 ;
17617 PyObject *swig_obj[1] ;
17618
17619 if (!args) SWIG_fail;
17620 swig_obj[0] = args;
17621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17622 if (!SWIG_IsOK(res1)) {
17623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17624 }
17625 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17626 {
17627 PyThreadState* __tstate = wxPyBeginAllowThreads();
17628 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17629 wxPyEndAllowThreads(__tstate);
17630 if (PyErr_Occurred()) SWIG_fail;
17631 }
17632 resultobj = SWIG_From_int(static_cast< int >(result));
17633 return resultobj;
17634fail:
17635 return NULL;
d55e5bfc
RD
17636}
17637
17638
554f62e9
RD
17639SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17640 PyObject *resultobj = 0;
17641 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17642 PyObject *result = 0 ;
17643 void *argp1 = 0 ;
17644 int res1 = 0 ;
17645 PyObject *swig_obj[1] ;
17646
17647 if (!args) SWIG_fail;
17648 swig_obj[0] = args;
17649 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17650 if (!SWIG_IsOK(res1)) {
17651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17652 }
17653 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17654 {
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 resultobj = result;
17661 return resultobj;
17662fail:
17663 return NULL;
d55e5bfc
RD
17664}
17665
17666
554f62e9
RD
17667SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17668 PyObject *resultobj = 0;
17669 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17670 PyObject *result = 0 ;
17671 void *argp1 = 0 ;
17672 int res1 = 0 ;
17673 PyObject *swig_obj[1] ;
17674
17675 if (!args) SWIG_fail;
17676 swig_obj[0] = args;
17677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17678 if (!SWIG_IsOK(res1)) {
17679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17680 }
17681 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17682 {
17683 PyThreadState* __tstate = wxPyBeginAllowThreads();
17684 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17685 wxPyEndAllowThreads(__tstate);
17686 if (PyErr_Occurred()) SWIG_fail;
17687 }
17688 resultobj = result;
17689 return resultobj;
17690fail:
17691 return NULL;
17692}
17693
17694
17695SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17696 PyObject *obj;
17697 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17698 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17699 return SWIG_Py_Void();
17700}
17701
17702SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17703 return SWIG_Python_InitShadowInstance(args);
17704}
17705
17706SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj = 0;
17708 wxWindow *arg1 = (wxWindow *) 0 ;
17709 wxString *arg2 = 0 ;
17710 wxString *arg3 = 0 ;
17711 int arg4 = (int) 0 ;
17712 wxString *arg5 = (wxString *) NULL ;
17713 long arg6 = (long) wxCHOICEDLG_STYLE ;
17714 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17715 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17716 wxMultiChoiceDialog *result = 0 ;
17717 void *argp1 = 0 ;
17718 int res1 = 0 ;
17719 bool temp2 = false ;
17720 bool temp3 = false ;
17721 long val6 ;
17722 int ecode6 = 0 ;
17723 wxPoint temp7 ;
17724 PyObject * obj0 = 0 ;
17725 PyObject * obj1 = 0 ;
17726 PyObject * obj2 = 0 ;
17727 PyObject * obj3 = 0 ;
17728 PyObject * obj4 = 0 ;
17729 PyObject * obj5 = 0 ;
17730 char * kwnames[] = {
17731 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17732 };
17733
17734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17736 if (!SWIG_IsOK(res1)) {
17737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17738 }
17739 arg1 = reinterpret_cast< wxWindow * >(argp1);
17740 {
17741 arg2 = wxString_in_helper(obj1);
17742 if (arg2 == NULL) SWIG_fail;
17743 temp2 = true;
17744 }
17745 {
17746 arg3 = wxString_in_helper(obj2);
17747 if (arg3 == NULL) SWIG_fail;
17748 temp3 = true;
17749 }
17750 if (obj3) {
d55e5bfc 17751 {
554f62e9
RD
17752 arg4 = PyList_Size(obj3);
17753 arg5 = wxString_LIST_helper(obj3);
17754 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17755 }
554f62e9
RD
17756 }
17757 if (obj4) {
17758 ecode6 = SWIG_AsVal_long(obj4, &val6);
17759 if (!SWIG_IsOK(ecode6)) {
17760 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17761 }
17762 arg6 = static_cast< long >(val6);
17763 }
17764 if (obj5) {
d55e5bfc 17765 {
554f62e9
RD
17766 arg7 = &temp7;
17767 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d55e5bfc 17768 }
554f62e9
RD
17769 }
17770 {
17771 if (!wxPyCheckForApp()) SWIG_fail;
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17778 {
17779 if (temp2)
17780 delete arg2;
17781 }
17782 {
17783 if (temp3)
17784 delete arg3;
17785 }
17786 {
17787 if (arg5) delete [] arg5;
17788 }
17789 return resultobj;
17790fail:
17791 {
17792 if (temp2)
17793 delete arg2;
17794 }
17795 {
17796 if (temp3)
17797 delete arg3;
17798 }
17799 {
17800 if (arg5) delete [] arg5;
17801 }
17802 return NULL;
d55e5bfc
RD
17803}
17804
17805
554f62e9
RD
17806SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17807 PyObject *resultobj = 0;
17808 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17809 wxArrayInt *arg2 = 0 ;
17810 void *argp1 = 0 ;
17811 int res1 = 0 ;
17812 bool temp2 = false ;
17813 PyObject * obj0 = 0 ;
17814 PyObject * obj1 = 0 ;
17815 char * kwnames[] = {
17816 (char *) "self",(char *) "selections", NULL
17817 };
17818
17819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17821 if (!SWIG_IsOK(res1)) {
17822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17823 }
17824 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17825 {
17826 if (! PySequence_Check(obj1)) {
17827 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17828 SWIG_fail;
17829 }
17830 arg2 = new wxArrayInt;
17831 temp2 = true;
17832 int i, len=PySequence_Length(obj1);
17833 for (i=0; i<len; i++) {
17834 PyObject* item = PySequence_GetItem(obj1, i);
17835 PyObject* number = PyNumber_Int(item);
17836 arg2->Add(PyInt_AS_LONG(number));
17837 Py_DECREF(item);
17838 Py_DECREF(number);
093d3ff1 17839 }
554f62e9
RD
17840 }
17841 {
17842 PyThreadState* __tstate = wxPyBeginAllowThreads();
17843 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17844 wxPyEndAllowThreads(__tstate);
17845 if (PyErr_Occurred()) SWIG_fail;
17846 }
17847 resultobj = SWIG_Py_Void();
17848 {
17849 if (temp2) delete arg2;
17850 }
17851 return resultobj;
17852fail:
17853 {
17854 if (temp2) delete arg2;
17855 }
17856 return NULL;
d55e5bfc
RD
17857}
17858
17859
554f62e9
RD
17860SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17861 PyObject *resultobj = 0;
17862 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17863 PyObject *result = 0 ;
17864 void *argp1 = 0 ;
17865 int res1 = 0 ;
17866 PyObject *swig_obj[1] ;
17867
17868 if (!args) SWIG_fail;
17869 swig_obj[0] = args;
17870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17871 if (!SWIG_IsOK(res1)) {
17872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17873 }
17874 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17875 {
17876 PyThreadState* __tstate = wxPyBeginAllowThreads();
17877 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17878 wxPyEndAllowThreads(__tstate);
17879 if (PyErr_Occurred()) SWIG_fail;
17880 }
17881 resultobj = result;
17882 return resultobj;
17883fail:
17884 return NULL;
17885}
17886
17887
17888SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17889 PyObject *obj;
17890 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17891 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17892 return SWIG_Py_Void();
17893}
17894
17895SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17896 return SWIG_Python_InitShadowInstance(args);
17897}
17898
17899SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17900 PyObject *resultobj = 0;
17901 wxWindow *arg1 = (wxWindow *) 0 ;
17902 wxString *arg2 = 0 ;
17903 wxString *arg3 = 0 ;
17904 int arg4 ;
17905 wxString *arg5 = (wxString *) 0 ;
17906 long arg6 = (long) wxCHOICEDLG_STYLE ;
17907 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17908 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17909 wxSingleChoiceDialog *result = 0 ;
17910 void *argp1 = 0 ;
17911 int res1 = 0 ;
17912 bool temp2 = false ;
17913 bool temp3 = false ;
17914 long val6 ;
17915 int ecode6 = 0 ;
17916 wxPoint temp7 ;
17917 PyObject * obj0 = 0 ;
17918 PyObject * obj1 = 0 ;
17919 PyObject * obj2 = 0 ;
17920 PyObject * obj3 = 0 ;
17921 PyObject * obj4 = 0 ;
17922 PyObject * obj5 = 0 ;
17923 char * kwnames[] = {
17924 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17925 };
17926
17927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17929 if (!SWIG_IsOK(res1)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17931 }
17932 arg1 = reinterpret_cast< wxWindow * >(argp1);
17933 {
17934 arg2 = wxString_in_helper(obj1);
17935 if (arg2 == NULL) SWIG_fail;
17936 temp2 = true;
17937 }
17938 {
17939 arg3 = wxString_in_helper(obj2);
17940 if (arg3 == NULL) SWIG_fail;
17941 temp3 = true;
17942 }
17943 {
17944 arg4 = PyList_Size(obj3);
17945 arg5 = wxString_LIST_helper(obj3);
17946 if (arg5 == NULL) SWIG_fail;
17947 }
17948 if (obj4) {
17949 ecode6 = SWIG_AsVal_long(obj4, &val6);
17950 if (!SWIG_IsOK(ecode6)) {
17951 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17952 }
17953 arg6 = static_cast< long >(val6);
17954 }
17955 if (obj5) {
093d3ff1 17956 {
554f62e9
RD
17957 arg7 = &temp7;
17958 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
093d3ff1 17959 }
554f62e9
RD
17960 }
17961 {
17962 if (!wxPyCheckForApp()) SWIG_fail;
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17969 {
17970 if (temp2)
17971 delete arg2;
17972 }
17973 {
17974 if (temp3)
17975 delete arg3;
17976 }
17977 {
17978 if (arg5) delete [] arg5;
17979 }
17980 return resultobj;
17981fail:
17982 {
17983 if (temp2)
17984 delete arg2;
17985 }
17986 {
17987 if (temp3)
17988 delete arg3;
17989 }
17990 {
17991 if (arg5) delete [] arg5;
17992 }
17993 return NULL;
d55e5bfc
RD
17994}
17995
17996
554f62e9
RD
17997SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17998 PyObject *resultobj = 0;
17999 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18000 int result;
18001 void *argp1 = 0 ;
18002 int res1 = 0 ;
18003 PyObject *swig_obj[1] ;
18004
18005 if (!args) SWIG_fail;
18006 swig_obj[0] = args;
18007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18008 if (!SWIG_IsOK(res1)) {
18009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18010 }
18011 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18012 {
18013 PyThreadState* __tstate = wxPyBeginAllowThreads();
18014 result = (int)(arg1)->GetSelection();
18015 wxPyEndAllowThreads(__tstate);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 }
18018 resultobj = SWIG_From_int(static_cast< int >(result));
18019 return resultobj;
18020fail:
18021 return NULL;
d55e5bfc
RD
18022}
18023
18024
554f62e9
RD
18025SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18026 PyObject *resultobj = 0;
18027 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18028 wxString result;
18029 void *argp1 = 0 ;
18030 int res1 = 0 ;
18031 PyObject *swig_obj[1] ;
18032
18033 if (!args) SWIG_fail;
18034 swig_obj[0] = args;
18035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18036 if (!SWIG_IsOK(res1)) {
18037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18038 }
18039 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 result = (arg1)->GetStringSelection();
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 {
18047#if wxUSE_UNICODE
18048 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18049#else
18050 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18051#endif
18052 }
18053 return resultobj;
18054fail:
18055 return NULL;
18056}
18057
18058
18059SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj = 0;
18061 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18062 int arg2 ;
18063 void *argp1 = 0 ;
18064 int res1 = 0 ;
18065 int val2 ;
18066 int ecode2 = 0 ;
18067 PyObject * obj0 = 0 ;
18068 PyObject * obj1 = 0 ;
18069 char * kwnames[] = {
18070 (char *) "self",(char *) "sel", NULL
18071 };
18072
18073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18075 if (!SWIG_IsOK(res1)) {
18076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18077 }
18078 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18079 ecode2 = SWIG_AsVal_int(obj1, &val2);
18080 if (!SWIG_IsOK(ecode2)) {
18081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18082 }
18083 arg2 = static_cast< int >(val2);
18084 {
18085 PyThreadState* __tstate = wxPyBeginAllowThreads();
18086 (arg1)->SetSelection(arg2);
18087 wxPyEndAllowThreads(__tstate);
18088 if (PyErr_Occurred()) SWIG_fail;
18089 }
18090 resultobj = SWIG_Py_Void();
18091 return resultobj;
18092fail:
18093 return NULL;
18094}
18095
18096
18097SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18098 PyObject *obj;
18099 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18100 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18101 return SWIG_Py_Void();
18102}
18103
18104SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18105 return SWIG_Python_InitShadowInstance(args);
18106}
18107
18108SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj = 0;
18110 wxWindow *arg1 = (wxWindow *) 0 ;
18111 wxString *arg2 = 0 ;
18112 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18113 wxString *arg3 = (wxString *) &arg3_defvalue ;
18114 wxString const &arg4_defvalue = wxPyEmptyString ;
18115 wxString *arg4 = (wxString *) &arg4_defvalue ;
18116 long arg5 = (long) wxTextEntryDialogStyle ;
18117 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18118 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18119 wxTextEntryDialog *result = 0 ;
18120 void *argp1 = 0 ;
18121 int res1 = 0 ;
18122 bool temp2 = false ;
18123 bool temp3 = false ;
18124 bool temp4 = false ;
18125 long val5 ;
18126 int ecode5 = 0 ;
18127 wxPoint temp6 ;
18128 PyObject * obj0 = 0 ;
18129 PyObject * obj1 = 0 ;
18130 PyObject * obj2 = 0 ;
18131 PyObject * obj3 = 0 ;
18132 PyObject * obj4 = 0 ;
18133 PyObject * obj5 = 0 ;
18134 char * kwnames[] = {
18135 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18136 };
18137
18138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18140 if (!SWIG_IsOK(res1)) {
18141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18142 }
18143 arg1 = reinterpret_cast< wxWindow * >(argp1);
18144 {
18145 arg2 = wxString_in_helper(obj1);
18146 if (arg2 == NULL) SWIG_fail;
18147 temp2 = true;
18148 }
18149 if (obj2) {
093d3ff1 18150 {
554f62e9
RD
18151 arg3 = wxString_in_helper(obj2);
18152 if (arg3 == NULL) SWIG_fail;
18153 temp3 = true;
093d3ff1 18154 }
554f62e9
RD
18155 }
18156 if (obj3) {
d55e5bfc 18157 {
554f62e9
RD
18158 arg4 = wxString_in_helper(obj3);
18159 if (arg4 == NULL) SWIG_fail;
18160 temp4 = true;
d55e5bfc 18161 }
554f62e9
RD
18162 }
18163 if (obj4) {
18164 ecode5 = SWIG_AsVal_long(obj4, &val5);
18165 if (!SWIG_IsOK(ecode5)) {
18166 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18167 }
18168 arg5 = static_cast< long >(val5);
18169 }
18170 if (obj5) {
d55e5bfc 18171 {
554f62e9
RD
18172 arg6 = &temp6;
18173 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18174 }
554f62e9
RD
18175 }
18176 {
18177 if (!wxPyCheckForApp()) SWIG_fail;
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18180 wxPyEndAllowThreads(__tstate);
18181 if (PyErr_Occurred()) SWIG_fail;
18182 }
18183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18184 {
18185 if (temp2)
18186 delete arg2;
18187 }
18188 {
18189 if (temp3)
18190 delete arg3;
18191 }
18192 {
18193 if (temp4)
18194 delete arg4;
18195 }
18196 return resultobj;
18197fail:
18198 {
18199 if (temp2)
18200 delete arg2;
18201 }
18202 {
18203 if (temp3)
18204 delete arg3;
18205 }
18206 {
18207 if (temp4)
18208 delete arg4;
18209 }
18210 return NULL;
d55e5bfc
RD
18211}
18212
18213
554f62e9
RD
18214SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18215 PyObject *resultobj = 0;
18216 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18217 wxString result;
18218 void *argp1 = 0 ;
18219 int res1 = 0 ;
18220 PyObject *swig_obj[1] ;
18221
18222 if (!args) SWIG_fail;
18223 swig_obj[0] = args;
18224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18225 if (!SWIG_IsOK(res1)) {
18226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18227 }
18228 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 result = (arg1)->GetValue();
18232 wxPyEndAllowThreads(__tstate);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 {
18236#if wxUSE_UNICODE
18237 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18238#else
18239 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18240#endif
18241 }
18242 return resultobj;
18243fail:
18244 return NULL;
18245}
18246
18247
18248SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18249 PyObject *resultobj = 0;
18250 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18251 wxString *arg2 = 0 ;
18252 void *argp1 = 0 ;
18253 int res1 = 0 ;
18254 bool temp2 = false ;
18255 PyObject * obj0 = 0 ;
18256 PyObject * obj1 = 0 ;
18257 char * kwnames[] = {
18258 (char *) "self",(char *) "value", NULL
18259 };
18260
18261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18263 if (!SWIG_IsOK(res1)) {
18264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18265 }
18266 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18267 {
18268 arg2 = wxString_in_helper(obj1);
18269 if (arg2 == NULL) SWIG_fail;
18270 temp2 = true;
18271 }
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 (arg1)->SetValue((wxString const &)*arg2);
18275 wxPyEndAllowThreads(__tstate);
18276 if (PyErr_Occurred()) SWIG_fail;
18277 }
18278 resultobj = SWIG_Py_Void();
18279 {
18280 if (temp2)
18281 delete arg2;
18282 }
18283 return resultobj;
18284fail:
18285 {
18286 if (temp2)
18287 delete arg2;
18288 }
18289 return NULL;
d55e5bfc
RD
18290}
18291
18292
554f62e9
RD
18293SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18294 PyObject *obj;
18295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18296 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18297 return SWIG_Py_Void();
d55e5bfc
RD
18298}
18299
554f62e9
RD
18300SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18301 return SWIG_Python_InitShadowInstance(args);
18302}
d55e5bfc 18303
554f62e9
RD
18304SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18305 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18306 return 1;
d55e5bfc
RD
18307}
18308
18309
554f62e9
RD
18310SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18311 PyObject *pyobj = 0;
18312
18313 {
18314#if wxUSE_UNICODE
18315 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18316#else
18317 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18318#endif
18319 }
18320 return pyobj;
18321}
18322
18323
18324SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj = 0;
18326 wxWindow *arg1 = (wxWindow *) 0 ;
18327 wxString *arg2 = 0 ;
18328 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18329 wxString *arg3 = (wxString *) &arg3_defvalue ;
18330 wxString const &arg4_defvalue = wxPyEmptyString ;
18331 wxString *arg4 = (wxString *) &arg4_defvalue ;
18332 long arg5 = (long) wxTextEntryDialogStyle ;
18333 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18334 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18335 wxPasswordEntryDialog *result = 0 ;
18336 void *argp1 = 0 ;
18337 int res1 = 0 ;
18338 bool temp2 = false ;
18339 bool temp3 = false ;
18340 bool temp4 = false ;
18341 long val5 ;
18342 int ecode5 = 0 ;
18343 wxPoint temp6 ;
18344 PyObject * obj0 = 0 ;
18345 PyObject * obj1 = 0 ;
18346 PyObject * obj2 = 0 ;
18347 PyObject * obj3 = 0 ;
18348 PyObject * obj4 = 0 ;
18349 PyObject * obj5 = 0 ;
18350 char * kwnames[] = {
18351 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18352 };
18353
18354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18356 if (!SWIG_IsOK(res1)) {
18357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18358 }
18359 arg1 = reinterpret_cast< wxWindow * >(argp1);
18360 {
18361 arg2 = wxString_in_helper(obj1);
18362 if (arg2 == NULL) SWIG_fail;
18363 temp2 = true;
18364 }
18365 if (obj2) {
d55e5bfc 18366 {
554f62e9
RD
18367 arg3 = wxString_in_helper(obj2);
18368 if (arg3 == NULL) SWIG_fail;
18369 temp3 = true;
d55e5bfc 18370 }
554f62e9
RD
18371 }
18372 if (obj3) {
d55e5bfc 18373 {
554f62e9
RD
18374 arg4 = wxString_in_helper(obj3);
18375 if (arg4 == NULL) SWIG_fail;
18376 temp4 = true;
d55e5bfc 18377 }
554f62e9
RD
18378 }
18379 if (obj4) {
18380 ecode5 = SWIG_AsVal_long(obj4, &val5);
18381 if (!SWIG_IsOK(ecode5)) {
18382 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18383 }
18384 arg5 = static_cast< long >(val5);
18385 }
18386 if (obj5) {
093d3ff1 18387 {
554f62e9
RD
18388 arg6 = &temp6;
18389 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18390 }
554f62e9
RD
18391 }
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18395 wxPyEndAllowThreads(__tstate);
18396 if (PyErr_Occurred()) SWIG_fail;
18397 }
18398 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18399 {
18400 if (temp2)
18401 delete arg2;
18402 }
18403 {
18404 if (temp3)
18405 delete arg3;
18406 }
18407 {
18408 if (temp4)
18409 delete arg4;
18410 }
18411 return resultobj;
18412fail:
18413 {
18414 if (temp2)
18415 delete arg2;
18416 }
18417 {
18418 if (temp3)
18419 delete arg3;
18420 }
18421 {
18422 if (temp4)
18423 delete arg4;
18424 }
18425 return NULL;
d55e5bfc
RD
18426}
18427
18428
554f62e9
RD
18429SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18430 PyObject *obj;
18431 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18432 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18433 return SWIG_Py_Void();
d55e5bfc
RD
18434}
18435
554f62e9
RD
18436SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18437 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18438}
18439
554f62e9
RD
18440SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18441 PyObject *resultobj = 0;
18442 wxFontData *result = 0 ;
18443
18444 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (wxFontData *)new wxFontData();
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18452 return resultobj;
18453fail:
18454 return NULL;
d55e5bfc
RD
18455}
18456
18457
554f62e9
RD
18458SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18459 PyObject *resultobj = 0;
18460 wxFontData *arg1 = (wxFontData *) 0 ;
18461 void *argp1 = 0 ;
18462 int res1 = 0 ;
18463 PyObject *swig_obj[1] ;
18464
18465 if (!args) SWIG_fail;
18466 swig_obj[0] = args;
18467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18468 if (!SWIG_IsOK(res1)) {
18469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18470 }
18471 arg1 = reinterpret_cast< wxFontData * >(argp1);
18472 {
18473 PyThreadState* __tstate = wxPyBeginAllowThreads();
18474 delete arg1;
d55e5bfc 18475
554f62e9
RD
18476 wxPyEndAllowThreads(__tstate);
18477 if (PyErr_Occurred()) SWIG_fail;
18478 }
18479 resultobj = SWIG_Py_Void();
18480 return resultobj;
18481fail:
18482 return NULL;
18483}
18484
18485
18486SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18487 PyObject *resultobj = 0;
18488 wxFontData *arg1 = (wxFontData *) 0 ;
18489 bool arg2 ;
18490 void *argp1 = 0 ;
18491 int res1 = 0 ;
18492 bool val2 ;
18493 int ecode2 = 0 ;
18494 PyObject * obj0 = 0 ;
18495 PyObject * obj1 = 0 ;
18496 char * kwnames[] = {
18497 (char *) "self",(char *) "enable", NULL
18498 };
18499
18500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18502 if (!SWIG_IsOK(res1)) {
18503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18504 }
18505 arg1 = reinterpret_cast< wxFontData * >(argp1);
18506 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18507 if (!SWIG_IsOK(ecode2)) {
18508 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18509 }
18510 arg2 = static_cast< bool >(val2);
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 (arg1)->EnableEffects(arg2);
18514 wxPyEndAllowThreads(__tstate);
18515 if (PyErr_Occurred()) SWIG_fail;
18516 }
18517 resultobj = SWIG_Py_Void();
18518 return resultobj;
18519fail:
18520 return NULL;
d55e5bfc
RD
18521}
18522
18523
554f62e9
RD
18524SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18525 PyObject *resultobj = 0;
18526 wxFontData *arg1 = (wxFontData *) 0 ;
18527 bool result;
18528 void *argp1 = 0 ;
18529 int res1 = 0 ;
18530 PyObject *swig_obj[1] ;
18531
18532 if (!args) SWIG_fail;
18533 swig_obj[0] = args;
18534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18535 if (!SWIG_IsOK(res1)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18537 }
18538 arg1 = reinterpret_cast< wxFontData * >(argp1);
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 result = (bool)(arg1)->GetAllowSymbols();
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 {
18546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18547 }
18548 return resultobj;
18549fail:
18550 return NULL;
d55e5bfc
RD
18551}
18552
18553
554f62e9
RD
18554SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18555 PyObject *resultobj = 0;
18556 wxFontData *arg1 = (wxFontData *) 0 ;
18557 wxColour result;
18558 void *argp1 = 0 ;
18559 int res1 = 0 ;
18560 PyObject *swig_obj[1] ;
18561
18562 if (!args) SWIG_fail;
18563 swig_obj[0] = args;
18564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18565 if (!SWIG_IsOK(res1)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18567 }
18568 arg1 = reinterpret_cast< wxFontData * >(argp1);
18569 {
18570 PyThreadState* __tstate = wxPyBeginAllowThreads();
18571 result = (arg1)->GetColour();
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18576 return resultobj;
18577fail:
18578 return NULL;
70b7a5fe
RD
18579}
18580
18581
554f62e9
RD
18582SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18583 PyObject *resultobj = 0;
18584 wxFontData *arg1 = (wxFontData *) 0 ;
18585 wxFont result;
18586 void *argp1 = 0 ;
18587 int res1 = 0 ;
18588 PyObject *swig_obj[1] ;
18589
18590 if (!args) SWIG_fail;
18591 swig_obj[0] = args;
18592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18593 if (!SWIG_IsOK(res1)) {
18594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18595 }
18596 arg1 = reinterpret_cast< wxFontData * >(argp1);
18597 {
18598 PyThreadState* __tstate = wxPyBeginAllowThreads();
18599 result = (arg1)->GetChosenFont();
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18604 return resultobj;
18605fail:
18606 return NULL;
70b7a5fe
RD
18607}
18608
18609
554f62e9
RD
18610SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18611 PyObject *resultobj = 0;
18612 wxFontData *arg1 = (wxFontData *) 0 ;
18613 bool result;
18614 void *argp1 = 0 ;
18615 int res1 = 0 ;
18616 PyObject *swig_obj[1] ;
18617
18618 if (!args) SWIG_fail;
18619 swig_obj[0] = args;
18620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18621 if (!SWIG_IsOK(res1)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18623 }
18624 arg1 = reinterpret_cast< wxFontData * >(argp1);
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 result = (bool)(arg1)->GetEnableEffects();
18628 wxPyEndAllowThreads(__tstate);
18629 if (PyErr_Occurred()) SWIG_fail;
18630 }
18631 {
18632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18633 }
18634 return resultobj;
18635fail:
18636 return NULL;
d55e5bfc
RD
18637}
18638
18639
554f62e9
RD
18640SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18641 PyObject *resultobj = 0;
18642 wxFontData *arg1 = (wxFontData *) 0 ;
18643 wxFont result;
18644 void *argp1 = 0 ;
18645 int res1 = 0 ;
18646 PyObject *swig_obj[1] ;
18647
18648 if (!args) SWIG_fail;
18649 swig_obj[0] = args;
18650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18651 if (!SWIG_IsOK(res1)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18653 }
18654 arg1 = reinterpret_cast< wxFontData * >(argp1);
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = (arg1)->GetInitialFont();
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18662 return resultobj;
18663fail:
18664 return NULL;
d55e5bfc
RD
18665}
18666
18667
554f62e9
RD
18668SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18669 PyObject *resultobj = 0;
18670 wxFontData *arg1 = (wxFontData *) 0 ;
18671 bool result;
18672 void *argp1 = 0 ;
18673 int res1 = 0 ;
18674 PyObject *swig_obj[1] ;
18675
18676 if (!args) SWIG_fail;
18677 swig_obj[0] = args;
18678 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18679 if (!SWIG_IsOK(res1)) {
18680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18681 }
18682 arg1 = reinterpret_cast< wxFontData * >(argp1);
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 result = (bool)(arg1)->GetShowHelp();
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 {
18690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18691 }
18692 return resultobj;
18693fail:
18694 return NULL;
18695}
18696
18697
18698SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18699 PyObject *resultobj = 0;
18700 wxFontData *arg1 = (wxFontData *) 0 ;
18701 bool arg2 ;
18702 void *argp1 = 0 ;
18703 int res1 = 0 ;
18704 bool val2 ;
18705 int ecode2 = 0 ;
18706 PyObject * obj0 = 0 ;
18707 PyObject * obj1 = 0 ;
18708 char * kwnames[] = {
18709 (char *) "self",(char *) "allowSymbols", NULL
18710 };
18711
18712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18714 if (!SWIG_IsOK(res1)) {
18715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18716 }
18717 arg1 = reinterpret_cast< wxFontData * >(argp1);
18718 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18719 if (!SWIG_IsOK(ecode2)) {
18720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18721 }
18722 arg2 = static_cast< bool >(val2);
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 (arg1)->SetAllowSymbols(arg2);
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 resultobj = SWIG_Py_Void();
18730 return resultobj;
18731fail:
18732 return NULL;
18733}
18734
18735
18736SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18737 PyObject *resultobj = 0;
18738 wxFontData *arg1 = (wxFontData *) 0 ;
18739 wxFont *arg2 = 0 ;
18740 void *argp1 = 0 ;
18741 int res1 = 0 ;
18742 void *argp2 = 0 ;
18743 int res2 = 0 ;
18744 PyObject * obj0 = 0 ;
18745 PyObject * obj1 = 0 ;
18746 char * kwnames[] = {
18747 (char *) "self",(char *) "font", NULL
18748 };
18749
18750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18752 if (!SWIG_IsOK(res1)) {
18753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18754 }
18755 arg1 = reinterpret_cast< wxFontData * >(argp1);
18756 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18757 if (!SWIG_IsOK(res2)) {
18758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18759 }
18760 if (!argp2) {
18761 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18762 }
18763 arg2 = reinterpret_cast< wxFont * >(argp2);
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 (arg1)->SetChosenFont((wxFont const &)*arg2);
18767 wxPyEndAllowThreads(__tstate);
18768 if (PyErr_Occurred()) SWIG_fail;
18769 }
18770 resultobj = SWIG_Py_Void();
18771 return resultobj;
18772fail:
18773 return NULL;
18774}
18775
18776
18777SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18778 PyObject *resultobj = 0;
18779 wxFontData *arg1 = (wxFontData *) 0 ;
18780 wxColour *arg2 = 0 ;
18781 void *argp1 = 0 ;
18782 int res1 = 0 ;
18783 wxColour temp2 ;
18784 PyObject * obj0 = 0 ;
18785 PyObject * obj1 = 0 ;
18786 char * kwnames[] = {
18787 (char *) "self",(char *) "colour", NULL
18788 };
18789
18790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18792 if (!SWIG_IsOK(res1)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18794 }
18795 arg1 = reinterpret_cast< wxFontData * >(argp1);
18796 {
18797 arg2 = &temp2;
18798 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18799 }
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 (arg1)->SetColour((wxColour const &)*arg2);
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 resultobj = SWIG_Py_Void();
18807 return resultobj;
18808fail:
18809 return NULL;
18810}
18811
18812
18813SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj = 0;
18815 wxFontData *arg1 = (wxFontData *) 0 ;
18816 wxFont *arg2 = 0 ;
18817 void *argp1 = 0 ;
18818 int res1 = 0 ;
18819 void *argp2 = 0 ;
18820 int res2 = 0 ;
18821 PyObject * obj0 = 0 ;
18822 PyObject * obj1 = 0 ;
18823 char * kwnames[] = {
18824 (char *) "self",(char *) "font", NULL
18825 };
18826
18827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18829 if (!SWIG_IsOK(res1)) {
18830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18831 }
18832 arg1 = reinterpret_cast< wxFontData * >(argp1);
18833 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18834 if (!SWIG_IsOK(res2)) {
18835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18836 }
18837 if (!argp2) {
18838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18839 }
18840 arg2 = reinterpret_cast< wxFont * >(argp2);
18841 {
18842 PyThreadState* __tstate = wxPyBeginAllowThreads();
18843 (arg1)->SetInitialFont((wxFont const &)*arg2);
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
18847 resultobj = SWIG_Py_Void();
18848 return resultobj;
18849fail:
18850 return NULL;
18851}
18852
18853
18854SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj = 0;
18856 wxFontData *arg1 = (wxFontData *) 0 ;
18857 int arg2 ;
18858 int arg3 ;
18859 void *argp1 = 0 ;
18860 int res1 = 0 ;
18861 int val2 ;
18862 int ecode2 = 0 ;
18863 int val3 ;
18864 int ecode3 = 0 ;
18865 PyObject * obj0 = 0 ;
18866 PyObject * obj1 = 0 ;
18867 PyObject * obj2 = 0 ;
18868 char * kwnames[] = {
18869 (char *) "self",(char *) "min",(char *) "max", NULL
18870 };
18871
18872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18874 if (!SWIG_IsOK(res1)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18876 }
18877 arg1 = reinterpret_cast< wxFontData * >(argp1);
18878 ecode2 = SWIG_AsVal_int(obj1, &val2);
18879 if (!SWIG_IsOK(ecode2)) {
18880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18881 }
18882 arg2 = static_cast< int >(val2);
18883 ecode3 = SWIG_AsVal_int(obj2, &val3);
18884 if (!SWIG_IsOK(ecode3)) {
18885 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18886 }
18887 arg3 = static_cast< int >(val3);
18888 {
18889 PyThreadState* __tstate = wxPyBeginAllowThreads();
18890 (arg1)->SetRange(arg2,arg3);
18891 wxPyEndAllowThreads(__tstate);
18892 if (PyErr_Occurred()) SWIG_fail;
18893 }
18894 resultobj = SWIG_Py_Void();
18895 return resultobj;
18896fail:
18897 return NULL;
18898}
18899
18900
18901SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18902 PyObject *resultobj = 0;
18903 wxFontData *arg1 = (wxFontData *) 0 ;
18904 bool arg2 ;
18905 void *argp1 = 0 ;
18906 int res1 = 0 ;
18907 bool val2 ;
18908 int ecode2 = 0 ;
18909 PyObject * obj0 = 0 ;
18910 PyObject * obj1 = 0 ;
18911 char * kwnames[] = {
18912 (char *) "self",(char *) "showHelp", NULL
18913 };
18914
18915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18917 if (!SWIG_IsOK(res1)) {
18918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18919 }
18920 arg1 = reinterpret_cast< wxFontData * >(argp1);
18921 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18922 if (!SWIG_IsOK(ecode2)) {
18923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18924 }
18925 arg2 = static_cast< bool >(val2);
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 (arg1)->SetShowHelp(arg2);
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 resultobj = SWIG_Py_Void();
18933 return resultobj;
18934fail:
18935 return NULL;
d55e5bfc
RD
18936}
18937
18938
554f62e9
RD
18939SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18940 PyObject *obj;
18941 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18942 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18943 return SWIG_Py_Void();
d55e5bfc
RD
18944}
18945
554f62e9
RD
18946SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18947 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18948}
18949
554f62e9
RD
18950SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj = 0;
18952 wxWindow *arg1 = (wxWindow *) 0 ;
18953 wxFontData *arg2 = 0 ;
18954 wxFontDialog *result = 0 ;
18955 void *argp1 = 0 ;
18956 int res1 = 0 ;
18957 void *argp2 = 0 ;
18958 int res2 = 0 ;
18959 PyObject * obj0 = 0 ;
18960 PyObject * obj1 = 0 ;
18961 char * kwnames[] = {
18962 (char *) "parent",(char *) "data", NULL
18963 };
18964
18965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18967 if (!SWIG_IsOK(res1)) {
18968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18969 }
18970 arg1 = reinterpret_cast< wxWindow * >(argp1);
18971 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18972 if (!SWIG_IsOK(res2)) {
18973 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18974 }
18975 if (!argp2) {
18976 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18977 }
18978 arg2 = reinterpret_cast< wxFontData * >(argp2);
18979 {
18980 if (!wxPyCheckForApp()) SWIG_fail;
18981 PyThreadState* __tstate = wxPyBeginAllowThreads();
18982 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18983 wxPyEndAllowThreads(__tstate);
18984 if (PyErr_Occurred()) SWIG_fail;
18985 }
18986 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18987 return resultobj;
18988fail:
18989 return NULL;
d55e5bfc
RD
18990}
18991
18992
554f62e9
RD
18993SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18994 PyObject *resultobj = 0;
18995 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18996 wxFontData *result = 0 ;
18997 void *argp1 = 0 ;
18998 int res1 = 0 ;
18999 PyObject *swig_obj[1] ;
19000
19001 if (!args) SWIG_fail;
19002 swig_obj[0] = args;
19003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19004 if (!SWIG_IsOK(res1)) {
19005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19006 }
19007 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19010 {
554f62e9
RD
19011 wxFontData &_result_ref = (arg1)->GetFontData();
19012 result = (wxFontData *) &_result_ref;
d55e5bfc 19013 }
554f62e9
RD
19014 wxPyEndAllowThreads(__tstate);
19015 if (PyErr_Occurred()) SWIG_fail;
19016 }
19017 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19018 return resultobj;
19019fail:
19020 return NULL;
19021}
19022
19023
19024SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19025 PyObject *obj;
19026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19027 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19028 return SWIG_Py_Void();
19029}
19030
19031SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19032 return SWIG_Python_InitShadowInstance(args);
19033}
19034
19035SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj = 0;
19037 wxWindow *arg1 = (wxWindow *) NULL ;
19038 wxFont const &arg2_defvalue = wxNullFont ;
19039 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19040 wxString const &arg3_defvalue = wxPyEmptyString ;
19041 wxString *arg3 = (wxString *) &arg3_defvalue ;
19042 wxFont result;
19043 void *argp1 = 0 ;
19044 int res1 = 0 ;
19045 void *argp2 = 0 ;
19046 int res2 = 0 ;
19047 bool temp3 = false ;
19048 PyObject * obj0 = 0 ;
19049 PyObject * obj1 = 0 ;
19050 PyObject * obj2 = 0 ;
19051 char * kwnames[] = {
19052 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19053 };
19054
19055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19056 if (obj0) {
19057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19058 if (!SWIG_IsOK(res1)) {
19059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
093d3ff1 19060 }
554f62e9
RD
19061 arg1 = reinterpret_cast< wxWindow * >(argp1);
19062 }
19063 if (obj1) {
19064 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19065 if (!SWIG_IsOK(res2)) {
19066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
093d3ff1 19067 }
554f62e9
RD
19068 if (!argp2) {
19069 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19070 }
554f62e9
RD
19071 arg2 = reinterpret_cast< wxFont * >(argp2);
19072 }
19073 if (obj2) {
d55e5bfc 19074 {
554f62e9
RD
19075 arg3 = wxString_in_helper(obj2);
19076 if (arg3 == NULL) SWIG_fail;
19077 temp3 = true;
d55e5bfc 19078 }
554f62e9
RD
19079 }
19080 {
19081 PyThreadState* __tstate = wxPyBeginAllowThreads();
19082 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19087 {
19088 if (temp3)
19089 delete arg3;
19090 }
19091 return resultobj;
19092fail:
19093 {
19094 if (temp3)
19095 delete arg3;
19096 }
19097 return NULL;
19098}
19099
19100
19101SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj = 0;
19103 wxWindow *arg1 = (wxWindow *) 0 ;
19104 wxString *arg2 = 0 ;
19105 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19106 wxString *arg3 = (wxString *) &arg3_defvalue ;
19107 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19108 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19109 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19110 wxMessageDialog *result = 0 ;
19111 void *argp1 = 0 ;
19112 int res1 = 0 ;
19113 bool temp2 = false ;
19114 bool temp3 = false ;
19115 long val4 ;
19116 int ecode4 = 0 ;
19117 wxPoint temp5 ;
19118 PyObject * obj0 = 0 ;
19119 PyObject * obj1 = 0 ;
19120 PyObject * obj2 = 0 ;
19121 PyObject * obj3 = 0 ;
19122 PyObject * obj4 = 0 ;
19123 char * kwnames[] = {
19124 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19125 };
19126
19127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19129 if (!SWIG_IsOK(res1)) {
19130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19131 }
19132 arg1 = reinterpret_cast< wxWindow * >(argp1);
19133 {
19134 arg2 = wxString_in_helper(obj1);
19135 if (arg2 == NULL) SWIG_fail;
19136 temp2 = true;
19137 }
19138 if (obj2) {
093d3ff1 19139 {
554f62e9
RD
19140 arg3 = wxString_in_helper(obj2);
19141 if (arg3 == NULL) SWIG_fail;
19142 temp3 = true;
093d3ff1 19143 }
554f62e9
RD
19144 }
19145 if (obj3) {
19146 ecode4 = SWIG_AsVal_long(obj3, &val4);
19147 if (!SWIG_IsOK(ecode4)) {
19148 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19149 }
19150 arg4 = static_cast< long >(val4);
19151 }
19152 if (obj4) {
d55e5bfc 19153 {
554f62e9
RD
19154 arg5 = &temp5;
19155 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19156 }
19157 }
19158 {
19159 if (!wxPyCheckForApp()) SWIG_fail;
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19166 {
19167 if (temp2)
19168 delete arg2;
19169 }
19170 {
19171 if (temp3)
19172 delete arg3;
19173 }
19174 return resultobj;
19175fail:
19176 {
19177 if (temp2)
19178 delete arg2;
19179 }
19180 {
19181 if (temp3)
19182 delete arg3;
19183 }
19184 return NULL;
19185}
19186
19187
19188SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19189 PyObject *obj;
19190 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19191 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19192 return SWIG_Py_Void();
19193}
19194
19195SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19196 return SWIG_Python_InitShadowInstance(args);
19197}
19198
19199SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj = 0;
19201 wxString *arg1 = 0 ;
19202 wxString *arg2 = 0 ;
19203 int arg3 = (int) 100 ;
19204 wxWindow *arg4 = (wxWindow *) NULL ;
19205 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19206 wxProgressDialog *result = 0 ;
19207 bool temp1 = false ;
19208 bool temp2 = false ;
19209 int val3 ;
19210 int ecode3 = 0 ;
19211 void *argp4 = 0 ;
19212 int res4 = 0 ;
19213 int val5 ;
19214 int ecode5 = 0 ;
19215 PyObject * obj0 = 0 ;
19216 PyObject * obj1 = 0 ;
19217 PyObject * obj2 = 0 ;
19218 PyObject * obj3 = 0 ;
19219 PyObject * obj4 = 0 ;
19220 char * kwnames[] = {
19221 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19222 };
19223
19224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19225 {
19226 arg1 = wxString_in_helper(obj0);
19227 if (arg1 == NULL) SWIG_fail;
19228 temp1 = true;
19229 }
19230 {
19231 arg2 = wxString_in_helper(obj1);
19232 if (arg2 == NULL) SWIG_fail;
19233 temp2 = true;
19234 }
19235 if (obj2) {
19236 ecode3 = SWIG_AsVal_int(obj2, &val3);
19237 if (!SWIG_IsOK(ecode3)) {
19238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19239 }
19240 arg3 = static_cast< int >(val3);
19241 }
19242 if (obj3) {
19243 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19244 if (!SWIG_IsOK(res4)) {
19245 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19246 }
554f62e9
RD
19247 arg4 = reinterpret_cast< wxWindow * >(argp4);
19248 }
19249 if (obj4) {
19250 ecode5 = SWIG_AsVal_int(obj4, &val5);
19251 if (!SWIG_IsOK(ecode5)) {
19252 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19253 }
19254 arg5 = static_cast< int >(val5);
19255 }
19256 {
19257 if (!wxPyCheckForApp()) SWIG_fail;
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19264 {
19265 if (temp1)
19266 delete arg1;
19267 }
19268 {
19269 if (temp2)
19270 delete arg2;
19271 }
19272 return resultobj;
19273fail:
19274 {
19275 if (temp1)
19276 delete arg1;
19277 }
19278 {
19279 if (temp2)
19280 delete arg2;
19281 }
19282 return NULL;
19283}
19284
19285
19286SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19287 PyObject *resultobj = 0;
19288 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19289 int arg2 ;
19290 wxString const &arg3_defvalue = wxPyEmptyString ;
19291 wxString *arg3 = (wxString *) &arg3_defvalue ;
f460c29d 19292 bool *arg4 = (bool *) 0 ;
554f62e9
RD
19293 bool result;
19294 void *argp1 = 0 ;
19295 int res1 = 0 ;
19296 int val2 ;
19297 int ecode2 = 0 ;
19298 bool temp3 = false ;
f460c29d
RD
19299 bool temp4 ;
19300 int res4 = SWIG_TMPOBJ ;
554f62e9
RD
19301 PyObject * obj0 = 0 ;
19302 PyObject * obj1 = 0 ;
19303 PyObject * obj2 = 0 ;
19304 char * kwnames[] = {
19305 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19306 };
19307
f460c29d 19308 arg4 = &temp4;
554f62e9
RD
19309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19311 if (!SWIG_IsOK(res1)) {
19312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19313 }
19314 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19315 ecode2 = SWIG_AsVal_int(obj1, &val2);
19316 if (!SWIG_IsOK(ecode2)) {
19317 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19318 }
19319 arg2 = static_cast< int >(val2);
19320 if (obj2) {
d55e5bfc 19321 {
554f62e9
RD
19322 arg3 = wxString_in_helper(obj2);
19323 if (arg3 == NULL) SWIG_fail;
19324 temp3 = true;
d55e5bfc 19325 }
554f62e9
RD
19326 }
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
f460c29d 19329 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
554f62e9
RD
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 {
19334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19335 }
f460c29d
RD
19336 if (SWIG_IsTmpObj(res4)) {
19337 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19338 } else {
19339 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19340 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19341 }
554f62e9
RD
19342 {
19343 if (temp3)
19344 delete arg3;
19345 }
19346 return resultobj;
19347fail:
19348 {
19349 if (temp3)
19350 delete arg3;
19351 }
19352 return NULL;
d55e5bfc
RD
19353}
19354
19355
554f62e9
RD
19356SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19357 PyObject *resultobj = 0;
19358 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19359 void *argp1 = 0 ;
19360 int res1 = 0 ;
19361 PyObject *swig_obj[1] ;
19362
19363 if (!args) SWIG_fail;
19364 swig_obj[0] = args;
19365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19366 if (!SWIG_IsOK(res1)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19368 }
19369 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 (arg1)->Resume();
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 resultobj = SWIG_Py_Void();
19377 return resultobj;
19378fail:
19379 return NULL;
d55e5bfc
RD
19380}
19381
19382
554f62e9
RD
19383SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19384 PyObject *obj;
19385 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19386 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19387 return SWIG_Py_Void();
d55e5bfc
RD
19388}
19389
554f62e9
RD
19390SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19391 return SWIG_Python_InitShadowInstance(args);
19392}
d55e5bfc 19393
554f62e9
RD
19394SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj = 0;
19396 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19397 int arg2 = (int) 0 ;
19398 wxFindDialogEvent *result = 0 ;
19399 int val1 ;
19400 int ecode1 = 0 ;
19401 int val2 ;
19402 int ecode2 = 0 ;
19403 PyObject * obj0 = 0 ;
19404 PyObject * obj1 = 0 ;
19405 char * kwnames[] = {
19406 (char *) "commandType",(char *) "id", NULL
19407 };
19408
19409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19410 if (obj0) {
19411 ecode1 = SWIG_AsVal_int(obj0, &val1);
19412 if (!SWIG_IsOK(ecode1)) {
19413 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19414 }
19415 arg1 = static_cast< wxEventType >(val1);
19416 }
19417 if (obj1) {
19418 ecode2 = SWIG_AsVal_int(obj1, &val2);
19419 if (!SWIG_IsOK(ecode2)) {
19420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19421 }
19422 arg2 = static_cast< int >(val2);
19423 }
19424 {
19425 PyThreadState* __tstate = wxPyBeginAllowThreads();
19426 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19431 return resultobj;
19432fail:
19433 return NULL;
d55e5bfc
RD
19434}
19435
19436
554f62e9
RD
19437SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19438 PyObject *resultobj = 0;
19439 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19440 int result;
19441 void *argp1 = 0 ;
19442 int res1 = 0 ;
19443 PyObject *swig_obj[1] ;
19444
19445 if (!args) SWIG_fail;
19446 swig_obj[0] = args;
19447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19448 if (!SWIG_IsOK(res1)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19450 }
19451 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 result = (int)(arg1)->GetFlags();
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 resultobj = SWIG_From_int(static_cast< int >(result));
19459 return resultobj;
19460fail:
19461 return NULL;
d55e5bfc
RD
19462}
19463
19464
554f62e9
RD
19465SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19466 PyObject *resultobj = 0;
19467 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19468 wxString *result = 0 ;
19469 void *argp1 = 0 ;
19470 int res1 = 0 ;
19471 PyObject *swig_obj[1] ;
19472
19473 if (!args) SWIG_fail;
19474 swig_obj[0] = args;
19475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19476 if (!SWIG_IsOK(res1)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19478 }
19479 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19480 {
19481 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19482 {
554f62e9
RD
19483 wxString const &_result_ref = (arg1)->GetFindString();
19484 result = (wxString *) &_result_ref;
d55e5bfc 19485 }
554f62e9
RD
19486 wxPyEndAllowThreads(__tstate);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 }
19489 {
19490#if wxUSE_UNICODE
19491 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19492#else
19493 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19494#endif
19495 }
19496 return resultobj;
19497fail:
19498 return NULL;
d55e5bfc
RD
19499}
19500
19501
554f62e9
RD
19502SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19503 PyObject *resultobj = 0;
19504 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19505 wxString *result = 0 ;
19506 void *argp1 = 0 ;
19507 int res1 = 0 ;
19508 PyObject *swig_obj[1] ;
19509
19510 if (!args) SWIG_fail;
19511 swig_obj[0] = args;
19512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19513 if (!SWIG_IsOK(res1)) {
19514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19515 }
19516 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19519 {
554f62e9
RD
19520 wxString const &_result_ref = (arg1)->GetReplaceString();
19521 result = (wxString *) &_result_ref;
093d3ff1 19522 }
554f62e9
RD
19523 wxPyEndAllowThreads(__tstate);
19524 if (PyErr_Occurred()) SWIG_fail;
19525 }
19526 {
19527#if wxUSE_UNICODE
19528 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19529#else
19530 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19531#endif
19532 }
19533 return resultobj;
19534fail:
19535 return NULL;
d55e5bfc
RD
19536}
19537
19538
554f62e9
RD
19539SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19540 PyObject *resultobj = 0;
19541 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19542 wxFindReplaceDialog *result = 0 ;
19543 void *argp1 = 0 ;
19544 int res1 = 0 ;
19545 PyObject *swig_obj[1] ;
19546
19547 if (!args) SWIG_fail;
19548 swig_obj[0] = args;
19549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19550 if (!SWIG_IsOK(res1)) {
19551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19552 }
19553 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19554 {
19555 PyThreadState* __tstate = wxPyBeginAllowThreads();
19556 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19561 return resultobj;
19562fail:
19563 return NULL;
19564}
19565
19566
19567SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj = 0;
19569 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19570 int arg2 ;
19571 void *argp1 = 0 ;
19572 int res1 = 0 ;
19573 int val2 ;
19574 int ecode2 = 0 ;
19575 PyObject * obj0 = 0 ;
19576 PyObject * obj1 = 0 ;
19577 char * kwnames[] = {
19578 (char *) "self",(char *) "flags", NULL
19579 };
19580
19581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19583 if (!SWIG_IsOK(res1)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19585 }
19586 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19587 ecode2 = SWIG_AsVal_int(obj1, &val2);
19588 if (!SWIG_IsOK(ecode2)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19590 }
19591 arg2 = static_cast< int >(val2);
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 (arg1)->SetFlags(arg2);
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 resultobj = SWIG_Py_Void();
19599 return resultobj;
19600fail:
19601 return NULL;
19602}
19603
19604
19605SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19606 PyObject *resultobj = 0;
19607 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19608 wxString *arg2 = 0 ;
19609 void *argp1 = 0 ;
19610 int res1 = 0 ;
19611 bool temp2 = false ;
19612 PyObject * obj0 = 0 ;
19613 PyObject * obj1 = 0 ;
19614 char * kwnames[] = {
19615 (char *) "self",(char *) "str", NULL
19616 };
19617
19618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19620 if (!SWIG_IsOK(res1)) {
19621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19622 }
19623 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19624 {
19625 arg2 = wxString_in_helper(obj1);
19626 if (arg2 == NULL) SWIG_fail;
19627 temp2 = true;
19628 }
19629 {
19630 PyThreadState* __tstate = wxPyBeginAllowThreads();
19631 (arg1)->SetFindString((wxString const &)*arg2);
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 resultobj = SWIG_Py_Void();
19636 {
19637 if (temp2)
19638 delete arg2;
19639 }
19640 return resultobj;
19641fail:
19642 {
19643 if (temp2)
19644 delete arg2;
19645 }
19646 return NULL;
d55e5bfc
RD
19647}
19648
19649
554f62e9
RD
19650SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj = 0;
19652 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19653 wxString *arg2 = 0 ;
19654 void *argp1 = 0 ;
19655 int res1 = 0 ;
19656 bool temp2 = false ;
19657 PyObject * obj0 = 0 ;
19658 PyObject * obj1 = 0 ;
19659 char * kwnames[] = {
19660 (char *) "self",(char *) "str", NULL
19661 };
19662
19663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19665 if (!SWIG_IsOK(res1)) {
19666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19667 }
19668 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19669 {
19670 arg2 = wxString_in_helper(obj1);
19671 if (arg2 == NULL) SWIG_fail;
19672 temp2 = true;
19673 }
19674 {
19675 PyThreadState* __tstate = wxPyBeginAllowThreads();
19676 (arg1)->SetReplaceString((wxString const &)*arg2);
19677 wxPyEndAllowThreads(__tstate);
19678 if (PyErr_Occurred()) SWIG_fail;
19679 }
19680 resultobj = SWIG_Py_Void();
19681 {
19682 if (temp2)
19683 delete arg2;
19684 }
19685 return resultobj;
19686fail:
19687 {
19688 if (temp2)
19689 delete arg2;
19690 }
19691 return NULL;
d55e5bfc
RD
19692}
19693
19694
554f62e9
RD
19695SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19696 PyObject *obj;
19697 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19698 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19699 return SWIG_Py_Void();
d55e5bfc
RD
19700}
19701
554f62e9
RD
19702SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19703 return SWIG_Python_InitShadowInstance(args);
19704}
d55e5bfc 19705
554f62e9
RD
19706SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19707 PyObject *resultobj = 0;
19708 int arg1 = (int) 0 ;
19709 wxFindReplaceData *result = 0 ;
19710 int val1 ;
19711 int ecode1 = 0 ;
19712 PyObject * obj0 = 0 ;
19713 char * kwnames[] = {
19714 (char *) "flags", NULL
19715 };
19716
19717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19718 if (obj0) {
19719 ecode1 = SWIG_AsVal_int(obj0, &val1);
19720 if (!SWIG_IsOK(ecode1)) {
19721 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19722 }
19723 arg1 = static_cast< int >(val1);
19724 }
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19732 return resultobj;
19733fail:
19734 return NULL;
d55e5bfc
RD
19735}
19736
19737
554f62e9
RD
19738SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19739 PyObject *resultobj = 0;
19740 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19741 void *argp1 = 0 ;
19742 int res1 = 0 ;
19743 PyObject *swig_obj[1] ;
19744
19745 if (!args) SWIG_fail;
19746 swig_obj[0] = args;
19747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19748 if (!SWIG_IsOK(res1)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19750 }
19751 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 delete arg1;
d55e5bfc 19755
554f62e9
RD
19756 wxPyEndAllowThreads(__tstate);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 }
19759 resultobj = SWIG_Py_Void();
19760 return resultobj;
19761fail:
19762 return NULL;
d55e5bfc
RD
19763}
19764
19765
554f62e9
RD
19766SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19767 PyObject *resultobj = 0;
19768 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19769 wxString *result = 0 ;
19770 void *argp1 = 0 ;
19771 int res1 = 0 ;
19772 PyObject *swig_obj[1] ;
19773
19774 if (!args) SWIG_fail;
19775 swig_obj[0] = args;
19776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19777 if (!SWIG_IsOK(res1)) {
19778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19779 }
19780 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19781 {
19782 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19783 {
554f62e9
RD
19784 wxString const &_result_ref = (arg1)->GetFindString();
19785 result = (wxString *) &_result_ref;
d55e5bfc 19786 }
554f62e9
RD
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 {
19791#if wxUSE_UNICODE
19792 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19793#else
19794 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19795#endif
19796 }
19797 return resultobj;
19798fail:
19799 return NULL;
d55e5bfc
RD
19800}
19801
19802
554f62e9
RD
19803SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19804 PyObject *resultobj = 0;
19805 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19806 wxString *result = 0 ;
19807 void *argp1 = 0 ;
19808 int res1 = 0 ;
19809 PyObject *swig_obj[1] ;
19810
19811 if (!args) SWIG_fail;
19812 swig_obj[0] = args;
19813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19814 if (!SWIG_IsOK(res1)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19816 }
19817 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19818 {
19819 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19820 {
554f62e9
RD
19821 wxString const &_result_ref = (arg1)->GetReplaceString();
19822 result = (wxString *) &_result_ref;
d55e5bfc 19823 }
554f62e9
RD
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 {
19828#if wxUSE_UNICODE
19829 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19830#else
19831 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19832#endif
19833 }
19834 return resultobj;
19835fail:
19836 return NULL;
d55e5bfc
RD
19837}
19838
19839
554f62e9
RD
19840SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19841 PyObject *resultobj = 0;
19842 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19843 int result;
19844 void *argp1 = 0 ;
19845 int res1 = 0 ;
19846 PyObject *swig_obj[1] ;
19847
19848 if (!args) SWIG_fail;
19849 swig_obj[0] = args;
19850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19851 if (!SWIG_IsOK(res1)) {
19852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19853 }
19854 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19855 {
19856 PyThreadState* __tstate = wxPyBeginAllowThreads();
19857 result = (int)(arg1)->GetFlags();
19858 wxPyEndAllowThreads(__tstate);
19859 if (PyErr_Occurred()) SWIG_fail;
19860 }
19861 resultobj = SWIG_From_int(static_cast< int >(result));
19862 return resultobj;
19863fail:
19864 return NULL;
19865}
19866
19867
19868SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19869 PyObject *resultobj = 0;
19870 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19871 int arg2 ;
19872 void *argp1 = 0 ;
19873 int res1 = 0 ;
19874 int val2 ;
19875 int ecode2 = 0 ;
19876 PyObject * obj0 = 0 ;
19877 PyObject * obj1 = 0 ;
19878 char * kwnames[] = {
19879 (char *) "self",(char *) "flags", NULL
19880 };
19881
19882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19884 if (!SWIG_IsOK(res1)) {
19885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19886 }
19887 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19888 ecode2 = SWIG_AsVal_int(obj1, &val2);
19889 if (!SWIG_IsOK(ecode2)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19891 }
19892 arg2 = static_cast< int >(val2);
19893 {
19894 PyThreadState* __tstate = wxPyBeginAllowThreads();
19895 (arg1)->SetFlags(arg2);
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 resultobj = SWIG_Py_Void();
19900 return resultobj;
19901fail:
19902 return NULL;
19903}
19904
19905
19906SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj = 0;
19908 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19909 wxString *arg2 = 0 ;
19910 void *argp1 = 0 ;
19911 int res1 = 0 ;
19912 bool temp2 = false ;
19913 PyObject * obj0 = 0 ;
19914 PyObject * obj1 = 0 ;
19915 char * kwnames[] = {
19916 (char *) "self",(char *) "str", NULL
19917 };
19918
19919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19921 if (!SWIG_IsOK(res1)) {
19922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19923 }
19924 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19925 {
19926 arg2 = wxString_in_helper(obj1);
19927 if (arg2 == NULL) SWIG_fail;
19928 temp2 = true;
19929 }
19930 {
19931 PyThreadState* __tstate = wxPyBeginAllowThreads();
19932 (arg1)->SetFindString((wxString const &)*arg2);
19933 wxPyEndAllowThreads(__tstate);
19934 if (PyErr_Occurred()) SWIG_fail;
19935 }
19936 resultobj = SWIG_Py_Void();
19937 {
19938 if (temp2)
19939 delete arg2;
19940 }
19941 return resultobj;
19942fail:
19943 {
19944 if (temp2)
19945 delete arg2;
19946 }
19947 return NULL;
d55e5bfc
RD
19948}
19949
19950
554f62e9
RD
19951SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj = 0;
19953 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19954 wxString *arg2 = 0 ;
19955 void *argp1 = 0 ;
19956 int res1 = 0 ;
19957 bool temp2 = false ;
19958 PyObject * obj0 = 0 ;
19959 PyObject * obj1 = 0 ;
19960 char * kwnames[] = {
19961 (char *) "self",(char *) "str", NULL
19962 };
19963
19964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19966 if (!SWIG_IsOK(res1)) {
19967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19968 }
19969 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19970 {
19971 arg2 = wxString_in_helper(obj1);
19972 if (arg2 == NULL) SWIG_fail;
19973 temp2 = true;
19974 }
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 (arg1)->SetReplaceString((wxString const &)*arg2);
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 resultobj = SWIG_Py_Void();
19982 {
19983 if (temp2)
19984 delete arg2;
19985 }
19986 return resultobj;
19987fail:
19988 {
19989 if (temp2)
19990 delete arg2;
19991 }
19992 return NULL;
19993}
19994
19995
19996SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19997 PyObject *obj;
19998 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19999 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20000 return SWIG_Py_Void();
20001}
20002
20003SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20004 return SWIG_Python_InitShadowInstance(args);
20005}
20006
20007SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj = 0;
20009 wxWindow *arg1 = (wxWindow *) 0 ;
20010 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20011 wxString *arg3 = 0 ;
20012 int arg4 = (int) 0 ;
20013 wxFindReplaceDialog *result = 0 ;
20014 void *argp1 = 0 ;
20015 int res1 = 0 ;
20016 void *argp2 = 0 ;
20017 int res2 = 0 ;
20018 bool temp3 = false ;
20019 int val4 ;
20020 int ecode4 = 0 ;
20021 PyObject * obj0 = 0 ;
20022 PyObject * obj1 = 0 ;
20023 PyObject * obj2 = 0 ;
20024 PyObject * obj3 = 0 ;
20025 char * kwnames[] = {
20026 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20027 };
20028
20029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20031 if (!SWIG_IsOK(res1)) {
20032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20033 }
20034 arg1 = reinterpret_cast< wxWindow * >(argp1);
20035 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20036 if (!SWIG_IsOK(res2)) {
20037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20038 }
20039 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20040 {
20041 arg3 = wxString_in_helper(obj2);
20042 if (arg3 == NULL) SWIG_fail;
20043 temp3 = true;
20044 }
20045 if (obj3) {
20046 ecode4 = SWIG_AsVal_int(obj3, &val4);
20047 if (!SWIG_IsOK(ecode4)) {
20048 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20049 }
20050 arg4 = static_cast< int >(val4);
20051 }
20052 {
20053 if (!wxPyCheckForApp()) SWIG_fail;
20054 PyThreadState* __tstate = wxPyBeginAllowThreads();
20055 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20060 {
20061 if (temp3)
20062 delete arg3;
20063 }
20064 return resultobj;
20065fail:
20066 {
20067 if (temp3)
20068 delete arg3;
20069 }
20070 return NULL;
d55e5bfc
RD
20071}
20072
20073
554f62e9
RD
20074SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20075 PyObject *resultobj = 0;
20076 wxFindReplaceDialog *result = 0 ;
20077
20078 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20079 {
20080 if (!wxPyCheckForApp()) SWIG_fail;
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20083 wxPyEndAllowThreads(__tstate);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 }
20086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20087 return resultobj;
20088fail:
20089 return NULL;
20090}
20091
20092
20093SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20094 PyObject *resultobj = 0;
20095 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20096 wxWindow *arg2 = (wxWindow *) 0 ;
20097 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20098 wxString *arg4 = 0 ;
20099 int arg5 = (int) 0 ;
20100 bool result;
20101 void *argp1 = 0 ;
20102 int res1 = 0 ;
20103 void *argp2 = 0 ;
20104 int res2 = 0 ;
20105 void *argp3 = 0 ;
20106 int res3 = 0 ;
20107 bool temp4 = false ;
20108 int val5 ;
20109 int ecode5 = 0 ;
20110 PyObject * obj0 = 0 ;
20111 PyObject * obj1 = 0 ;
20112 PyObject * obj2 = 0 ;
20113 PyObject * obj3 = 0 ;
20114 PyObject * obj4 = 0 ;
20115 char * kwnames[] = {
20116 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20117 };
20118
20119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20121 if (!SWIG_IsOK(res1)) {
20122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20123 }
20124 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20125 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20126 if (!SWIG_IsOK(res2)) {
20127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20128 }
20129 arg2 = reinterpret_cast< wxWindow * >(argp2);
20130 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20131 if (!SWIG_IsOK(res3)) {
20132 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20133 }
20134 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20135 {
20136 arg4 = wxString_in_helper(obj3);
20137 if (arg4 == NULL) SWIG_fail;
20138 temp4 = true;
20139 }
20140 if (obj4) {
20141 ecode5 = SWIG_AsVal_int(obj4, &val5);
20142 if (!SWIG_IsOK(ecode5)) {
20143 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20144 }
20145 arg5 = static_cast< int >(val5);
20146 }
20147 {
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 {
20154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20155 }
20156 {
20157 if (temp4)
20158 delete arg4;
20159 }
20160 return resultobj;
20161fail:
20162 {
20163 if (temp4)
20164 delete arg4;
20165 }
20166 return NULL;
d55e5bfc
RD
20167}
20168
20169
554f62e9
RD
20170SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20171 PyObject *resultobj = 0;
20172 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20173 wxFindReplaceData *result = 0 ;
20174 void *argp1 = 0 ;
20175 int res1 = 0 ;
20176 PyObject *swig_obj[1] ;
20177
20178 if (!args) SWIG_fail;
20179 swig_obj[0] = args;
20180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20181 if (!SWIG_IsOK(res1)) {
20182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20183 }
20184 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20185 {
20186 PyThreadState* __tstate = wxPyBeginAllowThreads();
20187 result = (wxFindReplaceData *)(arg1)->GetData();
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20192 return resultobj;
20193fail:
20194 return NULL;
20195}
20196
20197
20198SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20199 PyObject *resultobj = 0;
20200 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20201 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20202 void *argp1 = 0 ;
20203 int res1 = 0 ;
20204 void *argp2 = 0 ;
20205 int res2 = 0 ;
20206 PyObject * obj0 = 0 ;
20207 PyObject * obj1 = 0 ;
20208 char * kwnames[] = {
20209 (char *) "self",(char *) "data", NULL
20210 };
20211
20212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20214 if (!SWIG_IsOK(res1)) {
20215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20216 }
20217 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20218 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20219 if (!SWIG_IsOK(res2)) {
20220 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20221 }
20222 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 (arg1)->SetData(arg2);
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 resultobj = SWIG_Py_Void();
20230 return resultobj;
20231fail:
20232 return NULL;
20233}
20234
20235
20236SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20237 PyObject *obj;
20238 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20239 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20240 return SWIG_Py_Void();
20241}
20242
20243SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20244 return SWIG_Python_InitShadowInstance(args);
20245}
20246
20247SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20248 PyObject *resultobj = 0;
20249 wxWindow *arg1 = (wxWindow *) 0 ;
20250 int arg2 = (int) (int)-1 ;
20251 wxString const &arg3_defvalue = wxPyEmptyString ;
20252 wxString *arg3 = (wxString *) &arg3_defvalue ;
20253 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20254 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20255 wxSize const &arg5_defvalue = wxDefaultSize ;
20256 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20257 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20258 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20259 wxString *arg7 = (wxString *) &arg7_defvalue ;
20260 wxMDIParentFrame *result = 0 ;
20261 void *argp1 = 0 ;
20262 int res1 = 0 ;
20263 int val2 ;
20264 int ecode2 = 0 ;
20265 bool temp3 = false ;
20266 wxPoint temp4 ;
20267 wxSize temp5 ;
20268 long val6 ;
20269 int ecode6 = 0 ;
20270 bool temp7 = false ;
20271 PyObject * obj0 = 0 ;
20272 PyObject * obj1 = 0 ;
20273 PyObject * obj2 = 0 ;
20274 PyObject * obj3 = 0 ;
20275 PyObject * obj4 = 0 ;
20276 PyObject * obj5 = 0 ;
20277 PyObject * obj6 = 0 ;
20278 char * kwnames[] = {
20279 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20280 };
20281
20282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20284 if (!SWIG_IsOK(res1)) {
20285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20286 }
20287 arg1 = reinterpret_cast< wxWindow * >(argp1);
20288 if (obj1) {
20289 ecode2 = SWIG_AsVal_int(obj1, &val2);
20290 if (!SWIG_IsOK(ecode2)) {
20291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20292 }
20293 arg2 = static_cast< int >(val2);
20294 }
20295 if (obj2) {
d55e5bfc 20296 {
554f62e9
RD
20297 arg3 = wxString_in_helper(obj2);
20298 if (arg3 == NULL) SWIG_fail;
20299 temp3 = true;
d55e5bfc 20300 }
554f62e9
RD
20301 }
20302 if (obj3) {
d55e5bfc 20303 {
554f62e9
RD
20304 arg4 = &temp4;
20305 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20306 }
554f62e9
RD
20307 }
20308 if (obj4) {
d55e5bfc 20309 {
554f62e9
RD
20310 arg5 = &temp5;
20311 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20312 }
20313 }
20314 if (obj5) {
20315 ecode6 = SWIG_AsVal_long(obj5, &val6);
20316 if (!SWIG_IsOK(ecode6)) {
20317 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20318 }
20319 arg6 = static_cast< long >(val6);
20320 }
20321 if (obj6) {
d55e5bfc 20322 {
554f62e9
RD
20323 arg7 = wxString_in_helper(obj6);
20324 if (arg7 == NULL) SWIG_fail;
20325 temp7 = true;
20326 }
20327 }
20328 {
20329 if (!wxPyCheckForApp()) SWIG_fail;
20330 PyThreadState* __tstate = wxPyBeginAllowThreads();
20331 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20336 {
20337 if (temp3)
20338 delete arg3;
20339 }
20340 {
20341 if (temp7)
20342 delete arg7;
20343 }
20344 return resultobj;
20345fail:
20346 {
20347 if (temp3)
20348 delete arg3;
20349 }
20350 {
20351 if (temp7)
20352 delete arg7;
20353 }
20354 return NULL;
d55e5bfc
RD
20355}
20356
20357
554f62e9
RD
20358SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20359 PyObject *resultobj = 0;
20360 wxMDIParentFrame *result = 0 ;
20361
20362 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20363 {
20364 if (!wxPyCheckForApp()) SWIG_fail;
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20367 wxPyEndAllowThreads(__tstate);
20368 if (PyErr_Occurred()) SWIG_fail;
20369 }
20370 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20371 return resultobj;
20372fail:
20373 return NULL;
20374}
20375
20376
20377SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj = 0;
20379 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20380 wxWindow *arg2 = (wxWindow *) 0 ;
20381 int arg3 = (int) (int)-1 ;
20382 wxString const &arg4_defvalue = wxPyEmptyString ;
20383 wxString *arg4 = (wxString *) &arg4_defvalue ;
20384 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20385 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20386 wxSize const &arg6_defvalue = wxDefaultSize ;
20387 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20388 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20389 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20390 wxString *arg8 = (wxString *) &arg8_defvalue ;
20391 bool result;
20392 void *argp1 = 0 ;
20393 int res1 = 0 ;
20394 void *argp2 = 0 ;
20395 int res2 = 0 ;
20396 int val3 ;
20397 int ecode3 = 0 ;
20398 bool temp4 = false ;
20399 wxPoint temp5 ;
20400 wxSize temp6 ;
20401 long val7 ;
20402 int ecode7 = 0 ;
20403 bool temp8 = false ;
20404 PyObject * obj0 = 0 ;
20405 PyObject * obj1 = 0 ;
20406 PyObject * obj2 = 0 ;
20407 PyObject * obj3 = 0 ;
20408 PyObject * obj4 = 0 ;
20409 PyObject * obj5 = 0 ;
20410 PyObject * obj6 = 0 ;
20411 PyObject * obj7 = 0 ;
20412 char * kwnames[] = {
20413 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20414 };
20415
20416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20418 if (!SWIG_IsOK(res1)) {
20419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20420 }
20421 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20422 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20423 if (!SWIG_IsOK(res2)) {
20424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20425 }
20426 arg2 = reinterpret_cast< wxWindow * >(argp2);
20427 if (obj2) {
20428 ecode3 = SWIG_AsVal_int(obj2, &val3);
20429 if (!SWIG_IsOK(ecode3)) {
20430 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20431 }
20432 arg3 = static_cast< int >(val3);
20433 }
20434 if (obj3) {
d55e5bfc 20435 {
554f62e9
RD
20436 arg4 = wxString_in_helper(obj3);
20437 if (arg4 == NULL) SWIG_fail;
20438 temp4 = true;
d55e5bfc 20439 }
554f62e9
RD
20440 }
20441 if (obj4) {
d55e5bfc 20442 {
554f62e9
RD
20443 arg5 = &temp5;
20444 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20445 }
554f62e9
RD
20446 }
20447 if (obj5) {
d55e5bfc 20448 {
554f62e9
RD
20449 arg6 = &temp6;
20450 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 20451 }
554f62e9
RD
20452 }
20453 if (obj6) {
20454 ecode7 = SWIG_AsVal_long(obj6, &val7);
20455 if (!SWIG_IsOK(ecode7)) {
20456 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20457 }
20458 arg7 = static_cast< long >(val7);
20459 }
20460 if (obj7) {
d55e5bfc 20461 {
554f62e9
RD
20462 arg8 = wxString_in_helper(obj7);
20463 if (arg8 == NULL) SWIG_fail;
20464 temp8 = true;
d55e5bfc 20465 }
554f62e9
RD
20466 }
20467 {
20468 PyThreadState* __tstate = wxPyBeginAllowThreads();
20469 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20470 wxPyEndAllowThreads(__tstate);
20471 if (PyErr_Occurred()) SWIG_fail;
20472 }
20473 {
20474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20475 }
20476 {
20477 if (temp4)
20478 delete arg4;
20479 }
20480 {
20481 if (temp8)
20482 delete arg8;
20483 }
20484 return resultobj;
20485fail:
20486 {
20487 if (temp4)
20488 delete arg4;
20489 }
20490 {
20491 if (temp8)
20492 delete arg8;
20493 }
20494 return NULL;
d55e5bfc
RD
20495}
20496
20497
554f62e9
RD
20498SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20499 PyObject *resultobj = 0;
20500 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20501 void *argp1 = 0 ;
20502 int res1 = 0 ;
20503 PyObject *swig_obj[1] ;
20504
20505 if (!args) SWIG_fail;
20506 swig_obj[0] = args;
20507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20508 if (!SWIG_IsOK(res1)) {
20509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20510 }
20511 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20512 {
20513 PyThreadState* __tstate = wxPyBeginAllowThreads();
20514 (arg1)->ActivateNext();
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 resultobj = SWIG_Py_Void();
20519 return resultobj;
20520fail:
20521 return NULL;
d55e5bfc
RD
20522}
20523
20524
554f62e9
RD
20525SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20526 PyObject *resultobj = 0;
20527 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20528 void *argp1 = 0 ;
20529 int res1 = 0 ;
20530 PyObject *swig_obj[1] ;
20531
20532 if (!args) SWIG_fail;
20533 swig_obj[0] = args;
20534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20535 if (!SWIG_IsOK(res1)) {
20536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20537 }
20538 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20539 {
20540 PyThreadState* __tstate = wxPyBeginAllowThreads();
20541 (arg1)->ActivatePrevious();
20542 wxPyEndAllowThreads(__tstate);
20543 if (PyErr_Occurred()) SWIG_fail;
20544 }
20545 resultobj = SWIG_Py_Void();
20546 return resultobj;
20547fail:
20548 return NULL;
d55e5bfc
RD
20549}
20550
20551
554f62e9
RD
20552SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20553 PyObject *resultobj = 0;
20554 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20555 void *argp1 = 0 ;
20556 int res1 = 0 ;
20557 PyObject *swig_obj[1] ;
20558
20559 if (!args) SWIG_fail;
20560 swig_obj[0] = args;
20561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20562 if (!SWIG_IsOK(res1)) {
20563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20564 }
20565 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20566 {
20567 PyThreadState* __tstate = wxPyBeginAllowThreads();
20568 (arg1)->ArrangeIcons();
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 resultobj = SWIG_Py_Void();
20573 return resultobj;
20574fail:
20575 return NULL;
7e08d4ef
RD
20576}
20577
20578
554f62e9
RD
20579SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20580 PyObject *resultobj = 0;
20581 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20582 void *argp1 = 0 ;
20583 int res1 = 0 ;
20584 PyObject *swig_obj[1] ;
20585
20586 if (!args) SWIG_fail;
20587 swig_obj[0] = args;
20588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20589 if (!SWIG_IsOK(res1)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20591 }
20592 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 (arg1)->Cascade();
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 resultobj = SWIG_Py_Void();
20600 return resultobj;
20601fail:
20602 return NULL;
d55e5bfc
RD
20603}
20604
20605
554f62e9
RD
20606SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20607 PyObject *resultobj = 0;
20608 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20609 wxMDIChildFrame *result = 0 ;
20610 void *argp1 = 0 ;
20611 int res1 = 0 ;
20612 PyObject *swig_obj[1] ;
20613
20614 if (!args) SWIG_fail;
20615 swig_obj[0] = args;
20616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20617 if (!SWIG_IsOK(res1)) {
20618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20619 }
20620 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20624 wxPyEndAllowThreads(__tstate);
20625 if (PyErr_Occurred()) SWIG_fail;
20626 }
20627 {
20628 resultobj = wxPyMake_wxObject(result, (bool)0);
20629 }
20630 return resultobj;
20631fail:
20632 return NULL;
d55e5bfc
RD
20633}
20634
20635
554f62e9
RD
20636SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20637 PyObject *resultobj = 0;
20638 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20639 wxMDIClientWindow *result = 0 ;
20640 void *argp1 = 0 ;
20641 int res1 = 0 ;
20642 PyObject *swig_obj[1] ;
20643
20644 if (!args) SWIG_fail;
20645 swig_obj[0] = args;
20646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20647 if (!SWIG_IsOK(res1)) {
20648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20649 }
20650 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20651 {
20652 PyThreadState* __tstate = wxPyBeginAllowThreads();
20653 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 {
20658 resultobj = wxPyMake_wxObject(result, (bool)0);
20659 }
20660 return resultobj;
20661fail:
20662 return NULL;
d55e5bfc
RD
20663}
20664
20665
554f62e9
RD
20666SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20667 PyObject *resultobj = 0;
20668 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20669 wxWindow *result = 0 ;
20670 void *argp1 = 0 ;
20671 int res1 = 0 ;
20672 PyObject *swig_obj[1] ;
20673
20674 if (!args) SWIG_fail;
20675 swig_obj[0] = args;
20676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20677 if (!SWIG_IsOK(res1)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20679 }
20680 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 result = (wxWindow *)(arg1)->GetToolBar();
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 {
20688 resultobj = wxPyMake_wxObject(result, 0);
20689 }
20690 return resultobj;
20691fail:
20692 return NULL;
d55e5bfc
RD
20693}
20694
20695
554f62e9
RD
20696SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20697 PyObject *resultobj = 0;
20698 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20699 wxMenu *result = 0 ;
20700 void *argp1 = 0 ;
20701 int res1 = 0 ;
20702 PyObject *swig_obj[1] ;
20703
20704 if (!args) SWIG_fail;
20705 swig_obj[0] = args;
20706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20707 if (!SWIG_IsOK(res1)) {
20708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20709 }
20710 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 result = (wxMenu *)(arg1)->GetWindowMenu();
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 {
20718 resultobj = wxPyMake_wxObject(result, 0);
20719 }
20720 return resultobj;
20721fail:
20722 return NULL;
20723}
20724
20725
20726SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj = 0;
20728 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20729 wxMenu *arg2 = (wxMenu *) 0 ;
20730 void *argp1 = 0 ;
20731 int res1 = 0 ;
20732 void *argp2 = 0 ;
20733 int res2 = 0 ;
20734 PyObject * obj0 = 0 ;
20735 PyObject * obj1 = 0 ;
20736 char * kwnames[] = {
20737 (char *) "self",(char *) "menu", NULL
20738 };
20739
20740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
20741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20742 if (!SWIG_IsOK(res1)) {
20743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20744 }
20745 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20746 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
20747 if (!SWIG_IsOK(res2)) {
20748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20749 }
20750 arg2 = reinterpret_cast< wxMenu * >(argp2);
20751 {
20752 PyThreadState* __tstate = wxPyBeginAllowThreads();
20753 (arg1)->SetWindowMenu(arg2);
20754 wxPyEndAllowThreads(__tstate);
20755 if (PyErr_Occurred()) SWIG_fail;
20756 }
20757 resultobj = SWIG_Py_Void();
20758 return resultobj;
20759fail:
20760 return NULL;
20761}
20762
20763
20764SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20765 PyObject *resultobj = 0;
20766 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20767 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20768 void *argp1 = 0 ;
20769 int res1 = 0 ;
20770 int val2 ;
20771 int ecode2 = 0 ;
20772 PyObject * obj0 = 0 ;
20773 PyObject * obj1 = 0 ;
20774 char * kwnames[] = {
20775 (char *) "self",(char *) "orient", NULL
20776 };
20777
20778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20780 if (!SWIG_IsOK(res1)) {
20781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20782 }
20783 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20784 if (obj1) {
20785 ecode2 = SWIG_AsVal_int(obj1, &val2);
20786 if (!SWIG_IsOK(ecode2)) {
20787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20788 }
20789 arg2 = static_cast< wxOrientation >(val2);
20790 }
20791 {
20792 PyThreadState* __tstate = wxPyBeginAllowThreads();
20793 (arg1)->Tile(arg2);
20794 wxPyEndAllowThreads(__tstate);
20795 if (PyErr_Occurred()) SWIG_fail;
20796 }
20797 resultobj = SWIG_Py_Void();
20798 return resultobj;
20799fail:
20800 return NULL;
20801}
20802
20803
20804SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20805 PyObject *obj;
20806 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20807 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20808 return SWIG_Py_Void();
20809}
20810
20811SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20812 return SWIG_Python_InitShadowInstance(args);
20813}
20814
20815SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20816 PyObject *resultobj = 0;
20817 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20818 int arg2 = (int) (int)-1 ;
20819 wxString const &arg3_defvalue = wxPyEmptyString ;
20820 wxString *arg3 = (wxString *) &arg3_defvalue ;
20821 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20822 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20823 wxSize const &arg5_defvalue = wxDefaultSize ;
20824 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20825 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20826 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20827 wxString *arg7 = (wxString *) &arg7_defvalue ;
20828 wxMDIChildFrame *result = 0 ;
20829 void *argp1 = 0 ;
20830 int res1 = 0 ;
20831 int val2 ;
20832 int ecode2 = 0 ;
20833 bool temp3 = false ;
20834 wxPoint temp4 ;
20835 wxSize temp5 ;
20836 long val6 ;
20837 int ecode6 = 0 ;
20838 bool temp7 = false ;
20839 PyObject * obj0 = 0 ;
20840 PyObject * obj1 = 0 ;
20841 PyObject * obj2 = 0 ;
20842 PyObject * obj3 = 0 ;
20843 PyObject * obj4 = 0 ;
20844 PyObject * obj5 = 0 ;
20845 PyObject * obj6 = 0 ;
20846 char * kwnames[] = {
20847 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20848 };
20849
20850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20852 if (!SWIG_IsOK(res1)) {
20853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20854 }
20855 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20856 if (obj1) {
20857 ecode2 = SWIG_AsVal_int(obj1, &val2);
20858 if (!SWIG_IsOK(ecode2)) {
20859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20860 }
20861 arg2 = static_cast< int >(val2);
20862 }
20863 if (obj2) {
d55e5bfc 20864 {
554f62e9
RD
20865 arg3 = wxString_in_helper(obj2);
20866 if (arg3 == NULL) SWIG_fail;
20867 temp3 = true;
d55e5bfc 20868 }
554f62e9
RD
20869 }
20870 if (obj3) {
d55e5bfc 20871 {
554f62e9
RD
20872 arg4 = &temp4;
20873 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20874 }
554f62e9
RD
20875 }
20876 if (obj4) {
d55e5bfc 20877 {
554f62e9
RD
20878 arg5 = &temp5;
20879 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20880 }
554f62e9
RD
20881 }
20882 if (obj5) {
20883 ecode6 = SWIG_AsVal_long(obj5, &val6);
20884 if (!SWIG_IsOK(ecode6)) {
20885 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20886 }
20887 arg6 = static_cast< long >(val6);
20888 }
20889 if (obj6) {
d55e5bfc 20890 {
554f62e9
RD
20891 arg7 = wxString_in_helper(obj6);
20892 if (arg7 == NULL) SWIG_fail;
20893 temp7 = true;
d55e5bfc 20894 }
554f62e9
RD
20895 }
20896 {
20897 if (!wxPyCheckForApp()) SWIG_fail;
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20904 {
20905 if (temp3)
20906 delete arg3;
20907 }
20908 {
20909 if (temp7)
20910 delete arg7;
20911 }
20912 return resultobj;
20913fail:
20914 {
20915 if (temp3)
20916 delete arg3;
20917 }
20918 {
20919 if (temp7)
20920 delete arg7;
20921 }
20922 return NULL;
d55e5bfc
RD
20923}
20924
20925
554f62e9
RD
20926SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20927 PyObject *resultobj = 0;
20928 wxMDIChildFrame *result = 0 ;
20929
20930 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20931 {
20932 if (!wxPyCheckForApp()) SWIG_fail;
20933 PyThreadState* __tstate = wxPyBeginAllowThreads();
20934 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20935 wxPyEndAllowThreads(__tstate);
20936 if (PyErr_Occurred()) SWIG_fail;
20937 }
20938 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20939 return resultobj;
20940fail:
20941 return NULL;
20942}
20943
20944
20945SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20946 PyObject *resultobj = 0;
20947 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20948 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20949 int arg3 = (int) (int)-1 ;
20950 wxString const &arg4_defvalue = wxPyEmptyString ;
20951 wxString *arg4 = (wxString *) &arg4_defvalue ;
20952 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20953 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20954 wxSize const &arg6_defvalue = wxDefaultSize ;
20955 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20956 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20957 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20958 wxString *arg8 = (wxString *) &arg8_defvalue ;
20959 bool result;
20960 void *argp1 = 0 ;
20961 int res1 = 0 ;
20962 void *argp2 = 0 ;
20963 int res2 = 0 ;
20964 int val3 ;
20965 int ecode3 = 0 ;
20966 bool temp4 = false ;
20967 wxPoint temp5 ;
20968 wxSize temp6 ;
20969 long val7 ;
20970 int ecode7 = 0 ;
20971 bool temp8 = false ;
20972 PyObject * obj0 = 0 ;
20973 PyObject * obj1 = 0 ;
20974 PyObject * obj2 = 0 ;
20975 PyObject * obj3 = 0 ;
20976 PyObject * obj4 = 0 ;
20977 PyObject * obj5 = 0 ;
20978 PyObject * obj6 = 0 ;
20979 PyObject * obj7 = 0 ;
20980 char * kwnames[] = {
20981 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20982 };
20983
20984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20986 if (!SWIG_IsOK(res1)) {
20987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20988 }
20989 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20990 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20991 if (!SWIG_IsOK(res2)) {
20992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20993 }
20994 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20995 if (obj2) {
20996 ecode3 = SWIG_AsVal_int(obj2, &val3);
20997 if (!SWIG_IsOK(ecode3)) {
20998 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20999 }
21000 arg3 = static_cast< int >(val3);
21001 }
21002 if (obj3) {
d55e5bfc 21003 {
554f62e9
RD
21004 arg4 = wxString_in_helper(obj3);
21005 if (arg4 == NULL) SWIG_fail;
21006 temp4 = true;
d55e5bfc 21007 }
554f62e9
RD
21008 }
21009 if (obj4) {
d55e5bfc 21010 {
554f62e9
RD
21011 arg5 = &temp5;
21012 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21013 }
554f62e9
RD
21014 }
21015 if (obj5) {
093d3ff1 21016 {
554f62e9
RD
21017 arg6 = &temp6;
21018 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 21019 }
554f62e9
RD
21020 }
21021 if (obj6) {
21022 ecode7 = SWIG_AsVal_long(obj6, &val7);
21023 if (!SWIG_IsOK(ecode7)) {
21024 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21025 }
21026 arg7 = static_cast< long >(val7);
21027 }
21028 if (obj7) {
d55e5bfc 21029 {
554f62e9
RD
21030 arg8 = wxString_in_helper(obj7);
21031 if (arg8 == NULL) SWIG_fail;
21032 temp8 = true;
d55e5bfc 21033 }
554f62e9
RD
21034 }
21035 {
21036 PyThreadState* __tstate = wxPyBeginAllowThreads();
21037 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 {
21042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21043 }
21044 {
21045 if (temp4)
21046 delete arg4;
21047 }
21048 {
21049 if (temp8)
21050 delete arg8;
21051 }
21052 return resultobj;
21053fail:
21054 {
21055 if (temp4)
21056 delete arg4;
21057 }
21058 {
21059 if (temp8)
21060 delete arg8;
21061 }
21062 return NULL;
d55e5bfc
RD
21063}
21064
21065
554f62e9
RD
21066SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21067 PyObject *resultobj = 0;
21068 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21069 void *argp1 = 0 ;
21070 int res1 = 0 ;
21071 PyObject *swig_obj[1] ;
21072
21073 if (!args) SWIG_fail;
21074 swig_obj[0] = args;
21075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21076 if (!SWIG_IsOK(res1)) {
21077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21078 }
21079 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 (arg1)->Activate();
21083 wxPyEndAllowThreads(__tstate);
21084 if (PyErr_Occurred()) SWIG_fail;
21085 }
21086 resultobj = SWIG_Py_Void();
21087 return resultobj;
21088fail:
21089 return NULL;
d55e5bfc
RD
21090}
21091
21092
554f62e9
RD
21093SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21094 PyObject *obj;
21095 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21096 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21097 return SWIG_Py_Void();
d55e5bfc
RD
21098}
21099
554f62e9
RD
21100SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21101 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21102}
21103
554f62e9
RD
21104SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj = 0;
21106 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21107 long arg2 = (long) 0 ;
21108 wxMDIClientWindow *result = 0 ;
21109 void *argp1 = 0 ;
21110 int res1 = 0 ;
21111 long val2 ;
21112 int ecode2 = 0 ;
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115 char * kwnames[] = {
21116 (char *) "parent",(char *) "style", NULL
21117 };
21118
21119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) 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 '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21123 }
21124 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21125 if (obj1) {
21126 ecode2 = SWIG_AsVal_long(obj1, &val2);
21127 if (!SWIG_IsOK(ecode2)) {
21128 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21129 }
21130 arg2 = static_cast< long >(val2);
21131 }
21132 {
21133 if (!wxPyCheckForApp()) SWIG_fail;
21134 PyThreadState* __tstate = wxPyBeginAllowThreads();
21135 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
21139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21140 return resultobj;
21141fail:
21142 return NULL;
d55e5bfc
RD
21143}
21144
21145
554f62e9
RD
21146SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21147 PyObject *resultobj = 0;
21148 wxMDIClientWindow *result = 0 ;
21149
21150 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21151 {
21152 if (!wxPyCheckForApp()) SWIG_fail;
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21155 wxPyEndAllowThreads(__tstate);
21156 if (PyErr_Occurred()) SWIG_fail;
21157 }
21158 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21159 return resultobj;
21160fail:
21161 return NULL;
21162}
21163
21164
21165SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21166 PyObject *resultobj = 0;
21167 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21168 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21169 long arg3 = (long) 0 ;
21170 bool result;
21171 void *argp1 = 0 ;
21172 int res1 = 0 ;
21173 void *argp2 = 0 ;
21174 int res2 = 0 ;
21175 long val3 ;
21176 int ecode3 = 0 ;
21177 PyObject * obj0 = 0 ;
21178 PyObject * obj1 = 0 ;
21179 PyObject * obj2 = 0 ;
21180 char * kwnames[] = {
21181 (char *) "self",(char *) "parent",(char *) "style", NULL
21182 };
21183
21184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21186 if (!SWIG_IsOK(res1)) {
21187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21188 }
21189 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21190 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21191 if (!SWIG_IsOK(res2)) {
21192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21193 }
21194 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21195 if (obj2) {
21196 ecode3 = SWIG_AsVal_long(obj2, &val3);
21197 if (!SWIG_IsOK(ecode3)) {
21198 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21199 }
21200 arg3 = static_cast< long >(val3);
21201 }
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = (bool)(arg1)->Create(arg2,arg3);
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 {
21209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21210 }
21211 return resultobj;
21212fail:
21213 return NULL;
21214}
21215
21216
21217SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21218 PyObject *obj;
21219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21220 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21221 return SWIG_Py_Void();
21222}
21223
21224SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21225 return SWIG_Python_InitShadowInstance(args);
21226}
21227
21228SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21229 PyObject *resultobj = 0;
21230 wxWindow *arg1 = (wxWindow *) 0 ;
21231 int arg2 = (int) (int)-1 ;
21232 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21233 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21234 wxSize const &arg4_defvalue = wxDefaultSize ;
21235 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21236 long arg5 = (long) 0 ;
21237 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21238 wxString *arg6 = (wxString *) &arg6_defvalue ;
21239 wxPyWindow *result = 0 ;
21240 void *argp1 = 0 ;
21241 int res1 = 0 ;
21242 int val2 ;
21243 int ecode2 = 0 ;
21244 wxPoint temp3 ;
21245 wxSize temp4 ;
21246 long val5 ;
21247 int ecode5 = 0 ;
21248 bool temp6 = false ;
21249 PyObject * obj0 = 0 ;
21250 PyObject * obj1 = 0 ;
21251 PyObject * obj2 = 0 ;
21252 PyObject * obj3 = 0 ;
21253 PyObject * obj4 = 0 ;
21254 PyObject * obj5 = 0 ;
21255 char * kwnames[] = {
21256 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21257 };
21258
21259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21261 if (!SWIG_IsOK(res1)) {
21262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21263 }
21264 arg1 = reinterpret_cast< wxWindow * >(argp1);
21265 if (obj1) {
21266 ecode2 = SWIG_AsVal_int(obj1, &val2);
21267 if (!SWIG_IsOK(ecode2)) {
21268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21269 }
21270 arg2 = static_cast< int >(val2);
21271 }
21272 if (obj2) {
d55e5bfc 21273 {
554f62e9
RD
21274 arg3 = &temp3;
21275 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21276 }
554f62e9
RD
21277 }
21278 if (obj3) {
d55e5bfc 21279 {
554f62e9
RD
21280 arg4 = &temp4;
21281 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21282 }
554f62e9
RD
21283 }
21284 if (obj4) {
21285 ecode5 = SWIG_AsVal_long(obj4, &val5);
21286 if (!SWIG_IsOK(ecode5)) {
21287 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21288 }
21289 arg5 = static_cast< long >(val5);
21290 }
21291 if (obj5) {
d55e5bfc 21292 {
554f62e9
RD
21293 arg6 = wxString_in_helper(obj5);
21294 if (arg6 == NULL) SWIG_fail;
21295 temp6 = true;
d55e5bfc 21296 }
554f62e9
RD
21297 }
21298 {
21299 if (!wxPyCheckForApp()) SWIG_fail;
21300 PyThreadState* __tstate = wxPyBeginAllowThreads();
21301 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21306 {
21307 if (temp6)
21308 delete arg6;
21309 }
21310 return resultobj;
21311fail:
21312 {
21313 if (temp6)
21314 delete arg6;
21315 }
21316 return NULL;
d55e5bfc
RD
21317}
21318
21319
554f62e9
RD
21320SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21321 PyObject *resultobj = 0;
21322 wxPyWindow *result = 0 ;
21323
21324 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21325 {
21326 if (!wxPyCheckForApp()) SWIG_fail;
21327 PyThreadState* __tstate = wxPyBeginAllowThreads();
21328 result = (wxPyWindow *)new wxPyWindow();
21329 wxPyEndAllowThreads(__tstate);
21330 if (PyErr_Occurred()) SWIG_fail;
21331 }
21332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21333 return resultobj;
21334fail:
21335 return NULL;
21336}
21337
21338
21339SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21340 PyObject *resultobj = 0;
21341 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21342 PyObject *arg2 = (PyObject *) 0 ;
21343 PyObject *arg3 = (PyObject *) 0 ;
21344 void *argp1 = 0 ;
21345 int res1 = 0 ;
21346 PyObject * obj0 = 0 ;
21347 PyObject * obj1 = 0 ;
21348 PyObject * obj2 = 0 ;
21349 char * kwnames[] = {
21350 (char *) "self",(char *) "self",(char *) "_class", NULL
21351 };
21352
21353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21355 if (!SWIG_IsOK(res1)) {
21356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21357 }
21358 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21359 arg2 = obj1;
21360 arg3 = obj2;
21361 {
21362 PyThreadState* __tstate = wxPyBeginAllowThreads();
21363 (arg1)->_setCallbackInfo(arg2,arg3);
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 resultobj = SWIG_Py_Void();
21368 return resultobj;
21369fail:
21370 return NULL;
21371}
21372
21373
21374SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21375 PyObject *resultobj = 0;
21376 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21377 wxSize *arg2 = 0 ;
21378 void *argp1 = 0 ;
21379 int res1 = 0 ;
21380 wxSize temp2 ;
21381 PyObject * obj0 = 0 ;
21382 PyObject * obj1 = 0 ;
21383 char * kwnames[] = {
21384 (char *) "self",(char *) "size", NULL
21385 };
21386
21387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21389 if (!SWIG_IsOK(res1)) {
21390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21391 }
21392 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21393 {
21394 arg2 = &temp2;
21395 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21396 }
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 (arg1)->SetBestSize((wxSize const &)*arg2);
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 resultobj = SWIG_Py_Void();
21404 return resultobj;
21405fail:
21406 return NULL;
21407}
21408
21409
21410SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj = 0;
21412 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21413 wxDC *arg2 = (wxDC *) 0 ;
21414 bool result;
21415 void *argp1 = 0 ;
21416 int res1 = 0 ;
21417 void *argp2 = 0 ;
21418 int res2 = 0 ;
21419 PyObject * obj0 = 0 ;
21420 PyObject * obj1 = 0 ;
21421 char * kwnames[] = {
21422 (char *) "self",(char *) "dc", NULL
21423 };
21424
21425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21427 if (!SWIG_IsOK(res1)) {
21428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21429 }
21430 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21431 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21432 if (!SWIG_IsOK(res2)) {
21433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21434 }
21435 arg2 = reinterpret_cast< wxDC * >(argp2);
21436 {
21437 PyThreadState* __tstate = wxPyBeginAllowThreads();
21438 result = (bool)(arg1)->DoEraseBackground(arg2);
21439 wxPyEndAllowThreads(__tstate);
21440 if (PyErr_Occurred()) SWIG_fail;
21441 }
21442 {
21443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21444 }
21445 return resultobj;
21446fail:
21447 return NULL;
21448}
21449
21450
21451SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj = 0;
21453 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21454 int arg2 ;
21455 int arg3 ;
21456 int arg4 ;
21457 int arg5 ;
21458 void *argp1 = 0 ;
21459 int res1 = 0 ;
21460 int val2 ;
21461 int ecode2 = 0 ;
21462 int val3 ;
21463 int ecode3 = 0 ;
21464 int val4 ;
21465 int ecode4 = 0 ;
21466 int val5 ;
21467 int ecode5 = 0 ;
21468 PyObject * obj0 = 0 ;
21469 PyObject * obj1 = 0 ;
21470 PyObject * obj2 = 0 ;
21471 PyObject * obj3 = 0 ;
21472 PyObject * obj4 = 0 ;
21473 char * kwnames[] = {
21474 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21475 };
21476
21477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21479 if (!SWIG_IsOK(res1)) {
21480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21481 }
21482 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21483 ecode2 = SWIG_AsVal_int(obj1, &val2);
21484 if (!SWIG_IsOK(ecode2)) {
21485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21486 }
21487 arg2 = static_cast< int >(val2);
21488 ecode3 = SWIG_AsVal_int(obj2, &val3);
21489 if (!SWIG_IsOK(ecode3)) {
21490 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21491 }
21492 arg3 = static_cast< int >(val3);
21493 ecode4 = SWIG_AsVal_int(obj3, &val4);
21494 if (!SWIG_IsOK(ecode4)) {
21495 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21496 }
21497 arg4 = static_cast< int >(val4);
21498 ecode5 = SWIG_AsVal_int(obj4, &val5);
21499 if (!SWIG_IsOK(ecode5)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21501 }
21502 arg5 = static_cast< int >(val5);
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 resultobj = SWIG_Py_Void();
21510 return resultobj;
21511fail:
21512 return NULL;
21513}
21514
21515
21516SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21517 PyObject *resultobj = 0;
21518 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21519 int arg2 ;
21520 int arg3 ;
21521 int arg4 ;
21522 int arg5 ;
21523 int arg6 = (int) wxSIZE_AUTO ;
21524 void *argp1 = 0 ;
21525 int res1 = 0 ;
21526 int val2 ;
21527 int ecode2 = 0 ;
21528 int val3 ;
21529 int ecode3 = 0 ;
21530 int val4 ;
21531 int ecode4 = 0 ;
21532 int val5 ;
21533 int ecode5 = 0 ;
21534 int val6 ;
21535 int ecode6 = 0 ;
21536 PyObject * obj0 = 0 ;
21537 PyObject * obj1 = 0 ;
21538 PyObject * obj2 = 0 ;
21539 PyObject * obj3 = 0 ;
21540 PyObject * obj4 = 0 ;
21541 PyObject * obj5 = 0 ;
21542 char * kwnames[] = {
21543 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21544 };
21545
21546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21548 if (!SWIG_IsOK(res1)) {
21549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21550 }
21551 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21552 ecode2 = SWIG_AsVal_int(obj1, &val2);
21553 if (!SWIG_IsOK(ecode2)) {
21554 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21555 }
21556 arg2 = static_cast< int >(val2);
21557 ecode3 = SWIG_AsVal_int(obj2, &val3);
21558 if (!SWIG_IsOK(ecode3)) {
21559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21560 }
21561 arg3 = static_cast< int >(val3);
21562 ecode4 = SWIG_AsVal_int(obj3, &val4);
21563 if (!SWIG_IsOK(ecode4)) {
21564 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21565 }
21566 arg4 = static_cast< int >(val4);
21567 ecode5 = SWIG_AsVal_int(obj4, &val5);
21568 if (!SWIG_IsOK(ecode5)) {
21569 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21570 }
21571 arg5 = static_cast< int >(val5);
21572 if (obj5) {
21573 ecode6 = SWIG_AsVal_int(obj5, &val6);
21574 if (!SWIG_IsOK(ecode6)) {
21575 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21576 }
21577 arg6 = static_cast< int >(val6);
21578 }
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 resultobj = SWIG_Py_Void();
21586 return resultobj;
21587fail:
21588 return NULL;
21589}
21590
21591
21592SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21593 PyObject *resultobj = 0;
21594 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21595 int arg2 ;
21596 int arg3 ;
21597 void *argp1 = 0 ;
21598 int res1 = 0 ;
21599 int val2 ;
21600 int ecode2 = 0 ;
21601 int val3 ;
21602 int ecode3 = 0 ;
21603 PyObject * obj0 = 0 ;
21604 PyObject * obj1 = 0 ;
21605 PyObject * obj2 = 0 ;
21606 char * kwnames[] = {
21607 (char *) "self",(char *) "width",(char *) "height", NULL
21608 };
21609
21610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21612 if (!SWIG_IsOK(res1)) {
21613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21614 }
21615 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21616 ecode2 = SWIG_AsVal_int(obj1, &val2);
21617 if (!SWIG_IsOK(ecode2)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21619 }
21620 arg2 = static_cast< int >(val2);
21621 ecode3 = SWIG_AsVal_int(obj2, &val3);
21622 if (!SWIG_IsOK(ecode3)) {
21623 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21624 }
21625 arg3 = static_cast< int >(val3);
21626 {
21627 PyThreadState* __tstate = wxPyBeginAllowThreads();
21628 (arg1)->DoSetClientSize(arg2,arg3);
21629 wxPyEndAllowThreads(__tstate);
21630 if (PyErr_Occurred()) SWIG_fail;
21631 }
21632 resultobj = SWIG_Py_Void();
21633 return resultobj;
21634fail:
21635 return NULL;
21636}
21637
21638
21639SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21640 PyObject *resultobj = 0;
21641 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21642 int arg2 ;
21643 int arg3 ;
21644 void *argp1 = 0 ;
21645 int res1 = 0 ;
21646 int val2 ;
21647 int ecode2 = 0 ;
21648 int val3 ;
21649 int ecode3 = 0 ;
21650 PyObject * obj0 = 0 ;
21651 PyObject * obj1 = 0 ;
21652 PyObject * obj2 = 0 ;
21653 char * kwnames[] = {
21654 (char *) "self",(char *) "x",(char *) "y", NULL
21655 };
21656
21657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21659 if (!SWIG_IsOK(res1)) {
21660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21661 }
21662 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21663 ecode2 = SWIG_AsVal_int(obj1, &val2);
21664 if (!SWIG_IsOK(ecode2)) {
21665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21666 }
21667 arg2 = static_cast< int >(val2);
21668 ecode3 = SWIG_AsVal_int(obj2, &val3);
21669 if (!SWIG_IsOK(ecode3)) {
21670 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21671 }
21672 arg3 = static_cast< int >(val3);
21673 {
21674 PyThreadState* __tstate = wxPyBeginAllowThreads();
21675 (arg1)->DoSetVirtualSize(arg2,arg3);
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 resultobj = SWIG_Py_Void();
21680 return resultobj;
21681fail:
21682 return NULL;
21683}
21684
21685
21686SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21687 PyObject *resultobj = 0;
21688 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21689 int *arg2 = (int *) 0 ;
21690 int *arg3 = (int *) 0 ;
21691 void *argp1 = 0 ;
21692 int res1 = 0 ;
21693 int temp2 ;
21694 int res2 = SWIG_TMPOBJ ;
21695 int temp3 ;
21696 int res3 = SWIG_TMPOBJ ;
21697 PyObject *swig_obj[1] ;
21698
21699 arg2 = &temp2;
21700 arg3 = &temp3;
21701 if (!args) SWIG_fail;
21702 swig_obj[0] = args;
21703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21704 if (!SWIG_IsOK(res1)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21706 }
21707 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21708 {
21709 PyThreadState* __tstate = wxPyBeginAllowThreads();
21710 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 resultobj = SWIG_Py_Void();
21715 if (SWIG_IsTmpObj(res2)) {
21716 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21717 } else {
21718 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21719 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21720 }
21721 if (SWIG_IsTmpObj(res3)) {
21722 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21723 } else {
21724 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21725 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21726 }
21727 return resultobj;
21728fail:
21729 return NULL;
21730}
21731
21732
21733SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21734 PyObject *resultobj = 0;
21735 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21736 int *arg2 = (int *) 0 ;
21737 int *arg3 = (int *) 0 ;
21738 void *argp1 = 0 ;
21739 int res1 = 0 ;
21740 int temp2 ;
21741 int res2 = SWIG_TMPOBJ ;
21742 int temp3 ;
21743 int res3 = SWIG_TMPOBJ ;
21744 PyObject *swig_obj[1] ;
21745
21746 arg2 = &temp2;
21747 arg3 = &temp3;
21748 if (!args) SWIG_fail;
21749 swig_obj[0] = args;
21750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21751 if (!SWIG_IsOK(res1)) {
21752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21753 }
21754 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21755 {
21756 PyThreadState* __tstate = wxPyBeginAllowThreads();
21757 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21758 wxPyEndAllowThreads(__tstate);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 resultobj = SWIG_Py_Void();
21762 if (SWIG_IsTmpObj(res2)) {
21763 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21764 } else {
21765 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21766 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21767 }
21768 if (SWIG_IsTmpObj(res3)) {
21769 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21770 } else {
21771 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21772 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21773 }
21774 return resultobj;
21775fail:
21776 return NULL;
21777}
21778
21779
21780SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21781 PyObject *resultobj = 0;
21782 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21783 int *arg2 = (int *) 0 ;
21784 int *arg3 = (int *) 0 ;
21785 void *argp1 = 0 ;
21786 int res1 = 0 ;
21787 int temp2 ;
21788 int res2 = SWIG_TMPOBJ ;
21789 int temp3 ;
21790 int res3 = SWIG_TMPOBJ ;
21791 PyObject *swig_obj[1] ;
21792
21793 arg2 = &temp2;
21794 arg3 = &temp3;
21795 if (!args) SWIG_fail;
21796 swig_obj[0] = args;
21797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21798 if (!SWIG_IsOK(res1)) {
21799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21800 }
21801 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 resultobj = SWIG_Py_Void();
21809 if (SWIG_IsTmpObj(res2)) {
21810 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21811 } else {
21812 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21813 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21814 }
21815 if (SWIG_IsTmpObj(res3)) {
21816 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21817 } else {
21818 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21819 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21820 }
21821 return resultobj;
21822fail:
21823 return NULL;
21824}
d55e5bfc 21825
554f62e9
RD
21826
21827SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21828 PyObject *resultobj = 0;
21829 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21830 wxSize result;
21831 void *argp1 = 0 ;
21832 int res1 = 0 ;
21833 PyObject *swig_obj[1] ;
21834
21835 if (!args) SWIG_fail;
21836 swig_obj[0] = args;
21837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21838 if (!SWIG_IsOK(res1)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21840 }
21841 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21842 {
21843 PyThreadState* __tstate = wxPyBeginAllowThreads();
21844 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
21848 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21849 return resultobj;
21850fail:
21851 return NULL;
d55e5bfc
RD
21852}
21853
21854
554f62e9
RD
21855SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21856 PyObject *resultobj = 0;
21857 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21858 wxSize result;
21859 void *argp1 = 0 ;
21860 int res1 = 0 ;
21861 PyObject *swig_obj[1] ;
21862
21863 if (!args) SWIG_fail;
21864 swig_obj[0] = args;
21865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21866 if (!SWIG_IsOK(res1)) {
21867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21868 }
21869 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21877 return resultobj;
21878fail:
21879 return NULL;
d55e5bfc
RD
21880}
21881
21882
554f62e9
RD
21883SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21884 PyObject *resultobj = 0;
21885 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21886 SwigValueWrapper<wxVisualAttributes > result;
21887 void *argp1 = 0 ;
21888 int res1 = 0 ;
21889 PyObject *swig_obj[1] ;
21890
21891 if (!args) SWIG_fail;
21892 swig_obj[0] = args;
21893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21894 if (!SWIG_IsOK(res1)) {
21895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21896 }
21897 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21898 {
21899 PyThreadState* __tstate = wxPyBeginAllowThreads();
21900 result = (arg1)->GetDefaultAttributes();
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21905 return resultobj;
21906fail:
21907 return NULL;
d55e5bfc
RD
21908}
21909
21910
554f62e9
RD
21911SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21912 PyObject *resultobj = 0;
21913 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21914 void *argp1 = 0 ;
21915 int res1 = 0 ;
21916 PyObject *swig_obj[1] ;
21917
21918 if (!args) SWIG_fail;
21919 swig_obj[0] = args;
21920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21921 if (!SWIG_IsOK(res1)) {
21922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21923 }
21924 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21925 {
21926 PyThreadState* __tstate = wxPyBeginAllowThreads();
21927 (arg1)->OnInternalIdle();
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 resultobj = SWIG_Py_Void();
21932 return resultobj;
21933fail:
21934 return NULL;
21935}
21936
21937
21938SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21939 PyObject *obj;
21940 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21941 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21942 return SWIG_Py_Void();
21943}
21944
21945SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21946 return SWIG_Python_InitShadowInstance(args);
21947}
21948
21949SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21950 PyObject *resultobj = 0;
21951 wxWindow *arg1 = (wxWindow *) 0 ;
21952 int arg2 = (int) (int)-1 ;
21953 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21954 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21955 wxSize const &arg4_defvalue = wxDefaultSize ;
21956 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21957 long arg5 = (long) 0 ;
21958 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21959 wxString *arg6 = (wxString *) &arg6_defvalue ;
21960 wxPyPanel *result = 0 ;
21961 void *argp1 = 0 ;
21962 int res1 = 0 ;
21963 int val2 ;
21964 int ecode2 = 0 ;
21965 wxPoint temp3 ;
21966 wxSize temp4 ;
21967 long val5 ;
21968 int ecode5 = 0 ;
21969 bool temp6 = false ;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 PyObject * obj2 = 0 ;
21973 PyObject * obj3 = 0 ;
21974 PyObject * obj4 = 0 ;
21975 PyObject * obj5 = 0 ;
21976 char * kwnames[] = {
21977 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21978 };
21979
21980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21982 if (!SWIG_IsOK(res1)) {
21983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21984 }
21985 arg1 = reinterpret_cast< wxWindow * >(argp1);
21986 if (obj1) {
21987 ecode2 = SWIG_AsVal_int(obj1, &val2);
21988 if (!SWIG_IsOK(ecode2)) {
21989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21990 }
21991 arg2 = static_cast< int >(val2);
21992 }
21993 if (obj2) {
093d3ff1 21994 {
554f62e9
RD
21995 arg3 = &temp3;
21996 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 21997 }
554f62e9
RD
21998 }
21999 if (obj3) {
d55e5bfc 22000 {
554f62e9
RD
22001 arg4 = &temp4;
22002 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22003 }
554f62e9
RD
22004 }
22005 if (obj4) {
22006 ecode5 = SWIG_AsVal_long(obj4, &val5);
22007 if (!SWIG_IsOK(ecode5)) {
22008 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22009 }
22010 arg5 = static_cast< long >(val5);
22011 }
22012 if (obj5) {
d55e5bfc 22013 {
554f62e9
RD
22014 arg6 = wxString_in_helper(obj5);
22015 if (arg6 == NULL) SWIG_fail;
22016 temp6 = true;
d55e5bfc 22017 }
554f62e9
RD
22018 }
22019 {
22020 if (!wxPyCheckForApp()) SWIG_fail;
22021 PyThreadState* __tstate = wxPyBeginAllowThreads();
22022 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22023 wxPyEndAllowThreads(__tstate);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 }
22026 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22027 {
22028 if (temp6)
22029 delete arg6;
22030 }
22031 return resultobj;
22032fail:
22033 {
22034 if (temp6)
22035 delete arg6;
22036 }
22037 return NULL;
d55e5bfc
RD
22038}
22039
22040
554f62e9
RD
22041SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22042 PyObject *resultobj = 0;
22043 wxPyPanel *result = 0 ;
22044
22045 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22046 {
22047 if (!wxPyCheckForApp()) SWIG_fail;
22048 PyThreadState* __tstate = wxPyBeginAllowThreads();
22049 result = (wxPyPanel *)new wxPyPanel();
22050 wxPyEndAllowThreads(__tstate);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 }
22053 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22054 return resultobj;
22055fail:
22056 return NULL;
22057}
22058
22059
22060SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22061 PyObject *resultobj = 0;
22062 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22063 PyObject *arg2 = (PyObject *) 0 ;
22064 PyObject *arg3 = (PyObject *) 0 ;
22065 void *argp1 = 0 ;
22066 int res1 = 0 ;
22067 PyObject * obj0 = 0 ;
22068 PyObject * obj1 = 0 ;
22069 PyObject * obj2 = 0 ;
22070 char * kwnames[] = {
22071 (char *) "self",(char *) "self",(char *) "_class", NULL
22072 };
22073
22074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22076 if (!SWIG_IsOK(res1)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22078 }
22079 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22080 arg2 = obj1;
22081 arg3 = obj2;
22082 {
22083 PyThreadState* __tstate = wxPyBeginAllowThreads();
22084 (arg1)->_setCallbackInfo(arg2,arg3);
22085 wxPyEndAllowThreads(__tstate);
22086 if (PyErr_Occurred()) SWIG_fail;
22087 }
22088 resultobj = SWIG_Py_Void();
22089 return resultobj;
22090fail:
22091 return NULL;
22092}
22093
22094
22095SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22096 PyObject *resultobj = 0;
22097 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22098 wxSize *arg2 = 0 ;
22099 void *argp1 = 0 ;
22100 int res1 = 0 ;
22101 wxSize temp2 ;
22102 PyObject * obj0 = 0 ;
22103 PyObject * obj1 = 0 ;
22104 char * kwnames[] = {
22105 (char *) "self",(char *) "size", NULL
22106 };
22107
22108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22110 if (!SWIG_IsOK(res1)) {
22111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22112 }
22113 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22114 {
22115 arg2 = &temp2;
22116 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22117 }
22118 {
22119 PyThreadState* __tstate = wxPyBeginAllowThreads();
22120 (arg1)->SetBestSize((wxSize const &)*arg2);
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 resultobj = SWIG_Py_Void();
22125 return resultobj;
22126fail:
22127 return NULL;
22128}
22129
22130
22131SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22132 PyObject *resultobj = 0;
22133 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22134 wxDC *arg2 = (wxDC *) 0 ;
22135 bool result;
22136 void *argp1 = 0 ;
22137 int res1 = 0 ;
22138 void *argp2 = 0 ;
22139 int res2 = 0 ;
22140 PyObject * obj0 = 0 ;
22141 PyObject * obj1 = 0 ;
22142 char * kwnames[] = {
22143 (char *) "self",(char *) "dc", NULL
22144 };
22145
22146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22148 if (!SWIG_IsOK(res1)) {
22149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22150 }
22151 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22152 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22153 if (!SWIG_IsOK(res2)) {
22154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22155 }
22156 arg2 = reinterpret_cast< wxDC * >(argp2);
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 result = (bool)(arg1)->DoEraseBackground(arg2);
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 {
22164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22165 }
22166 return resultobj;
22167fail:
22168 return NULL;
22169}
22170
22171
22172SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22173 PyObject *resultobj = 0;
22174 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22175 int arg2 ;
22176 int arg3 ;
22177 int arg4 ;
22178 int arg5 ;
22179 void *argp1 = 0 ;
22180 int res1 = 0 ;
22181 int val2 ;
22182 int ecode2 = 0 ;
22183 int val3 ;
22184 int ecode3 = 0 ;
22185 int val4 ;
22186 int ecode4 = 0 ;
22187 int val5 ;
22188 int ecode5 = 0 ;
22189 PyObject * obj0 = 0 ;
22190 PyObject * obj1 = 0 ;
22191 PyObject * obj2 = 0 ;
22192 PyObject * obj3 = 0 ;
22193 PyObject * obj4 = 0 ;
22194 char * kwnames[] = {
22195 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22196 };
22197
22198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22200 if (!SWIG_IsOK(res1)) {
22201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22202 }
22203 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22204 ecode2 = SWIG_AsVal_int(obj1, &val2);
22205 if (!SWIG_IsOK(ecode2)) {
22206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22207 }
22208 arg2 = static_cast< int >(val2);
22209 ecode3 = SWIG_AsVal_int(obj2, &val3);
22210 if (!SWIG_IsOK(ecode3)) {
22211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22212 }
22213 arg3 = static_cast< int >(val3);
22214 ecode4 = SWIG_AsVal_int(obj3, &val4);
22215 if (!SWIG_IsOK(ecode4)) {
22216 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22217 }
22218 arg4 = static_cast< int >(val4);
22219 ecode5 = SWIG_AsVal_int(obj4, &val5);
22220 if (!SWIG_IsOK(ecode5)) {
22221 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22222 }
22223 arg5 = static_cast< int >(val5);
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22227 wxPyEndAllowThreads(__tstate);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 }
22230 resultobj = SWIG_Py_Void();
22231 return resultobj;
22232fail:
22233 return NULL;
22234}
22235
22236
22237SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22238 PyObject *resultobj = 0;
22239 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22240 int arg2 ;
22241 int arg3 ;
22242 int arg4 ;
22243 int arg5 ;
22244 int arg6 = (int) wxSIZE_AUTO ;
22245 void *argp1 = 0 ;
22246 int res1 = 0 ;
22247 int val2 ;
22248 int ecode2 = 0 ;
22249 int val3 ;
22250 int ecode3 = 0 ;
22251 int val4 ;
22252 int ecode4 = 0 ;
22253 int val5 ;
22254 int ecode5 = 0 ;
22255 int val6 ;
22256 int ecode6 = 0 ;
22257 PyObject * obj0 = 0 ;
22258 PyObject * obj1 = 0 ;
22259 PyObject * obj2 = 0 ;
22260 PyObject * obj3 = 0 ;
22261 PyObject * obj4 = 0 ;
22262 PyObject * obj5 = 0 ;
22263 char * kwnames[] = {
22264 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22265 };
22266
22267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22269 if (!SWIG_IsOK(res1)) {
22270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22271 }
22272 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22273 ecode2 = SWIG_AsVal_int(obj1, &val2);
22274 if (!SWIG_IsOK(ecode2)) {
22275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22276 }
22277 arg2 = static_cast< int >(val2);
22278 ecode3 = SWIG_AsVal_int(obj2, &val3);
22279 if (!SWIG_IsOK(ecode3)) {
22280 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22281 }
22282 arg3 = static_cast< int >(val3);
22283 ecode4 = SWIG_AsVal_int(obj3, &val4);
22284 if (!SWIG_IsOK(ecode4)) {
22285 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22286 }
22287 arg4 = static_cast< int >(val4);
22288 ecode5 = SWIG_AsVal_int(obj4, &val5);
22289 if (!SWIG_IsOK(ecode5)) {
22290 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22291 }
22292 arg5 = static_cast< int >(val5);
22293 if (obj5) {
22294 ecode6 = SWIG_AsVal_int(obj5, &val6);
22295 if (!SWIG_IsOK(ecode6)) {
22296 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22297 }
22298 arg6 = static_cast< int >(val6);
22299 }
22300 {
22301 PyThreadState* __tstate = wxPyBeginAllowThreads();
22302 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22303 wxPyEndAllowThreads(__tstate);
22304 if (PyErr_Occurred()) SWIG_fail;
22305 }
22306 resultobj = SWIG_Py_Void();
22307 return resultobj;
22308fail:
22309 return NULL;
22310}
22311
22312
22313SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22314 PyObject *resultobj = 0;
22315 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22316 int arg2 ;
22317 int arg3 ;
22318 void *argp1 = 0 ;
22319 int res1 = 0 ;
22320 int val2 ;
22321 int ecode2 = 0 ;
22322 int val3 ;
22323 int ecode3 = 0 ;
22324 PyObject * obj0 = 0 ;
22325 PyObject * obj1 = 0 ;
22326 PyObject * obj2 = 0 ;
22327 char * kwnames[] = {
22328 (char *) "self",(char *) "width",(char *) "height", NULL
22329 };
22330
22331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22333 if (!SWIG_IsOK(res1)) {
22334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22335 }
22336 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22337 ecode2 = SWIG_AsVal_int(obj1, &val2);
22338 if (!SWIG_IsOK(ecode2)) {
22339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22340 }
22341 arg2 = static_cast< int >(val2);
22342 ecode3 = SWIG_AsVal_int(obj2, &val3);
22343 if (!SWIG_IsOK(ecode3)) {
22344 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22345 }
22346 arg3 = static_cast< int >(val3);
22347 {
22348 PyThreadState* __tstate = wxPyBeginAllowThreads();
22349 (arg1)->DoSetClientSize(arg2,arg3);
22350 wxPyEndAllowThreads(__tstate);
22351 if (PyErr_Occurred()) SWIG_fail;
22352 }
22353 resultobj = SWIG_Py_Void();
22354 return resultobj;
22355fail:
22356 return NULL;
22357}
22358
22359
22360SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22361 PyObject *resultobj = 0;
22362 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22363 int arg2 ;
22364 int arg3 ;
22365 void *argp1 = 0 ;
22366 int res1 = 0 ;
22367 int val2 ;
22368 int ecode2 = 0 ;
22369 int val3 ;
22370 int ecode3 = 0 ;
22371 PyObject * obj0 = 0 ;
22372 PyObject * obj1 = 0 ;
22373 PyObject * obj2 = 0 ;
22374 char * kwnames[] = {
22375 (char *) "self",(char *) "x",(char *) "y", NULL
22376 };
22377
22378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22380 if (!SWIG_IsOK(res1)) {
22381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22382 }
22383 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22384 ecode2 = SWIG_AsVal_int(obj1, &val2);
22385 if (!SWIG_IsOK(ecode2)) {
22386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22387 }
22388 arg2 = static_cast< int >(val2);
22389 ecode3 = SWIG_AsVal_int(obj2, &val3);
22390 if (!SWIG_IsOK(ecode3)) {
22391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22392 }
22393 arg3 = static_cast< int >(val3);
22394 {
22395 PyThreadState* __tstate = wxPyBeginAllowThreads();
22396 (arg1)->DoSetVirtualSize(arg2,arg3);
22397 wxPyEndAllowThreads(__tstate);
22398 if (PyErr_Occurred()) SWIG_fail;
22399 }
22400 resultobj = SWIG_Py_Void();
22401 return resultobj;
22402fail:
22403 return NULL;
22404}
22405
22406
22407SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22408 PyObject *resultobj = 0;
22409 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22410 int *arg2 = (int *) 0 ;
22411 int *arg3 = (int *) 0 ;
22412 void *argp1 = 0 ;
22413 int res1 = 0 ;
22414 int temp2 ;
22415 int res2 = SWIG_TMPOBJ ;
22416 int temp3 ;
22417 int res3 = SWIG_TMPOBJ ;
22418 PyObject *swig_obj[1] ;
22419
22420 arg2 = &temp2;
22421 arg3 = &temp3;
22422 if (!args) SWIG_fail;
22423 swig_obj[0] = args;
22424 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22425 if (!SWIG_IsOK(res1)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22427 }
22428 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22429 {
22430 PyThreadState* __tstate = wxPyBeginAllowThreads();
22431 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22432 wxPyEndAllowThreads(__tstate);
22433 if (PyErr_Occurred()) SWIG_fail;
22434 }
22435 resultobj = SWIG_Py_Void();
22436 if (SWIG_IsTmpObj(res2)) {
22437 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22438 } else {
22439 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22440 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22441 }
22442 if (SWIG_IsTmpObj(res3)) {
22443 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22444 } else {
22445 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22446 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22447 }
22448 return resultobj;
22449fail:
22450 return NULL;
22451}
22452
22453
22454SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22455 PyObject *resultobj = 0;
22456 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22457 int *arg2 = (int *) 0 ;
22458 int *arg3 = (int *) 0 ;
22459 void *argp1 = 0 ;
22460 int res1 = 0 ;
22461 int temp2 ;
22462 int res2 = SWIG_TMPOBJ ;
22463 int temp3 ;
22464 int res3 = SWIG_TMPOBJ ;
22465 PyObject *swig_obj[1] ;
22466
22467 arg2 = &temp2;
22468 arg3 = &temp3;
22469 if (!args) SWIG_fail;
22470 swig_obj[0] = args;
22471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22472 if (!SWIG_IsOK(res1)) {
22473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22474 }
22475 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22479 wxPyEndAllowThreads(__tstate);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 resultobj = SWIG_Py_Void();
22483 if (SWIG_IsTmpObj(res2)) {
22484 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22485 } else {
22486 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22487 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22488 }
22489 if (SWIG_IsTmpObj(res3)) {
22490 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22491 } else {
22492 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22493 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22494 }
22495 return resultobj;
22496fail:
22497 return NULL;
22498}
22499
22500
22501SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22502 PyObject *resultobj = 0;
22503 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22504 int *arg2 = (int *) 0 ;
22505 int *arg3 = (int *) 0 ;
22506 void *argp1 = 0 ;
22507 int res1 = 0 ;
22508 int temp2 ;
22509 int res2 = SWIG_TMPOBJ ;
22510 int temp3 ;
22511 int res3 = SWIG_TMPOBJ ;
22512 PyObject *swig_obj[1] ;
22513
22514 arg2 = &temp2;
22515 arg3 = &temp3;
22516 if (!args) SWIG_fail;
22517 swig_obj[0] = args;
22518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22519 if (!SWIG_IsOK(res1)) {
22520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22521 }
22522 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22523 {
22524 PyThreadState* __tstate = wxPyBeginAllowThreads();
22525 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22526 wxPyEndAllowThreads(__tstate);
22527 if (PyErr_Occurred()) SWIG_fail;
22528 }
22529 resultobj = SWIG_Py_Void();
22530 if (SWIG_IsTmpObj(res2)) {
22531 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22532 } else {
22533 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22534 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22535 }
22536 if (SWIG_IsTmpObj(res3)) {
22537 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22538 } else {
22539 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22540 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22541 }
22542 return resultobj;
22543fail:
22544 return NULL;
d55e5bfc
RD
22545}
22546
22547
554f62e9
RD
22548SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22549 PyObject *resultobj = 0;
22550 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22551 wxSize result;
22552 void *argp1 = 0 ;
22553 int res1 = 0 ;
22554 PyObject *swig_obj[1] ;
22555
22556 if (!args) SWIG_fail;
22557 swig_obj[0] = args;
22558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22559 if (!SWIG_IsOK(res1)) {
22560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22561 }
22562 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22570 return resultobj;
22571fail:
22572 return NULL;
d55e5bfc
RD
22573}
22574
22575
554f62e9
RD
22576SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22577 PyObject *resultobj = 0;
22578 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22579 wxSize result;
22580 void *argp1 = 0 ;
22581 int res1 = 0 ;
22582 PyObject *swig_obj[1] ;
22583
22584 if (!args) SWIG_fail;
22585 swig_obj[0] = args;
22586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22587 if (!SWIG_IsOK(res1)) {
22588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22589 }
22590 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22598 return resultobj;
22599fail:
22600 return NULL;
d55e5bfc
RD
22601}
22602
22603
554f62e9
RD
22604SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22605 PyObject *resultobj = 0;
22606 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22607 SwigValueWrapper<wxVisualAttributes > result;
22608 void *argp1 = 0 ;
22609 int res1 = 0 ;
22610 PyObject *swig_obj[1] ;
22611
22612 if (!args) SWIG_fail;
22613 swig_obj[0] = args;
22614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22615 if (!SWIG_IsOK(res1)) {
22616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22617 }
22618 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 result = (arg1)->GetDefaultAttributes();
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22626 return resultobj;
22627fail:
22628 return NULL;
d55e5bfc
RD
22629}
22630
22631
554f62e9
RD
22632SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22633 PyObject *resultobj = 0;
22634 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22635 void *argp1 = 0 ;
22636 int res1 = 0 ;
22637 PyObject *swig_obj[1] ;
22638
22639 if (!args) SWIG_fail;
22640 swig_obj[0] = args;
22641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22642 if (!SWIG_IsOK(res1)) {
22643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22644 }
22645 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 (arg1)->OnInternalIdle();
22649 wxPyEndAllowThreads(__tstate);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 }
22652 resultobj = SWIG_Py_Void();
22653 return resultobj;
22654fail:
22655 return NULL;
22656}
22657
22658
22659SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22660 PyObject *obj;
22661 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22662 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22663 return SWIG_Py_Void();
22664}
22665
22666SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22667 return SWIG_Python_InitShadowInstance(args);
22668}
22669
22670SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22671 PyObject *resultobj = 0;
22672 wxWindow *arg1 = (wxWindow *) 0 ;
22673 int arg2 = (int) (int)-1 ;
22674 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22675 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22676 wxSize const &arg4_defvalue = wxDefaultSize ;
22677 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22678 long arg5 = (long) 0 ;
22679 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22680 wxString *arg6 = (wxString *) &arg6_defvalue ;
22681 wxPyScrolledWindow *result = 0 ;
22682 void *argp1 = 0 ;
22683 int res1 = 0 ;
22684 int val2 ;
22685 int ecode2 = 0 ;
22686 wxPoint temp3 ;
22687 wxSize temp4 ;
22688 long val5 ;
22689 int ecode5 = 0 ;
22690 bool temp6 = false ;
22691 PyObject * obj0 = 0 ;
22692 PyObject * obj1 = 0 ;
22693 PyObject * obj2 = 0 ;
22694 PyObject * obj3 = 0 ;
22695 PyObject * obj4 = 0 ;
22696 PyObject * obj5 = 0 ;
22697 char * kwnames[] = {
22698 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22699 };
22700
22701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22703 if (!SWIG_IsOK(res1)) {
22704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22705 }
22706 arg1 = reinterpret_cast< wxWindow * >(argp1);
22707 if (obj1) {
22708 ecode2 = SWIG_AsVal_int(obj1, &val2);
22709 if (!SWIG_IsOK(ecode2)) {
22710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22711 }
22712 arg2 = static_cast< int >(val2);
22713 }
22714 if (obj2) {
d55e5bfc 22715 {
554f62e9
RD
22716 arg3 = &temp3;
22717 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7449af73 22718 }
554f62e9
RD
22719 }
22720 if (obj3) {
7449af73 22721 {
554f62e9
RD
22722 arg4 = &temp4;
22723 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7449af73 22724 }
554f62e9
RD
22725 }
22726 if (obj4) {
22727 ecode5 = SWIG_AsVal_long(obj4, &val5);
22728 if (!SWIG_IsOK(ecode5)) {
22729 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22730 }
22731 arg5 = static_cast< long >(val5);
22732 }
22733 if (obj5) {
7449af73 22734 {
554f62e9
RD
22735 arg6 = wxString_in_helper(obj5);
22736 if (arg6 == NULL) SWIG_fail;
22737 temp6 = true;
7449af73 22738 }
554f62e9
RD
22739 }
22740 {
22741 if (!wxPyCheckForApp()) SWIG_fail;
22742 PyThreadState* __tstate = wxPyBeginAllowThreads();
22743 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22744 wxPyEndAllowThreads(__tstate);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22748 {
22749 if (temp6)
22750 delete arg6;
22751 }
22752 return resultobj;
22753fail:
22754 {
22755 if (temp6)
22756 delete arg6;
22757 }
22758 return NULL;
7449af73
RD
22759}
22760
22761
554f62e9
RD
22762SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22763 PyObject *resultobj = 0;
22764 wxPyScrolledWindow *result = 0 ;
22765
22766 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22767 {
22768 if (!wxPyCheckForApp()) SWIG_fail;
22769 PyThreadState* __tstate = wxPyBeginAllowThreads();
22770 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22775 return resultobj;
22776fail:
22777 return NULL;
22778}
22779
22780
22781SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22782 PyObject *resultobj = 0;
22783 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22784 PyObject *arg2 = (PyObject *) 0 ;
22785 PyObject *arg3 = (PyObject *) 0 ;
22786 void *argp1 = 0 ;
22787 int res1 = 0 ;
22788 PyObject * obj0 = 0 ;
22789 PyObject * obj1 = 0 ;
22790 PyObject * obj2 = 0 ;
22791 char * kwnames[] = {
22792 (char *) "self",(char *) "self",(char *) "_class", NULL
22793 };
22794
22795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22797 if (!SWIG_IsOK(res1)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22799 }
22800 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22801 arg2 = obj1;
22802 arg3 = obj2;
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 (arg1)->_setCallbackInfo(arg2,arg3);
22806 wxPyEndAllowThreads(__tstate);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
22809 resultobj = SWIG_Py_Void();
22810 return resultobj;
22811fail:
22812 return NULL;
22813}
22814
22815
22816SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22817 PyObject *resultobj = 0;
22818 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22819 wxSize *arg2 = 0 ;
22820 void *argp1 = 0 ;
22821 int res1 = 0 ;
22822 wxSize temp2 ;
22823 PyObject * obj0 = 0 ;
22824 PyObject * obj1 = 0 ;
22825 char * kwnames[] = {
22826 (char *) "self",(char *) "size", NULL
22827 };
22828
22829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22831 if (!SWIG_IsOK(res1)) {
22832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22833 }
22834 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22835 {
22836 arg2 = &temp2;
22837 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22838 }
22839 {
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 (arg1)->SetBestSize((wxSize const &)*arg2);
22842 wxPyEndAllowThreads(__tstate);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 resultobj = SWIG_Py_Void();
22846 return resultobj;
22847fail:
22848 return NULL;
22849}
22850
22851
22852SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22853 PyObject *resultobj = 0;
22854 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22855 wxDC *arg2 = (wxDC *) 0 ;
22856 bool result;
22857 void *argp1 = 0 ;
22858 int res1 = 0 ;
22859 void *argp2 = 0 ;
22860 int res2 = 0 ;
22861 PyObject * obj0 = 0 ;
22862 PyObject * obj1 = 0 ;
22863 char * kwnames[] = {
22864 (char *) "self",(char *) "dc", NULL
22865 };
22866
22867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22869 if (!SWIG_IsOK(res1)) {
22870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22871 }
22872 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22873 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22874 if (!SWIG_IsOK(res2)) {
22875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22876 }
22877 arg2 = reinterpret_cast< wxDC * >(argp2);
22878 {
22879 PyThreadState* __tstate = wxPyBeginAllowThreads();
22880 result = (bool)(arg1)->DoEraseBackground(arg2);
22881 wxPyEndAllowThreads(__tstate);
22882 if (PyErr_Occurred()) SWIG_fail;
22883 }
22884 {
22885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22886 }
22887 return resultobj;
22888fail:
22889 return NULL;
22890}
22891
22892
22893SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22894 PyObject *resultobj = 0;
22895 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22896 int arg2 ;
22897 int arg3 ;
22898 int arg4 ;
22899 int arg5 ;
22900 void *argp1 = 0 ;
22901 int res1 = 0 ;
22902 int val2 ;
22903 int ecode2 = 0 ;
22904 int val3 ;
22905 int ecode3 = 0 ;
22906 int val4 ;
22907 int ecode4 = 0 ;
22908 int val5 ;
22909 int ecode5 = 0 ;
22910 PyObject * obj0 = 0 ;
22911 PyObject * obj1 = 0 ;
22912 PyObject * obj2 = 0 ;
22913 PyObject * obj3 = 0 ;
22914 PyObject * obj4 = 0 ;
22915 char * kwnames[] = {
22916 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22917 };
22918
22919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22921 if (!SWIG_IsOK(res1)) {
22922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22923 }
22924 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22925 ecode2 = SWIG_AsVal_int(obj1, &val2);
22926 if (!SWIG_IsOK(ecode2)) {
22927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22928 }
22929 arg2 = static_cast< int >(val2);
22930 ecode3 = SWIG_AsVal_int(obj2, &val3);
22931 if (!SWIG_IsOK(ecode3)) {
22932 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22933 }
22934 arg3 = static_cast< int >(val3);
22935 ecode4 = SWIG_AsVal_int(obj3, &val4);
22936 if (!SWIG_IsOK(ecode4)) {
22937 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22938 }
22939 arg4 = static_cast< int >(val4);
22940 ecode5 = SWIG_AsVal_int(obj4, &val5);
22941 if (!SWIG_IsOK(ecode5)) {
22942 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22943 }
22944 arg5 = static_cast< int >(val5);
22945 {
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22948 wxPyEndAllowThreads(__tstate);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 resultobj = SWIG_Py_Void();
22952 return resultobj;
22953fail:
22954 return NULL;
22955}
22956
22957
22958SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj = 0;
22960 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22961 int arg2 ;
22962 int arg3 ;
22963 int arg4 ;
22964 int arg5 ;
22965 int arg6 = (int) wxSIZE_AUTO ;
22966 void *argp1 = 0 ;
22967 int res1 = 0 ;
22968 int val2 ;
22969 int ecode2 = 0 ;
22970 int val3 ;
22971 int ecode3 = 0 ;
22972 int val4 ;
22973 int ecode4 = 0 ;
22974 int val5 ;
22975 int ecode5 = 0 ;
22976 int val6 ;
22977 int ecode6 = 0 ;
22978 PyObject * obj0 = 0 ;
22979 PyObject * obj1 = 0 ;
22980 PyObject * obj2 = 0 ;
22981 PyObject * obj3 = 0 ;
22982 PyObject * obj4 = 0 ;
22983 PyObject * obj5 = 0 ;
22984 char * kwnames[] = {
22985 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22986 };
22987
22988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22990 if (!SWIG_IsOK(res1)) {
22991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22992 }
22993 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22994 ecode2 = SWIG_AsVal_int(obj1, &val2);
22995 if (!SWIG_IsOK(ecode2)) {
22996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22997 }
22998 arg2 = static_cast< int >(val2);
22999 ecode3 = SWIG_AsVal_int(obj2, &val3);
23000 if (!SWIG_IsOK(ecode3)) {
23001 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23002 }
23003 arg3 = static_cast< int >(val3);
23004 ecode4 = SWIG_AsVal_int(obj3, &val4);
23005 if (!SWIG_IsOK(ecode4)) {
23006 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23007 }
23008 arg4 = static_cast< int >(val4);
23009 ecode5 = SWIG_AsVal_int(obj4, &val5);
23010 if (!SWIG_IsOK(ecode5)) {
23011 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23012 }
23013 arg5 = static_cast< int >(val5);
23014 if (obj5) {
23015 ecode6 = SWIG_AsVal_int(obj5, &val6);
23016 if (!SWIG_IsOK(ecode6)) {
23017 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23018 }
23019 arg6 = static_cast< int >(val6);
23020 }
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23024 wxPyEndAllowThreads(__tstate);
23025 if (PyErr_Occurred()) SWIG_fail;
23026 }
23027 resultobj = SWIG_Py_Void();
23028 return resultobj;
23029fail:
23030 return NULL;
23031}
23032
23033
23034SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23035 PyObject *resultobj = 0;
23036 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23037 int arg2 ;
23038 int arg3 ;
23039 void *argp1 = 0 ;
23040 int res1 = 0 ;
23041 int val2 ;
23042 int ecode2 = 0 ;
23043 int val3 ;
23044 int ecode3 = 0 ;
23045 PyObject * obj0 = 0 ;
23046 PyObject * obj1 = 0 ;
23047 PyObject * obj2 = 0 ;
23048 char * kwnames[] = {
23049 (char *) "self",(char *) "width",(char *) "height", NULL
23050 };
23051
23052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23054 if (!SWIG_IsOK(res1)) {
23055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23056 }
23057 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23058 ecode2 = SWIG_AsVal_int(obj1, &val2);
23059 if (!SWIG_IsOK(ecode2)) {
23060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23061 }
23062 arg2 = static_cast< int >(val2);
23063 ecode3 = SWIG_AsVal_int(obj2, &val3);
23064 if (!SWIG_IsOK(ecode3)) {
23065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23066 }
23067 arg3 = static_cast< int >(val3);
23068 {
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 (arg1)->DoSetClientSize(arg2,arg3);
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
23074 resultobj = SWIG_Py_Void();
23075 return resultobj;
23076fail:
23077 return NULL;
23078}
23079
23080
23081SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj = 0;
23083 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23084 int arg2 ;
23085 int arg3 ;
23086 void *argp1 = 0 ;
23087 int res1 = 0 ;
23088 int val2 ;
23089 int ecode2 = 0 ;
23090 int val3 ;
23091 int ecode3 = 0 ;
23092 PyObject * obj0 = 0 ;
23093 PyObject * obj1 = 0 ;
23094 PyObject * obj2 = 0 ;
23095 char * kwnames[] = {
23096 (char *) "self",(char *) "x",(char *) "y", NULL
23097 };
23098
23099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23101 if (!SWIG_IsOK(res1)) {
23102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23103 }
23104 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23105 ecode2 = SWIG_AsVal_int(obj1, &val2);
23106 if (!SWIG_IsOK(ecode2)) {
23107 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23108 }
23109 arg2 = static_cast< int >(val2);
23110 ecode3 = SWIG_AsVal_int(obj2, &val3);
23111 if (!SWIG_IsOK(ecode3)) {
23112 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23113 }
23114 arg3 = static_cast< int >(val3);
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 (arg1)->DoSetVirtualSize(arg2,arg3);
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 resultobj = SWIG_Py_Void();
23122 return resultobj;
23123fail:
23124 return NULL;
23125}
23126
23127
23128SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23129 PyObject *resultobj = 0;
23130 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23131 int *arg2 = (int *) 0 ;
23132 int *arg3 = (int *) 0 ;
23133 void *argp1 = 0 ;
23134 int res1 = 0 ;
23135 int temp2 ;
23136 int res2 = SWIG_TMPOBJ ;
23137 int temp3 ;
23138 int res3 = SWIG_TMPOBJ ;
23139 PyObject *swig_obj[1] ;
23140
23141 arg2 = &temp2;
23142 arg3 = &temp3;
23143 if (!args) SWIG_fail;
23144 swig_obj[0] = args;
23145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23146 if (!SWIG_IsOK(res1)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23148 }
23149 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 resultobj = SWIG_Py_Void();
23157 if (SWIG_IsTmpObj(res2)) {
23158 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23159 } else {
23160 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23161 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23162 }
23163 if (SWIG_IsTmpObj(res3)) {
23164 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23165 } else {
23166 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23167 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23168 }
23169 return resultobj;
23170fail:
23171 return NULL;
23172}
23173
23174
23175SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23176 PyObject *resultobj = 0;
23177 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23178 int *arg2 = (int *) 0 ;
23179 int *arg3 = (int *) 0 ;
23180 void *argp1 = 0 ;
23181 int res1 = 0 ;
23182 int temp2 ;
23183 int res2 = SWIG_TMPOBJ ;
23184 int temp3 ;
23185 int res3 = SWIG_TMPOBJ ;
23186 PyObject *swig_obj[1] ;
23187
23188 arg2 = &temp2;
23189 arg3 = &temp3;
23190 if (!args) SWIG_fail;
23191 swig_obj[0] = args;
23192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23193 if (!SWIG_IsOK(res1)) {
23194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23195 }
23196 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 resultobj = SWIG_Py_Void();
23204 if (SWIG_IsTmpObj(res2)) {
23205 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23206 } else {
23207 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23208 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23209 }
23210 if (SWIG_IsTmpObj(res3)) {
23211 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23212 } else {
23213 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23214 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23215 }
23216 return resultobj;
23217fail:
23218 return NULL;
23219}
23220
23221
23222SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23223 PyObject *resultobj = 0;
23224 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23225 int *arg2 = (int *) 0 ;
23226 int *arg3 = (int *) 0 ;
23227 void *argp1 = 0 ;
23228 int res1 = 0 ;
23229 int temp2 ;
23230 int res2 = SWIG_TMPOBJ ;
23231 int temp3 ;
23232 int res3 = SWIG_TMPOBJ ;
23233 PyObject *swig_obj[1] ;
23234
23235 arg2 = &temp2;
23236 arg3 = &temp3;
23237 if (!args) SWIG_fail;
23238 swig_obj[0] = args;
23239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23240 if (!SWIG_IsOK(res1)) {
23241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23242 }
23243 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23244 {
23245 PyThreadState* __tstate = wxPyBeginAllowThreads();
23246 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 resultobj = SWIG_Py_Void();
23251 if (SWIG_IsTmpObj(res2)) {
23252 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23253 } else {
23254 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23255 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23256 }
23257 if (SWIG_IsTmpObj(res3)) {
23258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23259 } else {
23260 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23262 }
23263 return resultobj;
23264fail:
23265 return NULL;
d55e5bfc
RD
23266}
23267
23268
554f62e9
RD
23269SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23270 PyObject *resultobj = 0;
23271 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23272 wxSize result;
23273 void *argp1 = 0 ;
23274 int res1 = 0 ;
23275 PyObject *swig_obj[1] ;
23276
23277 if (!args) SWIG_fail;
23278 swig_obj[0] = args;
23279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23280 if (!SWIG_IsOK(res1)) {
23281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23282 }
23283 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23287 wxPyEndAllowThreads(__tstate);
23288 if (PyErr_Occurred()) SWIG_fail;
23289 }
23290 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23291 return resultobj;
23292fail:
23293 return NULL;
d55e5bfc
RD
23294}
23295
23296
554f62e9
RD
23297SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23298 PyObject *resultobj = 0;
23299 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23300 wxSize result;
23301 void *argp1 = 0 ;
23302 int res1 = 0 ;
23303 PyObject *swig_obj[1] ;
23304
23305 if (!args) SWIG_fail;
23306 swig_obj[0] = args;
23307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23308 if (!SWIG_IsOK(res1)) {
23309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23310 }
23311 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23315 wxPyEndAllowThreads(__tstate);
23316 if (PyErr_Occurred()) SWIG_fail;
23317 }
23318 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23319 return resultobj;
23320fail:
23321 return NULL;
d55e5bfc
RD
23322}
23323
23324
554f62e9
RD
23325SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23326 PyObject *resultobj = 0;
23327 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23328 SwigValueWrapper<wxVisualAttributes > result;
23329 void *argp1 = 0 ;
23330 int res1 = 0 ;
23331 PyObject *swig_obj[1] ;
23332
23333 if (!args) SWIG_fail;
23334 swig_obj[0] = args;
23335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23336 if (!SWIG_IsOK(res1)) {
23337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23338 }
23339 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23340 {
23341 PyThreadState* __tstate = wxPyBeginAllowThreads();
23342 result = (arg1)->GetDefaultAttributes();
23343 wxPyEndAllowThreads(__tstate);
23344 if (PyErr_Occurred()) SWIG_fail;
23345 }
23346 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23347 return resultobj;
23348fail:
23349 return NULL;
d55e5bfc
RD
23350}
23351
23352
554f62e9
RD
23353SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23354 PyObject *resultobj = 0;
23355 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23356 void *argp1 = 0 ;
23357 int res1 = 0 ;
23358 PyObject *swig_obj[1] ;
23359
23360 if (!args) SWIG_fail;
23361 swig_obj[0] = args;
23362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23363 if (!SWIG_IsOK(res1)) {
23364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23365 }
23366 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23367 {
23368 PyThreadState* __tstate = wxPyBeginAllowThreads();
23369 (arg1)->OnInternalIdle();
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 resultobj = SWIG_Py_Void();
23374 return resultobj;
23375fail:
23376 return NULL;
d55e5bfc
RD
23377}
23378
23379
554f62e9
RD
23380SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23381 PyObject *obj;
23382 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23383 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23384 return SWIG_Py_Void();
d55e5bfc
RD
23385}
23386
554f62e9
RD
23387SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23388 return SWIG_Python_InitShadowInstance(args);
23389}
d55e5bfc 23390
554f62e9
RD
23391SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23392 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23393 return 1;
d55e5bfc
RD
23394}
23395
23396
554f62e9
RD
23397SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23398 PyObject *pyobj = 0;
23399
23400 {
23401#if wxUSE_UNICODE
23402 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23403#else
23404 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23405#endif
23406 }
23407 return pyobj;
d55e5bfc
RD
23408}
23409
23410
554f62e9
RD
23411SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23412 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23413 return 1;
d55e5bfc
RD
23414}
23415
23416
554f62e9
RD
23417SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23418 PyObject *pyobj = 0;
23419
23420 {
23421#if wxUSE_UNICODE
23422 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23423#else
23424 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23425#endif
23426 }
23427 return pyobj;
d55e5bfc
RD
23428}
23429
23430
554f62e9
RD
23431SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23432 PyObject *resultobj = 0;
23433 wxPrintData *result = 0 ;
23434
23435 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23436 {
23437 PyThreadState* __tstate = wxPyBeginAllowThreads();
23438 result = (wxPrintData *)new wxPrintData();
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23443 return resultobj;
23444fail:
23445 return NULL;
d55e5bfc
RD
23446}
23447
23448
554f62e9
RD
23449SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23450 PyObject *resultobj = 0;
23451 wxPrintData *arg1 = 0 ;
23452 wxPrintData *result = 0 ;
23453 void *argp1 = 0 ;
23454 int res1 = 0 ;
23455
23456 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23458 if (!SWIG_IsOK(res1)) {
23459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23460 }
23461 if (!argp1) {
23462 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23463 }
23464 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23465 {
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23468 wxPyEndAllowThreads(__tstate);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 }
23471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23472 return resultobj;
23473fail:
23474 return NULL;
d55e5bfc
RD
23475}
23476
23477
554f62e9
RD
23478SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23479 int argc;
23480 PyObject *argv[2];
23481
23482 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23483 --argc;
23484 if (argc == 0) {
23485 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23486 }
23487 if (argc == 1) {
23488 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23489 }
23490
23491fail:
23492 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23493 return NULL;
d55e5bfc
RD
23494}
23495
23496
554f62e9
RD
23497SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23498 PyObject *resultobj = 0;
23499 wxPrintData *arg1 = (wxPrintData *) 0 ;
23500 void *argp1 = 0 ;
23501 int res1 = 0 ;
23502 PyObject *swig_obj[1] ;
23503
23504 if (!args) SWIG_fail;
23505 swig_obj[0] = args;
23506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23507 if (!SWIG_IsOK(res1)) {
23508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23509 }
23510 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 delete arg1;
d55e5bfc 23514
554f62e9
RD
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
23518 resultobj = SWIG_Py_Void();
23519 return resultobj;
23520fail:
23521 return NULL;
d55e5bfc
RD
23522}
23523
23524
554f62e9
RD
23525SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23526 PyObject *resultobj = 0;
23527 wxPrintData *arg1 = (wxPrintData *) 0 ;
23528 int result;
23529 void *argp1 = 0 ;
23530 int res1 = 0 ;
23531 PyObject *swig_obj[1] ;
23532
23533 if (!args) SWIG_fail;
23534 swig_obj[0] = args;
23535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23536 if (!SWIG_IsOK(res1)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23538 }
23539 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 result = (int)(arg1)->GetNoCopies();
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
23546 resultobj = SWIG_From_int(static_cast< int >(result));
23547 return resultobj;
23548fail:
23549 return NULL;
d55e5bfc
RD
23550}
23551
23552
554f62e9
RD
23553SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23554 PyObject *resultobj = 0;
23555 wxPrintData *arg1 = (wxPrintData *) 0 ;
23556 bool result;
23557 void *argp1 = 0 ;
23558 int res1 = 0 ;
23559 PyObject *swig_obj[1] ;
23560
23561 if (!args) SWIG_fail;
23562 swig_obj[0] = args;
23563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23564 if (!SWIG_IsOK(res1)) {
23565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23566 }
23567 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 result = (bool)(arg1)->GetCollate();
23571 wxPyEndAllowThreads(__tstate);
23572 if (PyErr_Occurred()) SWIG_fail;
23573 }
23574 {
23575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23576 }
23577 return resultobj;
23578fail:
23579 return NULL;
d55e5bfc
RD
23580}
23581
23582
554f62e9
RD
23583SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23584 PyObject *resultobj = 0;
23585 wxPrintData *arg1 = (wxPrintData *) 0 ;
23586 int result;
23587 void *argp1 = 0 ;
23588 int res1 = 0 ;
23589 PyObject *swig_obj[1] ;
23590
23591 if (!args) SWIG_fail;
23592 swig_obj[0] = args;
23593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23594 if (!SWIG_IsOK(res1)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23596 }
23597 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23598 {
23599 PyThreadState* __tstate = wxPyBeginAllowThreads();
23600 result = (int)(arg1)->GetOrientation();
23601 wxPyEndAllowThreads(__tstate);
23602 if (PyErr_Occurred()) SWIG_fail;
23603 }
23604 resultobj = SWIG_From_int(static_cast< int >(result));
23605 return resultobj;
23606fail:
23607 return NULL;
d55e5bfc
RD
23608}
23609
23610
554f62e9
RD
23611SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23612 PyObject *resultobj = 0;
23613 wxPrintData *arg1 = (wxPrintData *) 0 ;
23614 bool result;
23615 void *argp1 = 0 ;
23616 int res1 = 0 ;
23617 PyObject *swig_obj[1] ;
23618
23619 if (!args) SWIG_fail;
23620 swig_obj[0] = args;
23621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23622 if (!SWIG_IsOK(res1)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23624 }
23625 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23626 {
23627 PyThreadState* __tstate = wxPyBeginAllowThreads();
23628 result = (bool)(arg1)->Ok();
23629 wxPyEndAllowThreads(__tstate);
23630 if (PyErr_Occurred()) SWIG_fail;
23631 }
23632 {
23633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23634 }
23635 return resultobj;
23636fail:
23637 return NULL;
d55e5bfc
RD
23638}
23639
23640
554f62e9
RD
23641SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23642 PyObject *resultobj = 0;
23643 wxPrintData *arg1 = (wxPrintData *) 0 ;
23644 wxString *result = 0 ;
23645 void *argp1 = 0 ;
23646 int res1 = 0 ;
23647 PyObject *swig_obj[1] ;
23648
23649 if (!args) SWIG_fail;
23650 swig_obj[0] = args;
23651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23652 if (!SWIG_IsOK(res1)) {
23653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23654 }
23655 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23656 {
23657 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23658 {
554f62e9
RD
23659 wxString const &_result_ref = (arg1)->GetPrinterName();
23660 result = (wxString *) &_result_ref;
d55e5bfc 23661 }
554f62e9
RD
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 {
d55e5bfc 23666#if wxUSE_UNICODE
554f62e9 23667 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23668#else
554f62e9 23669 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23670#endif
554f62e9
RD
23671 }
23672 return resultobj;
23673fail:
23674 return NULL;
d55e5bfc
RD
23675}
23676
23677
554f62e9
RD
23678SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23679 PyObject *resultobj = 0;
23680 wxPrintData *arg1 = (wxPrintData *) 0 ;
23681 bool result;
23682 void *argp1 = 0 ;
23683 int res1 = 0 ;
23684 PyObject *swig_obj[1] ;
23685
23686 if (!args) SWIG_fail;
23687 swig_obj[0] = args;
23688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23689 if (!SWIG_IsOK(res1)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23691 }
23692 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23693 {
23694 PyThreadState* __tstate = wxPyBeginAllowThreads();
23695 result = (bool)(arg1)->GetColour();
23696 wxPyEndAllowThreads(__tstate);
23697 if (PyErr_Occurred()) SWIG_fail;
23698 }
23699 {
23700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23701 }
23702 return resultobj;
23703fail:
23704 return NULL;
d55e5bfc
RD
23705}
23706
23707
554f62e9
RD
23708SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23709 PyObject *resultobj = 0;
23710 wxPrintData *arg1 = (wxPrintData *) 0 ;
23711 wxDuplexMode result;
23712 void *argp1 = 0 ;
23713 int res1 = 0 ;
23714 PyObject *swig_obj[1] ;
23715
23716 if (!args) SWIG_fail;
23717 swig_obj[0] = args;
23718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23719 if (!SWIG_IsOK(res1)) {
23720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23721 }
23722 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 result = (wxDuplexMode)(arg1)->GetDuplex();
23726 wxPyEndAllowThreads(__tstate);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 resultobj = SWIG_From_int(static_cast< int >(result));
23730 return resultobj;
23731fail:
23732 return NULL;
d55e5bfc
RD
23733}
23734
23735
554f62e9
RD
23736SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23737 PyObject *resultobj = 0;
23738 wxPrintData *arg1 = (wxPrintData *) 0 ;
23739 wxPaperSize result;
23740 void *argp1 = 0 ;
23741 int res1 = 0 ;
23742 PyObject *swig_obj[1] ;
23743
23744 if (!args) SWIG_fail;
23745 swig_obj[0] = args;
23746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23747 if (!SWIG_IsOK(res1)) {
23748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23749 }
23750 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23751 {
23752 PyThreadState* __tstate = wxPyBeginAllowThreads();
23753 result = (wxPaperSize)(arg1)->GetPaperId();
23754 wxPyEndAllowThreads(__tstate);
23755 if (PyErr_Occurred()) SWIG_fail;
23756 }
23757 resultobj = SWIG_From_int(static_cast< int >(result));
23758 return resultobj;
23759fail:
23760 return NULL;
d55e5bfc
RD
23761}
23762
23763
554f62e9
RD
23764SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23765 PyObject *resultobj = 0;
23766 wxPrintData *arg1 = (wxPrintData *) 0 ;
23767 wxSize *result = 0 ;
23768 void *argp1 = 0 ;
23769 int res1 = 0 ;
23770 PyObject *swig_obj[1] ;
23771
23772 if (!args) SWIG_fail;
23773 swig_obj[0] = args;
23774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23775 if (!SWIG_IsOK(res1)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23777 }
23778 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23779 {
23780 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23781 {
554f62e9
RD
23782 wxSize const &_result_ref = (arg1)->GetPaperSize();
23783 result = (wxSize *) &_result_ref;
d55e5bfc 23784 }
554f62e9
RD
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23789 return resultobj;
23790fail:
23791 return NULL;
d55e5bfc
RD
23792}
23793
23794
554f62e9
RD
23795SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23796 PyObject *resultobj = 0;
23797 wxPrintData *arg1 = (wxPrintData *) 0 ;
23798 int result;
23799 void *argp1 = 0 ;
23800 int res1 = 0 ;
23801 PyObject *swig_obj[1] ;
23802
23803 if (!args) SWIG_fail;
23804 swig_obj[0] = args;
23805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23806 if (!SWIG_IsOK(res1)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23808 }
23809 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 result = (int)(arg1)->GetQuality();
23813 wxPyEndAllowThreads(__tstate);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 resultobj = SWIG_From_int(static_cast< int >(result));
23817 return resultobj;
23818fail:
23819 return NULL;
d55e5bfc
RD
23820}
23821
23822
554f62e9
RD
23823SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23824 PyObject *resultobj = 0;
23825 wxPrintData *arg1 = (wxPrintData *) 0 ;
23826 wxPrintBin result;
23827 void *argp1 = 0 ;
23828 int res1 = 0 ;
23829 PyObject *swig_obj[1] ;
23830
23831 if (!args) SWIG_fail;
23832 swig_obj[0] = args;
23833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23834 if (!SWIG_IsOK(res1)) {
23835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23836 }
23837 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23838 {
23839 PyThreadState* __tstate = wxPyBeginAllowThreads();
23840 result = (wxPrintBin)(arg1)->GetBin();
23841 wxPyEndAllowThreads(__tstate);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 }
23844 resultobj = SWIG_From_int(static_cast< int >(result));
23845 return resultobj;
23846fail:
23847 return NULL;
d55e5bfc
RD
23848}
23849
23850
554f62e9
RD
23851SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23852 PyObject *resultobj = 0;
23853 wxPrintData *arg1 = (wxPrintData *) 0 ;
23854 wxPrintMode result;
23855 void *argp1 = 0 ;
23856 int res1 = 0 ;
23857 PyObject *swig_obj[1] ;
23858
23859 if (!args) SWIG_fail;
23860 swig_obj[0] = args;
23861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23862 if (!SWIG_IsOK(res1)) {
23863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23864 }
23865 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23866 {
23867 PyThreadState* __tstate = wxPyBeginAllowThreads();
23868 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23869 wxPyEndAllowThreads(__tstate);
23870 if (PyErr_Occurred()) SWIG_fail;
23871 }
23872 resultobj = SWIG_From_int(static_cast< int >(result));
23873 return resultobj;
23874fail:
23875 return NULL;
23876}
23877
23878
23879SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23880 PyObject *resultobj = 0;
23881 wxPrintData *arg1 = (wxPrintData *) 0 ;
23882 int arg2 ;
23883 void *argp1 = 0 ;
23884 int res1 = 0 ;
23885 int val2 ;
23886 int ecode2 = 0 ;
23887 PyObject * obj0 = 0 ;
23888 PyObject * obj1 = 0 ;
23889 char * kwnames[] = {
23890 (char *) "self",(char *) "v", NULL
23891 };
23892
23893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23895 if (!SWIG_IsOK(res1)) {
23896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23897 }
23898 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23899 ecode2 = SWIG_AsVal_int(obj1, &val2);
23900 if (!SWIG_IsOK(ecode2)) {
23901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23902 }
23903 arg2 = static_cast< int >(val2);
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 (arg1)->SetNoCopies(arg2);
23907 wxPyEndAllowThreads(__tstate);
23908 if (PyErr_Occurred()) SWIG_fail;
23909 }
23910 resultobj = SWIG_Py_Void();
23911 return resultobj;
23912fail:
23913 return NULL;
23914}
23915
23916
23917SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23918 PyObject *resultobj = 0;
23919 wxPrintData *arg1 = (wxPrintData *) 0 ;
23920 bool arg2 ;
23921 void *argp1 = 0 ;
23922 int res1 = 0 ;
23923 bool val2 ;
23924 int ecode2 = 0 ;
23925 PyObject * obj0 = 0 ;
23926 PyObject * obj1 = 0 ;
23927 char * kwnames[] = {
23928 (char *) "self",(char *) "flag", NULL
23929 };
23930
23931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23933 if (!SWIG_IsOK(res1)) {
23934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23935 }
23936 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23937 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23938 if (!SWIG_IsOK(ecode2)) {
23939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23940 }
23941 arg2 = static_cast< bool >(val2);
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 (arg1)->SetCollate(arg2);
23945 wxPyEndAllowThreads(__tstate);
23946 if (PyErr_Occurred()) SWIG_fail;
23947 }
23948 resultobj = SWIG_Py_Void();
23949 return resultobj;
23950fail:
23951 return NULL;
23952}
23953
23954
23955SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23956 PyObject *resultobj = 0;
23957 wxPrintData *arg1 = (wxPrintData *) 0 ;
23958 int arg2 ;
23959 void *argp1 = 0 ;
23960 int res1 = 0 ;
23961 int val2 ;
23962 int ecode2 = 0 ;
23963 PyObject * obj0 = 0 ;
23964 PyObject * obj1 = 0 ;
23965 char * kwnames[] = {
23966 (char *) "self",(char *) "orient", NULL
23967 };
23968
23969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23971 if (!SWIG_IsOK(res1)) {
23972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23973 }
23974 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23975 ecode2 = SWIG_AsVal_int(obj1, &val2);
23976 if (!SWIG_IsOK(ecode2)) {
23977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23978 }
23979 arg2 = static_cast< int >(val2);
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 (arg1)->SetOrientation(arg2);
23983 wxPyEndAllowThreads(__tstate);
23984 if (PyErr_Occurred()) SWIG_fail;
23985 }
23986 resultobj = SWIG_Py_Void();
23987 return resultobj;
23988fail:
23989 return NULL;
23990}
23991
23992
23993SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23994 PyObject *resultobj = 0;
23995 wxPrintData *arg1 = (wxPrintData *) 0 ;
23996 wxString *arg2 = 0 ;
23997 void *argp1 = 0 ;
23998 int res1 = 0 ;
23999 bool temp2 = false ;
24000 PyObject * obj0 = 0 ;
24001 PyObject * obj1 = 0 ;
24002 char * kwnames[] = {
24003 (char *) "self",(char *) "name", NULL
24004 };
24005
24006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24008 if (!SWIG_IsOK(res1)) {
24009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24010 }
24011 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24012 {
24013 arg2 = wxString_in_helper(obj1);
24014 if (arg2 == NULL) SWIG_fail;
24015 temp2 = true;
24016 }
24017 {
24018 PyThreadState* __tstate = wxPyBeginAllowThreads();
24019 (arg1)->SetPrinterName((wxString const &)*arg2);
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 resultobj = SWIG_Py_Void();
24024 {
24025 if (temp2)
24026 delete arg2;
24027 }
24028 return resultobj;
24029fail:
24030 {
24031 if (temp2)
24032 delete arg2;
24033 }
24034 return NULL;
24035}
24036
24037
24038SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24039 PyObject *resultobj = 0;
24040 wxPrintData *arg1 = (wxPrintData *) 0 ;
24041 bool arg2 ;
24042 void *argp1 = 0 ;
24043 int res1 = 0 ;
24044 bool val2 ;
24045 int ecode2 = 0 ;
24046 PyObject * obj0 = 0 ;
24047 PyObject * obj1 = 0 ;
24048 char * kwnames[] = {
24049 (char *) "self",(char *) "colour", NULL
24050 };
24051
24052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24054 if (!SWIG_IsOK(res1)) {
24055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24056 }
24057 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24058 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24059 if (!SWIG_IsOK(ecode2)) {
24060 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24061 }
24062 arg2 = static_cast< bool >(val2);
24063 {
24064 PyThreadState* __tstate = wxPyBeginAllowThreads();
24065 (arg1)->SetColour(arg2);
24066 wxPyEndAllowThreads(__tstate);
24067 if (PyErr_Occurred()) SWIG_fail;
24068 }
24069 resultobj = SWIG_Py_Void();
24070 return resultobj;
24071fail:
24072 return NULL;
24073}
24074
24075
24076SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24077 PyObject *resultobj = 0;
24078 wxPrintData *arg1 = (wxPrintData *) 0 ;
24079 wxDuplexMode arg2 ;
24080 void *argp1 = 0 ;
24081 int res1 = 0 ;
24082 int val2 ;
24083 int ecode2 = 0 ;
24084 PyObject * obj0 = 0 ;
24085 PyObject * obj1 = 0 ;
24086 char * kwnames[] = {
24087 (char *) "self",(char *) "duplex", NULL
24088 };
24089
24090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24092 if (!SWIG_IsOK(res1)) {
24093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24094 }
24095 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24096 ecode2 = SWIG_AsVal_int(obj1, &val2);
24097 if (!SWIG_IsOK(ecode2)) {
24098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24099 }
24100 arg2 = static_cast< wxDuplexMode >(val2);
24101 {
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 (arg1)->SetDuplex(arg2);
24104 wxPyEndAllowThreads(__tstate);
24105 if (PyErr_Occurred()) SWIG_fail;
24106 }
24107 resultobj = SWIG_Py_Void();
24108 return resultobj;
24109fail:
24110 return NULL;
24111}
24112
24113
24114SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24115 PyObject *resultobj = 0;
24116 wxPrintData *arg1 = (wxPrintData *) 0 ;
24117 wxPaperSize arg2 ;
24118 void *argp1 = 0 ;
24119 int res1 = 0 ;
24120 int val2 ;
24121 int ecode2 = 0 ;
24122 PyObject * obj0 = 0 ;
24123 PyObject * obj1 = 0 ;
24124 char * kwnames[] = {
24125 (char *) "self",(char *) "sizeId", NULL
24126 };
24127
24128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24130 if (!SWIG_IsOK(res1)) {
24131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24132 }
24133 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24134 ecode2 = SWIG_AsVal_int(obj1, &val2);
24135 if (!SWIG_IsOK(ecode2)) {
24136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24137 }
24138 arg2 = static_cast< wxPaperSize >(val2);
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 (arg1)->SetPaperId(arg2);
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 resultobj = SWIG_Py_Void();
24146 return resultobj;
24147fail:
24148 return NULL;
24149}
24150
24151
24152SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24153 PyObject *resultobj = 0;
24154 wxPrintData *arg1 = (wxPrintData *) 0 ;
24155 wxSize *arg2 = 0 ;
24156 void *argp1 = 0 ;
24157 int res1 = 0 ;
24158 wxSize temp2 ;
24159 PyObject * obj0 = 0 ;
24160 PyObject * obj1 = 0 ;
24161 char * kwnames[] = {
24162 (char *) "self",(char *) "sz", NULL
24163 };
24164
24165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24167 if (!SWIG_IsOK(res1)) {
24168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24169 }
24170 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24171 {
24172 arg2 = &temp2;
24173 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24174 }
24175 {
24176 PyThreadState* __tstate = wxPyBeginAllowThreads();
24177 (arg1)->SetPaperSize((wxSize const &)*arg2);
24178 wxPyEndAllowThreads(__tstate);
24179 if (PyErr_Occurred()) SWIG_fail;
24180 }
24181 resultobj = SWIG_Py_Void();
24182 return resultobj;
24183fail:
24184 return NULL;
24185}
24186
24187
24188SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj = 0;
24190 wxPrintData *arg1 = (wxPrintData *) 0 ;
24191 int arg2 ;
24192 void *argp1 = 0 ;
24193 int res1 = 0 ;
24194 int val2 ;
24195 int ecode2 = 0 ;
24196 PyObject * obj0 = 0 ;
24197 PyObject * obj1 = 0 ;
24198 char * kwnames[] = {
24199 (char *) "self",(char *) "quality", NULL
24200 };
24201
24202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24204 if (!SWIG_IsOK(res1)) {
24205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24206 }
24207 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24208 ecode2 = SWIG_AsVal_int(obj1, &val2);
24209 if (!SWIG_IsOK(ecode2)) {
24210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24211 }
24212 arg2 = static_cast< int >(val2);
24213 {
24214 PyThreadState* __tstate = wxPyBeginAllowThreads();
24215 (arg1)->SetQuality(arg2);
24216 wxPyEndAllowThreads(__tstate);
24217 if (PyErr_Occurred()) SWIG_fail;
24218 }
24219 resultobj = SWIG_Py_Void();
24220 return resultobj;
24221fail:
24222 return NULL;
24223}
24224
24225
24226SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24227 PyObject *resultobj = 0;
24228 wxPrintData *arg1 = (wxPrintData *) 0 ;
24229 wxPrintBin arg2 ;
24230 void *argp1 = 0 ;
24231 int res1 = 0 ;
24232 int val2 ;
24233 int ecode2 = 0 ;
24234 PyObject * obj0 = 0 ;
24235 PyObject * obj1 = 0 ;
24236 char * kwnames[] = {
24237 (char *) "self",(char *) "bin", NULL
24238 };
24239
24240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24242 if (!SWIG_IsOK(res1)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24244 }
24245 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24246 ecode2 = SWIG_AsVal_int(obj1, &val2);
24247 if (!SWIG_IsOK(ecode2)) {
24248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24249 }
24250 arg2 = static_cast< wxPrintBin >(val2);
24251 {
24252 PyThreadState* __tstate = wxPyBeginAllowThreads();
24253 (arg1)->SetBin(arg2);
24254 wxPyEndAllowThreads(__tstate);
24255 if (PyErr_Occurred()) SWIG_fail;
24256 }
24257 resultobj = SWIG_Py_Void();
24258 return resultobj;
24259fail:
24260 return NULL;
24261}
24262
24263
24264SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj = 0;
24266 wxPrintData *arg1 = (wxPrintData *) 0 ;
24267 wxPrintMode arg2 ;
24268 void *argp1 = 0 ;
24269 int res1 = 0 ;
24270 int val2 ;
24271 int ecode2 = 0 ;
24272 PyObject * obj0 = 0 ;
24273 PyObject * obj1 = 0 ;
24274 char * kwnames[] = {
24275 (char *) "self",(char *) "printMode", NULL
24276 };
24277
24278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24280 if (!SWIG_IsOK(res1)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24282 }
24283 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24284 ecode2 = SWIG_AsVal_int(obj1, &val2);
24285 if (!SWIG_IsOK(ecode2)) {
24286 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24287 }
24288 arg2 = static_cast< wxPrintMode >(val2);
24289 {
24290 PyThreadState* __tstate = wxPyBeginAllowThreads();
24291 (arg1)->SetPrintMode(arg2);
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 resultobj = SWIG_Py_Void();
24296 return resultobj;
24297fail:
24298 return NULL;
d55e5bfc
RD
24299}
24300
24301
554f62e9
RD
24302SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24303 PyObject *resultobj = 0;
24304 wxPrintData *arg1 = (wxPrintData *) 0 ;
24305 wxString result;
24306 void *argp1 = 0 ;
24307 int res1 = 0 ;
24308 PyObject *swig_obj[1] ;
24309
24310 if (!args) SWIG_fail;
24311 swig_obj[0] = args;
24312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24313 if (!SWIG_IsOK(res1)) {
24314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24315 }
24316 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 result = ((wxPrintData const *)arg1)->GetFilename();
24320 wxPyEndAllowThreads(__tstate);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 }
24323 {
d55e5bfc 24324#if wxUSE_UNICODE
554f62e9 24325 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 24326#else
554f62e9 24327 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 24328#endif
554f62e9
RD
24329 }
24330 return resultobj;
24331fail:
24332 return NULL;
24333}
24334
24335
24336SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24337 PyObject *resultobj = 0;
24338 wxPrintData *arg1 = (wxPrintData *) 0 ;
24339 wxString *arg2 = 0 ;
24340 void *argp1 = 0 ;
24341 int res1 = 0 ;
24342 bool temp2 = false ;
24343 PyObject * obj0 = 0 ;
24344 PyObject * obj1 = 0 ;
24345 char * kwnames[] = {
24346 (char *) "self",(char *) "filename", NULL
24347 };
24348
24349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24351 if (!SWIG_IsOK(res1)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24353 }
24354 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24355 {
24356 arg2 = wxString_in_helper(obj1);
24357 if (arg2 == NULL) SWIG_fail;
24358 temp2 = true;
24359 }
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 (arg1)->SetFilename((wxString const &)*arg2);
24363 wxPyEndAllowThreads(__tstate);
24364 if (PyErr_Occurred()) SWIG_fail;
24365 }
24366 resultobj = SWIG_Py_Void();
24367 {
24368 if (temp2)
24369 delete arg2;
24370 }
24371 return resultobj;
24372fail:
24373 {
24374 if (temp2)
24375 delete arg2;
24376 }
24377 return NULL;
d55e5bfc
RD
24378}
24379
24380
554f62e9
RD
24381SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24382 PyObject *resultobj = 0;
24383 wxPrintData *arg1 = (wxPrintData *) 0 ;
24384 PyObject *result = 0 ;
24385 void *argp1 = 0 ;
24386 int res1 = 0 ;
24387 PyObject *swig_obj[1] ;
24388
24389 if (!args) SWIG_fail;
24390 swig_obj[0] = args;
24391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24392 if (!SWIG_IsOK(res1)) {
24393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24394 }
24395 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24396 {
24397 PyThreadState* __tstate = wxPyBeginAllowThreads();
24398 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24399 wxPyEndAllowThreads(__tstate);
24400 if (PyErr_Occurred()) SWIG_fail;
24401 }
24402 resultobj = result;
24403 return resultobj;
24404fail:
24405 return NULL;
24406}
24407
24408
24409SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24410 PyObject *resultobj = 0;
24411 wxPrintData *arg1 = (wxPrintData *) 0 ;
24412 PyObject *arg2 = (PyObject *) 0 ;
24413 void *argp1 = 0 ;
24414 int res1 = 0 ;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 char * kwnames[] = {
24418 (char *) "self",(char *) "data", NULL
24419 };
24420
24421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24423 if (!SWIG_IsOK(res1)) {
24424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24425 }
24426 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24427 arg2 = obj1;
24428 {
24429 PyThreadState* __tstate = wxPyBeginAllowThreads();
24430 wxPrintData_SetPrivData(arg1,arg2);
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 resultobj = SWIG_Py_Void();
24435 return resultobj;
24436fail:
24437 return NULL;
d55e5bfc
RD
24438}
24439
24440
554f62e9
RD
24441SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24442 PyObject *obj;
24443 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24444 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24445 return SWIG_Py_Void();
c1cb24a4
RD
24446}
24447
554f62e9
RD
24448SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24449 return SWIG_Python_InitShadowInstance(args);
c1cb24a4
RD
24450}
24451
554f62e9
RD
24452SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24453 PyObject *resultobj = 0;
24454 wxPageSetupDialogData *result = 0 ;
24455
24456 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24457 {
24458 PyThreadState* __tstate = wxPyBeginAllowThreads();
24459 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24464 return resultobj;
24465fail:
24466 return NULL;
d55e5bfc
RD
24467}
24468
24469
554f62e9
RD
24470SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24471 PyObject *resultobj = 0;
24472 wxPageSetupDialogData *arg1 = 0 ;
24473 wxPageSetupDialogData *result = 0 ;
24474 void *argp1 = 0 ;
24475 int res1 = 0 ;
24476
24477 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24479 if (!SWIG_IsOK(res1)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24481 }
24482 if (!argp1) {
24483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24484 }
24485 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24486 {
24487 PyThreadState* __tstate = wxPyBeginAllowThreads();
24488 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24493 return resultobj;
24494fail:
24495 return NULL;
d55e5bfc
RD
24496}
24497
24498
554f62e9
RD
24499SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24500 PyObject *resultobj = 0;
24501 wxPrintData *arg1 = 0 ;
24502 wxPageSetupDialogData *result = 0 ;
24503 void *argp1 = 0 ;
24504 int res1 = 0 ;
24505
24506 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24508 if (!SWIG_IsOK(res1)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24510 }
24511 if (!argp1) {
24512 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24513 }
24514 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24515 {
24516 PyThreadState* __tstate = wxPyBeginAllowThreads();
24517 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24518 wxPyEndAllowThreads(__tstate);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
24521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24522 return resultobj;
24523fail:
24524 return NULL;
d55e5bfc
RD
24525}
24526
24527
554f62e9
RD
24528SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24529 int argc;
24530 PyObject *argv[2];
24531
24532 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24533 --argc;
24534 if (argc == 0) {
24535 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24536 }
24537 if (argc == 1) {
24538 int _v = 0;
d55e5bfc 24539 {
554f62e9
RD
24540 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24541 _v = SWIG_CheckState(res);
d55e5bfc 24542 }
554f62e9
RD
24543 if (!_v) goto check_2;
24544 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24545 }
24546check_2:
24547
24548 if (argc == 1) {
24549 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24550 }
24551
24552fail:
24553 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24554 return NULL;
d55e5bfc
RD
24555}
24556
24557
554f62e9
RD
24558SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24559 PyObject *resultobj = 0;
24560 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24561 void *argp1 = 0 ;
24562 int res1 = 0 ;
24563 PyObject *swig_obj[1] ;
24564
24565 if (!args) SWIG_fail;
24566 swig_obj[0] = args;
24567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24568 if (!SWIG_IsOK(res1)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24570 }
24571 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24572 {
24573 PyThreadState* __tstate = wxPyBeginAllowThreads();
24574 delete arg1;
d55e5bfc 24575
554f62e9
RD
24576 wxPyEndAllowThreads(__tstate);
24577 if (PyErr_Occurred()) SWIG_fail;
24578 }
24579 resultobj = SWIG_Py_Void();
24580 return resultobj;
24581fail:
24582 return NULL;
24583}
24584
24585
24586SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24587 PyObject *resultobj = 0;
24588 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24589 bool arg2 ;
24590 void *argp1 = 0 ;
24591 int res1 = 0 ;
24592 bool val2 ;
24593 int ecode2 = 0 ;
24594 PyObject * obj0 = 0 ;
24595 PyObject * obj1 = 0 ;
24596 char * kwnames[] = {
24597 (char *) "self",(char *) "flag", NULL
24598 };
24599
24600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24602 if (!SWIG_IsOK(res1)) {
24603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24604 }
24605 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24606 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24607 if (!SWIG_IsOK(ecode2)) {
24608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24609 }
24610 arg2 = static_cast< bool >(val2);
24611 {
24612 PyThreadState* __tstate = wxPyBeginAllowThreads();
24613 (arg1)->EnableHelp(arg2);
24614 wxPyEndAllowThreads(__tstate);
24615 if (PyErr_Occurred()) SWIG_fail;
24616 }
24617 resultobj = SWIG_Py_Void();
24618 return resultobj;
24619fail:
24620 return NULL;
24621}
24622
24623
24624SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24625 PyObject *resultobj = 0;
24626 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24627 bool arg2 ;
24628 void *argp1 = 0 ;
24629 int res1 = 0 ;
24630 bool val2 ;
24631 int ecode2 = 0 ;
24632 PyObject * obj0 = 0 ;
24633 PyObject * obj1 = 0 ;
24634 char * kwnames[] = {
24635 (char *) "self",(char *) "flag", NULL
24636 };
24637
24638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24640 if (!SWIG_IsOK(res1)) {
24641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24642 }
24643 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24644 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24645 if (!SWIG_IsOK(ecode2)) {
24646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24647 }
24648 arg2 = static_cast< bool >(val2);
24649 {
24650 PyThreadState* __tstate = wxPyBeginAllowThreads();
24651 (arg1)->EnableMargins(arg2);
24652 wxPyEndAllowThreads(__tstate);
24653 if (PyErr_Occurred()) SWIG_fail;
24654 }
24655 resultobj = SWIG_Py_Void();
24656 return resultobj;
24657fail:
24658 return NULL;
24659}
24660
24661
24662SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24663 PyObject *resultobj = 0;
24664 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24665 bool arg2 ;
24666 void *argp1 = 0 ;
24667 int res1 = 0 ;
24668 bool val2 ;
24669 int ecode2 = 0 ;
24670 PyObject * obj0 = 0 ;
24671 PyObject * obj1 = 0 ;
24672 char * kwnames[] = {
24673 (char *) "self",(char *) "flag", NULL
24674 };
24675
24676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24678 if (!SWIG_IsOK(res1)) {
24679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24680 }
24681 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24682 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24683 if (!SWIG_IsOK(ecode2)) {
24684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24685 }
24686 arg2 = static_cast< bool >(val2);
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 (arg1)->EnableOrientation(arg2);
24690 wxPyEndAllowThreads(__tstate);
24691 if (PyErr_Occurred()) SWIG_fail;
24692 }
24693 resultobj = SWIG_Py_Void();
24694 return resultobj;
24695fail:
24696 return NULL;
24697}
24698
24699
24700SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24701 PyObject *resultobj = 0;
24702 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24703 bool arg2 ;
24704 void *argp1 = 0 ;
24705 int res1 = 0 ;
24706 bool val2 ;
24707 int ecode2 = 0 ;
24708 PyObject * obj0 = 0 ;
24709 PyObject * obj1 = 0 ;
24710 char * kwnames[] = {
24711 (char *) "self",(char *) "flag", NULL
24712 };
24713
24714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24716 if (!SWIG_IsOK(res1)) {
24717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24718 }
24719 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24720 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24721 if (!SWIG_IsOK(ecode2)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24723 }
24724 arg2 = static_cast< bool >(val2);
24725 {
24726 PyThreadState* __tstate = wxPyBeginAllowThreads();
24727 (arg1)->EnablePaper(arg2);
24728 wxPyEndAllowThreads(__tstate);
24729 if (PyErr_Occurred()) SWIG_fail;
24730 }
24731 resultobj = SWIG_Py_Void();
24732 return resultobj;
24733fail:
24734 return NULL;
24735}
24736
24737
24738SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24739 PyObject *resultobj = 0;
24740 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24741 bool arg2 ;
24742 void *argp1 = 0 ;
24743 int res1 = 0 ;
24744 bool val2 ;
24745 int ecode2 = 0 ;
24746 PyObject * obj0 = 0 ;
24747 PyObject * obj1 = 0 ;
24748 char * kwnames[] = {
24749 (char *) "self",(char *) "flag", NULL
24750 };
24751
24752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24754 if (!SWIG_IsOK(res1)) {
24755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24756 }
24757 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24758 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24759 if (!SWIG_IsOK(ecode2)) {
24760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24761 }
24762 arg2 = static_cast< bool >(val2);
24763 {
24764 PyThreadState* __tstate = wxPyBeginAllowThreads();
24765 (arg1)->EnablePrinter(arg2);
24766 wxPyEndAllowThreads(__tstate);
24767 if (PyErr_Occurred()) SWIG_fail;
24768 }
24769 resultobj = SWIG_Py_Void();
24770 return resultobj;
24771fail:
24772 return NULL;
d55e5bfc
RD
24773}
24774
24775
554f62e9
RD
24776SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24777 PyObject *resultobj = 0;
24778 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24779 bool result;
24780 void *argp1 = 0 ;
24781 int res1 = 0 ;
24782 PyObject *swig_obj[1] ;
24783
24784 if (!args) SWIG_fail;
24785 swig_obj[0] = args;
24786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24787 if (!SWIG_IsOK(res1)) {
24788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24789 }
24790 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 result = (bool)(arg1)->GetDefaultMinMargins();
24794 wxPyEndAllowThreads(__tstate);
24795 if (PyErr_Occurred()) SWIG_fail;
24796 }
24797 {
24798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24799 }
24800 return resultobj;
24801fail:
24802 return NULL;
d55e5bfc
RD
24803}
24804
24805
554f62e9
RD
24806SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24807 PyObject *resultobj = 0;
24808 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24809 bool result;
24810 void *argp1 = 0 ;
24811 int res1 = 0 ;
24812 PyObject *swig_obj[1] ;
24813
24814 if (!args) SWIG_fail;
24815 swig_obj[0] = args;
24816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24817 if (!SWIG_IsOK(res1)) {
24818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24819 }
24820 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24821 {
24822 PyThreadState* __tstate = wxPyBeginAllowThreads();
24823 result = (bool)(arg1)->GetEnableMargins();
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 {
24828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24829 }
24830 return resultobj;
24831fail:
24832 return NULL;
d55e5bfc
RD
24833}
24834
24835
554f62e9
RD
24836SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24837 PyObject *resultobj = 0;
24838 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24839 bool result;
24840 void *argp1 = 0 ;
24841 int res1 = 0 ;
24842 PyObject *swig_obj[1] ;
24843
24844 if (!args) SWIG_fail;
24845 swig_obj[0] = args;
24846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24847 if (!SWIG_IsOK(res1)) {
24848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24849 }
24850 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24851 {
24852 PyThreadState* __tstate = wxPyBeginAllowThreads();
24853 result = (bool)(arg1)->GetEnableOrientation();
24854 wxPyEndAllowThreads(__tstate);
24855 if (PyErr_Occurred()) SWIG_fail;
24856 }
24857 {
24858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24859 }
24860 return resultobj;
24861fail:
24862 return NULL;
d55e5bfc
RD
24863}
24864
24865
554f62e9
RD
24866SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24867 PyObject *resultobj = 0;
24868 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24869 bool result;
24870 void *argp1 = 0 ;
24871 int res1 = 0 ;
24872 PyObject *swig_obj[1] ;
24873
24874 if (!args) SWIG_fail;
24875 swig_obj[0] = args;
24876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24877 if (!SWIG_IsOK(res1)) {
24878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24879 }
24880 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24881 {
24882 PyThreadState* __tstate = wxPyBeginAllowThreads();
24883 result = (bool)(arg1)->GetEnablePaper();
24884 wxPyEndAllowThreads(__tstate);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
24887 {
24888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24889 }
24890 return resultobj;
24891fail:
24892 return NULL;
d55e5bfc
RD
24893}
24894
24895
554f62e9
RD
24896SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24897 PyObject *resultobj = 0;
24898 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24899 bool result;
24900 void *argp1 = 0 ;
24901 int res1 = 0 ;
24902 PyObject *swig_obj[1] ;
24903
24904 if (!args) SWIG_fail;
24905 swig_obj[0] = args;
24906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24907 if (!SWIG_IsOK(res1)) {
24908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24909 }
24910 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24911 {
24912 PyThreadState* __tstate = wxPyBeginAllowThreads();
24913 result = (bool)(arg1)->GetEnablePrinter();
24914 wxPyEndAllowThreads(__tstate);
24915 if (PyErr_Occurred()) SWIG_fail;
24916 }
24917 {
24918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24919 }
24920 return resultobj;
24921fail:
24922 return NULL;
d55e5bfc
RD
24923}
24924
24925
554f62e9
RD
24926SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24927 PyObject *resultobj = 0;
24928 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24929 bool result;
24930 void *argp1 = 0 ;
24931 int res1 = 0 ;
24932 PyObject *swig_obj[1] ;
24933
24934 if (!args) SWIG_fail;
24935 swig_obj[0] = args;
24936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24937 if (!SWIG_IsOK(res1)) {
24938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24939 }
24940 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 result = (bool)(arg1)->GetEnableHelp();
24944 wxPyEndAllowThreads(__tstate);
24945 if (PyErr_Occurred()) SWIG_fail;
24946 }
24947 {
24948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24949 }
24950 return resultobj;
24951fail:
24952 return NULL;
d55e5bfc
RD
24953}
24954
24955
554f62e9
RD
24956SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24957 PyObject *resultobj = 0;
24958 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24959 bool result;
24960 void *argp1 = 0 ;
24961 int res1 = 0 ;
24962 PyObject *swig_obj[1] ;
24963
24964 if (!args) SWIG_fail;
24965 swig_obj[0] = args;
24966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24967 if (!SWIG_IsOK(res1)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24969 }
24970 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24971 {
24972 PyThreadState* __tstate = wxPyBeginAllowThreads();
24973 result = (bool)(arg1)->GetDefaultInfo();
24974 wxPyEndAllowThreads(__tstate);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 }
24977 {
24978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24979 }
24980 return resultobj;
24981fail:
24982 return NULL;
d55e5bfc
RD
24983}
24984
24985
554f62e9
RD
24986SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24987 PyObject *resultobj = 0;
24988 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24989 wxPoint result;
24990 void *argp1 = 0 ;
24991 int res1 = 0 ;
24992 PyObject *swig_obj[1] ;
24993
24994 if (!args) SWIG_fail;
24995 swig_obj[0] = args;
24996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24997 if (!SWIG_IsOK(res1)) {
24998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24999 }
25000 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25001 {
25002 PyThreadState* __tstate = wxPyBeginAllowThreads();
25003 result = (arg1)->GetMarginTopLeft();
25004 wxPyEndAllowThreads(__tstate);
25005 if (PyErr_Occurred()) SWIG_fail;
25006 }
25007 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25008 return resultobj;
25009fail:
25010 return NULL;
d55e5bfc
RD
25011}
25012
25013
554f62e9
RD
25014SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25015 PyObject *resultobj = 0;
25016 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25017 wxPoint result;
25018 void *argp1 = 0 ;
25019 int res1 = 0 ;
25020 PyObject *swig_obj[1] ;
25021
25022 if (!args) SWIG_fail;
25023 swig_obj[0] = args;
25024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25025 if (!SWIG_IsOK(res1)) {
25026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25027 }
25028 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25029 {
25030 PyThreadState* __tstate = wxPyBeginAllowThreads();
25031 result = (arg1)->GetMarginBottomRight();
25032 wxPyEndAllowThreads(__tstate);
25033 if (PyErr_Occurred()) SWIG_fail;
25034 }
25035 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25036 return resultobj;
25037fail:
25038 return NULL;
d55e5bfc
RD
25039}
25040
25041
554f62e9
RD
25042SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25043 PyObject *resultobj = 0;
25044 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25045 wxPoint result;
25046 void *argp1 = 0 ;
25047 int res1 = 0 ;
25048 PyObject *swig_obj[1] ;
25049
25050 if (!args) SWIG_fail;
25051 swig_obj[0] = args;
25052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25053 if (!SWIG_IsOK(res1)) {
25054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25055 }
25056 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25057 {
25058 PyThreadState* __tstate = wxPyBeginAllowThreads();
25059 result = (arg1)->GetMinMarginTopLeft();
25060 wxPyEndAllowThreads(__tstate);
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25064 return resultobj;
25065fail:
25066 return NULL;
d55e5bfc
RD
25067}
25068
25069
554f62e9
RD
25070SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25071 PyObject *resultobj = 0;
25072 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25073 wxPoint result;
25074 void *argp1 = 0 ;
25075 int res1 = 0 ;
25076 PyObject *swig_obj[1] ;
25077
25078 if (!args) SWIG_fail;
25079 swig_obj[0] = args;
25080 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25081 if (!SWIG_IsOK(res1)) {
25082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25083 }
25084 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 result = (arg1)->GetMinMarginBottomRight();
25088 wxPyEndAllowThreads(__tstate);
25089 if (PyErr_Occurred()) SWIG_fail;
25090 }
25091 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25092 return resultobj;
25093fail:
25094 return NULL;
d55e5bfc
RD
25095}
25096
25097
554f62e9
RD
25098SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25099 PyObject *resultobj = 0;
25100 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25101 wxPaperSize result;
25102 void *argp1 = 0 ;
25103 int res1 = 0 ;
25104 PyObject *swig_obj[1] ;
25105
25106 if (!args) SWIG_fail;
25107 swig_obj[0] = args;
25108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25109 if (!SWIG_IsOK(res1)) {
25110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25111 }
25112 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25113 {
25114 PyThreadState* __tstate = wxPyBeginAllowThreads();
25115 result = (wxPaperSize)(arg1)->GetPaperId();
25116 wxPyEndAllowThreads(__tstate);
25117 if (PyErr_Occurred()) SWIG_fail;
25118 }
25119 resultobj = SWIG_From_int(static_cast< int >(result));
25120 return resultobj;
25121fail:
25122 return NULL;
d55e5bfc
RD
25123}
25124
25125
554f62e9
RD
25126SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25127 PyObject *resultobj = 0;
25128 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25129 wxSize result;
25130 void *argp1 = 0 ;
25131 int res1 = 0 ;
25132 PyObject *swig_obj[1] ;
25133
25134 if (!args) SWIG_fail;
25135 swig_obj[0] = args;
25136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25137 if (!SWIG_IsOK(res1)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25139 }
25140 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25141 {
25142 PyThreadState* __tstate = wxPyBeginAllowThreads();
25143 result = (arg1)->GetPaperSize();
25144 wxPyEndAllowThreads(__tstate);
25145 if (PyErr_Occurred()) SWIG_fail;
25146 }
25147 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25148 return resultobj;
25149fail:
25150 return NULL;
7449af73
RD
25151}
25152
25153
554f62e9
RD
25154SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25155 PyObject *resultobj = 0;
25156 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25157 wxPrintData *result = 0 ;
25158 void *argp1 = 0 ;
25159 int res1 = 0 ;
25160 PyObject *swig_obj[1] ;
25161
25162 if (!args) SWIG_fail;
25163 swig_obj[0] = args;
25164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25165 if (!SWIG_IsOK(res1)) {
25166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25167 }
25168 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25169 {
25170 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25171 {
554f62e9
RD
25172 wxPrintData &_result_ref = (arg1)->GetPrintData();
25173 result = (wxPrintData *) &_result_ref;
d55e5bfc 25174 }
554f62e9
RD
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25179 return resultobj;
25180fail:
25181 return NULL;
d55e5bfc
RD
25182}
25183
25184
554f62e9
RD
25185SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25186 PyObject *resultobj = 0;
25187 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25188 bool result;
25189 void *argp1 = 0 ;
25190 int res1 = 0 ;
25191 PyObject *swig_obj[1] ;
25192
25193 if (!args) SWIG_fail;
25194 swig_obj[0] = args;
25195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25196 if (!SWIG_IsOK(res1)) {
25197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25198 }
25199 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25200 {
25201 PyThreadState* __tstate = wxPyBeginAllowThreads();
25202 result = (bool)(arg1)->Ok();
25203 wxPyEndAllowThreads(__tstate);
25204 if (PyErr_Occurred()) SWIG_fail;
25205 }
25206 {
25207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25208 }
25209 return resultobj;
25210fail:
25211 return NULL;
25212}
25213
25214
25215SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25216 PyObject *resultobj = 0;
25217 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25218 bool arg2 ;
25219 void *argp1 = 0 ;
25220 int res1 = 0 ;
25221 bool val2 ;
25222 int ecode2 = 0 ;
25223 PyObject * obj0 = 0 ;
25224 PyObject * obj1 = 0 ;
25225 char * kwnames[] = {
25226 (char *) "self",(char *) "flag", NULL
25227 };
25228
25229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25231 if (!SWIG_IsOK(res1)) {
25232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25233 }
25234 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25235 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25236 if (!SWIG_IsOK(ecode2)) {
25237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25238 }
25239 arg2 = static_cast< bool >(val2);
25240 {
25241 PyThreadState* __tstate = wxPyBeginAllowThreads();
25242 (arg1)->SetDefaultInfo(arg2);
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 resultobj = SWIG_Py_Void();
25247 return resultobj;
25248fail:
25249 return NULL;
25250}
25251
25252
25253SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25254 PyObject *resultobj = 0;
25255 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25256 bool arg2 ;
25257 void *argp1 = 0 ;
25258 int res1 = 0 ;
25259 bool val2 ;
25260 int ecode2 = 0 ;
25261 PyObject * obj0 = 0 ;
25262 PyObject * obj1 = 0 ;
25263 char * kwnames[] = {
25264 (char *) "self",(char *) "flag", NULL
25265 };
25266
25267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25269 if (!SWIG_IsOK(res1)) {
25270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25271 }
25272 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25273 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25274 if (!SWIG_IsOK(ecode2)) {
25275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25276 }
25277 arg2 = static_cast< bool >(val2);
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 (arg1)->SetDefaultMinMargins(arg2);
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 resultobj = SWIG_Py_Void();
25285 return resultobj;
25286fail:
25287 return NULL;
25288}
25289
25290
25291SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25292 PyObject *resultobj = 0;
25293 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25294 wxPoint *arg2 = 0 ;
25295 void *argp1 = 0 ;
25296 int res1 = 0 ;
25297 wxPoint temp2 ;
25298 PyObject * obj0 = 0 ;
25299 PyObject * obj1 = 0 ;
25300 char * kwnames[] = {
25301 (char *) "self",(char *) "pt", NULL
25302 };
25303
25304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25306 if (!SWIG_IsOK(res1)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25308 }
25309 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25310 {
25311 arg2 = &temp2;
25312 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25313 }
25314 {
25315 PyThreadState* __tstate = wxPyBeginAllowThreads();
25316 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 resultobj = SWIG_Py_Void();
25321 return resultobj;
25322fail:
25323 return NULL;
25324}
25325
25326
25327SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25328 PyObject *resultobj = 0;
25329 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25330 wxPoint *arg2 = 0 ;
25331 void *argp1 = 0 ;
25332 int res1 = 0 ;
25333 wxPoint temp2 ;
25334 PyObject * obj0 = 0 ;
25335 PyObject * obj1 = 0 ;
25336 char * kwnames[] = {
25337 (char *) "self",(char *) "pt", NULL
25338 };
25339
25340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25342 if (!SWIG_IsOK(res1)) {
25343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25344 }
25345 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25346 {
25347 arg2 = &temp2;
25348 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25349 }
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25353 wxPyEndAllowThreads(__tstate);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 }
25356 resultobj = SWIG_Py_Void();
25357 return resultobj;
25358fail:
25359 return NULL;
25360}
25361
25362
25363SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25364 PyObject *resultobj = 0;
25365 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25366 wxPoint *arg2 = 0 ;
25367 void *argp1 = 0 ;
25368 int res1 = 0 ;
25369 wxPoint temp2 ;
25370 PyObject * obj0 = 0 ;
25371 PyObject * obj1 = 0 ;
25372 char * kwnames[] = {
25373 (char *) "self",(char *) "pt", NULL
25374 };
25375
25376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25378 if (!SWIG_IsOK(res1)) {
25379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25380 }
25381 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25382 {
25383 arg2 = &temp2;
25384 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25385 }
25386 {
25387 PyThreadState* __tstate = wxPyBeginAllowThreads();
25388 (arg1)->SetMinMarginTopLeft((wxPoint const &)*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_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25400 PyObject *resultobj = 0;
25401 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25402 wxPoint *arg2 = 0 ;
25403 void *argp1 = 0 ;
25404 int res1 = 0 ;
25405 wxPoint temp2 ;
25406 PyObject * obj0 = 0 ;
25407 PyObject * obj1 = 0 ;
25408 char * kwnames[] = {
25409 (char *) "self",(char *) "pt", NULL
25410 };
25411
25412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25414 if (!SWIG_IsOK(res1)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25416 }
25417 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25418 {
25419 arg2 = &temp2;
25420 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25421 }
25422 {
25423 PyThreadState* __tstate = wxPyBeginAllowThreads();
25424 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25425 wxPyEndAllowThreads(__tstate);
25426 if (PyErr_Occurred()) SWIG_fail;
25427 }
25428 resultobj = SWIG_Py_Void();
25429 return resultobj;
25430fail:
25431 return NULL;
25432}
25433
25434
25435SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25436 PyObject *resultobj = 0;
25437 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25438 wxPaperSize arg2 ;
25439 void *argp1 = 0 ;
25440 int res1 = 0 ;
25441 int val2 ;
25442 int ecode2 = 0 ;
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj1 = 0 ;
25445 char * kwnames[] = {
25446 (char *) "self",(char *) "id", NULL
25447 };
25448
25449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25451 if (!SWIG_IsOK(res1)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25453 }
25454 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25455 ecode2 = SWIG_AsVal_int(obj1, &val2);
25456 if (!SWIG_IsOK(ecode2)) {
25457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25458 }
25459 arg2 = static_cast< wxPaperSize >(val2);
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 (arg1)->SetPaperId(arg2);
25463 wxPyEndAllowThreads(__tstate);
25464 if (PyErr_Occurred()) SWIG_fail;
25465 }
25466 resultobj = SWIG_Py_Void();
25467 return resultobj;
25468fail:
25469 return NULL;
25470}
25471
25472
25473SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25474 PyObject *resultobj = 0;
25475 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25476 wxSize *arg2 = 0 ;
25477 void *argp1 = 0 ;
25478 int res1 = 0 ;
25479 wxSize temp2 ;
25480 PyObject * obj0 = 0 ;
25481 PyObject * obj1 = 0 ;
25482 char * kwnames[] = {
25483 (char *) "self",(char *) "size", NULL
25484 };
25485
25486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25488 if (!SWIG_IsOK(res1)) {
25489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25490 }
25491 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25492 {
25493 arg2 = &temp2;
25494 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25495 }
25496 {
25497 PyThreadState* __tstate = wxPyBeginAllowThreads();
25498 (arg1)->SetPaperSize((wxSize const &)*arg2);
25499 wxPyEndAllowThreads(__tstate);
25500 if (PyErr_Occurred()) SWIG_fail;
25501 }
25502 resultobj = SWIG_Py_Void();
25503 return resultobj;
25504fail:
25505 return NULL;
25506}
25507
25508
25509SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25510 PyObject *resultobj = 0;
25511 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25512 wxPrintData *arg2 = 0 ;
25513 void *argp1 = 0 ;
25514 int res1 = 0 ;
25515 void *argp2 = 0 ;
25516 int res2 = 0 ;
25517 PyObject * obj0 = 0 ;
25518 PyObject * obj1 = 0 ;
25519 char * kwnames[] = {
25520 (char *) "self",(char *) "printData", NULL
25521 };
25522
25523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25525 if (!SWIG_IsOK(res1)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25527 }
25528 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25529 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25530 if (!SWIG_IsOK(res2)) {
25531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25532 }
25533 if (!argp2) {
25534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25535 }
25536 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25540 wxPyEndAllowThreads(__tstate);
25541 if (PyErr_Occurred()) SWIG_fail;
25542 }
25543 resultobj = SWIG_Py_Void();
25544 return resultobj;
25545fail:
25546 return NULL;
d55e5bfc
RD
25547}
25548
25549
554f62e9
RD
25550SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25551 PyObject *resultobj = 0;
25552 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25553 void *argp1 = 0 ;
25554 int res1 = 0 ;
25555 PyObject *swig_obj[1] ;
25556
25557 if (!args) SWIG_fail;
25558 swig_obj[0] = args;
25559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25560 if (!SWIG_IsOK(res1)) {
25561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25562 }
25563 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25564 {
25565 PyThreadState* __tstate = wxPyBeginAllowThreads();
25566 (arg1)->CalculateIdFromPaperSize();
25567 wxPyEndAllowThreads(__tstate);
25568 if (PyErr_Occurred()) SWIG_fail;
25569 }
25570 resultobj = SWIG_Py_Void();
25571 return resultobj;
25572fail:
25573 return NULL;
d55e5bfc
RD
25574}
25575
25576
554f62e9
RD
25577SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25578 PyObject *resultobj = 0;
25579 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25580 void *argp1 = 0 ;
25581 int res1 = 0 ;
25582 PyObject *swig_obj[1] ;
25583
25584 if (!args) SWIG_fail;
25585 swig_obj[0] = args;
25586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25587 if (!SWIG_IsOK(res1)) {
25588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25589 }
25590 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25591 {
25592 PyThreadState* __tstate = wxPyBeginAllowThreads();
25593 (arg1)->CalculatePaperSizeFromId();
25594 wxPyEndAllowThreads(__tstate);
25595 if (PyErr_Occurred()) SWIG_fail;
25596 }
25597 resultobj = SWIG_Py_Void();
25598 return resultobj;
25599fail:
25600 return NULL;
d55e5bfc
RD
25601}
25602
25603
554f62e9
RD
25604SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25605 PyObject *obj;
25606 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25607 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25608 return SWIG_Py_Void();
d55e5bfc
RD
25609}
25610
554f62e9
RD
25611SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25612 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25613}
25614
554f62e9
RD
25615SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25616 PyObject *resultobj = 0;
25617 wxWindow *arg1 = (wxWindow *) 0 ;
25618 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25619 wxPageSetupDialog *result = 0 ;
25620 void *argp1 = 0 ;
25621 int res1 = 0 ;
25622 void *argp2 = 0 ;
25623 int res2 = 0 ;
25624 PyObject * obj0 = 0 ;
25625 PyObject * obj1 = 0 ;
25626 char * kwnames[] = {
25627 (char *) "parent",(char *) "data", NULL
25628 };
25629
25630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25632 if (!SWIG_IsOK(res1)) {
25633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25634 }
25635 arg1 = reinterpret_cast< wxWindow * >(argp1);
25636 if (obj1) {
25637 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25638 if (!SWIG_IsOK(res2)) {
25639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
d55e5bfc 25640 }
554f62e9
RD
25641 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25642 }
25643 {
25644 if (!wxPyCheckForApp()) SWIG_fail;
25645 PyThreadState* __tstate = wxPyBeginAllowThreads();
25646 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25647 wxPyEndAllowThreads(__tstate);
25648 if (PyErr_Occurred()) SWIG_fail;
25649 }
25650 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25651 return resultobj;
25652fail:
25653 return NULL;
d55e5bfc
RD
25654}
25655
25656
f05326ba
RD
25657SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25658 PyObject *resultobj = 0;
25659 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25660 void *argp1 = 0 ;
25661 int res1 = 0 ;
25662 PyObject *swig_obj[1] ;
25663
25664 if (!args) SWIG_fail;
25665 swig_obj[0] = args;
25666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25667 if (!SWIG_IsOK(res1)) {
25668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25669 }
25670 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25671 {
25672 PyThreadState* __tstate = wxPyBeginAllowThreads();
25673 delete arg1;
25674
25675 wxPyEndAllowThreads(__tstate);
25676 if (PyErr_Occurred()) SWIG_fail;
25677 }
25678 resultobj = SWIG_Py_Void();
25679 return resultobj;
25680fail:
25681 return NULL;
25682}
25683
25684
554f62e9
RD
25685SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25686 PyObject *resultobj = 0;
25687 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25688 wxPageSetupDialogData *result = 0 ;
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_wxPageSetupDialog, 0 | 0 );
25696 if (!SWIG_IsOK(res1)) {
25697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25698 }
25699 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25700 {
25701 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25702 {
554f62e9
RD
25703 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25704 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 25705 }
554f62e9
RD
25706 wxPyEndAllowThreads(__tstate);
25707 if (PyErr_Occurred()) SWIG_fail;
25708 }
25709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25710 return resultobj;
25711fail:
25712 return NULL;
d55e5bfc
RD
25713}
25714
25715
554f62e9
RD
25716SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25717 PyObject *resultobj = 0;
25718 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25719 wxPageSetupDialogData *result = 0 ;
25720 void *argp1 = 0 ;
25721 int res1 = 0 ;
25722 PyObject *swig_obj[1] ;
25723
25724 if (!args) SWIG_fail;
25725 swig_obj[0] = args;
25726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25727 if (!SWIG_IsOK(res1)) {
25728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25729 }
25730 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25731 {
25732 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 25733 {
554f62e9
RD
25734 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25735 result = (wxPageSetupDialogData *) &_result_ref;
093d3ff1 25736 }
554f62e9
RD
25737 wxPyEndAllowThreads(__tstate);
25738 if (PyErr_Occurred()) SWIG_fail;
25739 }
25740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25741 return resultobj;
25742fail:
25743 return NULL;
d55e5bfc
RD
25744}
25745
25746
554f62e9
RD
25747SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25748 PyObject *resultobj = 0;
25749 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25750 int result;
25751 void *argp1 = 0 ;
25752 int res1 = 0 ;
25753 PyObject *swig_obj[1] ;
25754
25755 if (!args) SWIG_fail;
25756 swig_obj[0] = args;
25757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25758 if (!SWIG_IsOK(res1)) {
25759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25760 }
25761 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25762 {
25763 PyThreadState* __tstate = wxPyBeginAllowThreads();
25764 result = (int)(arg1)->ShowModal();
25765 wxPyEndAllowThreads(__tstate);
25766 if (PyErr_Occurred()) SWIG_fail;
25767 }
25768 resultobj = SWIG_From_int(static_cast< int >(result));
25769 return resultobj;
25770fail:
25771 return NULL;
d55e5bfc
RD
25772}
25773
25774
554f62e9
RD
25775SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25776 PyObject *obj;
25777 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25778 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25779 return SWIG_Py_Void();
d55e5bfc
RD
25780}
25781
554f62e9
RD
25782SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25783 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 25784}
554f62e9
RD
25785
25786SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25787 PyObject *resultobj = 0;
25788 wxPrintDialogData *result = 0 ;
25789
25790 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (wxPrintDialogData *)new wxPrintDialogData();
25794 wxPyEndAllowThreads(__tstate);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 }
25797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25798 return resultobj;
25799fail:
25800 return NULL;
d55e5bfc
RD
25801}
25802
25803
554f62e9
RD
25804SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25805 PyObject *resultobj = 0;
25806 wxPrintData *arg1 = 0 ;
25807 wxPrintDialogData *result = 0 ;
25808 void *argp1 = 0 ;
25809 int res1 = 0 ;
25810
25811 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25813 if (!SWIG_IsOK(res1)) {
25814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25815 }
25816 if (!argp1) {
25817 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25818 }
25819 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25820 {
25821 PyThreadState* __tstate = wxPyBeginAllowThreads();
25822 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25827 return resultobj;
25828fail:
25829 return NULL;
d55e5bfc
RD
25830}
25831
25832
554f62e9
RD
25833SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25834 PyObject *resultobj = 0;
25835 wxPrintDialogData *arg1 = 0 ;
25836 wxPrintDialogData *result = 0 ;
25837 void *argp1 = 0 ;
25838 int res1 = 0 ;
25839
25840 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25841 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25842 if (!SWIG_IsOK(res1)) {
25843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25844 }
25845 if (!argp1) {
25846 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25847 }
25848 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25849 {
25850 PyThreadState* __tstate = wxPyBeginAllowThreads();
25851 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25856 return resultobj;
25857fail:
25858 return NULL;
d55e5bfc
RD
25859}
25860
25861
554f62e9
RD
25862SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25863 int argc;
25864 PyObject *argv[2];
25865
25866 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25867 --argc;
25868 if (argc == 0) {
25869 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25870 }
25871 if (argc == 1) {
25872 int _v = 0;
d55e5bfc 25873 {
554f62e9
RD
25874 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25875 _v = SWIG_CheckState(res);
d55e5bfc 25876 }
554f62e9
RD
25877 if (!_v) goto check_2;
25878 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25879 }
25880check_2:
25881
25882 if (argc == 1) {
25883 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25884 }
25885
25886fail:
25887 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25888 return NULL;
d55e5bfc
RD
25889}
25890
25891
554f62e9
RD
25892SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25893 PyObject *resultobj = 0;
25894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25895 void *argp1 = 0 ;
25896 int res1 = 0 ;
25897 PyObject *swig_obj[1] ;
25898
25899 if (!args) SWIG_fail;
25900 swig_obj[0] = args;
25901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25902 if (!SWIG_IsOK(res1)) {
25903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25904 }
25905 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25906 {
25907 PyThreadState* __tstate = wxPyBeginAllowThreads();
25908 delete arg1;
d55e5bfc 25909
554f62e9
RD
25910 wxPyEndAllowThreads(__tstate);
25911 if (PyErr_Occurred()) SWIG_fail;
25912 }
25913 resultobj = SWIG_Py_Void();
25914 return resultobj;
25915fail:
25916 return NULL;
d55e5bfc
RD
25917}
25918
25919
554f62e9
RD
25920SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25921 PyObject *resultobj = 0;
25922 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25923 int result;
25924 void *argp1 = 0 ;
25925 int res1 = 0 ;
25926 PyObject *swig_obj[1] ;
25927
25928 if (!args) SWIG_fail;
25929 swig_obj[0] = args;
25930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25931 if (!SWIG_IsOK(res1)) {
25932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25933 }
25934 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25935 {
25936 PyThreadState* __tstate = wxPyBeginAllowThreads();
25937 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25938 wxPyEndAllowThreads(__tstate);
25939 if (PyErr_Occurred()) SWIG_fail;
25940 }
25941 resultobj = SWIG_From_int(static_cast< int >(result));
25942 return resultobj;
25943fail:
25944 return NULL;
d55e5bfc
RD
25945}
25946
25947
554f62e9
RD
25948SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25949 PyObject *resultobj = 0;
25950 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25951 int result;
25952 void *argp1 = 0 ;
25953 int res1 = 0 ;
25954 PyObject *swig_obj[1] ;
25955
25956 if (!args) SWIG_fail;
25957 swig_obj[0] = args;
25958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25959 if (!SWIG_IsOK(res1)) {
25960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25961 }
25962 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25963 {
25964 PyThreadState* __tstate = wxPyBeginAllowThreads();
25965 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25966 wxPyEndAllowThreads(__tstate);
25967 if (PyErr_Occurred()) SWIG_fail;
25968 }
25969 resultobj = SWIG_From_int(static_cast< int >(result));
25970 return resultobj;
25971fail:
25972 return NULL;
d55e5bfc
RD
25973}
25974
25975
554f62e9
RD
25976SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25977 PyObject *resultobj = 0;
25978 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25979 int result;
25980 void *argp1 = 0 ;
25981 int res1 = 0 ;
25982 PyObject *swig_obj[1] ;
25983
25984 if (!args) SWIG_fail;
25985 swig_obj[0] = args;
25986 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25987 if (!SWIG_IsOK(res1)) {
25988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25989 }
25990 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25991 {
25992 PyThreadState* __tstate = wxPyBeginAllowThreads();
25993 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25994 wxPyEndAllowThreads(__tstate);
25995 if (PyErr_Occurred()) SWIG_fail;
25996 }
25997 resultobj = SWIG_From_int(static_cast< int >(result));
25998 return resultobj;
25999fail:
26000 return NULL;
d55e5bfc
RD
26001}
26002
26003
554f62e9
RD
26004SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26005 PyObject *resultobj = 0;
26006 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26007 int result;
26008 void *argp1 = 0 ;
26009 int res1 = 0 ;
26010 PyObject *swig_obj[1] ;
26011
26012 if (!args) SWIG_fail;
26013 swig_obj[0] = args;
26014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26015 if (!SWIG_IsOK(res1)) {
26016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26017 }
26018 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26019 {
26020 PyThreadState* __tstate = wxPyBeginAllowThreads();
26021 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26022 wxPyEndAllowThreads(__tstate);
26023 if (PyErr_Occurred()) SWIG_fail;
26024 }
26025 resultobj = SWIG_From_int(static_cast< int >(result));
26026 return resultobj;
26027fail:
26028 return NULL;
d55e5bfc
RD
26029}
26030
26031
554f62e9
RD
26032SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26033 PyObject *resultobj = 0;
26034 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26035 int result;
26036 void *argp1 = 0 ;
26037 int res1 = 0 ;
26038 PyObject *swig_obj[1] ;
26039
26040 if (!args) SWIG_fail;
26041 swig_obj[0] = args;
26042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26043 if (!SWIG_IsOK(res1)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26045 }
26046 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26047 {
26048 PyThreadState* __tstate = wxPyBeginAllowThreads();
26049 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26050 wxPyEndAllowThreads(__tstate);
26051 if (PyErr_Occurred()) SWIG_fail;
26052 }
26053 resultobj = SWIG_From_int(static_cast< int >(result));
26054 return resultobj;
26055fail:
26056 return NULL;
d55e5bfc
RD
26057}
26058
26059
554f62e9
RD
26060SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26061 PyObject *resultobj = 0;
26062 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26063 bool result;
26064 void *argp1 = 0 ;
26065 int res1 = 0 ;
26066 PyObject *swig_obj[1] ;
26067
26068 if (!args) SWIG_fail;
26069 swig_obj[0] = args;
26070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26071 if (!SWIG_IsOK(res1)) {
26072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26073 }
26074 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26075 {
26076 PyThreadState* __tstate = wxPyBeginAllowThreads();
26077 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26078 wxPyEndAllowThreads(__tstate);
26079 if (PyErr_Occurred()) SWIG_fail;
26080 }
26081 {
26082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26083 }
26084 return resultobj;
26085fail:
26086 return NULL;
d55e5bfc
RD
26087}
26088
26089
554f62e9
RD
26090SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26091 PyObject *resultobj = 0;
26092 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26093 bool result;
26094 void *argp1 = 0 ;
26095 int res1 = 0 ;
26096 PyObject *swig_obj[1] ;
26097
26098 if (!args) SWIG_fail;
26099 swig_obj[0] = args;
26100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26101 if (!SWIG_IsOK(res1)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26103 }
26104 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26105 {
26106 PyThreadState* __tstate = wxPyBeginAllowThreads();
26107 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26108 wxPyEndAllowThreads(__tstate);
26109 if (PyErr_Occurred()) SWIG_fail;
26110 }
26111 {
26112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26113 }
26114 return resultobj;
26115fail:
26116 return NULL;
d55e5bfc
RD
26117}
26118
26119
554f62e9
RD
26120SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26121 PyObject *resultobj = 0;
26122 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26123 bool result;
26124 void *argp1 = 0 ;
26125 int res1 = 0 ;
26126 PyObject *swig_obj[1] ;
26127
26128 if (!args) SWIG_fail;
26129 swig_obj[0] = args;
26130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26131 if (!SWIG_IsOK(res1)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26133 }
26134 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26135 {
26136 PyThreadState* __tstate = wxPyBeginAllowThreads();
26137 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26138 wxPyEndAllowThreads(__tstate);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 {
26142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26143 }
26144 return resultobj;
26145fail:
26146 return NULL;
d55e5bfc
RD
26147}
26148
26149
554f62e9
RD
26150SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26151 PyObject *resultobj = 0;
26152 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26153 bool result;
26154 void *argp1 = 0 ;
26155 int res1 = 0 ;
26156 PyObject *swig_obj[1] ;
26157
26158 if (!args) SWIG_fail;
26159 swig_obj[0] = args;
26160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26161 if (!SWIG_IsOK(res1)) {
26162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26163 }
26164 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26165 {
26166 PyThreadState* __tstate = wxPyBeginAllowThreads();
26167 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26168 wxPyEndAllowThreads(__tstate);
26169 if (PyErr_Occurred()) SWIG_fail;
26170 }
26171 {
26172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26173 }
26174 return resultobj;
26175fail:
26176 return NULL;
26177}
26178
26179
26180SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26181 PyObject *resultobj = 0;
26182 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26183 int arg2 ;
26184 void *argp1 = 0 ;
26185 int res1 = 0 ;
26186 int val2 ;
26187 int ecode2 = 0 ;
26188 PyObject * obj0 = 0 ;
26189 PyObject * obj1 = 0 ;
26190 char * kwnames[] = {
26191 (char *) "self",(char *) "v", NULL
26192 };
26193
26194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26196 if (!SWIG_IsOK(res1)) {
26197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26198 }
26199 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26200 ecode2 = SWIG_AsVal_int(obj1, &val2);
26201 if (!SWIG_IsOK(ecode2)) {
26202 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26203 }
26204 arg2 = static_cast< int >(val2);
26205 {
26206 PyThreadState* __tstate = wxPyBeginAllowThreads();
26207 (arg1)->SetFromPage(arg2);
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 resultobj = SWIG_Py_Void();
26212 return resultobj;
26213fail:
26214 return NULL;
26215}
26216
26217
26218SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26219 PyObject *resultobj = 0;
26220 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26221 int arg2 ;
26222 void *argp1 = 0 ;
26223 int res1 = 0 ;
26224 int val2 ;
26225 int ecode2 = 0 ;
26226 PyObject * obj0 = 0 ;
26227 PyObject * obj1 = 0 ;
26228 char * kwnames[] = {
26229 (char *) "self",(char *) "v", NULL
26230 };
26231
26232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26234 if (!SWIG_IsOK(res1)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26236 }
26237 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26238 ecode2 = SWIG_AsVal_int(obj1, &val2);
26239 if (!SWIG_IsOK(ecode2)) {
26240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26241 }
26242 arg2 = static_cast< int >(val2);
26243 {
26244 PyThreadState* __tstate = wxPyBeginAllowThreads();
26245 (arg1)->SetToPage(arg2);
26246 wxPyEndAllowThreads(__tstate);
26247 if (PyErr_Occurred()) SWIG_fail;
26248 }
26249 resultobj = SWIG_Py_Void();
26250 return resultobj;
26251fail:
26252 return NULL;
26253}
26254
26255
26256SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26257 PyObject *resultobj = 0;
26258 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26259 int arg2 ;
26260 void *argp1 = 0 ;
26261 int res1 = 0 ;
26262 int val2 ;
26263 int ecode2 = 0 ;
26264 PyObject * obj0 = 0 ;
26265 PyObject * obj1 = 0 ;
26266 char * kwnames[] = {
26267 (char *) "self",(char *) "v", NULL
26268 };
26269
26270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26272 if (!SWIG_IsOK(res1)) {
26273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26274 }
26275 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26276 ecode2 = SWIG_AsVal_int(obj1, &val2);
26277 if (!SWIG_IsOK(ecode2)) {
26278 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26279 }
26280 arg2 = static_cast< int >(val2);
26281 {
26282 PyThreadState* __tstate = wxPyBeginAllowThreads();
26283 (arg1)->SetMinPage(arg2);
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 resultobj = SWIG_Py_Void();
26288 return resultobj;
26289fail:
26290 return NULL;
26291}
26292
26293
26294SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26295 PyObject *resultobj = 0;
26296 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26297 int arg2 ;
26298 void *argp1 = 0 ;
26299 int res1 = 0 ;
26300 int val2 ;
26301 int ecode2 = 0 ;
26302 PyObject * obj0 = 0 ;
26303 PyObject * obj1 = 0 ;
26304 char * kwnames[] = {
26305 (char *) "self",(char *) "v", NULL
26306 };
26307
26308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26310 if (!SWIG_IsOK(res1)) {
26311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26312 }
26313 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26314 ecode2 = SWIG_AsVal_int(obj1, &val2);
26315 if (!SWIG_IsOK(ecode2)) {
26316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26317 }
26318 arg2 = static_cast< int >(val2);
26319 {
26320 PyThreadState* __tstate = wxPyBeginAllowThreads();
26321 (arg1)->SetMaxPage(arg2);
26322 wxPyEndAllowThreads(__tstate);
26323 if (PyErr_Occurred()) SWIG_fail;
26324 }
26325 resultobj = SWIG_Py_Void();
26326 return resultobj;
26327fail:
26328 return NULL;
26329}
26330
26331
26332SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26333 PyObject *resultobj = 0;
26334 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26335 int arg2 ;
26336 void *argp1 = 0 ;
26337 int res1 = 0 ;
26338 int val2 ;
26339 int ecode2 = 0 ;
26340 PyObject * obj0 = 0 ;
26341 PyObject * obj1 = 0 ;
26342 char * kwnames[] = {
26343 (char *) "self",(char *) "v", NULL
26344 };
26345
26346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26348 if (!SWIG_IsOK(res1)) {
26349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26350 }
26351 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26352 ecode2 = SWIG_AsVal_int(obj1, &val2);
26353 if (!SWIG_IsOK(ecode2)) {
26354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26355 }
26356 arg2 = static_cast< int >(val2);
26357 {
26358 PyThreadState* __tstate = wxPyBeginAllowThreads();
26359 (arg1)->SetNoCopies(arg2);
26360 wxPyEndAllowThreads(__tstate);
26361 if (PyErr_Occurred()) SWIG_fail;
26362 }
26363 resultobj = SWIG_Py_Void();
26364 return resultobj;
26365fail:
26366 return NULL;
26367}
26368
26369
26370SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26371 PyObject *resultobj = 0;
26372 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26373 bool arg2 ;
26374 void *argp1 = 0 ;
26375 int res1 = 0 ;
26376 bool val2 ;
26377 int ecode2 = 0 ;
26378 PyObject * obj0 = 0 ;
26379 PyObject * obj1 = 0 ;
26380 char * kwnames[] = {
26381 (char *) "self",(char *) "flag", NULL
26382 };
26383
26384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26386 if (!SWIG_IsOK(res1)) {
26387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26388 }
26389 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26390 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26391 if (!SWIG_IsOK(ecode2)) {
26392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26393 }
26394 arg2 = static_cast< bool >(val2);
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 (arg1)->SetAllPages(arg2);
26398 wxPyEndAllowThreads(__tstate);
26399 if (PyErr_Occurred()) SWIG_fail;
26400 }
26401 resultobj = SWIG_Py_Void();
26402 return resultobj;
26403fail:
26404 return NULL;
26405}
26406
26407
26408SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26409 PyObject *resultobj = 0;
26410 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26411 bool arg2 ;
26412 void *argp1 = 0 ;
26413 int res1 = 0 ;
26414 bool val2 ;
26415 int ecode2 = 0 ;
26416 PyObject * obj0 = 0 ;
26417 PyObject * obj1 = 0 ;
26418 char * kwnames[] = {
26419 (char *) "self",(char *) "flag", NULL
26420 };
26421
26422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26424 if (!SWIG_IsOK(res1)) {
26425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26426 }
26427 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26428 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26429 if (!SWIG_IsOK(ecode2)) {
26430 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26431 }
26432 arg2 = static_cast< bool >(val2);
26433 {
26434 PyThreadState* __tstate = wxPyBeginAllowThreads();
26435 (arg1)->SetSelection(arg2);
26436 wxPyEndAllowThreads(__tstate);
26437 if (PyErr_Occurred()) SWIG_fail;
26438 }
26439 resultobj = SWIG_Py_Void();
26440 return resultobj;
26441fail:
26442 return NULL;
26443}
26444
26445
26446SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26447 PyObject *resultobj = 0;
26448 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26449 bool arg2 ;
26450 void *argp1 = 0 ;
26451 int res1 = 0 ;
26452 bool val2 ;
26453 int ecode2 = 0 ;
26454 PyObject * obj0 = 0 ;
26455 PyObject * obj1 = 0 ;
26456 char * kwnames[] = {
26457 (char *) "self",(char *) "flag", NULL
26458 };
26459
26460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26462 if (!SWIG_IsOK(res1)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26464 }
26465 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26466 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26467 if (!SWIG_IsOK(ecode2)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26469 }
26470 arg2 = static_cast< bool >(val2);
26471 {
26472 PyThreadState* __tstate = wxPyBeginAllowThreads();
26473 (arg1)->SetCollate(arg2);
26474 wxPyEndAllowThreads(__tstate);
26475 if (PyErr_Occurred()) SWIG_fail;
26476 }
26477 resultobj = SWIG_Py_Void();
26478 return resultobj;
26479fail:
26480 return NULL;
26481}
26482
26483
26484SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26485 PyObject *resultobj = 0;
26486 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26487 bool arg2 ;
26488 void *argp1 = 0 ;
26489 int res1 = 0 ;
26490 bool val2 ;
26491 int ecode2 = 0 ;
26492 PyObject * obj0 = 0 ;
26493 PyObject * obj1 = 0 ;
26494 char * kwnames[] = {
26495 (char *) "self",(char *) "flag", NULL
26496 };
26497
26498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26500 if (!SWIG_IsOK(res1)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26502 }
26503 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26504 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26505 if (!SWIG_IsOK(ecode2)) {
26506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26507 }
26508 arg2 = static_cast< bool >(val2);
26509 {
26510 PyThreadState* __tstate = wxPyBeginAllowThreads();
26511 (arg1)->SetPrintToFile(arg2);
26512 wxPyEndAllowThreads(__tstate);
26513 if (PyErr_Occurred()) SWIG_fail;
26514 }
26515 resultobj = SWIG_Py_Void();
26516 return resultobj;
26517fail:
26518 return NULL;
26519}
26520
26521
26522SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26523 PyObject *resultobj = 0;
26524 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26525 bool arg2 ;
26526 void *argp1 = 0 ;
26527 int res1 = 0 ;
26528 bool val2 ;
26529 int ecode2 = 0 ;
26530 PyObject * obj0 = 0 ;
26531 PyObject * obj1 = 0 ;
26532 char * kwnames[] = {
26533 (char *) "self",(char *) "flag", NULL
26534 };
26535
26536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26538 if (!SWIG_IsOK(res1)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26540 }
26541 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26542 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26543 if (!SWIG_IsOK(ecode2)) {
26544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26545 }
26546 arg2 = static_cast< bool >(val2);
26547 {
26548 PyThreadState* __tstate = wxPyBeginAllowThreads();
26549 (arg1)->EnablePrintToFile(arg2);
26550 wxPyEndAllowThreads(__tstate);
26551 if (PyErr_Occurred()) SWIG_fail;
26552 }
26553 resultobj = SWIG_Py_Void();
26554 return resultobj;
26555fail:
26556 return NULL;
26557}
26558
26559
26560SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26561 PyObject *resultobj = 0;
26562 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26563 bool arg2 ;
26564 void *argp1 = 0 ;
26565 int res1 = 0 ;
26566 bool val2 ;
26567 int ecode2 = 0 ;
26568 PyObject * obj0 = 0 ;
26569 PyObject * obj1 = 0 ;
26570 char * kwnames[] = {
26571 (char *) "self",(char *) "flag", NULL
26572 };
26573
26574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26576 if (!SWIG_IsOK(res1)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26578 }
26579 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26580 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26581 if (!SWIG_IsOK(ecode2)) {
26582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26583 }
26584 arg2 = static_cast< bool >(val2);
26585 {
26586 PyThreadState* __tstate = wxPyBeginAllowThreads();
26587 (arg1)->EnableSelection(arg2);
26588 wxPyEndAllowThreads(__tstate);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 }
26591 resultobj = SWIG_Py_Void();
26592 return resultobj;
26593fail:
26594 return NULL;
26595}
26596
26597
26598SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26599 PyObject *resultobj = 0;
26600 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26601 bool arg2 ;
26602 void *argp1 = 0 ;
26603 int res1 = 0 ;
26604 bool val2 ;
26605 int ecode2 = 0 ;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char * kwnames[] = {
26609 (char *) "self",(char *) "flag", NULL
26610 };
26611
26612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26614 if (!SWIG_IsOK(res1)) {
26615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26616 }
26617 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26618 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26619 if (!SWIG_IsOK(ecode2)) {
26620 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26621 }
26622 arg2 = static_cast< bool >(val2);
26623 {
26624 PyThreadState* __tstate = wxPyBeginAllowThreads();
26625 (arg1)->EnablePageNumbers(arg2);
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 resultobj = SWIG_Py_Void();
26630 return resultobj;
26631fail:
26632 return NULL;
26633}
26634
26635
26636SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26637 PyObject *resultobj = 0;
26638 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26639 bool arg2 ;
26640 void *argp1 = 0 ;
26641 int res1 = 0 ;
26642 bool val2 ;
26643 int ecode2 = 0 ;
26644 PyObject * obj0 = 0 ;
26645 PyObject * obj1 = 0 ;
26646 char * kwnames[] = {
26647 (char *) "self",(char *) "flag", NULL
26648 };
26649
26650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26652 if (!SWIG_IsOK(res1)) {
26653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26654 }
26655 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26656 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26657 if (!SWIG_IsOK(ecode2)) {
26658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26659 }
26660 arg2 = static_cast< bool >(val2);
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 (arg1)->EnableHelp(arg2);
26664 wxPyEndAllowThreads(__tstate);
26665 if (PyErr_Occurred()) SWIG_fail;
26666 }
26667 resultobj = SWIG_Py_Void();
26668 return resultobj;
26669fail:
26670 return NULL;
d55e5bfc
RD
26671}
26672
26673
554f62e9
RD
26674SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26675 PyObject *resultobj = 0;
26676 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26677 bool result;
26678 void *argp1 = 0 ;
26679 int res1 = 0 ;
26680 PyObject *swig_obj[1] ;
26681
26682 if (!args) SWIG_fail;
26683 swig_obj[0] = args;
26684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26685 if (!SWIG_IsOK(res1)) {
26686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26687 }
26688 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26689 {
26690 PyThreadState* __tstate = wxPyBeginAllowThreads();
26691 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26692 wxPyEndAllowThreads(__tstate);
26693 if (PyErr_Occurred()) SWIG_fail;
26694 }
26695 {
26696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26697 }
26698 return resultobj;
26699fail:
26700 return NULL;
d55e5bfc
RD
26701}
26702
26703
554f62e9
RD
26704SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26705 PyObject *resultobj = 0;
26706 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26707 bool result;
26708 void *argp1 = 0 ;
26709 int res1 = 0 ;
26710 PyObject *swig_obj[1] ;
26711
26712 if (!args) SWIG_fail;
26713 swig_obj[0] = args;
26714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26715 if (!SWIG_IsOK(res1)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26717 }
26718 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26719 {
26720 PyThreadState* __tstate = wxPyBeginAllowThreads();
26721 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26722 wxPyEndAllowThreads(__tstate);
26723 if (PyErr_Occurred()) SWIG_fail;
26724 }
26725 {
26726 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26727 }
26728 return resultobj;
26729fail:
26730 return NULL;
d55e5bfc
RD
26731}
26732
26733
554f62e9
RD
26734SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26735 PyObject *resultobj = 0;
26736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26737 bool result;
26738 void *argp1 = 0 ;
26739 int res1 = 0 ;
26740 PyObject *swig_obj[1] ;
26741
26742 if (!args) SWIG_fail;
26743 swig_obj[0] = args;
26744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26745 if (!SWIG_IsOK(res1)) {
26746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26747 }
26748 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26749 {
26750 PyThreadState* __tstate = wxPyBeginAllowThreads();
26751 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26752 wxPyEndAllowThreads(__tstate);
26753 if (PyErr_Occurred()) SWIG_fail;
26754 }
26755 {
26756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26757 }
26758 return resultobj;
26759fail:
26760 return NULL;
d55e5bfc
RD
26761}
26762
26763
554f62e9
RD
26764SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26765 PyObject *resultobj = 0;
26766 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26767 bool result;
26768 void *argp1 = 0 ;
26769 int res1 = 0 ;
26770 PyObject *swig_obj[1] ;
26771
26772 if (!args) SWIG_fail;
26773 swig_obj[0] = args;
26774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26775 if (!SWIG_IsOK(res1)) {
26776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26777 }
26778 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26779 {
26780 PyThreadState* __tstate = wxPyBeginAllowThreads();
26781 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26782 wxPyEndAllowThreads(__tstate);
26783 if (PyErr_Occurred()) SWIG_fail;
26784 }
26785 {
26786 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26787 }
26788 return resultobj;
26789fail:
26790 return NULL;
d55e5bfc
RD
26791}
26792
26793
554f62e9
RD
26794SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26795 PyObject *resultobj = 0;
26796 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26797 bool result;
26798 void *argp1 = 0 ;
26799 int res1 = 0 ;
26800 PyObject *swig_obj[1] ;
26801
26802 if (!args) SWIG_fail;
26803 swig_obj[0] = args;
26804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26805 if (!SWIG_IsOK(res1)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26807 }
26808 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26809 {
26810 PyThreadState* __tstate = wxPyBeginAllowThreads();
26811 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26812 wxPyEndAllowThreads(__tstate);
26813 if (PyErr_Occurred()) SWIG_fail;
26814 }
26815 {
26816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26817 }
26818 return resultobj;
26819fail:
26820 return NULL;
d55e5bfc
RD
26821}
26822
26823
554f62e9
RD
26824SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26825 PyObject *resultobj = 0;
26826 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26827 wxPrintData *result = 0 ;
26828 void *argp1 = 0 ;
26829 int res1 = 0 ;
26830 PyObject *swig_obj[1] ;
26831
26832 if (!args) SWIG_fail;
26833 swig_obj[0] = args;
26834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26835 if (!SWIG_IsOK(res1)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26837 }
26838 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26839 {
26840 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26841 {
554f62e9
RD
26842 wxPrintData &_result_ref = (arg1)->GetPrintData();
26843 result = (wxPrintData *) &_result_ref;
26844 }
26845 wxPyEndAllowThreads(__tstate);
26846 if (PyErr_Occurred()) SWIG_fail;
26847 }
26848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26849 return resultobj;
26850fail:
26851 return NULL;
26852}
26853
26854
26855SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26856 PyObject *resultobj = 0;
26857 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26858 wxPrintData *arg2 = 0 ;
26859 void *argp1 = 0 ;
26860 int res1 = 0 ;
26861 void *argp2 = 0 ;
26862 int res2 = 0 ;
26863 PyObject * obj0 = 0 ;
26864 PyObject * obj1 = 0 ;
26865 char * kwnames[] = {
26866 (char *) "self",(char *) "printData", NULL
26867 };
26868
26869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26871 if (!SWIG_IsOK(res1)) {
26872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26873 }
26874 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26875 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26876 if (!SWIG_IsOK(res2)) {
26877 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26878 }
26879 if (!argp2) {
26880 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26881 }
26882 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26886 wxPyEndAllowThreads(__tstate);
26887 if (PyErr_Occurred()) SWIG_fail;
26888 }
26889 resultobj = SWIG_Py_Void();
26890 return resultobj;
26891fail:
26892 return NULL;
d55e5bfc
RD
26893}
26894
26895
554f62e9
RD
26896SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26897 PyObject *obj;
26898 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26899 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26900 return SWIG_Py_Void();
d55e5bfc
RD
26901}
26902
554f62e9
RD
26903SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26904 return SWIG_Python_InitShadowInstance(args);
26905}
d55e5bfc 26906
554f62e9
RD
26907SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26908 PyObject *resultobj = 0;
26909 wxWindow *arg1 = (wxWindow *) 0 ;
26910 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26911 wxPrintDialog *result = 0 ;
26912 void *argp1 = 0 ;
26913 int res1 = 0 ;
26914 void *argp2 = 0 ;
26915 int res2 = 0 ;
26916 PyObject * obj0 = 0 ;
26917 PyObject * obj1 = 0 ;
26918 char * kwnames[] = {
26919 (char *) "parent",(char *) "data", NULL
26920 };
26921
26922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26924 if (!SWIG_IsOK(res1)) {
26925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26926 }
26927 arg1 = reinterpret_cast< wxWindow * >(argp1);
26928 if (obj1) {
26929 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26930 if (!SWIG_IsOK(res2)) {
26931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 26932 }
554f62e9
RD
26933 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26934 }
26935 {
26936 if (!wxPyCheckForApp()) SWIG_fail;
26937 PyThreadState* __tstate = wxPyBeginAllowThreads();
26938 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26939 wxPyEndAllowThreads(__tstate);
26940 if (PyErr_Occurred()) SWIG_fail;
26941 }
26942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26943 return resultobj;
26944fail:
26945 return NULL;
d55e5bfc
RD
26946}
26947
26948
f05326ba
RD
26949SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26950 PyObject *resultobj = 0;
26951 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26952 void *argp1 = 0 ;
26953 int res1 = 0 ;
26954 PyObject *swig_obj[1] ;
26955
26956 if (!args) SWIG_fail;
26957 swig_obj[0] = args;
26958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26959 if (!SWIG_IsOK(res1)) {
26960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26961 }
26962 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26963 {
26964 PyThreadState* __tstate = wxPyBeginAllowThreads();
26965 delete arg1;
26966
26967 wxPyEndAllowThreads(__tstate);
26968 if (PyErr_Occurred()) SWIG_fail;
26969 }
26970 resultobj = SWIG_Py_Void();
26971 return resultobj;
26972fail:
26973 return NULL;
26974}
26975
26976
554f62e9
RD
26977SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26978 PyObject *resultobj = 0;
26979 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26980 int result;
26981 void *argp1 = 0 ;
26982 int res1 = 0 ;
26983 PyObject *swig_obj[1] ;
26984
26985 if (!args) SWIG_fail;
26986 swig_obj[0] = args;
26987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26988 if (!SWIG_IsOK(res1)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26990 }
26991 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26992 {
26993 PyThreadState* __tstate = wxPyBeginAllowThreads();
26994 result = (int)(arg1)->ShowModal();
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 resultobj = SWIG_From_int(static_cast< int >(result));
26999 return resultobj;
27000fail:
27001 return NULL;
d55e5bfc
RD
27002}
27003
27004
554f62e9
RD
27005SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27006 PyObject *resultobj = 0;
27007 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27008 wxPrintDialogData *result = 0 ;
27009 void *argp1 = 0 ;
27010 int res1 = 0 ;
27011 PyObject *swig_obj[1] ;
27012
27013 if (!args) SWIG_fail;
27014 swig_obj[0] = args;
27015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27016 if (!SWIG_IsOK(res1)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27018 }
27019 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27022 {
554f62e9
RD
27023 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27024 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27025 }
554f62e9
RD
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27030 return resultobj;
27031fail:
27032 return NULL;
27033}
27034
27035
27036SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27037 PyObject *resultobj = 0;
27038 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27039 wxPrintData *result = 0 ;
27040 void *argp1 = 0 ;
27041 int res1 = 0 ;
27042 PyObject *swig_obj[1] ;
27043
27044 if (!args) SWIG_fail;
27045 swig_obj[0] = args;
27046 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27047 if (!SWIG_IsOK(res1)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27049 }
27050 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27051 {
27052 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27053 {
554f62e9
RD
27054 wxPrintData &_result_ref = (arg1)->GetPrintData();
27055 result = (wxPrintData *) &_result_ref;
d55e5bfc 27056 }
554f62e9
RD
27057 wxPyEndAllowThreads(__tstate);
27058 if (PyErr_Occurred()) SWIG_fail;
27059 }
27060 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27061 return resultobj;
27062fail:
27063 return NULL;
d55e5bfc
RD
27064}
27065
27066
554f62e9
RD
27067SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27068 PyObject *resultobj = 0;
27069 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27070 wxDC *result = 0 ;
27071 void *argp1 = 0 ;
27072 int res1 = 0 ;
27073 PyObject *swig_obj[1] ;
27074
27075 if (!args) SWIG_fail;
27076 swig_obj[0] = args;
27077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27078 if (!SWIG_IsOK(res1)) {
27079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27080 }
27081 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27082 {
27083 PyThreadState* __tstate = wxPyBeginAllowThreads();
27084 result = (wxDC *)(arg1)->GetPrintDC();
27085 wxPyEndAllowThreads(__tstate);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 }
27088 {
27089 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27090 }
27091 return resultobj;
27092fail:
27093 return NULL;
d55e5bfc
RD
27094}
27095
27096
554f62e9
RD
27097SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27098 PyObject *obj;
27099 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27100 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27101 return SWIG_Py_Void();
d55e5bfc
RD
27102}
27103
554f62e9
RD
27104SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27105 return SWIG_Python_InitShadowInstance(args);
27106}
d55e5bfc 27107
554f62e9
RD
27108SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27109 PyObject *resultobj = 0;
27110 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27111 wxPrinter *result = 0 ;
27112 void *argp1 = 0 ;
27113 int res1 = 0 ;
27114 PyObject * obj0 = 0 ;
27115 char * kwnames[] = {
27116 (char *) "data", NULL
27117 };
27118
27119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27120 if (obj0) {
27121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27122 if (!SWIG_IsOK(res1)) {
27123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
396fb509 27124 }
554f62e9
RD
27125 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27126 }
27127 {
27128 if (!wxPyCheckForApp()) SWIG_fail;
27129 PyThreadState* __tstate = wxPyBeginAllowThreads();
27130 result = (wxPrinter *)new wxPrinter(arg1);
27131 wxPyEndAllowThreads(__tstate);
27132 if (PyErr_Occurred()) SWIG_fail;
27133 }
27134 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27135 return resultobj;
27136fail:
27137 return NULL;
d55e5bfc
RD
27138}
27139
27140
554f62e9
RD
27141SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27142 PyObject *resultobj = 0;
27143 wxPrinter *arg1 = (wxPrinter *) 0 ;
27144 void *argp1 = 0 ;
27145 int res1 = 0 ;
27146 PyObject *swig_obj[1] ;
27147
27148 if (!args) SWIG_fail;
27149 swig_obj[0] = args;
27150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27151 if (!SWIG_IsOK(res1)) {
27152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27153 }
27154 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27155 {
27156 PyThreadState* __tstate = wxPyBeginAllowThreads();
27157 delete arg1;
d55e5bfc 27158
554f62e9
RD
27159 wxPyEndAllowThreads(__tstate);
27160 if (PyErr_Occurred()) SWIG_fail;
27161 }
27162 resultobj = SWIG_Py_Void();
27163 return resultobj;
27164fail:
27165 return NULL;
27166}
27167
27168
27169SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27170 PyObject *resultobj = 0;
27171 wxPrinter *arg1 = (wxPrinter *) 0 ;
27172 wxWindow *arg2 = (wxWindow *) 0 ;
27173 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27174 wxWindow *result = 0 ;
27175 void *argp1 = 0 ;
27176 int res1 = 0 ;
27177 void *argp2 = 0 ;
27178 int res2 = 0 ;
27179 void *argp3 = 0 ;
27180 int res3 = 0 ;
27181 PyObject * obj0 = 0 ;
27182 PyObject * obj1 = 0 ;
27183 PyObject * obj2 = 0 ;
27184 char * kwnames[] = {
27185 (char *) "self",(char *) "parent",(char *) "printout", NULL
27186 };
27187
27188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27190 if (!SWIG_IsOK(res1)) {
27191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27192 }
27193 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27194 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27195 if (!SWIG_IsOK(res2)) {
27196 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27197 }
27198 arg2 = reinterpret_cast< wxWindow * >(argp2);
27199 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27200 if (!SWIG_IsOK(res3)) {
27201 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27202 }
27203 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27204 {
27205 PyThreadState* __tstate = wxPyBeginAllowThreads();
27206 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27207 wxPyEndAllowThreads(__tstate);
27208 if (PyErr_Occurred()) SWIG_fail;
27209 }
27210 {
27211 resultobj = wxPyMake_wxObject(result, 0);
27212 }
27213 return resultobj;
27214fail:
27215 return NULL;
27216}
27217
27218
27219SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27220 PyObject *resultobj = 0;
27221 wxPrinter *arg1 = (wxPrinter *) 0 ;
27222 wxWindow *arg2 = (wxWindow *) 0 ;
27223 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27224 wxString *arg4 = 0 ;
27225 void *argp1 = 0 ;
27226 int res1 = 0 ;
27227 void *argp2 = 0 ;
27228 int res2 = 0 ;
27229 void *argp3 = 0 ;
27230 int res3 = 0 ;
27231 bool temp4 = false ;
27232 PyObject * obj0 = 0 ;
27233 PyObject * obj1 = 0 ;
27234 PyObject * obj2 = 0 ;
27235 PyObject * obj3 = 0 ;
27236 char * kwnames[] = {
27237 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27238 };
27239
27240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27242 if (!SWIG_IsOK(res1)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27244 }
27245 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27246 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27247 if (!SWIG_IsOK(res2)) {
27248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27249 }
27250 arg2 = reinterpret_cast< wxWindow * >(argp2);
27251 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27252 if (!SWIG_IsOK(res3)) {
27253 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27254 }
27255 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27256 {
27257 arg4 = wxString_in_helper(obj3);
27258 if (arg4 == NULL) SWIG_fail;
27259 temp4 = true;
27260 }
27261 {
27262 PyThreadState* __tstate = wxPyBeginAllowThreads();
27263 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27264 wxPyEndAllowThreads(__tstate);
27265 if (PyErr_Occurred()) SWIG_fail;
27266 }
27267 resultobj = SWIG_Py_Void();
27268 {
27269 if (temp4)
27270 delete arg4;
27271 }
27272 return resultobj;
27273fail:
27274 {
27275 if (temp4)
27276 delete arg4;
27277 }
27278 return NULL;
27279}
27280
27281
27282SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27283 PyObject *resultobj = 0;
27284 wxPrinter *arg1 = (wxPrinter *) 0 ;
27285 wxWindow *arg2 = (wxWindow *) 0 ;
27286 bool result;
27287 void *argp1 = 0 ;
27288 int res1 = 0 ;
27289 void *argp2 = 0 ;
27290 int res2 = 0 ;
27291 PyObject * obj0 = 0 ;
27292 PyObject * obj1 = 0 ;
27293 char * kwnames[] = {
27294 (char *) "self",(char *) "parent", NULL
27295 };
27296
27297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27299 if (!SWIG_IsOK(res1)) {
27300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27301 }
27302 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27303 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27304 if (!SWIG_IsOK(res2)) {
27305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27306 }
27307 arg2 = reinterpret_cast< wxWindow * >(argp2);
27308 {
27309 PyThreadState* __tstate = wxPyBeginAllowThreads();
27310 result = (bool)(arg1)->Setup(arg2);
27311 wxPyEndAllowThreads(__tstate);
27312 if (PyErr_Occurred()) SWIG_fail;
27313 }
27314 {
27315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27316 }
27317 return resultobj;
27318fail:
27319 return NULL;
27320}
27321
27322
27323SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27324 PyObject *resultobj = 0;
27325 wxPrinter *arg1 = (wxPrinter *) 0 ;
27326 wxWindow *arg2 = (wxWindow *) 0 ;
27327 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27328 bool arg4 = (bool) true ;
27329 bool result;
27330 void *argp1 = 0 ;
27331 int res1 = 0 ;
27332 void *argp2 = 0 ;
27333 int res2 = 0 ;
27334 void *argp3 = 0 ;
27335 int res3 = 0 ;
27336 bool val4 ;
27337 int ecode4 = 0 ;
27338 PyObject * obj0 = 0 ;
27339 PyObject * obj1 = 0 ;
27340 PyObject * obj2 = 0 ;
27341 PyObject * obj3 = 0 ;
27342 char * kwnames[] = {
27343 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27344 };
27345
27346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27348 if (!SWIG_IsOK(res1)) {
27349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27350 }
27351 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27352 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27353 if (!SWIG_IsOK(res2)) {
27354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27355 }
27356 arg2 = reinterpret_cast< wxWindow * >(argp2);
27357 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27358 if (!SWIG_IsOK(res3)) {
27359 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27360 }
27361 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27362 if (obj3) {
27363 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27364 if (!SWIG_IsOK(ecode4)) {
27365 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27366 }
27367 arg4 = static_cast< bool >(val4);
27368 }
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27372 wxPyEndAllowThreads(__tstate);
27373 if (PyErr_Occurred()) SWIG_fail;
27374 }
27375 {
27376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27377 }
27378 return resultobj;
27379fail:
27380 return NULL;
27381}
27382
27383
27384SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27385 PyObject *resultobj = 0;
27386 wxPrinter *arg1 = (wxPrinter *) 0 ;
27387 wxWindow *arg2 = (wxWindow *) 0 ;
27388 wxDC *result = 0 ;
27389 void *argp1 = 0 ;
27390 int res1 = 0 ;
27391 void *argp2 = 0 ;
27392 int res2 = 0 ;
27393 PyObject * obj0 = 0 ;
27394 PyObject * obj1 = 0 ;
27395 char * kwnames[] = {
27396 (char *) "self",(char *) "parent", NULL
27397 };
27398
27399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27401 if (!SWIG_IsOK(res1)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27403 }
27404 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27405 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27406 if (!SWIG_IsOK(res2)) {
27407 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27408 }
27409 arg2 = reinterpret_cast< wxWindow * >(argp2);
27410 {
27411 PyThreadState* __tstate = wxPyBeginAllowThreads();
27412 result = (wxDC *)(arg1)->PrintDialog(arg2);
27413 wxPyEndAllowThreads(__tstate);
27414 if (PyErr_Occurred()) SWIG_fail;
27415 }
27416 {
27417 resultobj = wxPyMake_wxObject(result, (bool)0);
27418 }
27419 return resultobj;
27420fail:
27421 return NULL;
d55e5bfc
RD
27422}
27423
27424
554f62e9
RD
27425SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27426 PyObject *resultobj = 0;
27427 wxPrinter *arg1 = (wxPrinter *) 0 ;
27428 wxPrintDialogData *result = 0 ;
27429 void *argp1 = 0 ;
27430 int res1 = 0 ;
27431 PyObject *swig_obj[1] ;
27432
27433 if (!args) SWIG_fail;
27434 swig_obj[0] = args;
27435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27436 if (!SWIG_IsOK(res1)) {
27437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27438 }
27439 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27440 {
27441 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27442 {
554f62e9
RD
27443 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27444 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27445 }
554f62e9
RD
27446 wxPyEndAllowThreads(__tstate);
27447 if (PyErr_Occurred()) SWIG_fail;
27448 }
27449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27450 return resultobj;
27451fail:
27452 return NULL;
d55e5bfc
RD
27453}
27454
27455
554f62e9
RD
27456SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27457 PyObject *resultobj = 0;
27458 wxPrinter *arg1 = (wxPrinter *) 0 ;
27459 bool result;
27460 void *argp1 = 0 ;
27461 int res1 = 0 ;
27462 PyObject *swig_obj[1] ;
27463
27464 if (!args) SWIG_fail;
27465 swig_obj[0] = args;
27466 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27467 if (!SWIG_IsOK(res1)) {
27468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27469 }
27470 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27471 {
27472 PyThreadState* __tstate = wxPyBeginAllowThreads();
27473 result = (bool)(arg1)->GetAbort();
27474 wxPyEndAllowThreads(__tstate);
27475 if (PyErr_Occurred()) SWIG_fail;
27476 }
27477 {
27478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27479 }
27480 return resultobj;
27481fail:
27482 return NULL;
d55e5bfc
RD
27483}
27484
27485
554f62e9
RD
27486SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27487 PyObject *resultobj = 0;
27488 wxPrinterError result;
27489
27490 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27491 {
27492 PyThreadState* __tstate = wxPyBeginAllowThreads();
27493 result = (wxPrinterError)wxPrinter::GetLastError();
27494 wxPyEndAllowThreads(__tstate);
27495 if (PyErr_Occurred()) SWIG_fail;
27496 }
27497 resultobj = SWIG_From_int(static_cast< int >(result));
27498 return resultobj;
27499fail:
27500 return NULL;
d55e5bfc
RD
27501}
27502
27503
554f62e9
RD
27504SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27505 PyObject *obj;
27506 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27507 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27508 return SWIG_Py_Void();
d55e5bfc
RD
27509}
27510
554f62e9
RD
27511SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27512 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27513}
27514
554f62e9
RD
27515SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27516 PyObject *resultobj = 0;
27517 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27518 wxString *arg1 = (wxString *) &arg1_defvalue ;
27519 wxPyPrintout *result = 0 ;
27520 bool temp1 = false ;
27521 PyObject * obj0 = 0 ;
27522 char * kwnames[] = {
27523 (char *) "title", NULL
27524 };
27525
27526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27527 if (obj0) {
d55e5bfc 27528 {
554f62e9
RD
27529 arg1 = wxString_in_helper(obj0);
27530 if (arg1 == NULL) SWIG_fail;
27531 temp1 = true;
27532 }
27533 }
27534 {
27535 if (!wxPyCheckForApp()) SWIG_fail;
27536 PyThreadState* __tstate = wxPyBeginAllowThreads();
27537 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27538 wxPyEndAllowThreads(__tstate);
27539 if (PyErr_Occurred()) SWIG_fail;
27540 }
27541 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27542 {
27543 if (temp1)
27544 delete arg1;
27545 }
27546 return resultobj;
27547fail:
27548 {
27549 if (temp1)
27550 delete arg1;
27551 }
27552 return NULL;
d55e5bfc
RD
27553}
27554
27555
554f62e9
RD
27556SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27557 PyObject *resultobj = 0;
27558 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27559 void *argp1 = 0 ;
27560 int res1 = 0 ;
27561 PyObject *swig_obj[1] ;
27562
27563 if (!args) SWIG_fail;
27564 swig_obj[0] = args;
27565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27566 if (!SWIG_IsOK(res1)) {
27567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27568 }
27569 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27570 {
27571 PyThreadState* __tstate = wxPyBeginAllowThreads();
27572 delete arg1;
d55e5bfc 27573
554f62e9
RD
27574 wxPyEndAllowThreads(__tstate);
27575 if (PyErr_Occurred()) SWIG_fail;
27576 }
27577 resultobj = SWIG_Py_Void();
27578 return resultobj;
27579fail:
27580 return NULL;
27581}
27582
27583
27584SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27585 PyObject *resultobj = 0;
27586 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27587 PyObject *arg2 = (PyObject *) 0 ;
27588 PyObject *arg3 = (PyObject *) 0 ;
27589 void *argp1 = 0 ;
27590 int res1 = 0 ;
27591 PyObject * obj0 = 0 ;
27592 PyObject * obj1 = 0 ;
27593 PyObject * obj2 = 0 ;
27594 char * kwnames[] = {
27595 (char *) "self",(char *) "self",(char *) "_class", NULL
27596 };
27597
27598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27600 if (!SWIG_IsOK(res1)) {
27601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27602 }
27603 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27604 arg2 = obj1;
27605 arg3 = obj2;
27606 {
27607 PyThreadState* __tstate = wxPyBeginAllowThreads();
27608 (arg1)->_setCallbackInfo(arg2,arg3);
27609 wxPyEndAllowThreads(__tstate);
27610 if (PyErr_Occurred()) SWIG_fail;
27611 }
27612 resultobj = SWIG_Py_Void();
27613 return resultobj;
27614fail:
27615 return NULL;
d55e5bfc
RD
27616}
27617
27618
554f62e9
RD
27619SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27620 PyObject *resultobj = 0;
27621 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27622 wxString result;
27623 void *argp1 = 0 ;
27624 int res1 = 0 ;
27625 PyObject *swig_obj[1] ;
27626
27627 if (!args) SWIG_fail;
27628 swig_obj[0] = args;
27629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27630 if (!SWIG_IsOK(res1)) {
27631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27632 }
27633 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27634 {
27635 PyThreadState* __tstate = wxPyBeginAllowThreads();
27636 result = ((wxPyPrintout const *)arg1)->GetTitle();
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 {
27641#if wxUSE_UNICODE
27642 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27643#else
27644 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27645#endif
27646 }
27647 return resultobj;
27648fail:
27649 return NULL;
d55e5bfc
RD
27650}
27651
27652
554f62e9
RD
27653SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27654 PyObject *resultobj = 0;
27655 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27656 wxDC *result = 0 ;
27657 void *argp1 = 0 ;
27658 int res1 = 0 ;
27659 PyObject *swig_obj[1] ;
27660
27661 if (!args) SWIG_fail;
27662 swig_obj[0] = args;
27663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27664 if (!SWIG_IsOK(res1)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27666 }
27667 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27668 {
27669 PyThreadState* __tstate = wxPyBeginAllowThreads();
27670 result = (wxDC *)(arg1)->GetDC();
27671 wxPyEndAllowThreads(__tstate);
27672 if (PyErr_Occurred()) SWIG_fail;
27673 }
27674 {
27675 resultobj = wxPyMake_wxObject(result, (bool)0);
27676 }
27677 return resultobj;
27678fail:
27679 return NULL;
27680}
27681
27682
27683SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27684 PyObject *resultobj = 0;
27685 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27686 wxDC *arg2 = (wxDC *) 0 ;
27687 void *argp1 = 0 ;
27688 int res1 = 0 ;
27689 void *argp2 = 0 ;
27690 int res2 = 0 ;
27691 PyObject * obj0 = 0 ;
27692 PyObject * obj1 = 0 ;
27693 char * kwnames[] = {
27694 (char *) "self",(char *) "dc", NULL
27695 };
27696
27697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27699 if (!SWIG_IsOK(res1)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27701 }
27702 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27703 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27704 if (!SWIG_IsOK(res2)) {
27705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27706 }
27707 arg2 = reinterpret_cast< wxDC * >(argp2);
27708 {
27709 PyThreadState* __tstate = wxPyBeginAllowThreads();
27710 (arg1)->SetDC(arg2);
27711 wxPyEndAllowThreads(__tstate);
27712 if (PyErr_Occurred()) SWIG_fail;
27713 }
27714 resultobj = SWIG_Py_Void();
27715 return resultobj;
27716fail:
27717 return NULL;
27718}
27719
27720
27721SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27722 PyObject *resultobj = 0;
27723 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27724 int arg2 ;
27725 int arg3 ;
27726 void *argp1 = 0 ;
27727 int res1 = 0 ;
27728 int val2 ;
27729 int ecode2 = 0 ;
27730 int val3 ;
27731 int ecode3 = 0 ;
27732 PyObject * obj0 = 0 ;
27733 PyObject * obj1 = 0 ;
27734 PyObject * obj2 = 0 ;
27735 char * kwnames[] = {
27736 (char *) "self",(char *) "w",(char *) "h", NULL
27737 };
27738
27739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27741 if (!SWIG_IsOK(res1)) {
27742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27743 }
27744 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27745 ecode2 = SWIG_AsVal_int(obj1, &val2);
27746 if (!SWIG_IsOK(ecode2)) {
27747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27748 }
27749 arg2 = static_cast< int >(val2);
27750 ecode3 = SWIG_AsVal_int(obj2, &val3);
27751 if (!SWIG_IsOK(ecode3)) {
27752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27753 }
27754 arg3 = static_cast< int >(val3);
27755 {
27756 PyThreadState* __tstate = wxPyBeginAllowThreads();
27757 (arg1)->SetPageSizePixels(arg2,arg3);
27758 wxPyEndAllowThreads(__tstate);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 }
27761 resultobj = SWIG_Py_Void();
27762 return resultobj;
27763fail:
27764 return NULL;
27765}
27766
27767
27768SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27769 PyObject *resultobj = 0;
27770 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27771 int *arg2 = (int *) 0 ;
27772 int *arg3 = (int *) 0 ;
27773 void *argp1 = 0 ;
27774 int res1 = 0 ;
27775 int temp2 ;
27776 int res2 = SWIG_TMPOBJ ;
27777 int temp3 ;
27778 int res3 = SWIG_TMPOBJ ;
27779 PyObject *swig_obj[1] ;
27780
27781 arg2 = &temp2;
27782 arg3 = &temp3;
27783 if (!args) SWIG_fail;
27784 swig_obj[0] = args;
27785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27786 if (!SWIG_IsOK(res1)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27788 }
27789 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27790 {
27791 PyThreadState* __tstate = wxPyBeginAllowThreads();
27792 (arg1)->GetPageSizePixels(arg2,arg3);
27793 wxPyEndAllowThreads(__tstate);
27794 if (PyErr_Occurred()) SWIG_fail;
27795 }
27796 resultobj = SWIG_Py_Void();
27797 if (SWIG_IsTmpObj(res2)) {
27798 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27799 } else {
27800 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27801 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27802 }
27803 if (SWIG_IsTmpObj(res3)) {
27804 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27805 } else {
27806 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27807 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27808 }
27809 return resultobj;
27810fail:
27811 return NULL;
27812}
27813
27814
27815SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27816 PyObject *resultobj = 0;
27817 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27818 int arg2 ;
27819 int arg3 ;
27820 void *argp1 = 0 ;
27821 int res1 = 0 ;
27822 int val2 ;
27823 int ecode2 = 0 ;
27824 int val3 ;
27825 int ecode3 = 0 ;
27826 PyObject * obj0 = 0 ;
27827 PyObject * obj1 = 0 ;
27828 PyObject * obj2 = 0 ;
27829 char * kwnames[] = {
27830 (char *) "self",(char *) "w",(char *) "h", NULL
27831 };
27832
27833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27835 if (!SWIG_IsOK(res1)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27837 }
27838 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27839 ecode2 = SWIG_AsVal_int(obj1, &val2);
27840 if (!SWIG_IsOK(ecode2)) {
27841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27842 }
27843 arg2 = static_cast< int >(val2);
27844 ecode3 = SWIG_AsVal_int(obj2, &val3);
27845 if (!SWIG_IsOK(ecode3)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27847 }
27848 arg3 = static_cast< int >(val3);
27849 {
27850 PyThreadState* __tstate = wxPyBeginAllowThreads();
27851 (arg1)->SetPageSizeMM(arg2,arg3);
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
27855 resultobj = SWIG_Py_Void();
27856 return resultobj;
27857fail:
27858 return NULL;
27859}
27860
27861
27862SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27863 PyObject *resultobj = 0;
27864 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27865 int *arg2 = (int *) 0 ;
27866 int *arg3 = (int *) 0 ;
27867 void *argp1 = 0 ;
27868 int res1 = 0 ;
27869 int temp2 ;
27870 int res2 = SWIG_TMPOBJ ;
27871 int temp3 ;
27872 int res3 = SWIG_TMPOBJ ;
27873 PyObject *swig_obj[1] ;
27874
27875 arg2 = &temp2;
27876 arg3 = &temp3;
27877 if (!args) SWIG_fail;
27878 swig_obj[0] = args;
27879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27880 if (!SWIG_IsOK(res1)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27882 }
27883 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27884 {
27885 PyThreadState* __tstate = wxPyBeginAllowThreads();
27886 (arg1)->GetPageSizeMM(arg2,arg3);
27887 wxPyEndAllowThreads(__tstate);
27888 if (PyErr_Occurred()) SWIG_fail;
27889 }
27890 resultobj = SWIG_Py_Void();
27891 if (SWIG_IsTmpObj(res2)) {
27892 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27893 } else {
27894 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27895 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27896 }
27897 if (SWIG_IsTmpObj(res3)) {
27898 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27899 } else {
27900 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27901 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27902 }
27903 return resultobj;
27904fail:
27905 return NULL;
27906}
27907
27908
27909SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27910 PyObject *resultobj = 0;
27911 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27912 int arg2 ;
27913 int arg3 ;
27914 void *argp1 = 0 ;
27915 int res1 = 0 ;
27916 int val2 ;
27917 int ecode2 = 0 ;
27918 int val3 ;
27919 int ecode3 = 0 ;
27920 PyObject * obj0 = 0 ;
27921 PyObject * obj1 = 0 ;
27922 PyObject * obj2 = 0 ;
27923 char * kwnames[] = {
27924 (char *) "self",(char *) "x",(char *) "y", NULL
27925 };
27926
27927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27929 if (!SWIG_IsOK(res1)) {
27930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27931 }
27932 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27933 ecode2 = SWIG_AsVal_int(obj1, &val2);
27934 if (!SWIG_IsOK(ecode2)) {
27935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27936 }
27937 arg2 = static_cast< int >(val2);
27938 ecode3 = SWIG_AsVal_int(obj2, &val3);
27939 if (!SWIG_IsOK(ecode3)) {
27940 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27941 }
27942 arg3 = static_cast< int >(val3);
27943 {
27944 PyThreadState* __tstate = wxPyBeginAllowThreads();
27945 (arg1)->SetPPIScreen(arg2,arg3);
27946 wxPyEndAllowThreads(__tstate);
27947 if (PyErr_Occurred()) SWIG_fail;
27948 }
27949 resultobj = SWIG_Py_Void();
27950 return resultobj;
27951fail:
27952 return NULL;
27953}
27954
27955
27956SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27957 PyObject *resultobj = 0;
27958 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27959 int *arg2 = (int *) 0 ;
27960 int *arg3 = (int *) 0 ;
27961 void *argp1 = 0 ;
27962 int res1 = 0 ;
27963 int temp2 ;
27964 int res2 = SWIG_TMPOBJ ;
27965 int temp3 ;
27966 int res3 = SWIG_TMPOBJ ;
27967 PyObject *swig_obj[1] ;
27968
27969 arg2 = &temp2;
27970 arg3 = &temp3;
27971 if (!args) SWIG_fail;
27972 swig_obj[0] = args;
27973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27974 if (!SWIG_IsOK(res1)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27976 }
27977 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27978 {
27979 PyThreadState* __tstate = wxPyBeginAllowThreads();
27980 (arg1)->GetPPIScreen(arg2,arg3);
27981 wxPyEndAllowThreads(__tstate);
27982 if (PyErr_Occurred()) SWIG_fail;
27983 }
27984 resultobj = SWIG_Py_Void();
27985 if (SWIG_IsTmpObj(res2)) {
27986 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27987 } else {
27988 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27989 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27990 }
27991 if (SWIG_IsTmpObj(res3)) {
27992 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27993 } else {
27994 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27995 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27996 }
27997 return resultobj;
27998fail:
27999 return NULL;
28000}
28001
28002
28003SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28004 PyObject *resultobj = 0;
28005 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28006 int arg2 ;
28007 int arg3 ;
28008 void *argp1 = 0 ;
28009 int res1 = 0 ;
28010 int val2 ;
28011 int ecode2 = 0 ;
28012 int val3 ;
28013 int ecode3 = 0 ;
28014 PyObject * obj0 = 0 ;
28015 PyObject * obj1 = 0 ;
28016 PyObject * obj2 = 0 ;
28017 char * kwnames[] = {
28018 (char *) "self",(char *) "x",(char *) "y", NULL
28019 };
28020
28021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28023 if (!SWIG_IsOK(res1)) {
28024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28025 }
28026 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28027 ecode2 = SWIG_AsVal_int(obj1, &val2);
28028 if (!SWIG_IsOK(ecode2)) {
28029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28030 }
28031 arg2 = static_cast< int >(val2);
28032 ecode3 = SWIG_AsVal_int(obj2, &val3);
28033 if (!SWIG_IsOK(ecode3)) {
28034 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28035 }
28036 arg3 = static_cast< int >(val3);
28037 {
28038 PyThreadState* __tstate = wxPyBeginAllowThreads();
28039 (arg1)->SetPPIPrinter(arg2,arg3);
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 resultobj = SWIG_Py_Void();
28044 return resultobj;
28045fail:
28046 return NULL;
28047}
28048
28049
28050SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28051 PyObject *resultobj = 0;
28052 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28053 int *arg2 = (int *) 0 ;
28054 int *arg3 = (int *) 0 ;
28055 void *argp1 = 0 ;
28056 int res1 = 0 ;
28057 int temp2 ;
28058 int res2 = SWIG_TMPOBJ ;
28059 int temp3 ;
28060 int res3 = SWIG_TMPOBJ ;
28061 PyObject *swig_obj[1] ;
28062
28063 arg2 = &temp2;
28064 arg3 = &temp3;
28065 if (!args) SWIG_fail;
28066 swig_obj[0] = args;
28067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28068 if (!SWIG_IsOK(res1)) {
28069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28070 }
28071 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28072 {
28073 PyThreadState* __tstate = wxPyBeginAllowThreads();
28074 (arg1)->GetPPIPrinter(arg2,arg3);
28075 wxPyEndAllowThreads(__tstate);
28076 if (PyErr_Occurred()) SWIG_fail;
28077 }
28078 resultobj = SWIG_Py_Void();
28079 if (SWIG_IsTmpObj(res2)) {
28080 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28081 } else {
28082 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28083 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28084 }
28085 if (SWIG_IsTmpObj(res3)) {
28086 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28087 } else {
28088 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28089 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28090 }
28091 return resultobj;
28092fail:
28093 return NULL;
d55e5bfc
RD
28094}
28095
28096
554f62e9
RD
28097SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28098 PyObject *resultobj = 0;
28099 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28100 bool result;
28101 void *argp1 = 0 ;
28102 int res1 = 0 ;
28103 PyObject *swig_obj[1] ;
28104
28105 if (!args) SWIG_fail;
28106 swig_obj[0] = args;
28107 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28108 if (!SWIG_IsOK(res1)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28110 }
28111 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28112 {
28113 PyThreadState* __tstate = wxPyBeginAllowThreads();
28114 result = (bool)(arg1)->IsPreview();
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 {
28119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28120 }
28121 return resultobj;
28122fail:
28123 return NULL;
28124}
28125
28126
28127SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28128 PyObject *resultobj = 0;
28129 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28130 bool arg2 ;
28131 void *argp1 = 0 ;
28132 int res1 = 0 ;
28133 bool val2 ;
28134 int ecode2 = 0 ;
28135 PyObject * obj0 = 0 ;
28136 PyObject * obj1 = 0 ;
28137 char * kwnames[] = {
28138 (char *) "self",(char *) "p", NULL
28139 };
28140
28141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28143 if (!SWIG_IsOK(res1)) {
28144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28145 }
28146 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28147 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28148 if (!SWIG_IsOK(ecode2)) {
28149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28150 }
28151 arg2 = static_cast< bool >(val2);
28152 {
28153 PyThreadState* __tstate = wxPyBeginAllowThreads();
28154 (arg1)->SetIsPreview(arg2);
28155 wxPyEndAllowThreads(__tstate);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 }
28158 resultobj = SWIG_Py_Void();
28159 return resultobj;
28160fail:
28161 return NULL;
28162}
28163
28164
28165SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28166 PyObject *resultobj = 0;
28167 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28168 int arg2 ;
28169 int arg3 ;
28170 bool result;
28171 void *argp1 = 0 ;
28172 int res1 = 0 ;
28173 int val2 ;
28174 int ecode2 = 0 ;
28175 int val3 ;
28176 int ecode3 = 0 ;
28177 PyObject * obj0 = 0 ;
28178 PyObject * obj1 = 0 ;
28179 PyObject * obj2 = 0 ;
28180 char * kwnames[] = {
28181 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28182 };
28183
28184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28186 if (!SWIG_IsOK(res1)) {
28187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28188 }
28189 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28190 ecode2 = SWIG_AsVal_int(obj1, &val2);
28191 if (!SWIG_IsOK(ecode2)) {
28192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28193 }
28194 arg2 = static_cast< int >(val2);
28195 ecode3 = SWIG_AsVal_int(obj2, &val3);
28196 if (!SWIG_IsOK(ecode3)) {
28197 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28198 }
28199 arg3 = static_cast< int >(val3);
28200 {
28201 PyThreadState* __tstate = wxPyBeginAllowThreads();
28202 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28203 wxPyEndAllowThreads(__tstate);
28204 if (PyErr_Occurred()) SWIG_fail;
28205 }
28206 {
28207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28208 }
28209 return resultobj;
28210fail:
28211 return NULL;
d55e5bfc
RD
28212}
28213
28214
554f62e9
RD
28215SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28216 PyObject *resultobj = 0;
28217 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28218 void *argp1 = 0 ;
28219 int res1 = 0 ;
28220 PyObject *swig_obj[1] ;
28221
28222 if (!args) SWIG_fail;
28223 swig_obj[0] = args;
28224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28225 if (!SWIG_IsOK(res1)) {
28226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28227 }
28228 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28229 {
28230 PyThreadState* __tstate = wxPyBeginAllowThreads();
28231 (arg1)->OnEndDocument();
28232 wxPyEndAllowThreads(__tstate);
28233 if (PyErr_Occurred()) SWIG_fail;
28234 }
28235 resultobj = SWIG_Py_Void();
28236 return resultobj;
28237fail:
28238 return NULL;
caef1a4d
RD
28239}
28240
28241
554f62e9
RD
28242SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28243 PyObject *resultobj = 0;
28244 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28245 void *argp1 = 0 ;
28246 int res1 = 0 ;
28247 PyObject *swig_obj[1] ;
28248
28249 if (!args) SWIG_fail;
28250 swig_obj[0] = args;
28251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28252 if (!SWIG_IsOK(res1)) {
28253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28254 }
28255 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28256 {
28257 PyThreadState* __tstate = wxPyBeginAllowThreads();
28258 (arg1)->OnBeginPrinting();
28259 wxPyEndAllowThreads(__tstate);
28260 if (PyErr_Occurred()) SWIG_fail;
28261 }
28262 resultobj = SWIG_Py_Void();
28263 return resultobj;
28264fail:
28265 return NULL;
60d5fcc1
RD
28266}
28267
28268
554f62e9
RD
28269SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28270 PyObject *resultobj = 0;
28271 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28272 void *argp1 = 0 ;
28273 int res1 = 0 ;
28274 PyObject *swig_obj[1] ;
28275
28276 if (!args) SWIG_fail;
28277 swig_obj[0] = args;
28278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28279 if (!SWIG_IsOK(res1)) {
28280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28281 }
28282 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28283 {
28284 PyThreadState* __tstate = wxPyBeginAllowThreads();
28285 (arg1)->OnEndPrinting();
28286 wxPyEndAllowThreads(__tstate);
28287 if (PyErr_Occurred()) SWIG_fail;
28288 }
28289 resultobj = SWIG_Py_Void();
28290 return resultobj;
28291fail:
28292 return NULL;
d55e5bfc
RD
28293}
28294
28295
554f62e9
RD
28296SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28297 PyObject *resultobj = 0;
28298 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28299 void *argp1 = 0 ;
28300 int res1 = 0 ;
28301 PyObject *swig_obj[1] ;
28302
28303 if (!args) SWIG_fail;
28304 swig_obj[0] = args;
28305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28306 if (!SWIG_IsOK(res1)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28308 }
28309 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28310 {
28311 PyThreadState* __tstate = wxPyBeginAllowThreads();
28312 (arg1)->OnPreparePrinting();
28313 wxPyEndAllowThreads(__tstate);
28314 if (PyErr_Occurred()) SWIG_fail;
28315 }
28316 resultobj = SWIG_Py_Void();
28317 return resultobj;
28318fail:
28319 return NULL;
28320}
28321
28322
28323SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28324 PyObject *resultobj = 0;
28325 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28326 int arg2 ;
28327 bool result;
28328 void *argp1 = 0 ;
28329 int res1 = 0 ;
28330 int val2 ;
28331 int ecode2 = 0 ;
28332 PyObject * obj0 = 0 ;
28333 PyObject * obj1 = 0 ;
28334 char * kwnames[] = {
28335 (char *) "self",(char *) "page", NULL
28336 };
28337
28338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28340 if (!SWIG_IsOK(res1)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28342 }
28343 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28344 ecode2 = SWIG_AsVal_int(obj1, &val2);
28345 if (!SWIG_IsOK(ecode2)) {
28346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28347 }
28348 arg2 = static_cast< int >(val2);
28349 {
28350 PyThreadState* __tstate = wxPyBeginAllowThreads();
28351 result = (bool)(arg1)->HasPage(arg2);
28352 wxPyEndAllowThreads(__tstate);
28353 if (PyErr_Occurred()) SWIG_fail;
28354 }
28355 {
28356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28357 }
28358 return resultobj;
28359fail:
28360 return NULL;
28361}
28362
28363
28364SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28365 PyObject *resultobj = 0;
28366 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28367 int *arg2 = (int *) 0 ;
28368 int *arg3 = (int *) 0 ;
28369 int *arg4 = (int *) 0 ;
28370 int *arg5 = (int *) 0 ;
28371 void *argp1 = 0 ;
28372 int res1 = 0 ;
28373 int temp2 ;
28374 int res2 = SWIG_TMPOBJ ;
28375 int temp3 ;
28376 int res3 = SWIG_TMPOBJ ;
28377 int temp4 ;
28378 int res4 = SWIG_TMPOBJ ;
28379 int temp5 ;
28380 int res5 = SWIG_TMPOBJ ;
28381 PyObject *swig_obj[1] ;
28382
28383 arg2 = &temp2;
28384 arg3 = &temp3;
28385 arg4 = &temp4;
28386 arg5 = &temp5;
28387 if (!args) SWIG_fail;
28388 swig_obj[0] = args;
28389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28390 if (!SWIG_IsOK(res1)) {
28391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28392 }
28393 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28394 {
28395 PyThreadState* __tstate = wxPyBeginAllowThreads();
28396 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
28400 resultobj = SWIG_Py_Void();
28401 if (SWIG_IsTmpObj(res2)) {
28402 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28403 } else {
28404 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28405 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28406 }
28407 if (SWIG_IsTmpObj(res3)) {
28408 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28409 } else {
28410 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28411 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28412 }
28413 if (SWIG_IsTmpObj(res4)) {
28414 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28415 } else {
28416 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28417 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28418 }
28419 if (SWIG_IsTmpObj(res5)) {
28420 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28421 } else {
28422 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28423 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28424 }
28425 return resultobj;
28426fail:
28427 return NULL;
28428}
28429
28430
28431SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28432 PyObject *obj;
28433 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28434 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28435 return SWIG_Py_Void();
28436}
28437
28438SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28439 return SWIG_Python_InitShadowInstance(args);
28440}
28441
28442SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28443 PyObject *resultobj = 0;
28444 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28445 wxWindow *arg2 = (wxWindow *) 0 ;
28446 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28447 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28448 wxSize const &arg4_defvalue = wxDefaultSize ;
28449 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28450 long arg5 = (long) 0 ;
28451 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28452 wxString *arg6 = (wxString *) &arg6_defvalue ;
28453 wxPreviewCanvas *result = 0 ;
28454 void *argp1 = 0 ;
28455 int res1 = 0 ;
28456 void *argp2 = 0 ;
28457 int res2 = 0 ;
28458 wxPoint temp3 ;
28459 wxSize temp4 ;
28460 long val5 ;
28461 int ecode5 = 0 ;
28462 bool temp6 = false ;
28463 PyObject * obj0 = 0 ;
28464 PyObject * obj1 = 0 ;
28465 PyObject * obj2 = 0 ;
28466 PyObject * obj3 = 0 ;
28467 PyObject * obj4 = 0 ;
28468 PyObject * obj5 = 0 ;
28469 char * kwnames[] = {
28470 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28471 };
28472
28473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28475 if (!SWIG_IsOK(res1)) {
28476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28477 }
28478 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28479 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28480 if (!SWIG_IsOK(res2)) {
28481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28482 }
28483 arg2 = reinterpret_cast< wxWindow * >(argp2);
28484 if (obj2) {
093d3ff1 28485 {
554f62e9
RD
28486 arg3 = &temp3;
28487 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 28488 }
554f62e9
RD
28489 }
28490 if (obj3) {
093d3ff1 28491 {
554f62e9
RD
28492 arg4 = &temp4;
28493 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 28494 }
554f62e9
RD
28495 }
28496 if (obj4) {
28497 ecode5 = SWIG_AsVal_long(obj4, &val5);
28498 if (!SWIG_IsOK(ecode5)) {
28499 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28500 }
28501 arg5 = static_cast< long >(val5);
28502 }
28503 if (obj5) {
093d3ff1 28504 {
554f62e9
RD
28505 arg6 = wxString_in_helper(obj5);
28506 if (arg6 == NULL) SWIG_fail;
28507 temp6 = true;
093d3ff1 28508 }
554f62e9
RD
28509 }
28510 {
28511 if (!wxPyCheckForApp()) SWIG_fail;
28512 PyThreadState* __tstate = wxPyBeginAllowThreads();
28513 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28514 wxPyEndAllowThreads(__tstate);
28515 if (PyErr_Occurred()) SWIG_fail;
28516 }
28517 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28518 {
28519 if (temp6)
28520 delete arg6;
28521 }
28522 return resultobj;
28523fail:
28524 {
28525 if (temp6)
28526 delete arg6;
28527 }
28528 return NULL;
28529}
28530
28531
28532SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28533 PyObject *obj;
28534 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28535 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28536 return SWIG_Py_Void();
28537}
28538
28539SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28540 return SWIG_Python_InitShadowInstance(args);
28541}
28542
28543SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28544 PyObject *resultobj = 0;
28545 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28546 wxFrame *arg2 = (wxFrame *) 0 ;
28547 wxString *arg3 = 0 ;
28548 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28549 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28550 wxSize const &arg5_defvalue = wxDefaultSize ;
28551 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28552 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28553 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28554 wxString *arg7 = (wxString *) &arg7_defvalue ;
28555 wxPreviewFrame *result = 0 ;
28556 int res1 = 0 ;
28557 void *argp2 = 0 ;
28558 int res2 = 0 ;
28559 bool temp3 = false ;
28560 wxPoint temp4 ;
28561 wxSize temp5 ;
28562 long val6 ;
28563 int ecode6 = 0 ;
28564 bool temp7 = false ;
28565 PyObject * obj0 = 0 ;
28566 PyObject * obj1 = 0 ;
28567 PyObject * obj2 = 0 ;
28568 PyObject * obj3 = 0 ;
28569 PyObject * obj4 = 0 ;
28570 PyObject * obj5 = 0 ;
28571 PyObject * obj6 = 0 ;
28572 char * kwnames[] = {
28573 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28574 };
28575
28576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28577 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28578 if (!SWIG_IsOK(res1)) {
28579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28580 }
28581 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28582 if (!SWIG_IsOK(res2)) {
28583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28584 }
28585 arg2 = reinterpret_cast< wxFrame * >(argp2);
28586 {
28587 arg3 = wxString_in_helper(obj2);
28588 if (arg3 == NULL) SWIG_fail;
28589 temp3 = true;
28590 }
28591 if (obj3) {
093d3ff1 28592 {
554f62e9
RD
28593 arg4 = &temp4;
28594 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28595 }
554f62e9
RD
28596 }
28597 if (obj4) {
d55e5bfc 28598 {
554f62e9
RD
28599 arg5 = &temp5;
28600 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 28601 }
554f62e9
RD
28602 }
28603 if (obj5) {
28604 ecode6 = SWIG_AsVal_long(obj5, &val6);
28605 if (!SWIG_IsOK(ecode6)) {
28606 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28607 }
28608 arg6 = static_cast< long >(val6);
28609 }
28610 if (obj6) {
093d3ff1 28611 {
554f62e9
RD
28612 arg7 = wxString_in_helper(obj6);
28613 if (arg7 == NULL) SWIG_fail;
28614 temp7 = true;
093d3ff1 28615 }
554f62e9
RD
28616 }
28617 {
28618 if (!wxPyCheckForApp()) SWIG_fail;
28619 PyThreadState* __tstate = wxPyBeginAllowThreads();
28620 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28621 wxPyEndAllowThreads(__tstate);
28622 if (PyErr_Occurred()) SWIG_fail;
28623 }
28624 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28625 {
28626 if (temp3)
28627 delete arg3;
28628 }
28629 {
28630 if (temp7)
28631 delete arg7;
28632 }
28633 return resultobj;
28634fail:
28635 {
28636 if (temp3)
28637 delete arg3;
28638 }
28639 {
28640 if (temp7)
28641 delete arg7;
28642 }
28643 return NULL;
d55e5bfc
RD
28644}
28645
28646
554f62e9
RD
28647SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28648 PyObject *resultobj = 0;
28649 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28650 void *argp1 = 0 ;
28651 int res1 = 0 ;
28652 PyObject *swig_obj[1] ;
28653
28654 if (!args) SWIG_fail;
28655 swig_obj[0] = args;
28656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28657 if (!SWIG_IsOK(res1)) {
28658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28659 }
28660 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28661 {
28662 PyThreadState* __tstate = wxPyBeginAllowThreads();
28663 (arg1)->Initialize();
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 resultobj = SWIG_Py_Void();
28668 return resultobj;
28669fail:
28670 return NULL;
d55e5bfc
RD
28671}
28672
28673
554f62e9
RD
28674SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28675 PyObject *resultobj = 0;
28676 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28677 void *argp1 = 0 ;
28678 int res1 = 0 ;
28679 PyObject *swig_obj[1] ;
28680
28681 if (!args) SWIG_fail;
28682 swig_obj[0] = args;
28683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28684 if (!SWIG_IsOK(res1)) {
28685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28686 }
28687 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28688 {
28689 PyThreadState* __tstate = wxPyBeginAllowThreads();
28690 (arg1)->CreateControlBar();
28691 wxPyEndAllowThreads(__tstate);
28692 if (PyErr_Occurred()) SWIG_fail;
28693 }
28694 resultobj = SWIG_Py_Void();
28695 return resultobj;
28696fail:
28697 return NULL;
d55e5bfc
RD
28698}
28699
28700
554f62e9
RD
28701SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28702 PyObject *resultobj = 0;
28703 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28704 void *argp1 = 0 ;
28705 int res1 = 0 ;
28706 PyObject *swig_obj[1] ;
28707
28708 if (!args) SWIG_fail;
28709 swig_obj[0] = args;
28710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28711 if (!SWIG_IsOK(res1)) {
28712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28713 }
28714 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28715 {
28716 PyThreadState* __tstate = wxPyBeginAllowThreads();
28717 (arg1)->CreateCanvas();
28718 wxPyEndAllowThreads(__tstate);
28719 if (PyErr_Occurred()) SWIG_fail;
28720 }
28721 resultobj = SWIG_Py_Void();
28722 return resultobj;
28723fail:
28724 return NULL;
d55e5bfc
RD
28725}
28726
28727
554f62e9
RD
28728SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28729 PyObject *resultobj = 0;
28730 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28731 wxPreviewControlBar *result = 0 ;
28732 void *argp1 = 0 ;
28733 int res1 = 0 ;
28734 PyObject *swig_obj[1] ;
28735
28736 if (!args) SWIG_fail;
28737 swig_obj[0] = args;
28738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28739 if (!SWIG_IsOK(res1)) {
28740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28741 }
28742 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28743 {
28744 PyThreadState* __tstate = wxPyBeginAllowThreads();
28745 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28746 wxPyEndAllowThreads(__tstate);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 }
28749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28750 return resultobj;
28751fail:
28752 return NULL;
28753}
28754
28755
28756SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28757 PyObject *obj;
28758 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28759 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28760 return SWIG_Py_Void();
28761}
28762
28763SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28764 return SWIG_Python_InitShadowInstance(args);
28765}
28766
28767SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28768 PyObject *resultobj = 0;
28769 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28770 long arg2 ;
28771 wxWindow *arg3 = (wxWindow *) 0 ;
28772 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28773 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28774 wxSize const &arg5_defvalue = wxDefaultSize ;
28775 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28776 long arg6 = (long) wxTAB_TRAVERSAL ;
28777 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28778 wxString *arg7 = (wxString *) &arg7_defvalue ;
28779 wxPreviewControlBar *result = 0 ;
28780 void *argp1 = 0 ;
28781 int res1 = 0 ;
28782 long val2 ;
28783 int ecode2 = 0 ;
28784 void *argp3 = 0 ;
28785 int res3 = 0 ;
28786 wxPoint temp4 ;
28787 wxSize temp5 ;
28788 long val6 ;
28789 int ecode6 = 0 ;
28790 bool temp7 = false ;
28791 PyObject * obj0 = 0 ;
28792 PyObject * obj1 = 0 ;
28793 PyObject * obj2 = 0 ;
28794 PyObject * obj3 = 0 ;
28795 PyObject * obj4 = 0 ;
28796 PyObject * obj5 = 0 ;
28797 PyObject * obj6 = 0 ;
28798 char * kwnames[] = {
28799 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28800 };
28801
28802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28804 if (!SWIG_IsOK(res1)) {
28805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28806 }
28807 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28808 ecode2 = SWIG_AsVal_long(obj1, &val2);
28809 if (!SWIG_IsOK(ecode2)) {
28810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28811 }
28812 arg2 = static_cast< long >(val2);
28813 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28814 if (!SWIG_IsOK(res3)) {
28815 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28816 }
28817 arg3 = reinterpret_cast< wxWindow * >(argp3);
28818 if (obj3) {
d55e5bfc 28819 {
554f62e9
RD
28820 arg4 = &temp4;
28821 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28822 }
28823 }
28824 if (obj4) {
d55e5bfc 28825 {
554f62e9
RD
28826 arg5 = &temp5;
28827 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 28828 }
554f62e9
RD
28829 }
28830 if (obj5) {
28831 ecode6 = SWIG_AsVal_long(obj5, &val6);
28832 if (!SWIG_IsOK(ecode6)) {
28833 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28834 }
28835 arg6 = static_cast< long >(val6);
28836 }
28837 if (obj6) {
d55e5bfc 28838 {
554f62e9
RD
28839 arg7 = wxString_in_helper(obj6);
28840 if (arg7 == NULL) SWIG_fail;
28841 temp7 = true;
d55e5bfc 28842 }
554f62e9
RD
28843 }
28844 {
28845 if (!wxPyCheckForApp()) SWIG_fail;
28846 PyThreadState* __tstate = wxPyBeginAllowThreads();
28847 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28848 wxPyEndAllowThreads(__tstate);
28849 if (PyErr_Occurred()) SWIG_fail;
28850 }
28851 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28852 {
28853 if (temp7)
28854 delete arg7;
28855 }
28856 return resultobj;
28857fail:
28858 {
28859 if (temp7)
28860 delete arg7;
28861 }
28862 return NULL;
d55e5bfc
RD
28863}
28864
28865
554f62e9
RD
28866SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28867 PyObject *resultobj = 0;
28868 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28869 int result;
28870 void *argp1 = 0 ;
28871 int res1 = 0 ;
28872 PyObject *swig_obj[1] ;
28873
28874 if (!args) SWIG_fail;
28875 swig_obj[0] = args;
28876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28877 if (!SWIG_IsOK(res1)) {
28878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28879 }
28880 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28881 {
28882 PyThreadState* __tstate = wxPyBeginAllowThreads();
28883 result = (int)(arg1)->GetZoomControl();
28884 wxPyEndAllowThreads(__tstate);
28885 if (PyErr_Occurred()) SWIG_fail;
28886 }
28887 resultobj = SWIG_From_int(static_cast< int >(result));
28888 return resultobj;
28889fail:
28890 return NULL;
28891}
28892
28893
28894SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28895 PyObject *resultobj = 0;
28896 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28897 int arg2 ;
28898 void *argp1 = 0 ;
28899 int res1 = 0 ;
28900 int val2 ;
28901 int ecode2 = 0 ;
28902 PyObject * obj0 = 0 ;
28903 PyObject * obj1 = 0 ;
28904 char * kwnames[] = {
28905 (char *) "self",(char *) "zoom", NULL
28906 };
28907
28908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28910 if (!SWIG_IsOK(res1)) {
28911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28912 }
28913 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28914 ecode2 = SWIG_AsVal_int(obj1, &val2);
28915 if (!SWIG_IsOK(ecode2)) {
28916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28917 }
28918 arg2 = static_cast< int >(val2);
28919 {
28920 PyThreadState* __tstate = wxPyBeginAllowThreads();
28921 (arg1)->SetZoomControl(arg2);
28922 wxPyEndAllowThreads(__tstate);
28923 if (PyErr_Occurred()) SWIG_fail;
28924 }
28925 resultobj = SWIG_Py_Void();
28926 return resultobj;
28927fail:
28928 return NULL;
d55e5bfc
RD
28929}
28930
28931
554f62e9
RD
28932SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28933 PyObject *resultobj = 0;
28934 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28935 wxPrintPreview *result = 0 ;
28936 void *argp1 = 0 ;
28937 int res1 = 0 ;
28938 PyObject *swig_obj[1] ;
28939
28940 if (!args) SWIG_fail;
28941 swig_obj[0] = args;
28942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28943 if (!SWIG_IsOK(res1)) {
28944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28945 }
28946 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28947 {
28948 PyThreadState* __tstate = wxPyBeginAllowThreads();
28949 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28950 wxPyEndAllowThreads(__tstate);
28951 if (PyErr_Occurred()) SWIG_fail;
28952 }
28953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28954 return resultobj;
28955fail:
28956 return NULL;
d55e5bfc
RD
28957}
28958
28959
554f62e9
RD
28960SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28961 PyObject *resultobj = 0;
28962 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28963 void *argp1 = 0 ;
28964 int res1 = 0 ;
28965 PyObject *swig_obj[1] ;
28966
28967 if (!args) SWIG_fail;
28968 swig_obj[0] = args;
28969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28970 if (!SWIG_IsOK(res1)) {
28971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28972 }
28973 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28974 {
28975 PyThreadState* __tstate = wxPyBeginAllowThreads();
28976 (arg1)->OnNext();
28977 wxPyEndAllowThreads(__tstate);
28978 if (PyErr_Occurred()) SWIG_fail;
28979 }
28980 resultobj = SWIG_Py_Void();
28981 return resultobj;
28982fail:
28983 return NULL;
d55e5bfc
RD
28984}
28985
28986
554f62e9
RD
28987SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28988 PyObject *resultobj = 0;
28989 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28990 void *argp1 = 0 ;
28991 int res1 = 0 ;
28992 PyObject *swig_obj[1] ;
28993
28994 if (!args) SWIG_fail;
28995 swig_obj[0] = args;
28996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28997 if (!SWIG_IsOK(res1)) {
28998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28999 }
29000 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29001 {
29002 PyThreadState* __tstate = wxPyBeginAllowThreads();
29003 (arg1)->OnPrevious();
29004 wxPyEndAllowThreads(__tstate);
29005 if (PyErr_Occurred()) SWIG_fail;
29006 }
29007 resultobj = SWIG_Py_Void();
29008 return resultobj;
29009fail:
29010 return NULL;
d55e5bfc
RD
29011}
29012
29013
554f62e9
RD
29014SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29015 PyObject *resultobj = 0;
29016 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29017 void *argp1 = 0 ;
29018 int res1 = 0 ;
29019 PyObject *swig_obj[1] ;
29020
29021 if (!args) SWIG_fail;
29022 swig_obj[0] = args;
29023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29024 if (!SWIG_IsOK(res1)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29026 }
29027 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29028 {
29029 PyThreadState* __tstate = wxPyBeginAllowThreads();
29030 (arg1)->OnFirst();
29031 wxPyEndAllowThreads(__tstate);
29032 if (PyErr_Occurred()) SWIG_fail;
29033 }
29034 resultobj = SWIG_Py_Void();
29035 return resultobj;
29036fail:
29037 return NULL;
d55e5bfc
RD
29038}
29039
29040
554f62e9
RD
29041SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29042 PyObject *resultobj = 0;
29043 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29044 void *argp1 = 0 ;
29045 int res1 = 0 ;
29046 PyObject *swig_obj[1] ;
29047
29048 if (!args) SWIG_fail;
29049 swig_obj[0] = args;
29050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29051 if (!SWIG_IsOK(res1)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29053 }
29054 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29055 {
29056 PyThreadState* __tstate = wxPyBeginAllowThreads();
29057 (arg1)->OnLast();
29058 wxPyEndAllowThreads(__tstate);
29059 if (PyErr_Occurred()) SWIG_fail;
29060 }
29061 resultobj = SWIG_Py_Void();
29062 return resultobj;
29063fail:
29064 return NULL;
d55e5bfc
RD
29065}
29066
29067
554f62e9
RD
29068SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29069 PyObject *resultobj = 0;
29070 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29071 void *argp1 = 0 ;
29072 int res1 = 0 ;
29073 PyObject *swig_obj[1] ;
29074
29075 if (!args) SWIG_fail;
29076 swig_obj[0] = args;
29077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29078 if (!SWIG_IsOK(res1)) {
29079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29080 }
29081 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29082 {
29083 PyThreadState* __tstate = wxPyBeginAllowThreads();
29084 (arg1)->OnGoto();
29085 wxPyEndAllowThreads(__tstate);
29086 if (PyErr_Occurred()) SWIG_fail;
29087 }
29088 resultobj = SWIG_Py_Void();
29089 return resultobj;
29090fail:
29091 return NULL;
d55e5bfc
RD
29092}
29093
29094
554f62e9
RD
29095SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29096 PyObject *obj;
29097 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29098 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29099 return SWIG_Py_Void();
d55e5bfc
RD
29100}
29101
554f62e9
RD
29102SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29103 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
29104}
29105
554f62e9
RD
29106SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29107 PyObject *resultobj = 0;
29108 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29109 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29110 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29111 wxPrintPreview *result = 0 ;
29112 int res1 = 0 ;
29113 int res2 = 0 ;
29114 void *argp3 = 0 ;
29115 int res3 = 0 ;
29116
29117 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29118 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29119 if (!SWIG_IsOK(res1)) {
29120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29121 }
29122 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29123 if (!SWIG_IsOK(res2)) {
29124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29125 }
29126 if (swig_obj[2]) {
29127 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29128 if (!SWIG_IsOK(res3)) {
29129 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29130 }
29131 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29132 }
29133 {
29134 if (!wxPyCheckForApp()) SWIG_fail;
29135 PyThreadState* __tstate = wxPyBeginAllowThreads();
29136 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29141 return resultobj;
29142fail:
29143 return NULL;
29144}
29145
29146
29147SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29148 PyObject *resultobj = 0;
29149 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29150 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29151 wxPrintData *arg3 = (wxPrintData *) 0 ;
29152 wxPrintPreview *result = 0 ;
29153 int res1 = 0 ;
29154 int res2 = 0 ;
29155 void *argp3 = 0 ;
29156 int res3 = 0 ;
29157
29158 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29159 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29160 if (!SWIG_IsOK(res1)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29162 }
29163 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29164 if (!SWIG_IsOK(res2)) {
29165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29166 }
29167 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29168 if (!SWIG_IsOK(res3)) {
29169 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29170 }
29171 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29172 {
29173 if (!wxPyCheckForApp()) SWIG_fail;
29174 PyThreadState* __tstate = wxPyBeginAllowThreads();
29175 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29176 wxPyEndAllowThreads(__tstate);
29177 if (PyErr_Occurred()) SWIG_fail;
29178 }
29179 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29180 return resultobj;
29181fail:
29182 return NULL;
d55e5bfc
RD
29183}
29184
29185
554f62e9
RD
29186SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29187 int argc;
29188 PyObject *argv[4];
29189
29190 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29191 --argc;
29192 if ((argc >= 2) && (argc <= 3)) {
29193 int _v = 0;
29194 if (argc > 2) {
29195 {
29196 void *vptr = 0;
29197 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29198 _v = SWIG_CheckState(res);
29199 }
29200 if (!_v) goto check_1;
d55e5bfc 29201 }
554f62e9
RD
29202 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29203 }
29204check_1:
29205
29206 if (argc == 3) {
29207 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29208 }
29209
29210fail:
29211 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29212 return NULL;
d55e5bfc
RD
29213}
29214
29215
554f62e9
RD
29216SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29217 PyObject *resultobj = 0;
29218 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29219 void *argp1 = 0 ;
29220 int res1 = 0 ;
29221 PyObject *swig_obj[1] ;
29222
29223 if (!args) SWIG_fail;
29224 swig_obj[0] = args;
29225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29226 if (!SWIG_IsOK(res1)) {
29227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29228 }
29229 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29230 {
29231 PyThreadState* __tstate = wxPyBeginAllowThreads();
29232 delete arg1;
caef1a4d 29233
554f62e9
RD
29234 wxPyEndAllowThreads(__tstate);
29235 if (PyErr_Occurred()) SWIG_fail;
29236 }
29237 resultobj = SWIG_Py_Void();
29238 return resultobj;
29239fail:
29240 return NULL;
29241}
29242
29243
29244SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29245 PyObject *resultobj = 0;
29246 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29247 int arg2 ;
29248 bool result;
29249 void *argp1 = 0 ;
29250 int res1 = 0 ;
29251 int val2 ;
29252 int ecode2 = 0 ;
29253 PyObject * obj0 = 0 ;
29254 PyObject * obj1 = 0 ;
29255 char * kwnames[] = {
29256 (char *) "self",(char *) "pageNum", NULL
29257 };
29258
29259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29261 if (!SWIG_IsOK(res1)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29263 }
29264 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29265 ecode2 = SWIG_AsVal_int(obj1, &val2);
29266 if (!SWIG_IsOK(ecode2)) {
29267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29268 }
29269 arg2 = static_cast< int >(val2);
29270 {
29271 PyThreadState* __tstate = wxPyBeginAllowThreads();
29272 result = (bool)(arg1)->SetCurrentPage(arg2);
29273 wxPyEndAllowThreads(__tstate);
29274 if (PyErr_Occurred()) SWIG_fail;
29275 }
29276 {
29277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29278 }
29279 return resultobj;
29280fail:
29281 return NULL;
caef1a4d
RD
29282}
29283
29284
554f62e9
RD
29285SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29286 PyObject *resultobj = 0;
29287 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29288 int result;
29289 void *argp1 = 0 ;
29290 int res1 = 0 ;
29291 PyObject *swig_obj[1] ;
29292
29293 if (!args) SWIG_fail;
29294 swig_obj[0] = args;
29295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29296 if (!SWIG_IsOK(res1)) {
29297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29298 }
29299 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29300 {
29301 PyThreadState* __tstate = wxPyBeginAllowThreads();
29302 result = (int)(arg1)->GetCurrentPage();
29303 wxPyEndAllowThreads(__tstate);
29304 if (PyErr_Occurred()) SWIG_fail;
29305 }
29306 resultobj = SWIG_From_int(static_cast< int >(result));
29307 return resultobj;
29308fail:
29309 return NULL;
29310}
29311
29312
29313SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29314 PyObject *resultobj = 0;
29315 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29316 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29317 void *argp1 = 0 ;
29318 int res1 = 0 ;
29319 int res2 = 0 ;
29320 PyObject * obj0 = 0 ;
29321 PyObject * obj1 = 0 ;
29322 char * kwnames[] = {
29323 (char *) "self",(char *) "printout", NULL
29324 };
29325
29326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29328 if (!SWIG_IsOK(res1)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29330 }
29331 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29332 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29333 if (!SWIG_IsOK(res2)) {
29334 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29335 }
29336 {
29337 PyThreadState* __tstate = wxPyBeginAllowThreads();
29338 (arg1)->SetPrintout(arg2);
29339 wxPyEndAllowThreads(__tstate);
29340 if (PyErr_Occurred()) SWIG_fail;
29341 }
29342 resultobj = SWIG_Py_Void();
29343 return resultobj;
29344fail:
29345 return NULL;
8d38bd1d
RD
29346}
29347
29348
554f62e9
RD
29349SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29350 PyObject *resultobj = 0;
29351 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29352 wxPyPrintout *result = 0 ;
29353 void *argp1 = 0 ;
29354 int res1 = 0 ;
29355 PyObject *swig_obj[1] ;
29356
29357 if (!args) SWIG_fail;
29358 swig_obj[0] = args;
29359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29360 if (!SWIG_IsOK(res1)) {
29361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29362 }
29363 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29364 {
29365 PyThreadState* __tstate = wxPyBeginAllowThreads();
29366 result = (wxPyPrintout *)(arg1)->GetPrintout();
29367 wxPyEndAllowThreads(__tstate);
29368 if (PyErr_Occurred()) SWIG_fail;
29369 }
29370 {
29371 resultobj = wxPyMake_wxObject(result, 0);
29372 }
29373 return resultobj;
29374fail:
29375 return NULL;
d55e5bfc
RD
29376}
29377
29378
554f62e9
RD
29379SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29380 PyObject *resultobj = 0;
29381 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29382 wxPyPrintout *result = 0 ;
29383 void *argp1 = 0 ;
29384 int res1 = 0 ;
29385 PyObject *swig_obj[1] ;
29386
29387 if (!args) SWIG_fail;
29388 swig_obj[0] = args;
29389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29390 if (!SWIG_IsOK(res1)) {
29391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29392 }
29393 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29394 {
29395 PyThreadState* __tstate = wxPyBeginAllowThreads();
29396 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29397 wxPyEndAllowThreads(__tstate);
29398 if (PyErr_Occurred()) SWIG_fail;
29399 }
29400 {
29401 resultobj = wxPyMake_wxObject(result, 0);
29402 }
29403 return resultobj;
29404fail:
29405 return NULL;
29406}
29407
29408
29409SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29410 PyObject *resultobj = 0;
29411 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29412 wxFrame *arg2 = (wxFrame *) 0 ;
29413 void *argp1 = 0 ;
29414 int res1 = 0 ;
29415 void *argp2 = 0 ;
29416 int res2 = 0 ;
29417 PyObject * obj0 = 0 ;
29418 PyObject * obj1 = 0 ;
29419 char * kwnames[] = {
29420 (char *) "self",(char *) "frame", NULL
29421 };
29422
29423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29425 if (!SWIG_IsOK(res1)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29427 }
29428 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29429 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29430 if (!SWIG_IsOK(res2)) {
29431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29432 }
29433 arg2 = reinterpret_cast< wxFrame * >(argp2);
29434 {
29435 PyThreadState* __tstate = wxPyBeginAllowThreads();
29436 (arg1)->SetFrame(arg2);
29437 wxPyEndAllowThreads(__tstate);
29438 if (PyErr_Occurred()) SWIG_fail;
29439 }
29440 resultobj = SWIG_Py_Void();
29441 return resultobj;
29442fail:
29443 return NULL;
29444}
29445
29446
29447SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29448 PyObject *resultobj = 0;
29449 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29450 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29451 void *argp1 = 0 ;
29452 int res1 = 0 ;
29453 void *argp2 = 0 ;
29454 int res2 = 0 ;
29455 PyObject * obj0 = 0 ;
29456 PyObject * obj1 = 0 ;
29457 char * kwnames[] = {
29458 (char *) "self",(char *) "canvas", NULL
29459 };
29460
29461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29463 if (!SWIG_IsOK(res1)) {
29464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29465 }
29466 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29468 if (!SWIG_IsOK(res2)) {
29469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29470 }
29471 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29472 {
29473 PyThreadState* __tstate = wxPyBeginAllowThreads();
29474 (arg1)->SetCanvas(arg2);
29475 wxPyEndAllowThreads(__tstate);
29476 if (PyErr_Occurred()) SWIG_fail;
29477 }
29478 resultobj = SWIG_Py_Void();
29479 return resultobj;
29480fail:
29481 return NULL;
d55e5bfc
RD
29482}
29483
29484
554f62e9
RD
29485SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29486 PyObject *resultobj = 0;
29487 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29488 wxFrame *result = 0 ;
29489 void *argp1 = 0 ;
29490 int res1 = 0 ;
29491 PyObject *swig_obj[1] ;
29492
29493 if (!args) SWIG_fail;
29494 swig_obj[0] = args;
29495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29496 if (!SWIG_IsOK(res1)) {
29497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29498 }
29499 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29500 {
29501 PyThreadState* __tstate = wxPyBeginAllowThreads();
29502 result = (wxFrame *)(arg1)->GetFrame();
29503 wxPyEndAllowThreads(__tstate);
29504 if (PyErr_Occurred()) SWIG_fail;
29505 }
29506 {
29507 resultobj = wxPyMake_wxObject(result, 0);
29508 }
29509 return resultobj;
29510fail:
29511 return NULL;
d55e5bfc
RD
29512}
29513
29514
554f62e9
RD
29515SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29516 PyObject *resultobj = 0;
29517 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29518 wxPreviewCanvas *result = 0 ;
29519 void *argp1 = 0 ;
29520 int res1 = 0 ;
29521 PyObject *swig_obj[1] ;
29522
29523 if (!args) SWIG_fail;
29524 swig_obj[0] = args;
29525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29526 if (!SWIG_IsOK(res1)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29528 }
29529 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29530 {
29531 PyThreadState* __tstate = wxPyBeginAllowThreads();
29532 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29533 wxPyEndAllowThreads(__tstate);
29534 if (PyErr_Occurred()) SWIG_fail;
29535 }
29536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29537 return resultobj;
29538fail:
29539 return NULL;
29540}
29541
29542
29543SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29544 PyObject *resultobj = 0;
29545 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29546 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29547 wxDC *arg3 = 0 ;
29548 bool result;
29549 void *argp1 = 0 ;
29550 int res1 = 0 ;
29551 void *argp2 = 0 ;
29552 int res2 = 0 ;
29553 void *argp3 = 0 ;
29554 int res3 = 0 ;
29555 PyObject * obj0 = 0 ;
29556 PyObject * obj1 = 0 ;
29557 PyObject * obj2 = 0 ;
29558 char * kwnames[] = {
29559 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29560 };
29561
29562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29564 if (!SWIG_IsOK(res1)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29566 }
29567 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29568 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29569 if (!SWIG_IsOK(res2)) {
29570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29571 }
29572 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29573 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29574 if (!SWIG_IsOK(res3)) {
29575 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29576 }
29577 if (!argp3) {
29578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29579 }
29580 arg3 = reinterpret_cast< wxDC * >(argp3);
29581 {
29582 PyThreadState* __tstate = wxPyBeginAllowThreads();
29583 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29584 wxPyEndAllowThreads(__tstate);
29585 if (PyErr_Occurred()) SWIG_fail;
29586 }
29587 {
29588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29589 }
29590 return resultobj;
29591fail:
29592 return NULL;
29593}
29594
29595
29596SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29597 PyObject *resultobj = 0;
29598 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29599 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29600 wxDC *arg3 = 0 ;
29601 bool result;
29602 void *argp1 = 0 ;
29603 int res1 = 0 ;
29604 void *argp2 = 0 ;
29605 int res2 = 0 ;
29606 void *argp3 = 0 ;
29607 int res3 = 0 ;
29608 PyObject * obj0 = 0 ;
29609 PyObject * obj1 = 0 ;
29610 PyObject * obj2 = 0 ;
29611 char * kwnames[] = {
29612 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29613 };
29614
29615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29617 if (!SWIG_IsOK(res1)) {
29618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29619 }
29620 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29621 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29622 if (!SWIG_IsOK(res2)) {
29623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29624 }
29625 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29626 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29627 if (!SWIG_IsOK(res3)) {
29628 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29629 }
29630 if (!argp3) {
29631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29632 }
29633 arg3 = reinterpret_cast< wxDC * >(argp3);
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29637 wxPyEndAllowThreads(__tstate);
29638 if (PyErr_Occurred()) SWIG_fail;
29639 }
29640 {
29641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29642 }
29643 return resultobj;
29644fail:
29645 return NULL;
29646}
29647
29648
29649SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29650 PyObject *resultobj = 0;
29651 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29652 int arg2 ;
29653 bool result;
29654 void *argp1 = 0 ;
29655 int res1 = 0 ;
29656 int val2 ;
29657 int ecode2 = 0 ;
29658 PyObject * obj0 = 0 ;
29659 PyObject * obj1 = 0 ;
29660 char * kwnames[] = {
29661 (char *) "self",(char *) "pageNum", NULL
29662 };
29663
29664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29666 if (!SWIG_IsOK(res1)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29668 }
29669 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29670 ecode2 = SWIG_AsVal_int(obj1, &val2);
29671 if (!SWIG_IsOK(ecode2)) {
29672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29673 }
29674 arg2 = static_cast< int >(val2);
29675 {
29676 PyThreadState* __tstate = wxPyBeginAllowThreads();
29677 result = (bool)(arg1)->RenderPage(arg2);
29678 wxPyEndAllowThreads(__tstate);
29679 if (PyErr_Occurred()) SWIG_fail;
29680 }
29681 {
29682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29683 }
29684 return resultobj;
29685fail:
29686 return NULL;
29687}
29688
29689
29690SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29691 PyObject *resultobj = 0;
29692 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29693 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29694 void *argp1 = 0 ;
29695 int res1 = 0 ;
29696 void *argp2 = 0 ;
29697 int res2 = 0 ;
29698 PyObject * obj0 = 0 ;
29699 PyObject * obj1 = 0 ;
29700 char * kwnames[] = {
29701 (char *) "self",(char *) "canvas", NULL
29702 };
29703
29704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29706 if (!SWIG_IsOK(res1)) {
29707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29708 }
29709 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29710 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29711 if (!SWIG_IsOK(res2)) {
29712 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29713 }
29714 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29715 {
29716 PyThreadState* __tstate = wxPyBeginAllowThreads();
29717 (arg1)->AdjustScrollbars(arg2);
29718 wxPyEndAllowThreads(__tstate);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 }
29721 resultobj = SWIG_Py_Void();
29722 return resultobj;
29723fail:
29724 return NULL;
caef1a4d
RD
29725}
29726
29727
554f62e9
RD
29728SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29729 PyObject *resultobj = 0;
29730 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29731 wxPrintDialogData *result = 0 ;
29732 void *argp1 = 0 ;
29733 int res1 = 0 ;
29734 PyObject *swig_obj[1] ;
29735
29736 if (!args) SWIG_fail;
29737 swig_obj[0] = args;
29738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29739 if (!SWIG_IsOK(res1)) {
29740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29741 }
29742 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29743 {
29744 PyThreadState* __tstate = wxPyBeginAllowThreads();
60d5fcc1 29745 {
554f62e9
RD
29746 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29747 result = (wxPrintDialogData *) &_result_ref;
60d5fcc1 29748 }
554f62e9
RD
29749 wxPyEndAllowThreads(__tstate);
29750 if (PyErr_Occurred()) SWIG_fail;
29751 }
29752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29753 return resultobj;
29754fail:
29755 return NULL;
29756}
29757
29758
29759SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29760 PyObject *resultobj = 0;
29761 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29762 int arg2 ;
29763 void *argp1 = 0 ;
29764 int res1 = 0 ;
29765 int val2 ;
29766 int ecode2 = 0 ;
29767 PyObject * obj0 = 0 ;
29768 PyObject * obj1 = 0 ;
29769 char * kwnames[] = {
29770 (char *) "self",(char *) "percent", NULL
29771 };
29772
29773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29775 if (!SWIG_IsOK(res1)) {
29776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29777 }
29778 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29779 ecode2 = SWIG_AsVal_int(obj1, &val2);
29780 if (!SWIG_IsOK(ecode2)) {
29781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29782 }
29783 arg2 = static_cast< int >(val2);
29784 {
29785 PyThreadState* __tstate = wxPyBeginAllowThreads();
29786 (arg1)->SetZoom(arg2);
29787 wxPyEndAllowThreads(__tstate);
29788 if (PyErr_Occurred()) SWIG_fail;
29789 }
29790 resultobj = SWIG_Py_Void();
29791 return resultobj;
29792fail:
29793 return NULL;
60d5fcc1
RD
29794}
29795
29796
554f62e9
RD
29797SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29798 PyObject *resultobj = 0;
29799 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29800 int result;
29801 void *argp1 = 0 ;
29802 int res1 = 0 ;
29803 PyObject *swig_obj[1] ;
29804
29805 if (!args) SWIG_fail;
29806 swig_obj[0] = args;
29807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29808 if (!SWIG_IsOK(res1)) {
29809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29810 }
29811 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29812 {
29813 PyThreadState* __tstate = wxPyBeginAllowThreads();
29814 result = (int)(arg1)->GetZoom();
29815 wxPyEndAllowThreads(__tstate);
29816 if (PyErr_Occurred()) SWIG_fail;
29817 }
29818 resultobj = SWIG_From_int(static_cast< int >(result));
29819 return resultobj;
29820fail:
29821 return NULL;
d55e5bfc
RD
29822}
29823
29824
554f62e9
RD
29825SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29826 PyObject *resultobj = 0;
29827 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29828 int result;
29829 void *argp1 = 0 ;
29830 int res1 = 0 ;
29831 PyObject *swig_obj[1] ;
29832
29833 if (!args) SWIG_fail;
29834 swig_obj[0] = args;
29835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29836 if (!SWIG_IsOK(res1)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29838 }
29839 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29840 {
29841 PyThreadState* __tstate = wxPyBeginAllowThreads();
29842 result = (int)(arg1)->GetMaxPage();
29843 wxPyEndAllowThreads(__tstate);
29844 if (PyErr_Occurred()) SWIG_fail;
29845 }
29846 resultobj = SWIG_From_int(static_cast< int >(result));
29847 return resultobj;
29848fail:
29849 return NULL;
d55e5bfc
RD
29850}
29851
29852
554f62e9
RD
29853SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29854 PyObject *resultobj = 0;
29855 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29856 int result;
29857 void *argp1 = 0 ;
29858 int res1 = 0 ;
29859 PyObject *swig_obj[1] ;
29860
29861 if (!args) SWIG_fail;
29862 swig_obj[0] = args;
29863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29864 if (!SWIG_IsOK(res1)) {
29865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29866 }
29867 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29868 {
29869 PyThreadState* __tstate = wxPyBeginAllowThreads();
29870 result = (int)(arg1)->GetMinPage();
29871 wxPyEndAllowThreads(__tstate);
29872 if (PyErr_Occurred()) SWIG_fail;
29873 }
29874 resultobj = SWIG_From_int(static_cast< int >(result));
29875 return resultobj;
29876fail:
29877 return NULL;
d55e5bfc
RD
29878}
29879
29880
554f62e9
RD
29881SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29882 PyObject *resultobj = 0;
29883 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29884 bool result;
29885 void *argp1 = 0 ;
29886 int res1 = 0 ;
29887 PyObject *swig_obj[1] ;
29888
29889 if (!args) SWIG_fail;
29890 swig_obj[0] = args;
29891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29892 if (!SWIG_IsOK(res1)) {
29893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29894 }
29895 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29896 {
29897 PyThreadState* __tstate = wxPyBeginAllowThreads();
29898 result = (bool)(arg1)->Ok();
29899 wxPyEndAllowThreads(__tstate);
29900 if (PyErr_Occurred()) SWIG_fail;
29901 }
29902 {
29903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29904 }
29905 return resultobj;
29906fail:
29907 return NULL;
29908}
29909
29910
29911SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29912 PyObject *resultobj = 0;
29913 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29914 bool arg2 ;
29915 void *argp1 = 0 ;
29916 int res1 = 0 ;
29917 bool val2 ;
29918 int ecode2 = 0 ;
29919 PyObject * obj0 = 0 ;
29920 PyObject * obj1 = 0 ;
29921 char * kwnames[] = {
29922 (char *) "self",(char *) "ok", NULL
29923 };
29924
29925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29927 if (!SWIG_IsOK(res1)) {
29928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29929 }
29930 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29931 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29932 if (!SWIG_IsOK(ecode2)) {
29933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29934 }
29935 arg2 = static_cast< bool >(val2);
29936 {
29937 PyThreadState* __tstate = wxPyBeginAllowThreads();
29938 (arg1)->SetOk(arg2);
29939 wxPyEndAllowThreads(__tstate);
29940 if (PyErr_Occurred()) SWIG_fail;
29941 }
29942 resultobj = SWIG_Py_Void();
29943 return resultobj;
29944fail:
29945 return NULL;
29946}
29947
29948
29949SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29950 PyObject *resultobj = 0;
29951 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29952 bool arg2 ;
29953 bool result;
29954 void *argp1 = 0 ;
29955 int res1 = 0 ;
29956 bool val2 ;
29957 int ecode2 = 0 ;
29958 PyObject * obj0 = 0 ;
29959 PyObject * obj1 = 0 ;
29960 char * kwnames[] = {
29961 (char *) "self",(char *) "interactive", NULL
29962 };
29963
29964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29966 if (!SWIG_IsOK(res1)) {
29967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29968 }
29969 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29970 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29971 if (!SWIG_IsOK(ecode2)) {
29972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29973 }
29974 arg2 = static_cast< bool >(val2);
29975 {
29976 PyThreadState* __tstate = wxPyBeginAllowThreads();
29977 result = (bool)(arg1)->Print(arg2);
29978 wxPyEndAllowThreads(__tstate);
29979 if (PyErr_Occurred()) SWIG_fail;
29980 }
29981 {
29982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29983 }
29984 return resultobj;
29985fail:
29986 return NULL;
d55e5bfc
RD
29987}
29988
29989
554f62e9
RD
29990SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29991 PyObject *resultobj = 0;
29992 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29993 void *argp1 = 0 ;
29994 int res1 = 0 ;
29995 PyObject *swig_obj[1] ;
29996
29997 if (!args) SWIG_fail;
29998 swig_obj[0] = args;
29999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30000 if (!SWIG_IsOK(res1)) {
30001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30002 }
30003 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30004 {
30005 PyThreadState* __tstate = wxPyBeginAllowThreads();
30006 (arg1)->DetermineScaling();
30007 wxPyEndAllowThreads(__tstate);
30008 if (PyErr_Occurred()) SWIG_fail;
30009 }
30010 resultobj = SWIG_Py_Void();
30011 return resultobj;
30012fail:
30013 return NULL;
d55e5bfc
RD
30014}
30015
30016
554f62e9
RD
30017SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30018 PyObject *obj;
30019 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30020 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30021 return SWIG_Py_Void();
d55e5bfc
RD
30022}
30023
554f62e9
RD
30024SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30025 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
30026}
30027
554f62e9
RD
30028SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30029 PyObject *resultobj = 0;
30030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30031 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30032 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30033 wxPyPrintPreview *result = 0 ;
30034 int res1 = 0 ;
30035 int res2 = 0 ;
30036 void *argp3 = 0 ;
30037 int res3 = 0 ;
30038
30039 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30040 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30041 if (!SWIG_IsOK(res1)) {
30042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30043 }
30044 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30045 if (!SWIG_IsOK(res2)) {
30046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30047 }
30048 if (swig_obj[2]) {
30049 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30050 if (!SWIG_IsOK(res3)) {
30051 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
d55e5bfc 30052 }
554f62e9
RD
30053 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30054 }
30055 {
30056 if (!wxPyCheckForApp()) SWIG_fail;
30057 PyThreadState* __tstate = wxPyBeginAllowThreads();
30058 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30059 wxPyEndAllowThreads(__tstate);
30060 if (PyErr_Occurred()) SWIG_fail;
30061 }
30062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30063 return resultobj;
30064fail:
30065 return NULL;
30066}
30067
30068
30069SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30070 PyObject *resultobj = 0;
30071 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30072 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30073 wxPrintData *arg3 = (wxPrintData *) 0 ;
30074 wxPyPrintPreview *result = 0 ;
30075 int res1 = 0 ;
30076 int res2 = 0 ;
30077 void *argp3 = 0 ;
30078 int res3 = 0 ;
30079
30080 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30081 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30082 if (!SWIG_IsOK(res1)) {
30083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30084 }
30085 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30086 if (!SWIG_IsOK(res2)) {
30087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30088 }
30089 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30090 if (!SWIG_IsOK(res3)) {
30091 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30092 }
30093 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30094 {
30095 if (!wxPyCheckForApp()) SWIG_fail;
30096 PyThreadState* __tstate = wxPyBeginAllowThreads();
30097 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30098 wxPyEndAllowThreads(__tstate);
30099 if (PyErr_Occurred()) SWIG_fail;
30100 }
30101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30102 return resultobj;
30103fail:
30104 return NULL;
d55e5bfc
RD
30105}
30106
30107
554f62e9
RD
30108SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30109 int argc;
30110 PyObject *argv[4];
30111
30112 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30113 --argc;
30114 if ((argc >= 2) && (argc <= 3)) {
30115 int _v = 0;
30116 if (argc > 2) {
30117 {
30118 void *vptr = 0;
30119 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30120 _v = SWIG_CheckState(res);
30121 }
30122 if (!_v) goto check_1;
d55e5bfc 30123 }
554f62e9
RD
30124 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30125 }
30126check_1:
30127
30128 if (argc == 3) {
30129 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30130 }
30131
30132fail:
30133 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30134 return NULL;
30135}
30136
30137
30138SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30139 PyObject *resultobj = 0;
30140 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30141 PyObject *arg2 = (PyObject *) 0 ;
30142 PyObject *arg3 = (PyObject *) 0 ;
30143 void *argp1 = 0 ;
30144 int res1 = 0 ;
30145 PyObject * obj0 = 0 ;
30146 PyObject * obj1 = 0 ;
30147 PyObject * obj2 = 0 ;
30148 char * kwnames[] = {
30149 (char *) "self",(char *) "self",(char *) "_class", NULL
30150 };
30151
30152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30154 if (!SWIG_IsOK(res1)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30156 }
30157 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30158 arg2 = obj1;
30159 arg3 = obj2;
30160 {
30161 PyThreadState* __tstate = wxPyBeginAllowThreads();
30162 (arg1)->_setCallbackInfo(arg2,arg3);
30163 wxPyEndAllowThreads(__tstate);
30164 if (PyErr_Occurred()) SWIG_fail;
30165 }
30166 resultobj = SWIG_Py_Void();
30167 return resultobj;
30168fail:
30169 return NULL;
30170}
30171
30172
30173SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30174 PyObject *obj;
30175 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30177 return SWIG_Py_Void();
30178}
30179
30180SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30181 return SWIG_Python_InitShadowInstance(args);
30182}
30183
30184SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30185 PyObject *resultobj = 0;
30186 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30187 wxFrame *arg2 = (wxFrame *) 0 ;
30188 wxString *arg3 = 0 ;
30189 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30190 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30191 wxSize const &arg5_defvalue = wxDefaultSize ;
30192 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30193 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30194 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30195 wxString *arg7 = (wxString *) &arg7_defvalue ;
30196 wxPyPreviewFrame *result = 0 ;
30197 void *argp1 = 0 ;
30198 int res1 = 0 ;
30199 void *argp2 = 0 ;
30200 int res2 = 0 ;
30201 bool temp3 = false ;
30202 wxPoint temp4 ;
30203 wxSize temp5 ;
30204 long val6 ;
30205 int ecode6 = 0 ;
30206 bool temp7 = false ;
30207 PyObject * obj0 = 0 ;
30208 PyObject * obj1 = 0 ;
30209 PyObject * obj2 = 0 ;
30210 PyObject * obj3 = 0 ;
30211 PyObject * obj4 = 0 ;
30212 PyObject * obj5 = 0 ;
30213 PyObject * obj6 = 0 ;
30214 char * kwnames[] = {
30215 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30216 };
30217
30218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30220 if (!SWIG_IsOK(res1)) {
30221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30222 }
30223 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30224 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30225 if (!SWIG_IsOK(res2)) {
30226 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30227 }
30228 arg2 = reinterpret_cast< wxFrame * >(argp2);
30229 {
30230 arg3 = wxString_in_helper(obj2);
30231 if (arg3 == NULL) SWIG_fail;
30232 temp3 = true;
30233 }
30234 if (obj3) {
d55e5bfc 30235 {
554f62e9
RD
30236 arg4 = &temp4;
30237 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30238 }
554f62e9
RD
30239 }
30240 if (obj4) {
d55e5bfc 30241 {
554f62e9
RD
30242 arg5 = &temp5;
30243 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30244 }
554f62e9
RD
30245 }
30246 if (obj5) {
30247 ecode6 = SWIG_AsVal_long(obj5, &val6);
30248 if (!SWIG_IsOK(ecode6)) {
30249 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30250 }
30251 arg6 = static_cast< long >(val6);
30252 }
30253 if (obj6) {
d55e5bfc 30254 {
554f62e9
RD
30255 arg7 = wxString_in_helper(obj6);
30256 if (arg7 == NULL) SWIG_fail;
30257 temp7 = true;
d55e5bfc 30258 }
554f62e9
RD
30259 }
30260 {
30261 if (!wxPyCheckForApp()) SWIG_fail;
30262 PyThreadState* __tstate = wxPyBeginAllowThreads();
30263 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30264 wxPyEndAllowThreads(__tstate);
30265 if (PyErr_Occurred()) SWIG_fail;
30266 }
30267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30268 {
30269 if (temp3)
30270 delete arg3;
30271 }
30272 {
30273 if (temp7)
30274 delete arg7;
30275 }
30276 return resultobj;
30277fail:
30278 {
30279 if (temp3)
30280 delete arg3;
30281 }
30282 {
30283 if (temp7)
30284 delete arg7;
30285 }
30286 return NULL;
30287}
30288
30289
30290SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30291 PyObject *resultobj = 0;
30292 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30293 PyObject *arg2 = (PyObject *) 0 ;
30294 PyObject *arg3 = (PyObject *) 0 ;
30295 void *argp1 = 0 ;
30296 int res1 = 0 ;
30297 PyObject * obj0 = 0 ;
30298 PyObject * obj1 = 0 ;
30299 PyObject * obj2 = 0 ;
30300 char * kwnames[] = {
30301 (char *) "self",(char *) "self",(char *) "_class", NULL
30302 };
30303
30304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30306 if (!SWIG_IsOK(res1)) {
30307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30308 }
30309 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30310 arg2 = obj1;
30311 arg3 = obj2;
30312 {
30313 PyThreadState* __tstate = wxPyBeginAllowThreads();
30314 (arg1)->_setCallbackInfo(arg2,arg3);
30315 wxPyEndAllowThreads(__tstate);
30316 if (PyErr_Occurred()) SWIG_fail;
30317 }
30318 resultobj = SWIG_Py_Void();
30319 return resultobj;
30320fail:
30321 return NULL;
30322}
30323
30324
30325SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30326 PyObject *resultobj = 0;
30327 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30328 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30329 void *argp1 = 0 ;
30330 int res1 = 0 ;
30331 void *argp2 = 0 ;
30332 int res2 = 0 ;
30333 PyObject * obj0 = 0 ;
30334 PyObject * obj1 = 0 ;
30335 char * kwnames[] = {
30336 (char *) "self",(char *) "canvas", NULL
30337 };
30338
30339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30341 if (!SWIG_IsOK(res1)) {
30342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30343 }
30344 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30345 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30346 if (!SWIG_IsOK(res2)) {
30347 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30348 }
30349 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30350 {
30351 PyThreadState* __tstate = wxPyBeginAllowThreads();
30352 (arg1)->SetPreviewCanvas(arg2);
30353 wxPyEndAllowThreads(__tstate);
30354 if (PyErr_Occurred()) SWIG_fail;
30355 }
30356 resultobj = SWIG_Py_Void();
30357 return resultobj;
30358fail:
30359 return NULL;
30360}
30361
30362
30363SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30364 PyObject *resultobj = 0;
30365 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30366 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30367 void *argp1 = 0 ;
30368 int res1 = 0 ;
30369 void *argp2 = 0 ;
30370 int res2 = 0 ;
30371 PyObject * obj0 = 0 ;
30372 PyObject * obj1 = 0 ;
30373 char * kwnames[] = {
30374 (char *) "self",(char *) "bar", NULL
30375 };
30376
30377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30379 if (!SWIG_IsOK(res1)) {
30380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30381 }
30382 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30383 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30384 if (!SWIG_IsOK(res2)) {
30385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30386 }
30387 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30388 {
30389 PyThreadState* __tstate = wxPyBeginAllowThreads();
30390 (arg1)->SetControlBar(arg2);
30391 wxPyEndAllowThreads(__tstate);
30392 if (PyErr_Occurred()) SWIG_fail;
30393 }
30394 resultobj = SWIG_Py_Void();
30395 return resultobj;
30396fail:
30397 return NULL;
d55e5bfc
RD
30398}
30399
30400
554f62e9
RD
30401SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30402 PyObject *resultobj = 0;
30403 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30404 void *argp1 = 0 ;
30405 int res1 = 0 ;
30406 PyObject *swig_obj[1] ;
30407
30408 if (!args) SWIG_fail;
30409 swig_obj[0] = args;
30410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30411 if (!SWIG_IsOK(res1)) {
30412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30413 }
30414 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30415 {
30416 PyThreadState* __tstate = wxPyBeginAllowThreads();
30417 (arg1)->Initialize();
30418 wxPyEndAllowThreads(__tstate);
30419 if (PyErr_Occurred()) SWIG_fail;
30420 }
30421 resultobj = SWIG_Py_Void();
30422 return resultobj;
30423fail:
30424 return NULL;
d55e5bfc
RD
30425}
30426
30427
554f62e9
RD
30428SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30429 PyObject *resultobj = 0;
30430 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30431 void *argp1 = 0 ;
30432 int res1 = 0 ;
30433 PyObject *swig_obj[1] ;
30434
30435 if (!args) SWIG_fail;
30436 swig_obj[0] = args;
30437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30438 if (!SWIG_IsOK(res1)) {
30439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30440 }
30441 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30442 {
30443 PyThreadState* __tstate = wxPyBeginAllowThreads();
30444 (arg1)->CreateCanvas();
30445 wxPyEndAllowThreads(__tstate);
30446 if (PyErr_Occurred()) SWIG_fail;
30447 }
30448 resultobj = SWIG_Py_Void();
30449 return resultobj;
30450fail:
30451 return NULL;
caef1a4d
RD
30452}
30453
30454
554f62e9
RD
30455SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30456 PyObject *resultobj = 0;
30457 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30458 void *argp1 = 0 ;
30459 int res1 = 0 ;
30460 PyObject *swig_obj[1] ;
30461
30462 if (!args) SWIG_fail;
30463 swig_obj[0] = args;
30464 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30465 if (!SWIG_IsOK(res1)) {
30466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30467 }
30468 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30469 {
30470 PyThreadState* __tstate = wxPyBeginAllowThreads();
30471 (arg1)->CreateControlBar();
30472 wxPyEndAllowThreads(__tstate);
30473 if (PyErr_Occurred()) SWIG_fail;
30474 }
30475 resultobj = SWIG_Py_Void();
30476 return resultobj;
30477fail:
30478 return NULL;
30479}
30480
30481
30482SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30483 PyObject *obj;
30484 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30485 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30486 return SWIG_Py_Void();
30487}
30488
30489SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30490 return SWIG_Python_InitShadowInstance(args);
30491}
30492
30493SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30494 PyObject *resultobj = 0;
30495 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30496 long arg2 ;
30497 wxWindow *arg3 = (wxWindow *) 0 ;
30498 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30499 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30500 wxSize const &arg5_defvalue = wxDefaultSize ;
30501 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30502 long arg6 = (long) 0 ;
30503 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30504 wxString *arg7 = (wxString *) &arg7_defvalue ;
30505 wxPyPreviewControlBar *result = 0 ;
30506 void *argp1 = 0 ;
30507 int res1 = 0 ;
30508 long val2 ;
30509 int ecode2 = 0 ;
30510 void *argp3 = 0 ;
30511 int res3 = 0 ;
30512 wxPoint temp4 ;
30513 wxSize temp5 ;
30514 long val6 ;
30515 int ecode6 = 0 ;
30516 bool temp7 = false ;
30517 PyObject * obj0 = 0 ;
30518 PyObject * obj1 = 0 ;
30519 PyObject * obj2 = 0 ;
30520 PyObject * obj3 = 0 ;
30521 PyObject * obj4 = 0 ;
30522 PyObject * obj5 = 0 ;
30523 PyObject * obj6 = 0 ;
30524 char * kwnames[] = {
30525 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30526 };
30527
30528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30530 if (!SWIG_IsOK(res1)) {
30531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30532 }
30533 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30534 ecode2 = SWIG_AsVal_long(obj1, &val2);
30535 if (!SWIG_IsOK(ecode2)) {
30536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30537 }
30538 arg2 = static_cast< long >(val2);
30539 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30540 if (!SWIG_IsOK(res3)) {
30541 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30542 }
30543 arg3 = reinterpret_cast< wxWindow * >(argp3);
30544 if (obj3) {
8d38bd1d 30545 {
554f62e9
RD
30546 arg4 = &temp4;
30547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30548 }
554f62e9
RD
30549 }
30550 if (obj4) {
d55e5bfc 30551 {
554f62e9
RD
30552 arg5 = &temp5;
30553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30554 }
554f62e9
RD
30555 }
30556 if (obj5) {
30557 ecode6 = SWIG_AsVal_long(obj5, &val6);
30558 if (!SWIG_IsOK(ecode6)) {
30559 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30560 }
30561 arg6 = static_cast< long >(val6);
30562 }
30563 if (obj6) {
d55e5bfc 30564 {
554f62e9
RD
30565 arg7 = wxString_in_helper(obj6);
30566 if (arg7 == NULL) SWIG_fail;
30567 temp7 = true;
d55e5bfc 30568 }
554f62e9
RD
30569 }
30570 {
30571 if (!wxPyCheckForApp()) SWIG_fail;
30572 PyThreadState* __tstate = wxPyBeginAllowThreads();
30573 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30574 wxPyEndAllowThreads(__tstate);
30575 if (PyErr_Occurred()) SWIG_fail;
30576 }
30577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30578 {
30579 if (temp7)
30580 delete arg7;
30581 }
30582 return resultobj;
30583fail:
30584 {
30585 if (temp7)
30586 delete arg7;
30587 }
30588 return NULL;
30589}
30590
30591
30592SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30593 PyObject *resultobj = 0;
30594 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30595 PyObject *arg2 = (PyObject *) 0 ;
30596 PyObject *arg3 = (PyObject *) 0 ;
30597 void *argp1 = 0 ;
30598 int res1 = 0 ;
30599 PyObject * obj0 = 0 ;
30600 PyObject * obj1 = 0 ;
30601 PyObject * obj2 = 0 ;
30602 char * kwnames[] = {
30603 (char *) "self",(char *) "self",(char *) "_class", NULL
30604 };
30605
30606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30608 if (!SWIG_IsOK(res1)) {
30609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30610 }
30611 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30612 arg2 = obj1;
30613 arg3 = obj2;
30614 {
30615 PyThreadState* __tstate = wxPyBeginAllowThreads();
30616 (arg1)->_setCallbackInfo(arg2,arg3);
30617 wxPyEndAllowThreads(__tstate);
30618 if (PyErr_Occurred()) SWIG_fail;
30619 }
30620 resultobj = SWIG_Py_Void();
30621 return resultobj;
30622fail:
30623 return NULL;
30624}
30625
30626
30627SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30628 PyObject *resultobj = 0;
30629 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30630 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30631 void *argp1 = 0 ;
30632 int res1 = 0 ;
30633 void *argp2 = 0 ;
30634 int res2 = 0 ;
30635 PyObject * obj0 = 0 ;
30636 PyObject * obj1 = 0 ;
30637 char * kwnames[] = {
30638 (char *) "self",(char *) "preview", NULL
30639 };
30640
30641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30643 if (!SWIG_IsOK(res1)) {
30644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30645 }
30646 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30647 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30648 if (!SWIG_IsOK(res2)) {
30649 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30650 }
30651 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30652 {
30653 PyThreadState* __tstate = wxPyBeginAllowThreads();
30654 (arg1)->SetPrintPreview(arg2);
30655 wxPyEndAllowThreads(__tstate);
30656 if (PyErr_Occurred()) SWIG_fail;
30657 }
30658 resultobj = SWIG_Py_Void();
30659 return resultobj;
30660fail:
30661 return NULL;
d55e5bfc
RD
30662}
30663
30664
554f62e9
RD
30665SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30666 PyObject *resultobj = 0;
30667 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30668 void *argp1 = 0 ;
30669 int res1 = 0 ;
30670 PyObject *swig_obj[1] ;
30671
30672 if (!args) SWIG_fail;
30673 swig_obj[0] = args;
30674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30675 if (!SWIG_IsOK(res1)) {
30676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30677 }
30678 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30679 {
30680 PyThreadState* __tstate = wxPyBeginAllowThreads();
30681 (arg1)->CreateButtons();
30682 wxPyEndAllowThreads(__tstate);
30683 if (PyErr_Occurred()) SWIG_fail;
30684 }
30685 resultobj = SWIG_Py_Void();
30686 return resultobj;
30687fail:
30688 return NULL;
30689}
30690
30691
30692SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30693 PyObject *resultobj = 0;
30694 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30695 int arg2 ;
30696 void *argp1 = 0 ;
30697 int res1 = 0 ;
30698 int val2 ;
30699 int ecode2 = 0 ;
30700 PyObject * obj0 = 0 ;
30701 PyObject * obj1 = 0 ;
30702 char * kwnames[] = {
30703 (char *) "self",(char *) "zoom", NULL
30704 };
30705
30706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30708 if (!SWIG_IsOK(res1)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30710 }
30711 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30712 ecode2 = SWIG_AsVal_int(obj1, &val2);
30713 if (!SWIG_IsOK(ecode2)) {
30714 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30715 }
30716 arg2 = static_cast< int >(val2);
30717 {
30718 PyThreadState* __tstate = wxPyBeginAllowThreads();
30719 (arg1)->SetZoomControl(arg2);
30720 wxPyEndAllowThreads(__tstate);
30721 if (PyErr_Occurred()) SWIG_fail;
30722 }
30723 resultobj = SWIG_Py_Void();
30724 return resultobj;
30725fail:
30726 return NULL;
caef1a4d
RD
30727}
30728
30729
554f62e9
RD
30730SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30731 PyObject *obj;
30732 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30733 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30734 return SWIG_Py_Void();
60d5fcc1
RD
30735}
30736
554f62e9
RD
30737SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30738 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
30739}
30740
d55e5bfc 30741static PyMethodDef SwigMethods[] = {
093d3ff1 30742 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30743 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
093d3ff1 30744 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30745 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
093d3ff1
RD
30746 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
554f62e9 30748 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
093d3ff1 30749 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30750 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
30751 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30752 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30754 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30755 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30756 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30757 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
093d3ff1 30758 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30759 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
093d3ff1 30760 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30761 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30762 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
093d3ff1
RD
30763 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30764 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
554f62e9 30765 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
093d3ff1
RD
30766 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30767 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30768 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
093d3ff1 30769 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30770 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
093d3ff1
RD
30771 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30774 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30775 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30776 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
093d3ff1 30777 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30778 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
f460c29d 30779 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
554f62e9
RD
30780 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30781 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
093d3ff1
RD
30782 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30783 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30784 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30785 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
093d3ff1 30786 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30787 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
093d3ff1
RD
30788 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30789 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30790 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
093d3ff1 30791 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30792 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 30793 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
30794 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30795 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30796 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
093d3ff1 30797 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30798 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
093d3ff1 30799 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30800 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
093d3ff1
RD
30801 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30802 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30803 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
093d3ff1
RD
30804 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30805 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30809 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30810 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
093d3ff1 30811 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30812 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
093d3ff1
RD
30813 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30814 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30815 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30816 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
554f62e9 30818 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
093d3ff1 30819 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30820 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
093d3ff1
RD
30821 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30823 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 30824 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30825 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 30826 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30827 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
093d3ff1
RD
30828 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30829 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 30830 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30831 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30832 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
093d3ff1
RD
30833 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30834 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30835 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
554f62e9 30836 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
093d3ff1 30837 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30838 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
093d3ff1
RD
30839 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30840 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
554f62e9 30841 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30842 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30844 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
093d3ff1 30845 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30846 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30847 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30848 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30849 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30850 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
093d3ff1 30851 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
554f62e9 30852 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
093d3ff1 30853 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30854 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
093d3ff1
RD
30855 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30857 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
093d3ff1
RD
30858 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30864 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30866 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30867 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
093d3ff1
RD
30868 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30869 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
554f62e9 30870 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
093d3ff1 30871 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30872 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
093d3ff1 30873 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30874 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30875 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
093d3ff1 30876 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30877 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
093d3ff1
RD
30878 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30879 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30883 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30884 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
093d3ff1
RD
30885 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30886 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30887 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30888 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
093d3ff1 30889 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30890 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
093d3ff1 30891 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30892 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
093d3ff1 30893 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30894 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
093d3ff1 30895 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30896 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
093d3ff1 30897 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30898 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
093d3ff1
RD
30899 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30901 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30902 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30904 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30905 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30906 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30907 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
093d3ff1 30908 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30909 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30910 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30911 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
093d3ff1
RD
30912 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30917 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30918 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30919 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
093d3ff1 30920 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30921 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
093d3ff1
RD
30922 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30924 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30925 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
093d3ff1
RD
30926 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30928 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30929 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
093d3ff1 30930 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30931 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
093d3ff1 30932 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30933 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30934 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30935 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30936 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
093d3ff1 30937 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30938 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
093d3ff1 30939 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30940 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
093d3ff1 30941 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30942 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30943 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30945 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
093d3ff1 30946 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30947 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
093d3ff1 30948 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30949 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
093d3ff1 30950 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30951 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
093d3ff1 30952 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30953 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
093d3ff1 30954 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30955 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30956 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30957 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30958 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
093d3ff1 30959 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30960 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
093d3ff1 30961 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
554f62e9 30962 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30963 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30964 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
093d3ff1 30965 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
30966 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30967 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
093d3ff1
RD
30968 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
554f62e9
RD
30972 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30973 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30974 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
093d3ff1
RD
30975 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30976 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30977 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
554f62e9 30979 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
093d3ff1 30980 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30981 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
093d3ff1
RD
30982 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30983 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30985 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30986 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30987 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
093d3ff1
RD
30988 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30990 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
093d3ff1 30991 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30992 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30993 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30995 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
093d3ff1 30996 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
554f62e9 30997 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30998 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 30999 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31000 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31002 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31003 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31004 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31006 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31007 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31008 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31009 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31010 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31011 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
70b7a5fe 31012 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31013 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31014 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31015 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31017 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31018 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31019 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31020 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
093d3ff1
RD
31021 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31023 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31024 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31025 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
093d3ff1
RD
31026 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31027 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31028 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31029 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
093d3ff1 31030 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31031 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31032 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
093d3ff1 31033 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31034 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
093d3ff1
RD
31035 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31039 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31040 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
093d3ff1
RD
31041 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
31044 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31046 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
554f62e9 31047 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
093d3ff1 31048 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31049 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
093d3ff1
RD
31050 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31052 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31053 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31054 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31055 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31056 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31057 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31058 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
093d3ff1 31059 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31060 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31061 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31062 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
093d3ff1 31063 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31064 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
093d3ff1
RD
31065 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31066 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
554f62e9 31067 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31068 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31070 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31071 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31072 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31073 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31074 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
093d3ff1
RD
31075 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
554f62e9 31080 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
093d3ff1 31081 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31082 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
093d3ff1 31083 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31084 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
7449af73 31085 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31086 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31087 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31088 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
093d3ff1
RD
31089 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31091 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31092 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31093 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31094 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31095 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31096 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31099 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31101 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31102 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31103 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31104 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31105 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31106 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
31107 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31108 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31109 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
093d3ff1 31110 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31111 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31112 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31114 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
093d3ff1 31115 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31116 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31117 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31118 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31119 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
093d3ff1
RD
31120 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31122 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31123 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31124 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
093d3ff1
RD
31125 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31127 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31128 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
554f62e9
RD
31130 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31131 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31132 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
093d3ff1 31133 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31134 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31135 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31136 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31137 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31138 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31139 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
093d3ff1
RD
31140 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31146 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
554f62e9 31147 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
093d3ff1 31148 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31149 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
093d3ff1 31150 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31151 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
7449af73 31152 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31153 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31155 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31156 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31157 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31158 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
093d3ff1 31159 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31160 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31161 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31162 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31163 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31164 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31165 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
093d3ff1
RD
31166 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
554f62e9 31170 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31171 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31172 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31173 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31174 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31175 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
093d3ff1
RD
31176 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
554f62e9 31180 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
093d3ff1 31181 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31182 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
093d3ff1 31183 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31184 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
093d3ff1
RD
31185 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31186 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31187 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31188 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31189 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
093d3ff1 31190 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31191 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31192 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31193 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31194 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31195 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31196 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31197 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31198 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
093d3ff1 31199 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31200 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31202 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31203 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31204 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
093d3ff1 31205 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31206 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
093d3ff1 31207 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31208 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31209 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31210 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
093d3ff1
RD
31211 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31213 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31214 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31215 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
093d3ff1
RD
31216 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31218 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31219 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31221 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31223 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31224 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31225 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31226 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31227 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31228 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31229 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31230 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31231 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31232 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31233 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
093d3ff1
RD
31234 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31236 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31237 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31238 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31239 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31241 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31242 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31243 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31244 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31245 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31246 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31247 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
093d3ff1 31248 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
554f62e9 31249 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
093d3ff1 31250 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31251 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31252 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
60d5fcc1 31254 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70
RD
31255 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31259 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31260 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31261 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31262 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31263 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31264 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31265 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31266 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
554f62e9 31267 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31268 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
554f62e9
RD
31269 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31270 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31271 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31272 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31273 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31274 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31275 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31276 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31277 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31278 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31279 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31280 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31281 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
093d3ff1
RD
31282 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31285 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31292 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31293 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
093d3ff1 31294 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31295 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
b9d6a5f3 31296 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31297 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
554f62e9 31298 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
093d3ff1 31299 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
554f62e9 31300 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
093d3ff1
RD
31301 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31302 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31303 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31304 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31305 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31306 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31307 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31308 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31309 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31310 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31311 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31312 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31313 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31314 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31315 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31316 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31317 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31318 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31319 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31320 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
093d3ff1
RD
31321 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31322 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31329 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31330 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31331 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
093d3ff1 31332 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 31333 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31334 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31335 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
554f62e9
RD
31336 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31337 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31338 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
093d3ff1 31339 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31340 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31341 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
554f62e9
RD
31342 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31343 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31344 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31345 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31346 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31347 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31348 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31349 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31350 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31351 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
093d3ff1
RD
31352 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31354 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31355 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31361 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31362 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31363 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31365 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31366 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31367 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31368 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31369 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31370 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
093d3ff1
RD
31371 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31372 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
554f62e9 31373 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31374 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
f05326ba 31375 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
554f62e9
RD
31376 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31377 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31378 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31379 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
093d3ff1 31380 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
554f62e9 31381 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31382 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31383 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
093d3ff1
RD
31384 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31385 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31389 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31390 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31391 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
093d3ff1 31392 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
554f62e9 31393 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
093d3ff1 31394 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31395 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
093d3ff1 31396 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31397 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31398 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
093d3ff1
RD
31399 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31400 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31401 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
093d3ff1 31402 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31403 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
093d3ff1 31404 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31405 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
093d3ff1 31406 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31407 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31408 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
093d3ff1 31409 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
b06b3e70 31410 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31411 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31412 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31413 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31414 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
b06b3e70 31415 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31416 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
093d3ff1 31417 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
554f62e9 31418 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31419 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31420 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
554f62e9 31421 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
093d3ff1 31422 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31423 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31424 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31425 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31426 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
093d3ff1 31427 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31428 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31429 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31430 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
093d3ff1 31431 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31432 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31433 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31434 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31435 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31436 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31437 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
093d3ff1 31438 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 31439 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
093d3ff1 31440 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
554f62e9 31441 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
093d3ff1 31442 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31443 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
093d3ff1 31444 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31445 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31446 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
093d3ff1
RD
31447 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31449 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31450 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
093d3ff1
RD
31451 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31452 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31455 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
093d3ff1 31456 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31457 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31458 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31459 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31460 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
093d3ff1
RD
31461 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31463 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
093d3ff1 31464 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 31465 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31466 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31467 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31468 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
554f62e9 31469 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31470 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9
RD
31474 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31475 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31476 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
093d3ff1 31477 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
554f62e9 31478 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31479 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
554f62e9 31482 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
b06b3e70 31483 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31484 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
554f62e9 31485 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c32bde28 31486 { NULL, NULL, 0, NULL }
d55e5bfc
RD
31487};
31488
31489
31490/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31491
31492static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31493 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31494}
31495static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31496 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31497}
31498static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31499 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31500}
31501static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31502 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31503}
31504static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31505 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31506}
31507static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31508 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31509}
31510static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31511 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31512}
31513static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31514 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31515}
31516static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31517 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31518}
31519static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31520 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31521}
31522static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31523 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31524}
d55e5bfc
RD
31525static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31526 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31527}
2131d850
RD
31528static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31529 return (void *)((wxEvent *) ((wxPyEvent *) x));
31530}
d55e5bfc
RD
31531static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31532 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31533}
31534static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31535 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31536}
31537static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31538 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31539}
31540static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31541 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31542}
31543static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31544 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31545}
31546static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31547 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31548}
31549static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31550 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31551}
31552static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31553 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31554}
31555static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31556 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31557}
53aa7709
RD
31558static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31559 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31560}
2131d850
RD
31561static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31562 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31563}
d55e5bfc
RD
31564static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31565 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31566}
31567static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31568 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31569}
31570static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31571 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31572}
31573static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31574 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31575}
31576static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31577 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31578}
31579static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31580 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31581}
31582static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31583 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31584}
31585static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31586 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31587}
31588static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31589 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31590}
31591static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31592 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31593}
31594static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31595 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31596}
31597static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31598 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31599}
31600static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31601 return (void *)((wxEvent *) ((wxShowEvent *) x));
31602}
31603static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31604 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31605}
31606static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31607 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31608}
31609static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31610 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31611}
31612static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31613 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31614}
31615static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31616 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31617}
31618static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31619 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31620}
31621static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31622 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31623}
31624static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31625 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31626}
c1cb24a4
RD
31627static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31628 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31629}
d55e5bfc
RD
31630static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31631 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31632}
31633static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31634 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31635}
31636static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31637 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31638}
31639static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31640 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31641}
31642static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31643 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31644}
31645static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31646 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31647}
31648static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31649 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31650}
c1cb24a4
RD
31651static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31652 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31653}
d55e5bfc
RD
31654static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31655 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31656}
31657static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31658 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31659}
31660static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31661 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31662}
31663static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31664 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31665}
31666static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31667 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31668}
31669static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31670 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31671}
31672static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31673 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31674}
31675static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31676 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31677}
31678static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31679 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31680}
31681static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31682 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31683}
31684static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31685 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31686}
31687static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31688 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31689}
31690static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31691 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31692}
31693static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31694 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31695}
31696static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31697 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31698}
31699static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31700 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31701}
31702static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31703 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31704}
31705static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31706 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31707}
31708static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31709 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31710}
31711static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31712 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31713}
31714static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31715 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31716}
31717static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31718 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31719}
31720static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31721 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31722}
31723static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31724 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31725}
31726static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31727 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31728}
31729static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31730 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31731}
31732static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31733 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31734}
31735static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31736 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31737}
31738static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31739 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31740}
31741static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31742 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31743}
31744static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31745 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31746}
31747static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31748 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31749}
31750static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31751 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31752}
31753static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31754 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31755}
5e483524
RD
31756static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31757 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31758}
31759static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31760 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31761}
d55e5bfc
RD
31762static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31763 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31764}
31765static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31766 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31767}
31768static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31769 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31770}
c1cb24a4
RD
31771static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31772 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31773}
d55e5bfc
RD
31774static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31775 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31776}
31777static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31778 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31779}
31780static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31781 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31782}
31783static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31784 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31785}
31786static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31787 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31788}
31789static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31790 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31791}
31792static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31793 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31794}
31795static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31796 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31797}
31798static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31799 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31800}
31801static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31802 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31803}
31804static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31805 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31806}
31807static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31809}
31810static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31812}
31813static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31814 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31815}
31816static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31817 return (void *)((wxObject *) ((wxSizerItem *) x));
31818}
31819static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31821}
31822static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31823 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31824}
31825static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31826 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31827}
31828static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31829 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31830}
31831static void *_p_wxSizerTo_p_wxObject(void *x) {
31832 return (void *)((wxObject *) ((wxSizer *) x));
31833}
31834static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31835 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31836}
31837static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31838 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31839}
31840static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31842}
31843static void *_p_wxEventTo_p_wxObject(void *x) {
31844 return (void *)((wxObject *) ((wxEvent *) x));
31845}
31846static void *_p_wxFontDataTo_p_wxObject(void *x) {
31847 return (void *)((wxObject *) ((wxFontData *) x));
31848}
31849static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31850 return (void *)((wxObject *) ((wxPrintData *) x));
31851}
31852static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31853 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31854}
31855static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31856 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31857}
31858static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31859 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31860}
31861static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31862 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31863}
5e483524
RD
31864static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31865 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31866}
31867static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31869}
2131d850
RD
31870static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31872}
d55e5bfc
RD
31873static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31874 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31875}
31876static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31877 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31878}
31879static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31880 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31881}
31882static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31883 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31884}
31885static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31886 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31887}
31888static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31889 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31890}
31891static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31893}
31894static void *_p_wxControlTo_p_wxObject(void *x) {
31895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31896}
31897static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31898 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31899}
31900static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31901 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31902}
31903static void *_p_wxFSFileTo_p_wxObject(void *x) {
31904 return (void *)((wxObject *) ((wxFSFile *) x));
31905}
31906static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31907 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31908}
31909static void *_p_wxPySizerTo_p_wxObject(void *x) {
31910 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31911}
31912static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31914}
31915static void *_p_wxColourDataTo_p_wxObject(void *x) {
31916 return (void *)((wxObject *) ((wxColourData *) x));
31917}
31918static void *_p_wxPyEventTo_p_wxObject(void *x) {
31919 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31920}
31921static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31923}
31924static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31926}
31927static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31929}
31930static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31932}
31933static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31935}
31936static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31938}
31939static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31941}
c1cb24a4
RD
31942static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31944}
d55e5bfc
RD
31945static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31947}
31948static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31950}
31951static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31953}
31954static void *_p_wxShowEventTo_p_wxObject(void *x) {
31955 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31956}
31957static void *_p_wxPrinterTo_p_wxObject(void *x) {
31958 return (void *)((wxObject *) ((wxPrinter *) x));
31959}
31960static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31961 return (void *)((wxObject *) ((wxMenuItem *) x));
31962}
53aa7709
RD
31963static void *_p_wxDateEventTo_p_wxObject(void *x) {
31964 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31965}
d55e5bfc
RD
31966static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31967 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31968}
31969static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31970 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31971}
31972static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31973 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31974}
31975static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31976 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31977}
31978static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31979 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31980}
31981static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31982 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31983}
31984static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31985 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31986}
31987static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31988 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31989}
d55e5bfc
RD
31990static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31991 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31992}
31993static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31994 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31995}
31996static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31997 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31998}
31999static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32000 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32001}
32002static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32003 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32004}
32005static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32006 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32007}
32008static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32009 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32010}
32011static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32012 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32013}
32014static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32015 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32016}
9d7dfdff
RD
32017static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32018 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32019}
d55e5bfc
RD
32020static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32021 return (void *)((wxObject *) ((wxImageHandler *) x));
32022}
9d7dfdff
RD
32023static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32024 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32025}
d55e5bfc
RD
32026static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32027 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32028}
32029static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32030 return (void *)((wxObject *) ((wxEvtHandler *) x));
32031}
32032static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32033 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32034}
32035static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32037}
32038static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32040}
62d32a5f
RD
32041static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32042 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32043}
d55e5bfc
RD
32044static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32045 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32046}
32047static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32049}
32050static void *_p_wxImageTo_p_wxObject(void *x) {
32051 return (void *)((wxObject *) ((wxImage *) x));
32052}
32053static void *_p_wxFrameTo_p_wxObject(void *x) {
32054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32055}
32056static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32057 return (void *)((wxObject *) ((wxPyPrintout *) x));
32058}
32059static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32060 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32061}
32062static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32063 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32064}
32065static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32067}
32068static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32070}
32071static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32072 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32073}
32074static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32075 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32076}
32077static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32078 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32079}
32080static void *_p_wxWindowTo_p_wxObject(void *x) {
32081 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32082}
32083static void *_p_wxMenuTo_p_wxObject(void *x) {
32084 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32085}
32086static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32088}
32089static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32091}
32092static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32094}
32095static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32097}
32098static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32100}
32101static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32103}
32104static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32106}
32107static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32109}
32110static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32112}
32113static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32114 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32115}
32116static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32118}
32119static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32121}
32122static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32124}
32125static void *_p_wxSashEventTo_p_wxObject(void *x) {
32126 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32127}
32128static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32129 return (void *)((wxObject *) ((wxPrintPreview *) x));
32130}
32131static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32132 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32133}
32134static void *_p_wxPanelTo_p_wxObject(void *x) {
32135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32136}
32137static void *_p_wxDialogTo_p_wxObject(void *x) {
32138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32139}
32140static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32142}
32143static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32145}
32146static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32148}
32149static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 32150 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
32151}
32152static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 32153 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
32154}
32155static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32156 return (void *)((wxObject *) ((wxFileSystem *) x));
32157}
32158static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32159 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32160}
32161static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32162 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32163}
32164static void *_p_wxPyAppTo_p_wxObject(void *x) {
32165 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32166}
32167static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32168 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32169}
32170static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32171 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32172}
32173static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32174 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32175}
32176static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32177 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32178}
32179static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32180 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32181}
32182static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32184}
32185static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32187}
32188static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32189 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32190}
32191static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32192 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32193}
32194static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32195 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32196}
32197static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32199}
32200static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32201 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32202}
32203static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32204 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32205}
32206static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32207 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32208}
32209static void *_p_wxValidatorTo_p_wxObject(void *x) {
32210 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32211}
32212static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32213 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32214}
32215static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32216 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32217}
32218static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32219 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32220}
32221static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32222 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32223}
32224static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32225 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32226}
32227static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32228 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32229}
32230static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32231 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32232}
32233static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32234 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32235}
32236static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32237 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32238}
32239static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32240 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32241}
32242static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32243 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32244}
32245static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32246 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32247}
d55e5bfc
RD
32248static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32249 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32250}
32251static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32252 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32253}
32254static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32255 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32256}
d55e5bfc
RD
32257static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32258 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32259}
32260static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32261 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32262}
c1cb24a4
RD
32263static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32264 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32265}
d55e5bfc
RD
32266static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32267 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32268}
32269static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32270 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32271}
32272static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32273 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32274}
32275static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32276 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32277}
c1cb24a4
RD
32278static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32279 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32280}
d55e5bfc
RD
32281static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32282 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32283}
32284static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32285 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32286}
32287static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32288 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32289}
32290static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32291 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32292}
32293static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32294 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32295}
32296static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32297 return (void *)((wxWindow *) ((wxMenuBar *) x));
32298}
32299static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32300 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32301}
32302static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32303 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32304}
32305static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32306 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32307}
c1cb24a4
RD
32308static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32309 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32310}
d55e5bfc
RD
32311static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32312 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32313}
32314static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32315 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32316}
32317static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32318 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32319}
32320static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32321 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32322}
32323static void *_p_wxPanelTo_p_wxWindow(void *x) {
32324 return (void *)((wxWindow *) ((wxPanel *) x));
32325}
32326static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32327 return (void *)((wxWindow *) ((wxStatusBar *) x));
32328}
d55e5bfc
RD
32329static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32330 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32331}
32332static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32333 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32334}
32335static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32336 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32337}
32338static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32339 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32340}
32341static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32342 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32343}
32344static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32345 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32346}
32347static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32348 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32349}
32350static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32351 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32352}
32353static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32354 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32355}
32356static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32357 return (void *)((wxWindow *) ((wxSashWindow *) x));
32358}
c1cb24a4
RD
32359static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32360 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32361}
d55e5bfc
RD
32362static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32363 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32364}
32365static void *_p_wxControlTo_p_wxWindow(void *x) {
32366 return (void *)((wxWindow *) ((wxControl *) x));
32367}
32368static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32369 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32370}
32371static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32372 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32373}
32374static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32375 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32376}
32377static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32378 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32379}
32380static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32381 return (void *)((wxWindow *) ((wxPyWindow *) x));
32382}
32383static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32384 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32385}
32386static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32387 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32388}
32389static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32390 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32391}
32392static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32393 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32394}
32395static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32396 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32397}
32398static void *_p_wxFrameTo_p_wxWindow(void *x) {
32399 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32400}
32401static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32402 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32403}
32404static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32405 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32406}
32407static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32408 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32409}
32410static void *_p_wxDialogTo_p_wxWindow(void *x) {
32411 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32412}
d55e5bfc
RD
32413static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32414 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32415}
32416static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32417 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32418}
32419static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32420 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32421}
32422static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32423 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32424}
32425static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32426 return (void *)((wxDialog *) ((wxColourDialog *) x));
32427}
32428static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32429 return (void *)((wxDialog *) ((wxDirDialog *) x));
32430}
32431static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32432 return (void *)((wxDialog *) ((wxFontDialog *) x));
32433}
d55e5bfc
RD
32434static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32435 return (void *)((wxDialog *) ((wxFileDialog *) x));
32436}
32437static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32438 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32439}
32440static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32441 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32442}
32443static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32444 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32445}
c1cb24a4
RD
32446static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32447 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32448}
d55e5bfc
RD
32449static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32450 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32451}
32452static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32453 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32454}
32455static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32456 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32457}
32458static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32459 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32460}
32461static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32462 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32463}
32464static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32465 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32466}
32467static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32468 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32469}
32470static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32471 return (void *)((wxPanel *) ((wxPyPanel *) x));
32472}
32473static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32474 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32475}
32476static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32477 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32478}
32479static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32480 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32481}
32482static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32483 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32484}
32485static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32486 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32487}
32488static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32489 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32490}
53aa7709
RD
32491static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32492 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32493}
d55e5bfc
RD
32494static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32495 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32496}
2131d850
RD
32497static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32498 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32499}
d55e5bfc
RD
32500static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32501 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32502}
32503static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32504 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32505}
32506static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32507 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32508}
32509static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32510 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32511}
32512static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32513 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32514}
32515static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32516 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32517}
32518static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32519 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32520}
32521static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32522 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32523}
f460c29d 32524static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
554f62e9
RD
32525static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32526static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32527static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32528static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32529static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32530static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32531static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32532static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32533static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32534static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32535static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32536static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32537static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
32538static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32539static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
554f62e9 32540static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
32541static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32542static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32543static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
554f62e9
RD
32544static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32545static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32546static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
554f62e9
RD
32547static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32548static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32549static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32550static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32551static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32552static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32553static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32554static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32555static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32556static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32557static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32558static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32559static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32560static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32561static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32562static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32563static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32564static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32565static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32566static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32567static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32568static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32569static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32570static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32571static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32572static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32573static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32574static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32575static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32576static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32577static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32578static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32579static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32580static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32581static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32582static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32583static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32584static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32585static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32586static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32587static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32588static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32589static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32590static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32591static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 32592static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
554f62e9
RD
32593static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32594static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32595static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32596static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32597static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32598static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32599static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32600static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32601static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32602static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32603static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32604static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32605static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32606static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32607static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32608static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32609static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32610static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32611static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32612static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32613static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32614static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32615static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32616static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32617static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32618static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
554f62e9
RD
32619static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32620static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32621static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32622static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32623static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32624static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32625static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32626static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32627static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32628static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
2131d850 32629static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
554f62e9
RD
32630static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32631static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32632static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32633static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32634static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32635static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32636static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32637static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32638static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32639static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32640static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32641static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32642static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32643static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32644static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32645static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32646static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32647static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32648static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32649static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32650static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32651static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32652static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32653static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32654static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32655static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32656static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32657static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32658static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32659static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32660static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32661static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32662static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32663static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32664static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32665static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32666static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32667static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32668static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32669static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32670static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32671static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32672static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32673static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32674static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32675static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32676static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32677static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32678static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32679static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32680static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32681static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32682static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32683static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32684static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32685static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32686static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
7449af73
RD
32687
32688static swig_type_info *swig_type_initial[] = {
f460c29d 32689 &_swigt__p_bool,
7449af73
RD
32690 &_swigt__p_char,
32691 &_swigt__p_form_ops_t,
32692 &_swigt__p_int,
32693 &_swigt__p_unsigned_char,
32694 &_swigt__p_unsigned_int,
32695 &_swigt__p_unsigned_long,
32696 &_swigt__p_wxANIHandler,
32697 &_swigt__p_wxAcceleratorTable,
32698 &_swigt__p_wxActivateEvent,
32699 &_swigt__p_wxArrayInt,
32700 &_swigt__p_wxBMPHandler,
32701 &_swigt__p_wxBitmap,
32702 &_swigt__p_wxBoxSizer,
32703 &_swigt__p_wxCURHandler,
32704 &_swigt__p_wxCalculateLayoutEvent,
32705 &_swigt__p_wxChildFocusEvent,
2131d850 32706 &_swigt__p_wxClipboardTextEvent,
7449af73
RD
32707 &_swigt__p_wxCloseEvent,
32708 &_swigt__p_wxColour,
32709 &_swigt__p_wxColourData,
32710 &_swigt__p_wxColourDialog,
32711 &_swigt__p_wxCommandEvent,
32712 &_swigt__p_wxContextMenuEvent,
32713 &_swigt__p_wxControl,
32714 &_swigt__p_wxControlWithItems,
32715 &_swigt__p_wxDC,
32716 &_swigt__p_wxDateEvent,
32717 &_swigt__p_wxDialog,
32718 &_swigt__p_wxDirDialog,
32719 &_swigt__p_wxDisplayChangedEvent,
32720 &_swigt__p_wxDropFilesEvent,
32721 &_swigt__p_wxDuplexMode,
32722 &_swigt__p_wxEraseEvent,
32723 &_swigt__p_wxEvent,
32724 &_swigt__p_wxEvtHandler,
32725 &_swigt__p_wxFSFile,
32726 &_swigt__p_wxFileDialog,
32727 &_swigt__p_wxFileSystem,
32728 &_swigt__p_wxFindDialogEvent,
32729 &_swigt__p_wxFindReplaceData,
32730 &_swigt__p_wxFindReplaceDialog,
32731 &_swigt__p_wxFlexGridSizer,
32732 &_swigt__p_wxFocusEvent,
32733 &_swigt__p_wxFont,
32734 &_swigt__p_wxFontData,
32735 &_swigt__p_wxFontDialog,
32736 &_swigt__p_wxFrame,
32737 &_swigt__p_wxGBSizerItem,
32738 &_swigt__p_wxGIFHandler,
32739 &_swigt__p_wxGridBagSizer,
32740 &_swigt__p_wxGridSizer,
e9d6f3a4 32741 &_swigt__p_wxHtmlLinkInfo,
7449af73
RD
32742 &_swigt__p_wxICOHandler,
32743 &_swigt__p_wxIcon,
32744 &_swigt__p_wxIconBundle,
32745 &_swigt__p_wxIconizeEvent,
32746 &_swigt__p_wxIdleEvent,
32747 &_swigt__p_wxImage,
32748 &_swigt__p_wxImageHandler,
32749 &_swigt__p_wxIndividualLayoutConstraint,
32750 &_swigt__p_wxInitDialogEvent,
32751 &_swigt__p_wxJPEGHandler,
32752 &_swigt__p_wxKeyEvent,
32753 &_swigt__p_wxLayoutAlgorithm,
32754 &_swigt__p_wxLayoutConstraints,
32755 &_swigt__p_wxMDIChildFrame,
32756 &_swigt__p_wxMDIClientWindow,
32757 &_swigt__p_wxMDIParentFrame,
32758 &_swigt__p_wxMaximizeEvent,
32759 &_swigt__p_wxMenu,
32760 &_swigt__p_wxMenuBar,
32761 &_swigt__p_wxMenuEvent,
32762 &_swigt__p_wxMenuItem,
32763 &_swigt__p_wxMessageDialog,
32764 &_swigt__p_wxMiniFrame,
32765 &_swigt__p_wxMouseCaptureChangedEvent,
32766 &_swigt__p_wxMouseEvent,
32767 &_swigt__p_wxMoveEvent,
32768 &_swigt__p_wxMultiChoiceDialog,
32769 &_swigt__p_wxNavigationKeyEvent,
32770 &_swigt__p_wxNcPaintEvent,
32771 &_swigt__p_wxNotifyEvent,
32772 &_swigt__p_wxObject,
32773 &_swigt__p_wxPCXHandler,
32774 &_swigt__p_wxPNGHandler,
32775 &_swigt__p_wxPNMHandler,
32776 &_swigt__p_wxPageSetupDialog,
32777 &_swigt__p_wxPageSetupDialogData,
32778 &_swigt__p_wxPaintEvent,
32779 &_swigt__p_wxPaletteChangedEvent,
32780 &_swigt__p_wxPanel,
32781 &_swigt__p_wxPaperSize,
32782 &_swigt__p_wxPasswordEntryDialog,
32783 &_swigt__p_wxPoint,
32784 &_swigt__p_wxPopupWindow,
32785 &_swigt__p_wxPreviewCanvas,
32786 &_swigt__p_wxPreviewControlBar,
32787 &_swigt__p_wxPreviewFrame,
32788 &_swigt__p_wxPrintData,
32789 &_swigt__p_wxPrintDialog,
32790 &_swigt__p_wxPrintDialogData,
32791 &_swigt__p_wxPrintPreview,
32792 &_swigt__p_wxPrinter,
32793 &_swigt__p_wxProgressDialog,
32794 &_swigt__p_wxPyApp,
32795 &_swigt__p_wxPyCommandEvent,
32796 &_swigt__p_wxPyEvent,
32797 &_swigt__p_wxPyHtmlListBox,
32798 &_swigt__p_wxPyImageHandler,
32799 &_swigt__p_wxPyPanel,
32800 &_swigt__p_wxPyPopupTransientWindow,
32801 &_swigt__p_wxPyPreviewControlBar,
32802 &_swigt__p_wxPyPreviewFrame,
32803 &_swigt__p_wxPyPrintPreview,
32804 &_swigt__p_wxPyPrintout,
32805 &_swigt__p_wxPyScrolledWindow,
32806 &_swigt__p_wxPySizer,
32807 &_swigt__p_wxPyTaskBarIcon,
32808 &_swigt__p_wxPyVListBox,
32809 &_swigt__p_wxPyVScrolledWindow,
32810 &_swigt__p_wxPyValidator,
32811 &_swigt__p_wxPyWindow,
32812 &_swigt__p_wxQueryLayoutInfoEvent,
32813 &_swigt__p_wxQueryNewPaletteEvent,
32814 &_swigt__p_wxRect,
32815 &_swigt__p_wxRegion,
32816 &_swigt__p_wxSashEvent,
32817 &_swigt__p_wxSashLayoutWindow,
32818 &_swigt__p_wxSashWindow,
32819 &_swigt__p_wxScrollEvent,
32820 &_swigt__p_wxScrollWinEvent,
32821 &_swigt__p_wxScrolledWindow,
32822 &_swigt__p_wxSetCursorEvent,
32823 &_swigt__p_wxShowEvent,
32824 &_swigt__p_wxSingleChoiceDialog,
32825 &_swigt__p_wxSize,
32826 &_swigt__p_wxSizeEvent,
32827 &_swigt__p_wxSizer,
32828 &_swigt__p_wxSizerItem,
32829 &_swigt__p_wxSplashScreen,
32830 &_swigt__p_wxSplashScreenWindow,
32831 &_swigt__p_wxSplitterEvent,
32832 &_swigt__p_wxSplitterWindow,
32833 &_swigt__p_wxStaticBoxSizer,
32834 &_swigt__p_wxStatusBar,
32835 &_swigt__p_wxStdDialogButtonSizer,
32836 &_swigt__p_wxString,
32837 &_swigt__p_wxSysColourChangedEvent,
32838 &_swigt__p_wxTIFFHandler,
32839 &_swigt__p_wxTaskBarIcon,
32840 &_swigt__p_wxTaskBarIconEvent,
32841 &_swigt__p_wxTextEntryDialog,
32842 &_swigt__p_wxTipWindow,
32843 &_swigt__p_wxToolBar,
32844 &_swigt__p_wxTopLevelWindow,
32845 &_swigt__p_wxUpdateUIEvent,
32846 &_swigt__p_wxValidator,
32847 &_swigt__p_wxVisualAttributes,
32848 &_swigt__p_wxWindow,
32849 &_swigt__p_wxWindowCreateEvent,
32850 &_swigt__p_wxWindowDestroyEvent,
32851 &_swigt__p_wxXPMHandler,
7449af73
RD
32852};
32853
f460c29d 32854static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32855static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32856static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32857static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32858static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32859static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32860static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32861static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32862static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32863static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32864static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32865static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32866static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32867static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32868static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73 32869static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32870static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32871static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32872static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32873static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32874static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32875static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32876static 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
RD
32877static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32878static 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_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32879static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32880static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32881static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32882static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32883static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32884static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32885static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32886static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32887static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32888static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32889static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32890static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32891static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32892static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32893static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32894static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32895static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32896static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32897static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32898static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32899static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32900static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32901static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32902static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32903static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32904static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32905static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32906static 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_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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
32907static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32908static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32909static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32910static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32911static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32912static 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_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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}};
32913static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32914static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32915static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32916static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32917static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32918static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32919static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32920static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32921static 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 32922static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32923static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32924static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32925static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32926static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32927static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32928static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32929static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32930static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32931static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32932static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32933static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32934static 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}};
32935static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32936static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32937static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32938static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32939static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32940static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32941static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32942static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32943static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32944static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32945static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32946static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32947static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32948static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32949static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32950static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32951static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32952static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32953static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32954static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32955static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32956static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32957static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32958static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
7449af73
RD
32959static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32960static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32961static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32962static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32963static 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_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_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_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_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_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_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
32964static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32965static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32966static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
32967static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32968static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32969static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32970static 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}};
32971static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32972static 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}};
32973static 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}};
32974static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32975static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32976static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32977static 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}};
32978static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32979static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32980static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32981static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32982static 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}};
32983static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32984static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32985static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32986static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32987static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32988static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32989static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
32990static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
32991static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32992static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32993static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32994static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32995static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32996static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32997static 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}};
32998static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32999static 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}};
33000static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33001static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33002static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33003static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33004static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33005static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33006static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33007static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33008static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33009static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33010static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33011static 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}};
33012static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33013static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33014static 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_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}};
33015static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33016static 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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
7449af73
RD
33017
33018static swig_cast_info *swig_cast_initial[] = {
f460c29d 33019 _swigc__p_bool,
7449af73
RD
33020 _swigc__p_char,
33021 _swigc__p_form_ops_t,
33022 _swigc__p_int,
33023 _swigc__p_unsigned_char,
33024 _swigc__p_unsigned_int,
33025 _swigc__p_unsigned_long,
33026 _swigc__p_wxANIHandler,
33027 _swigc__p_wxAcceleratorTable,
33028 _swigc__p_wxActivateEvent,
33029 _swigc__p_wxArrayInt,
33030 _swigc__p_wxBMPHandler,
33031 _swigc__p_wxBitmap,
33032 _swigc__p_wxBoxSizer,
33033 _swigc__p_wxCURHandler,
33034 _swigc__p_wxCalculateLayoutEvent,
33035 _swigc__p_wxChildFocusEvent,
2131d850 33036 _swigc__p_wxClipboardTextEvent,
7449af73
RD
33037 _swigc__p_wxCloseEvent,
33038 _swigc__p_wxColour,
33039 _swigc__p_wxColourData,
33040 _swigc__p_wxColourDialog,
33041 _swigc__p_wxCommandEvent,
33042 _swigc__p_wxContextMenuEvent,
33043 _swigc__p_wxControl,
33044 _swigc__p_wxControlWithItems,
33045 _swigc__p_wxDC,
33046 _swigc__p_wxDateEvent,
33047 _swigc__p_wxDialog,
33048 _swigc__p_wxDirDialog,
33049 _swigc__p_wxDisplayChangedEvent,
33050 _swigc__p_wxDropFilesEvent,
33051 _swigc__p_wxDuplexMode,
33052 _swigc__p_wxEraseEvent,
33053 _swigc__p_wxEvent,
33054 _swigc__p_wxEvtHandler,
33055 _swigc__p_wxFSFile,
33056 _swigc__p_wxFileDialog,
33057 _swigc__p_wxFileSystem,
33058 _swigc__p_wxFindDialogEvent,
33059 _swigc__p_wxFindReplaceData,
33060 _swigc__p_wxFindReplaceDialog,
33061 _swigc__p_wxFlexGridSizer,
33062 _swigc__p_wxFocusEvent,
33063 _swigc__p_wxFont,
33064 _swigc__p_wxFontData,
33065 _swigc__p_wxFontDialog,
33066 _swigc__p_wxFrame,
33067 _swigc__p_wxGBSizerItem,
33068 _swigc__p_wxGIFHandler,
33069 _swigc__p_wxGridBagSizer,
33070 _swigc__p_wxGridSizer,
e9d6f3a4 33071 _swigc__p_wxHtmlLinkInfo,
7449af73
RD
33072 _swigc__p_wxICOHandler,
33073 _swigc__p_wxIcon,
33074 _swigc__p_wxIconBundle,
33075 _swigc__p_wxIconizeEvent,
33076 _swigc__p_wxIdleEvent,
33077 _swigc__p_wxImage,
33078 _swigc__p_wxImageHandler,
33079 _swigc__p_wxIndividualLayoutConstraint,
33080 _swigc__p_wxInitDialogEvent,
33081 _swigc__p_wxJPEGHandler,
33082 _swigc__p_wxKeyEvent,
33083 _swigc__p_wxLayoutAlgorithm,
33084 _swigc__p_wxLayoutConstraints,
33085 _swigc__p_wxMDIChildFrame,
33086 _swigc__p_wxMDIClientWindow,
33087 _swigc__p_wxMDIParentFrame,
33088 _swigc__p_wxMaximizeEvent,
33089 _swigc__p_wxMenu,
33090 _swigc__p_wxMenuBar,
33091 _swigc__p_wxMenuEvent,
33092 _swigc__p_wxMenuItem,
33093 _swigc__p_wxMessageDialog,
33094 _swigc__p_wxMiniFrame,
33095 _swigc__p_wxMouseCaptureChangedEvent,
33096 _swigc__p_wxMouseEvent,
33097 _swigc__p_wxMoveEvent,
33098 _swigc__p_wxMultiChoiceDialog,
33099 _swigc__p_wxNavigationKeyEvent,
33100 _swigc__p_wxNcPaintEvent,
33101 _swigc__p_wxNotifyEvent,
33102 _swigc__p_wxObject,
33103 _swigc__p_wxPCXHandler,
33104 _swigc__p_wxPNGHandler,
33105 _swigc__p_wxPNMHandler,
33106 _swigc__p_wxPageSetupDialog,
33107 _swigc__p_wxPageSetupDialogData,
33108 _swigc__p_wxPaintEvent,
33109 _swigc__p_wxPaletteChangedEvent,
33110 _swigc__p_wxPanel,
33111 _swigc__p_wxPaperSize,
33112 _swigc__p_wxPasswordEntryDialog,
33113 _swigc__p_wxPoint,
33114 _swigc__p_wxPopupWindow,
33115 _swigc__p_wxPreviewCanvas,
33116 _swigc__p_wxPreviewControlBar,
33117 _swigc__p_wxPreviewFrame,
33118 _swigc__p_wxPrintData,
33119 _swigc__p_wxPrintDialog,
33120 _swigc__p_wxPrintDialogData,
33121 _swigc__p_wxPrintPreview,
33122 _swigc__p_wxPrinter,
33123 _swigc__p_wxProgressDialog,
33124 _swigc__p_wxPyApp,
33125 _swigc__p_wxPyCommandEvent,
33126 _swigc__p_wxPyEvent,
33127 _swigc__p_wxPyHtmlListBox,
33128 _swigc__p_wxPyImageHandler,
33129 _swigc__p_wxPyPanel,
33130 _swigc__p_wxPyPopupTransientWindow,
33131 _swigc__p_wxPyPreviewControlBar,
33132 _swigc__p_wxPyPreviewFrame,
33133 _swigc__p_wxPyPrintPreview,
33134 _swigc__p_wxPyPrintout,
33135 _swigc__p_wxPyScrolledWindow,
33136 _swigc__p_wxPySizer,
33137 _swigc__p_wxPyTaskBarIcon,
33138 _swigc__p_wxPyVListBox,
33139 _swigc__p_wxPyVScrolledWindow,
33140 _swigc__p_wxPyValidator,
33141 _swigc__p_wxPyWindow,
33142 _swigc__p_wxQueryLayoutInfoEvent,
33143 _swigc__p_wxQueryNewPaletteEvent,
33144 _swigc__p_wxRect,
33145 _swigc__p_wxRegion,
33146 _swigc__p_wxSashEvent,
33147 _swigc__p_wxSashLayoutWindow,
33148 _swigc__p_wxSashWindow,
33149 _swigc__p_wxScrollEvent,
33150 _swigc__p_wxScrollWinEvent,
33151 _swigc__p_wxScrolledWindow,
33152 _swigc__p_wxSetCursorEvent,
33153 _swigc__p_wxShowEvent,
33154 _swigc__p_wxSingleChoiceDialog,
33155 _swigc__p_wxSize,
554f62e9
RD
33156 _swigc__p_wxSizeEvent,
33157 _swigc__p_wxSizer,
33158 _swigc__p_wxSizerItem,
33159 _swigc__p_wxSplashScreen,
33160 _swigc__p_wxSplashScreenWindow,
33161 _swigc__p_wxSplitterEvent,
33162 _swigc__p_wxSplitterWindow,
33163 _swigc__p_wxStaticBoxSizer,
33164 _swigc__p_wxStatusBar,
33165 _swigc__p_wxStdDialogButtonSizer,
33166 _swigc__p_wxString,
33167 _swigc__p_wxSysColourChangedEvent,
33168 _swigc__p_wxTIFFHandler,
33169 _swigc__p_wxTaskBarIcon,
33170 _swigc__p_wxTaskBarIconEvent,
33171 _swigc__p_wxTextEntryDialog,
33172 _swigc__p_wxTipWindow,
33173 _swigc__p_wxToolBar,
33174 _swigc__p_wxTopLevelWindow,
33175 _swigc__p_wxUpdateUIEvent,
33176 _swigc__p_wxValidator,
33177 _swigc__p_wxVisualAttributes,
33178 _swigc__p_wxWindow,
33179 _swigc__p_wxWindowCreateEvent,
33180 _swigc__p_wxWindowDestroyEvent,
33181 _swigc__p_wxXPMHandler,
33182};
33183
33184
33185/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33186
33187static swig_const_info swig_const_table[] = {
33188{0, 0, 0, 0.0, 0, 0}};
33189
093d3ff1
RD
33190#ifdef __cplusplus
33191}
33192#endif
554f62e9
RD
33193/* -----------------------------------------------------------------------------
33194 * Type initialization:
33195 * This problem is tough by the requirement that no dynamic
33196 * memory is used. Also, since swig_type_info structures store pointers to
33197 * swig_cast_info structures and swig_cast_info structures store pointers back
33198 * to swig_type_info structures, we need some lookup code at initialization.
33199 * The idea is that swig generates all the structures that are needed.
33200 * The runtime then collects these partially filled structures.
33201 * The SWIG_InitializeModule function takes these initial arrays out of
33202 * swig_module, and does all the lookup, filling in the swig_module.types
33203 * array with the correct data and linking the correct swig_cast_info
33204 * structures together.
33205 *
33206 * The generated swig_type_info structures are assigned staticly to an initial
33207 * array. We just loop though that array, and handle each type individually.
33208 * First we lookup if this type has been already loaded, and if so, use the
33209 * loaded structure instead of the generated one. Then we have to fill in the
33210 * cast linked list. The cast data is initially stored in something like a
33211 * two-dimensional array. Each row corresponds to a type (there are the same
33212 * number of rows as there are in the swig_type_initial array). Each entry in
33213 * a column is one of the swig_cast_info structures for that type.
33214 * The cast_initial array is actually an array of arrays, because each row has
33215 * a variable number of columns. So to actually build the cast linked list,
33216 * we find the array of casts associated with the type, and loop through it
33217 * adding the casts to the list. The one last trick we need to do is making
33218 * sure the type pointer in the swig_cast_info struct is correct.
33219 *
33220 * First off, we lookup the cast->type name to see if it is already loaded.
33221 * There are three cases to handle:
33222 * 1) If the cast->type has already been loaded AND the type we are adding
33223 * casting info to has not been loaded (it is in this module), THEN we
33224 * replace the cast->type pointer with the type pointer that has already
33225 * been loaded.
33226 * 2) If BOTH types (the one we are adding casting info to, and the
33227 * cast->type) are loaded, THEN the cast info has already been loaded by
33228 * the previous module so we just ignore it.
33229 * 3) Finally, if cast->type has not already been loaded, then we add that
33230 * swig_cast_info to the linked list (because the cast->type) pointer will
33231 * be correct.
33232 * ----------------------------------------------------------------------------- */
093d3ff1 33233
093d3ff1 33234#ifdef __cplusplus
554f62e9
RD
33235extern "C" {
33236#if 0
33237} /* c-mode */
33238#endif
33239#endif
33240
33241#if 0
33242#define SWIGRUNTIME_DEBUG
33243#endif
33244
33245SWIGRUNTIME void
33246SWIG_InitializeModule(void *clientdata) {
33247 size_t i;
33248 swig_module_info *module_head;
33249 static int init_run = 0;
33250
33251 clientdata = clientdata;
33252
33253 if (init_run) return;
33254 init_run = 1;
33255
33256 /* Initialize the swig_module */
33257 swig_module.type_initial = swig_type_initial;
33258 swig_module.cast_initial = swig_cast_initial;
33259
33260 /* Try and load any already created modules */
33261 module_head = SWIG_GetModule(clientdata);
33262 if (module_head) {
33263 swig_module.next = module_head->next;
33264 module_head->next = &swig_module;
33265 } else {
33266 /* This is the first module loaded */
33267 swig_module.next = &swig_module;
33268 SWIG_SetModule(clientdata, &swig_module);
33269 }
33270
33271 /* Now work on filling in swig_module.types */
33272#ifdef SWIGRUNTIME_DEBUG
33273 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33274#endif
33275 for (i = 0; i < swig_module.size; ++i) {
33276 swig_type_info *type = 0;
33277 swig_type_info *ret;
33278 swig_cast_info *cast;
d55e5bfc 33279
554f62e9
RD
33280#ifdef SWIGRUNTIME_DEBUG
33281 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33282#endif
d55e5bfc 33283
554f62e9
RD
33284 /* if there is another module already loaded */
33285 if (swig_module.next != &swig_module) {
33286 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 33287 }
554f62e9
RD
33288 if (type) {
33289 /* Overwrite clientdata field */
33290#ifdef SWIGRUNTIME_DEBUG
33291 printf("SWIG_InitializeModule: found type %s\n", type->name);
33292#endif
33293 if (swig_module.type_initial[i]->clientdata) {
33294 type->clientdata = swig_module.type_initial[i]->clientdata;
33295#ifdef SWIGRUNTIME_DEBUG
33296 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33297#endif
33298 }
33299 } else {
33300 type = swig_module.type_initial[i];
093d3ff1 33301 }
554f62e9
RD
33302
33303 /* Insert casting types */
33304 cast = swig_module.cast_initial[i];
33305 while (cast->type) {
33306 /* Don't need to add information already in the list */
33307 ret = 0;
33308#ifdef SWIGRUNTIME_DEBUG
33309 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33310#endif
33311 if (swig_module.next != &swig_module) {
33312 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33313#ifdef SWIGRUNTIME_DEBUG
33314 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33315#endif
33316 }
33317 if (ret) {
33318 if (type == swig_module.type_initial[i]) {
33319#ifdef SWIGRUNTIME_DEBUG
33320 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33321#endif
33322 cast->type = ret;
33323 ret = 0;
33324 } else {
33325 /* Check for casting already in the list */
33326 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33327#ifdef SWIGRUNTIME_DEBUG
33328 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33329#endif
33330 if (!ocast) ret = 0;
33331 }
33332 }
33333
33334 if (!ret) {
33335#ifdef SWIGRUNTIME_DEBUG
33336 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33337#endif
33338 if (type->cast) {
33339 type->cast->prev = cast;
33340 cast->next = type->cast;
33341 }
33342 type->cast = cast;
33343 }
33344 cast++;
093d3ff1 33345 }
554f62e9
RD
33346 /* Set entry in modules->types array equal to the type */
33347 swig_module.types[i] = type;
33348 }
33349 swig_module.types[i] = 0;
33350
33351#ifdef SWIGRUNTIME_DEBUG
33352 printf("**** SWIG_InitializeModule: Cast List ******\n");
33353 for (i = 0; i < swig_module.size; ++i) {
33354 int j = 0;
33355 swig_cast_info *cast = swig_module.cast_initial[i];
33356 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33357 while (cast->type) {
33358 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33359 cast++;
33360 ++j;
33361 }
33362 printf("---- Total casts: %d\n",j);
33363 }
33364 printf("**** SWIG_InitializeModule: Cast List ******\n");
33365#endif
33366}
33367
33368/* This function will propagate the clientdata field of type to
33369* any new swig_type_info structures that have been added into the list
33370* of equivalent types. It is like calling
33371* SWIG_TypeClientData(type, clientdata) a second time.
33372*/
33373SWIGRUNTIME void
33374SWIG_PropagateClientData(void) {
33375 size_t i;
33376 swig_cast_info *equiv;
33377 static int init_run = 0;
33378
33379 if (init_run) return;
33380 init_run = 1;
33381
33382 for (i = 0; i < swig_module.size; i++) {
33383 if (swig_module.types[i]->clientdata) {
33384 equiv = swig_module.types[i]->cast;
33385 while (equiv) {
33386 if (!equiv->converter) {
33387 if (equiv->type && !equiv->type->clientdata)
33388 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33389 }
33390 equiv = equiv->next;
33391 }
093d3ff1 33392 }
554f62e9
RD
33393 }
33394}
33395
33396#ifdef __cplusplus
33397#if 0
33398{
33399 /* c-mode */
33400#endif
33401}
33402#endif
33403
33404
33405
33406#ifdef __cplusplus
33407extern "C" {
33408#endif
33409
33410 /* Python-specific SWIG API */
33411#define SWIG_newvarlink() SWIG_Python_newvarlink()
33412#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33413#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33414
33415 /* -----------------------------------------------------------------------------
33416 * global variable support code.
33417 * ----------------------------------------------------------------------------- */
33418
33419 typedef struct swig_globalvar {
33420 char *name; /* Name of global variable */
33421 PyObject *(*get_attr)(void); /* Return the current value */
33422 int (*set_attr)(PyObject *); /* Set the value */
33423 struct swig_globalvar *next;
33424 } swig_globalvar;
33425
33426 typedef struct swig_varlinkobject {
33427 PyObject_HEAD
33428 swig_globalvar *vars;
33429 } swig_varlinkobject;
33430
33431 SWIGINTERN PyObject *
33432 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33433 return PyString_FromString("<Swig global variables>");
33434 }
33435
33436 SWIGINTERN PyObject *
33437 swig_varlink_str(swig_varlinkobject *v) {
33438 PyObject *str = PyString_FromString("(");
33439 swig_globalvar *var;
33440 for (var = v->vars; var; var=var->next) {
33441 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33442 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33443 }
33444 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33445 return str;
33446 }
33447
33448 SWIGINTERN int
33449 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33450 PyObject *str = swig_varlink_str(v);
33451 fprintf(fp,"Swig global variables ");
33452 fprintf(fp,"%s\n", PyString_AsString(str));
33453 Py_DECREF(str);
33454 return 0;
33455 }
33456
33457 SWIGINTERN void
33458 swig_varlink_dealloc(swig_varlinkobject *v) {
33459 swig_globalvar *var = v->vars;
33460 while (var) {
33461 swig_globalvar *n = var->next;
33462 free(var->name);
33463 free(var);
33464 var = n;
093d3ff1 33465 }
554f62e9
RD
33466 }
33467
33468 SWIGINTERN PyObject *
33469 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33470 PyObject *res = NULL;
33471 swig_globalvar *var = v->vars;
33472 while (var) {
33473 if (strcmp(var->name,n) == 0) {
33474 res = (*var->get_attr)();
33475 break;
33476 }
33477 var = var->next;
093d3ff1 33478 }
554f62e9
RD
33479 if (res == NULL && !PyErr_Occurred()) {
33480 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33481 }
554f62e9
RD
33482 return res;
33483 }
33484
33485 SWIGINTERN int
33486 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33487 int res = 1;
33488 swig_globalvar *var = v->vars;
33489 while (var) {
33490 if (strcmp(var->name,n) == 0) {
33491 res = (*var->set_attr)(p);
33492 break;
33493 }
33494 var = var->next;
093d3ff1 33495 }
554f62e9
RD
33496 if (res == 1 && !PyErr_Occurred()) {
33497 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33498 }
554f62e9
RD
33499 return res;
33500 }
33501
33502 SWIGINTERN PyTypeObject*
33503 swig_varlink_type(void) {
33504 static char varlink__doc__[] = "Swig var link object";
33505 static PyTypeObject varlink_type;
33506 static int type_init = 0;
33507 if (!type_init) {
33508 const PyTypeObject tmp
33509 = {
33510 PyObject_HEAD_INIT(NULL)
33511 0, /* Number of items in variable part (ob_size) */
33512 (char *)"swigvarlink", /* Type name (tp_name) */
33513 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33514 0, /* Itemsize (tp_itemsize) */
33515 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33516 (printfunc) swig_varlink_print, /* Print (tp_print) */
33517 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33518 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33519 0, /* tp_compare */
33520 (reprfunc) swig_varlink_repr, /* tp_repr */
33521 0, /* tp_as_number */
33522 0, /* tp_as_sequence */
33523 0, /* tp_as_mapping */
33524 0, /* tp_hash */
33525 0, /* tp_call */
33526 (reprfunc)swig_varlink_str, /* tp_str */
33527 0, /* tp_getattro */
33528 0, /* tp_setattro */
33529 0, /* tp_as_buffer */
33530 0, /* tp_flags */
33531 varlink__doc__, /* tp_doc */
33532 0, /* tp_traverse */
33533 0, /* tp_clear */
33534 0, /* tp_richcompare */
33535 0, /* tp_weaklistoffset */
33536#if PY_VERSION_HEX >= 0x02020000
33537 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33538#endif
33539#if PY_VERSION_HEX >= 0x02030000
33540 0, /* tp_del */
33541#endif
33542#ifdef COUNT_ALLOCS
33543 0,0,0,0 /* tp_alloc -> tp_next */
33544#endif
33545 };
33546 varlink_type = tmp;
33547 varlink_type.ob_type = &PyType_Type;
33548 type_init = 1;
093d3ff1 33549 }
554f62e9
RD
33550 return &varlink_type;
33551 }
33552
33553 /* Create a variable linking object for use later */
33554 SWIGINTERN PyObject *
33555 SWIG_Python_newvarlink(void) {
33556 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33557 if (result) {
33558 result->vars = 0;
33559 }
33560 return ((PyObject*) result);
33561 }
33562
33563 SWIGINTERN void
33564 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33565 swig_varlinkobject *v = (swig_varlinkobject *) p;
33566 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33567 if (gv) {
33568 size_t size = strlen(name)+1;
33569 gv->name = (char *)malloc(size);
33570 if (gv->name) {
33571 strncpy(gv->name,name,size);
33572 gv->get_attr = get_attr;
33573 gv->set_attr = set_attr;
33574 gv->next = v->vars;
33575 }
093d3ff1 33576 }
554f62e9
RD
33577 v->vars = gv;
33578 }
33579
33580 SWIGINTERN PyObject *
33581 SWIG_globals() {
33582 static PyObject *_SWIG_globals = 0;
33583 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33584 return _SWIG_globals;
33585 }
33586
33587 /* -----------------------------------------------------------------------------
33588 * constants/methods manipulation
33589 * ----------------------------------------------------------------------------- */
33590
33591 /* Install Constants */
33592 SWIGINTERN void
33593 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33594 PyObject *obj = 0;
33595 size_t i;
33596 for (i = 0; constants[i].type; ++i) {
33597 switch(constants[i].type) {
33598 case SWIG_PY_POINTER:
33599 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33600 break;
33601 case SWIG_PY_BINARY:
33602 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33603 break;
33604 default:
33605 obj = 0;
33606 break;
33607 }
33608 if (obj) {
33609 PyDict_SetItemString(d, constants[i].name, obj);
33610 Py_DECREF(obj);
33611 }
093d3ff1 33612 }
554f62e9
RD
33613 }
33614
33615 /* -----------------------------------------------------------------------------*/
33616 /* Fix SwigMethods to carry the callback ptrs when needed */
33617 /* -----------------------------------------------------------------------------*/
33618
33619 SWIGINTERN void
33620 SWIG_Python_FixMethods(PyMethodDef *methods,
33621 swig_const_info *const_table,
33622 swig_type_info **types,
33623 swig_type_info **types_initial) {
33624 size_t i;
33625 for (i = 0; methods[i].ml_name; ++i) {
33626 char *c = methods[i].ml_doc;
33627 if (c && (c = strstr(c, "swig_ptr: "))) {
33628 int j;
33629 swig_const_info *ci = 0;
33630 char *name = c + 10;
33631 for (j = 0; const_table[j].type; ++j) {
33632 if (strncmp(const_table[j].name, name,
33633 strlen(const_table[j].name)) == 0) {
33634 ci = &(const_table[j]);
33635 break;
33636 }
33637 }
33638 if (ci) {
33639 size_t shift = (ci->ptype) - types;
33640 swig_type_info *ty = types_initial[shift];
33641 size_t ldoc = (c - methods[i].ml_doc);
33642 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33643 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33644 if (ndoc) {
33645 char *buff = ndoc;
33646 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33647 if (ptr) {
33648 strncpy(buff, methods[i].ml_doc, ldoc);
33649 buff += ldoc;
33650 strncpy(buff, "swig_ptr: ", 10);
33651 buff += 10;
33652 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33653 methods[i].ml_doc = ndoc;
33654 }
33655 }
33656 }
33657 }
093d3ff1 33658 }
554f62e9
RD
33659 }
33660
33661#ifdef __cplusplus
33662}
33663#endif
33664
33665/* -----------------------------------------------------------------------------*
33666 * Partial Init method
33667 * -----------------------------------------------------------------------------*/
33668
33669#ifdef __cplusplus
33670extern "C"
33671#endif
33672SWIGEXPORT void SWIG_init(void) {
33673 PyObject *m, *d;
33674
33675 /* Fix SwigMethods to carry the callback ptrs when needed */
33676 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33677
33678 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33679 d = PyModule_GetDict(m);
33680
33681 SWIG_InitializeModule(0);
33682 SWIG_InstallConstants(d,swig_const_table);
33683
33684
33685 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33686 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33687 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33688 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33689 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33690 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33691 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33692 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33693 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33694 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33695 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33696 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33697 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33698 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33699 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33700 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33701 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33702 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33703 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33704 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33705 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33706 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33707 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33708 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33709 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33710 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33711 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33712 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33713 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33714 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33715 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33716 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33717 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33718 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33719 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33720 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33721 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33722 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33723 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33724 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33725 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33726 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33727 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33728 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33729 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33730 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33731 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33732 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33733 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33734 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33735 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33736 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33737 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33738 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33739 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33740 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33741 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33742 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33743 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33744 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33745 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33746 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33747 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33748 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33749 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33750 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33751 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33752 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33753 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33754 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33755 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33756 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33757 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33758 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33759 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33760 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33761 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33762 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33763 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33764 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33765 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33766 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33767 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33768 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33769 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33770 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33771 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33772 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33773 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33774 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33775 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33776 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33777 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33778 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33779 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33780 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33781 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33782 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33783 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33784 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33785 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33786 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33787
33788 // Map renamed classes back to their common name for OOR
33789 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33790 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33791 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33792
33793 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33794 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33795 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33796 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33797 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33798 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33799 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33800 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33801 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33802 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33803 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33804 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33805 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33806 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33807 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33808 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33809 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33810 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33811 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33812 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33813 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33814 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33815 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33816 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33817 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33818 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33819 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33820 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33821 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33822 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33823 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33824 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33825 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33826 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33827 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33828 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33829 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33830 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33831 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33832 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33833 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33834 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33835 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33836 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33837 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33838 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33839 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33840 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33841 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33842 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33843 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33844 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33845 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33846 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33847 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33848 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33849 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33850 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33851 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33852 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33853 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33854 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33855 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33856 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33857 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33858 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33859 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33860 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33861 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33862 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33863 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33864 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33865 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33866 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33867 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33868 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33869 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33870 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33871
33872 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33873
d55e5bfc
RD
33874}
33875