]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_windows_wrap.cpp
Added SetQuickBestSize and GetQuickBestSize
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
0085ce49 3 * Version 1.3.29
d14a1e28
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
0085ce49 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d14a1e28
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};
d14a1e28
RD
28#endif
29
0085ce49 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
0085ce49 33 * ----------------------------------------------------------------------------- */
d14a1e28 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
0085ce49
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
d14a1e28 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
0085ce49
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
0085ce49
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
0085ce49
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
0085ce49
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
0085ce49
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
c9c7117a 127
0085ce49 128/* Python.h has to appear first */
093d3ff1 129#include <Python.h>
d14a1e28 130
0085ce49 131/* -----------------------------------------------------------------------------
093d3ff1 132 * swigrun.swg
d14a1e28 133 *
0085ce49
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d14a1e28 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 */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d14a1e28 141
093d3ff1
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d14a1e28 147#else
32fe5131 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*/
32fe5131 159
093d3ff1 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
093d3ff1 162#endif
32fe5131 163
093d3ff1 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d14a1e28
RD
166#endif
167
0085ce49
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
d14a1e28
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d14a1e28 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
0085ce49 325 int owndata; /* flag if the structure owns the clientdata */
d14a1e28
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
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;
0085ce49 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>|...
32fe5131 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 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
093d3ff1
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
093d3ff1 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
093d3ff1 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
093d3ff1 400 }
32fe5131 401 return equiv;
093d3ff1
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
093d3ff1
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
093d3ff1 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
093d3ff1
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 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. */
0085ce49 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
32fe5131
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;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
093d3ff1 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
0085ce49
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
093d3ff1 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
093d3ff1 591 }
32fe5131
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) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
093d3ff1 605 for (; u != eu; ++u) {
32fe5131 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;
32fe5131 619 register const unsigned char *eu = u + sz;
093d3ff1 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
0085ce49 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}
d14a1e28 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}
d14a1e28
RD
695
696#ifdef __cplusplus
697}
698#endif
699
0085ce49
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
d14a1e28 714
0085ce49
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
0085ce49
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/* -----------------------------------------------------------------------------
0085ce49 801 * error manipulation
093d3ff1 802 * ----------------------------------------------------------------------------- */
d14a1e28 803
0085ce49
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}
d14a1e28 846
0085ce49
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
d14a1e28 936
0085ce49
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
093d3ff1 940
0085ce49
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
093d3ff1
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d14a1e28 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 {
0085ce49
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;
d14a1e28 965
994141e6 966#ifdef __cplusplus
0085ce49
RD
967#if 0
968{ /* cc-mode */
969#endif
093d3ff1
RD
970}
971#endif
994141e6 972
15afbcd0 973
0085ce49
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 *
0085ce49
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 *
0085ce49 984 * ----------------------------------------------------------------------------- */
15afbcd0 985
093d3ff1 986/* Common SWIG API */
994141e6 987
0085ce49
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
994141e6 996
0085ce49
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)
994141e6 1000
0085ce49
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)
d14a1e28 1004
0085ce49
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)
d14a1e28 1008
0085ce49
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)
32fe5131 1012
d14a1e28 1013
0085ce49 1014/* Runtime API */
15afbcd0 1015
0085ce49
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)
32fe5131 1019
0085ce49
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
32fe5131 1025
15afbcd0 1026
0085ce49 1027/* Runtime API implementation */
994141e6 1028
0085ce49 1029/* Error manipulation */
994141e6 1030
0085ce49
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}
15afbcd0 1038
0085ce49
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;
15afbcd0
RD
1044}
1045
0085ce49 1046#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1047
0085ce49 1048/* Set a constant value */
15afbcd0 1049
0085ce49
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}
15afbcd0 1055
0085ce49 1056/* Append a value to the result obj */
994141e6 1057
0085ce49
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 {
0085ce49
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 }
0085ce49
RD
1097 return result;
1098#endif
c32bde28
RD
1099}
1100
0085ce49 1101/* Unpack the argument tuple */
15afbcd0 1102
0085ce49
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*/
32fe5131 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 */
32fe5131
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
0085ce49 1612 static PyTypeObject pyswigobject_type;
32fe5131 1613 static int type_init = 0;
093d3ff1 1614 if (!type_init) {
0085ce49
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
0085ce49
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
0085ce49
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
0085ce49 1670 0, /* tp_del */
093d3ff1
RD
1671#endif
1672#ifdef COUNT_ALLOCS
0085ce49 1673 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1674#endif
0085ce49 1675 };
32fe5131 1676 pyswigobject_type = tmp;
0085ce49 1677 pyswigobject_type.ob_type = &PyType_Type;
093d3ff1
RD
1678 type_init = 1;
1679 }
32fe5131 1680 return &pyswigobject_type;
093d3ff1
RD
1681}
1682
1683SWIGRUNTIME PyObject *
0085ce49 1684PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c32bde28 1685{
0085ce49
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;
32fe5131 1692 }
0085ce49 1693 return (PyObject *)sobj;
093d3ff1 1694}
d14a1e28 1695
093d3ff1
RD
1696/* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
994141e6 1699
093d3ff1
RD
1700typedef struct {
1701 PyObject_HEAD
1702 void *pack;
0085ce49 1703 swig_type_info *ty;
093d3ff1
RD
1704 size_t size;
1705} PySwigPacked;
c32bde28 1706
093d3ff1 1707SWIGRUNTIME int
0085ce49 1708PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
994141e6 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 }
0085ce49 1716 fputs(v->ty->name,fp);
093d3ff1
RD
1717 fputs(">", fp);
1718 return 0;
1719}
1720
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))) {
0085ce49 1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
093d3ff1 1727 } else {
0085ce49 1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
093d3ff1 1729 }
15afbcd0
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))){
0085ce49 1737 return PyString_FromFormat("%s%s", result, v->ty->name);
093d3ff1 1738 } else {
0085ce49 1739 return PyString_FromString(v->ty->name);
093d3ff1
RD
1740 }
1741}
15afbcd0 1742
093d3ff1
RD
1743SWIGRUNTIME int
1744PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
15afbcd0 1745{
0085ce49
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
0085ce49 1752SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
994141e6 1753
093d3ff1 1754SWIGRUNTIME PyTypeObject*
32fe5131 1755PySwigPacked_type(void) {
0085ce49
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
0085ce49 1833 0, /* tp_del */
093d3ff1
RD
1834#endif
1835#ifdef COUNT_ALLOCS
0085ce49 1836 0,0,0,0 /* tp_alloc -> tp_next */
093d3ff1 1837#endif
0085ce49 1838 };
32fe5131 1839 pyswigpacked_type = tmp;
0085ce49 1840 pyswigpacked_type.ob_type = &PyType_Type;
093d3ff1
RD
1841 type_init = 1;
1842 }
32fe5131 1843 return &pyswigpacked_type;
093d3ff1 1844}
d14a1e28 1845
093d3ff1 1846SWIGRUNTIME PyObject *
0085ce49 1847PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
093d3ff1 1848{
0085ce49
RD
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
093d3ff1 1851 void *pack = malloc(size);
32fe5131
RD
1852 if (pack) {
1853 memcpy(pack, ptr, size);
0085ce49
RD
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
32fe5131 1860 }
093d3ff1 1861 }
0085ce49 1862 return (PyObject *) sobj;
093d3ff1 1863}
d14a1e28 1864
0085ce49 1865SWIGRUNTIME swig_type_info *
093d3ff1 1866PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
d14a1e28 1867{
0085ce49
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}
d14a1e28 1877
093d3ff1 1878/* -----------------------------------------------------------------------------
0085ce49 1879 * pointers/data manipulation
093d3ff1 1880 * ----------------------------------------------------------------------------- */
d14a1e28 1881
0085ce49
RD
1882SWIGRUNTIMEINLINE PyObject *
1883_SWIG_This(void)
1884{
1885 return PyString_FromString("this");
1886}
d14a1e28 1887
0085ce49
RD
1888SWIGRUNTIME PyObject *
1889SWIG_This(void)
1890{
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893}
d14a1e28 1894
0085ce49 1895/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d14a1e28 1896
0085ce49
RD
1897SWIGRUNTIME PySwigObject *
1898SWIG_Python_GetSwigThis(PyObject *pyobj)
093d3ff1 1899{
0085ce49
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 {
0085ce49
RD
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
093d3ff1 1925 }
093d3ff1 1926 }
0085ce49
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}
d14a1e28 1945
0085ce49
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 }
0085ce49 1958 return 0;
093d3ff1 1959}
d14a1e28 1960
0085ce49
RD
1961/* Convert a pointer value */
1962
093d3ff1 1963SWIGRUNTIME int
0085ce49
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 {
0085ce49
RD
1989 if (ptr) *ptr = vptr;
1990 break;
093d3ff1 1991 }
093d3ff1 1992 }
0085ce49
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}
d14a1e28 2040
0085ce49
RD
2041/* Convert a function ptr value */
2042
093d3ff1 2043SWIGRUNTIME int
0085ce49
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 {
0085ce49
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}
d14a1e28 2067
0085ce49 2068/* Convert a packed value value */
d14a1e28 2069
093d3ff1 2070SWIGRUNTIME int
0085ce49
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 }
0085ce49
RD
2081 return SWIG_OK;
2082}
d14a1e28 2083
0085ce49
RD
2084/* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
d14a1e28 2087
0085ce49
RD
2088/*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091*/
d14a1e28 2092
0085ce49
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 }
0085ce49
RD
2112#else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115#endif
093d3ff1 2116 }
0085ce49
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 }
0085ce49
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 }
0085ce49
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 }
0085ce49
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}
d14a1e28 2155
0085ce49
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
0085ce49
RD
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175}
d14a1e28 2176
0085ce49
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 {
0085ce49 2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
093d3ff1 2189 }
0085ce49 2190 return SWIG_Py_Void();
093d3ff1 2191 }
0085ce49
RD
2192}
2193
2194/* Create a new pointer object */
093d3ff1 2195
093d3ff1 2196SWIGRUNTIME PyObject *
0085ce49 2197SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
093d3ff1 2198 if (!ptr) {
0085ce49
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 }
0085ce49 2211 return robj;
093d3ff1 2212 }
093d3ff1
RD
2213}
2214
0085ce49
RD
2215/* Create a new packed object */
2216
2217SWIGRUNTIMEINLINE PyObject *
093d3ff1 2218SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
0085ce49 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
32fe5131
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
32fe5131
RD
2245 }
2246 return (swig_module_info *) type_pointer;
093d3ff1
RD
2247}
2248
32fe5131
RD
2249#if PY_MAJOR_VERSION < 2
2250/* PyModule_AddObject function was introduced in Python 2.0. The following function
0085ce49 2251 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
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");
0085ce49 2259 return SWIG_ERROR;
32fe5131
RD
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
0085ce49 2264 return SWIG_ERROR;
32fe5131
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));
0085ce49 2272 return SWIG_ERROR;
32fe5131
RD
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
0085ce49 2275 return SWIG_ERROR;
32fe5131 2276 Py_DECREF(o);
0085ce49 2277 return SWIG_OK;
093d3ff1 2278}
32fe5131 2279#endif
093d3ff1 2280
0085ce49
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
32fe5131
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);
0085ce49 2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
0085ce49
RD
2306 } else {
2307 Py_XDECREF(pointer);
32fe5131
RD
2308 }
2309}
093d3ff1 2310
0085ce49
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
0085ce49
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
01f6b6d3
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]
2479#define SWIGTYPE_p_wxCloseEvent swig_types[17]
2480#define SWIGTYPE_p_wxColour swig_types[18]
2481#define SWIGTYPE_p_wxColourData swig_types[19]
2482#define SWIGTYPE_p_wxColourDialog swig_types[20]
2483#define SWIGTYPE_p_wxCommandEvent swig_types[21]
2484#define SWIGTYPE_p_wxContextMenuEvent swig_types[22]
2485#define SWIGTYPE_p_wxControl swig_types[23]
2486#define SWIGTYPE_p_wxControlWithItems swig_types[24]
2487#define SWIGTYPE_p_wxDC swig_types[25]
2488#define SWIGTYPE_p_wxDateEvent swig_types[26]
2489#define SWIGTYPE_p_wxDialog swig_types[27]
2490#define SWIGTYPE_p_wxDirDialog swig_types[28]
2491#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[29]
2492#define SWIGTYPE_p_wxDropFilesEvent swig_types[30]
2493#define SWIGTYPE_p_wxDuplexMode swig_types[31]
2494#define SWIGTYPE_p_wxEraseEvent swig_types[32]
2495#define SWIGTYPE_p_wxEvent swig_types[33]
2496#define SWIGTYPE_p_wxEvtHandler swig_types[34]
2497#define SWIGTYPE_p_wxFSFile swig_types[35]
2498#define SWIGTYPE_p_wxFileDialog swig_types[36]
2499#define SWIGTYPE_p_wxFileSystem swig_types[37]
2500#define SWIGTYPE_p_wxFindDialogEvent swig_types[38]
2501#define SWIGTYPE_p_wxFindReplaceData swig_types[39]
2502#define SWIGTYPE_p_wxFindReplaceDialog swig_types[40]
2503#define SWIGTYPE_p_wxFlexGridSizer swig_types[41]
2504#define SWIGTYPE_p_wxFocusEvent swig_types[42]
2505#define SWIGTYPE_p_wxFont swig_types[43]
2506#define SWIGTYPE_p_wxFontData swig_types[44]
2507#define SWIGTYPE_p_wxFontDialog swig_types[45]
2508#define SWIGTYPE_p_wxFrame swig_types[46]
2509#define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510#define SWIGTYPE_p_wxGIFHandler swig_types[48]
2511#define SWIGTYPE_p_wxGridBagSizer swig_types[49]
2512#define SWIGTYPE_p_wxGridSizer swig_types[50]
2513#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[51]
2514#define SWIGTYPE_p_wxICOHandler swig_types[52]
2515#define SWIGTYPE_p_wxIcon swig_types[53]
2516#define SWIGTYPE_p_wxIconBundle swig_types[54]
2517#define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2518#define SWIGTYPE_p_wxIdleEvent swig_types[56]
2519#define SWIGTYPE_p_wxImage swig_types[57]
2520#define SWIGTYPE_p_wxImageHandler swig_types[58]
2521#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[59]
2522#define SWIGTYPE_p_wxInitDialogEvent swig_types[60]
2523#define SWIGTYPE_p_wxJPEGHandler swig_types[61]
2524#define SWIGTYPE_p_wxKeyEvent swig_types[62]
2525#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[63]
2526#define SWIGTYPE_p_wxLayoutConstraints swig_types[64]
2527#define SWIGTYPE_p_wxMDIChildFrame swig_types[65]
2528#define SWIGTYPE_p_wxMDIClientWindow swig_types[66]
2529#define SWIGTYPE_p_wxMDIParentFrame swig_types[67]
2530#define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531#define SWIGTYPE_p_wxMenu swig_types[69]
2532#define SWIGTYPE_p_wxMenuBar swig_types[70]
2533#define SWIGTYPE_p_wxMenuEvent swig_types[71]
2534#define SWIGTYPE_p_wxMenuItem swig_types[72]
2535#define SWIGTYPE_p_wxMessageDialog swig_types[73]
2536#define SWIGTYPE_p_wxMiniFrame swig_types[74]
2537#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
2538#define SWIGTYPE_p_wxMouseEvent swig_types[76]
2539#define SWIGTYPE_p_wxMoveEvent swig_types[77]
2540#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[78]
2541#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[79]
2542#define SWIGTYPE_p_wxNcPaintEvent swig_types[80]
2543#define SWIGTYPE_p_wxNotifyEvent swig_types[81]
2544#define SWIGTYPE_p_wxObject swig_types[82]
2545#define SWIGTYPE_p_wxPCXHandler swig_types[83]
2546#define SWIGTYPE_p_wxPNGHandler swig_types[84]
2547#define SWIGTYPE_p_wxPNMHandler swig_types[85]
2548#define SWIGTYPE_p_wxPageSetupDialog swig_types[86]
2549#define SWIGTYPE_p_wxPageSetupDialogData swig_types[87]
2550#define SWIGTYPE_p_wxPaintEvent swig_types[88]
2551#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89]
2552#define SWIGTYPE_p_wxPanel swig_types[90]
2553#define SWIGTYPE_p_wxPaperSize swig_types[91]
2554#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[92]
2555#define SWIGTYPE_p_wxPoint swig_types[93]
2556#define SWIGTYPE_p_wxPopupWindow swig_types[94]
2557#define SWIGTYPE_p_wxPreviewCanvas swig_types[95]
2558#define SWIGTYPE_p_wxPreviewControlBar swig_types[96]
2559#define SWIGTYPE_p_wxPreviewFrame swig_types[97]
2560#define SWIGTYPE_p_wxPrintData swig_types[98]
2561#define SWIGTYPE_p_wxPrintDialog swig_types[99]
2562#define SWIGTYPE_p_wxPrintDialogData swig_types[100]
2563#define SWIGTYPE_p_wxPrintPreview swig_types[101]
2564#define SWIGTYPE_p_wxPrinter swig_types[102]
2565#define SWIGTYPE_p_wxProgressDialog swig_types[103]
2566#define SWIGTYPE_p_wxPyApp swig_types[104]
2567#define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
2568#define SWIGTYPE_p_wxPyEvent swig_types[106]
2569#define SWIGTYPE_p_wxPyHtmlListBox swig_types[107]
2570#define SWIGTYPE_p_wxPyImageHandler swig_types[108]
2571#define SWIGTYPE_p_wxPyPanel swig_types[109]
2572#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[110]
2573#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[111]
2574#define SWIGTYPE_p_wxPyPreviewFrame swig_types[112]
2575#define SWIGTYPE_p_wxPyPrintPreview swig_types[113]
2576#define SWIGTYPE_p_wxPyPrintout swig_types[114]
2577#define SWIGTYPE_p_wxPyScrolledWindow swig_types[115]
2578#define SWIGTYPE_p_wxPySizer swig_types[116]
2579#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[117]
2580#define SWIGTYPE_p_wxPyVListBox swig_types[118]
2581#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[119]
2582#define SWIGTYPE_p_wxPyValidator swig_types[120]
2583#define SWIGTYPE_p_wxPyWindow swig_types[121]
2584#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[122]
2585#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[123]
2586#define SWIGTYPE_p_wxRect swig_types[124]
2587#define SWIGTYPE_p_wxRegion swig_types[125]
2588#define SWIGTYPE_p_wxSashEvent swig_types[126]
2589#define SWIGTYPE_p_wxSashLayoutWindow swig_types[127]
2590#define SWIGTYPE_p_wxSashWindow swig_types[128]
2591#define SWIGTYPE_p_wxScrollEvent swig_types[129]
2592#define SWIGTYPE_p_wxScrollWinEvent swig_types[130]
2593#define SWIGTYPE_p_wxScrolledWindow swig_types[131]
2594#define SWIGTYPE_p_wxSetCursorEvent swig_types[132]
2595#define SWIGTYPE_p_wxShowEvent swig_types[133]
2596#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[134]
2597#define SWIGTYPE_p_wxSize swig_types[135]
2598#define SWIGTYPE_p_wxSizeEvent swig_types[136]
2599#define SWIGTYPE_p_wxSizer swig_types[137]
2600#define SWIGTYPE_p_wxSizerItem swig_types[138]
2601#define SWIGTYPE_p_wxSplashScreen swig_types[139]
2602#define SWIGTYPE_p_wxSplashScreenWindow swig_types[140]
2603#define SWIGTYPE_p_wxSplitterEvent swig_types[141]
2604#define SWIGTYPE_p_wxSplitterWindow swig_types[142]
2605#define SWIGTYPE_p_wxStaticBoxSizer swig_types[143]
2606#define SWIGTYPE_p_wxStatusBar swig_types[144]
2607#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[145]
2608#define SWIGTYPE_p_wxString swig_types[146]
2609#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
2610#define SWIGTYPE_p_wxTIFFHandler swig_types[148]
2611#define SWIGTYPE_p_wxTaskBarIcon swig_types[149]
2612#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[150]
2613#define SWIGTYPE_p_wxTextEntryDialog swig_types[151]
2614#define SWIGTYPE_p_wxTipWindow swig_types[152]
2615#define SWIGTYPE_p_wxToolBar swig_types[153]
2616#define SWIGTYPE_p_wxTopLevelWindow swig_types[154]
2617#define SWIGTYPE_p_wxUpdateUIEvent swig_types[155]
2618#define SWIGTYPE_p_wxValidator swig_types[156]
2619#define SWIGTYPE_p_wxVisualAttributes swig_types[157]
2620#define SWIGTYPE_p_wxWindow swig_types[158]
2621#define SWIGTYPE_p_wxWindowCreateEvent swig_types[159]
2622#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[160]
2623#define SWIGTYPE_p_wxXPMHandler swig_types[161]
2624static swig_type_info *swig_types[163];
2625static swig_module_info swig_module = {swig_types, 162, 0, 0, 0, 0};
32fe5131
RD
2626#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2627#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
093d3ff1
RD
2628
2629/* -------- TYPES TABLE (END) -------- */
2630
0085ce49
RD
2631#if (PY_VERSION_HEX <= 0x02000000)
2632# if !defined(SWIG_PYTHON_CLASSIC)
2633# error "This python version requires to use swig with the '-classic' option"
2634# endif
2635#endif
2636#if (PY_VERSION_HEX <= 0x02020000)
2637# error "This python version requires to use swig with the '-nomodern' option"
2638#endif
2639#if (PY_VERSION_HEX <= 0x02020000)
2640# error "This python version requires to use swig with the '-nomodernargs' option"
2641#endif
2642#ifndef METH_O
2643# error "This python version requires to use swig with the '-nofastunpack' option"
2644#endif
093d3ff1
RD
2645
2646/*-----------------------------------------------
2647 @(target):= _windows_.so
2648 ------------------------------------------------*/
2649#define SWIG_init init_windows_
2650
2651#define SWIG_name "_windows_"
2652
0085ce49 2653#define SWIGVERSION 0x010329
093d3ff1 2654
093d3ff1 2655
0085ce49
RD
2656#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2657#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
093d3ff1
RD
2658
2659
0085ce49 2660#include <stdexcept>
093d3ff1
RD
2661
2662
0085ce49
RD
2663namespace swig {
2664 class PyObject_ptr {
2665 protected:
2666 PyObject *_obj;
093d3ff1 2667
0085ce49
RD
2668 public:
2669 PyObject_ptr() :_obj(0)
2670 {
2671 }
093d3ff1 2672
0085ce49
RD
2673 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2674 {
2675 Py_XINCREF(_obj);
093d3ff1 2676 }
0085ce49
RD
2677
2678 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2679 {
2680 if (initial_ref) Py_XINCREF(_obj);
093d3ff1 2681 }
0085ce49
RD
2682
2683 PyObject_ptr & operator=(const PyObject_ptr& item)
2684 {
2685 Py_XINCREF(item._obj);
2686 Py_XDECREF(_obj);
2687 _obj = item._obj;
2688 return *this;
2689 }
2690
2691 ~PyObject_ptr()
2692 {
2693 Py_XDECREF(_obj);
2694 }
2695
2696 operator PyObject *() const
2697 {
2698 return _obj;
2699 }
2700
2701 PyObject *operator->() const
2702 {
2703 return _obj;
2704 }
2705 };
093d3ff1
RD
2706}
2707
2708
0085ce49
RD
2709namespace swig {
2710 struct PyObject_var : PyObject_ptr {
2711 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2712
2713 PyObject_var & operator = (PyObject* obj)
2714 {
2715 Py_XDECREF(_obj);
2716 _obj = obj;
2717 return *this;
093d3ff1 2718 }
0085ce49 2719 };
093d3ff1 2720}
093d3ff1
RD
2721
2722
0085ce49
RD
2723#include "wx/wxPython/wxPython.h"
2724#include "wx/wxPython/pyclasses.h"
2725
093d3ff1 2726
0085ce49
RD
2727 static const wxString wxPyEmptyString(wxEmptyString);
2728 static const wxString wxPyPanelNameStr(wxPanelNameStr);
093d3ff1 2729
093d3ff1 2730
0085ce49
RD
2731
2732#include <limits.h>
2733#ifndef LLONG_MIN
2734# define LLONG_MIN LONG_LONG_MIN
2735#endif
2736#ifndef LLONG_MAX
2737# define LLONG_MAX LONG_LONG_MAX
2738#endif
2739#ifndef ULLONG_MAX
2740# define ULLONG_MAX ULONG_LONG_MAX
2741#endif
2742
2743
2744SWIGINTERN int
2745SWIG_AsVal_long (PyObject* obj, long* val)
093d3ff1 2746{
0085ce49
RD
2747 if (PyNumber_Check(obj)) {
2748 if (val) *val = PyInt_AsLong(obj);
2749 return SWIG_OK;
2750 }
2751 return SWIG_TypeError;
093d3ff1
RD
2752}
2753
0085ce49
RD
2754
2755SWIGINTERN int
2756SWIG_AsVal_int (PyObject * obj, int *val)
093d3ff1 2757{
0085ce49
RD
2758 long v;
2759 int res = SWIG_AsVal_long (obj, &v);
2760 if (SWIG_IsOK(res)) {
2761 if ((v < INT_MIN || v > INT_MAX)) {
2762 return SWIG_OverflowError;
2763 } else {
2764 if (val) *val = static_cast< int >(v);
2765 }
2766 }
2767 return res;
093d3ff1
RD
2768}
2769
2770
2771SWIGINTERN int
0085ce49 2772SWIG_AsVal_bool (PyObject *obj, bool *val)
093d3ff1
RD
2773{
2774 if (obj == Py_True) {
2775 if (val) *val = true;
0085ce49
RD
2776 return SWIG_OK;
2777 } else if (obj == Py_False) {
093d3ff1 2778 if (val) *val = false;
0085ce49 2779 return SWIG_OK;
093d3ff1 2780 } else {
0085ce49
RD
2781 long v = 0;
2782 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2783 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2784 return res;
093d3ff1 2785 }
093d3ff1
RD
2786}
2787
2788
0085ce49 2789 #define SWIG_From_long PyInt_FromLong
093d3ff1
RD
2790
2791
0085ce49
RD
2792SWIGINTERNINLINE PyObject *
2793SWIG_From_int (int value)
2794{
2795 return SWIG_From_long (value);
2796}
093d3ff1
RD
2797
2798
2799SWIGINTERN int
0085ce49 2800SWIG_AsVal_double (PyObject *obj, double* val)
093d3ff1
RD
2801{
2802 if (PyNumber_Check(obj)) {
2803 if (val) *val = PyFloat_AsDouble(obj);
0085ce49 2804 return SWIG_OK;
093d3ff1 2805 }
0085ce49 2806 return SWIG_TypeError;
093d3ff1
RD
2807}
2808
2809
0085ce49 2810 #define SWIG_From_double PyFloat_FromDouble
093d3ff1
RD
2811
2812 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2813 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2814 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2815 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
0085ce49
RD
2816SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2817SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
093d3ff1
RD
2818
2819
0085ce49 2820SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
093d3ff1
RD
2821 wxRect r;
2822 self->GetFieldRect(i, r);
2823 return r;
2824 }
2825 static const wxString wxPySplitterNameStr(wxT("splitter"));
2826 static const wxString wxPySashNameStr(wxT("sashWindow"));
2827 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2828
2829#include <wx/popupwin.h>
2830
2831
2832class wxPyPopupTransientWindow : public wxPopupTransientWindow
2833{
2834public:
2835 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2836 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2837 : wxPopupTransientWindow(parent, style) {}
2838
2839 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2840 DEC_PYCALLBACK__(OnDismiss);
2841 DEC_PYCALLBACK_BOOL_(CanDismiss);
2842 PYPRIVATE;
2843};
2844
2845
2846IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2847IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2848IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2849
2850
2851#include <wx/tipwin.h>
2852
0085ce49 2853SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
093d3ff1
RD
2854 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2855 }
2856
2857#include <wx/tipwin.h>
2858
2859
2860#include <wx/vscroll.h>
2861
2862
2863class wxPyVScrolledWindow : public wxVScrolledWindow
2864{
32fe5131 2865 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
093d3ff1
RD
2866public:
2867 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2868
2869 wxPyVScrolledWindow(wxWindow *parent,
2870 wxWindowID id = wxID_ANY,
2871 const wxPoint& pos = wxDefaultPosition,
2872 const wxSize& size = wxDefaultSize,
2873 long style = 0,
2874 const wxString& name = wxPyPanelNameStr)
2875 : wxVScrolledWindow(parent, id, pos, size, style, name)
2876 {}
2877
2878 // Overridable virtuals
2879
2880 // this function must be overridden in the derived class and it should
2881 // return the height of the given line in pixels
2882 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2883
2884
2885 // this function doesn't have to be overridden but it may be useful to do
2886 // it if calculating the lines heights is a relatively expensive operation
2887 // as it gives the user code a possibility to calculate several of them at
2888 // once
2889 //
2890 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2891 // shouldn't rely on the latter being called for all lines in the interval
2892 // specified here. It is also possible that OnGetLineHeight() will be
2893 // called for the lines outside of this interval, so this is really just a
2894 // hint, not a promise.
2895 //
2896 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2897 // usual
2898 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2899
2900
2901 // when the number of lines changes, we try to estimate the total height
2902 // of all lines which is a rather expensive operation in terms of lines
2903 // access, so if the user code may estimate the average height
2904 // better/faster than we do, it should override this function to implement
2905 // its own logic
2906 //
2907 // this function should return the best guess for the total height it may
2908 // make
2909 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2910
2911
2912 // Also expose some other interesting protected methods
2913
2914
2915 // find the index of the line we need to show at the top of the window such
2916 // that the last (fully or partially) visible line is the given one
2917 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2918 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2919
2920 // get the total height of the lines between lineMin (inclusive) and
2921 // lineMax (exclusive)
2922 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2923 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
d14a1e28 2924
01f6b6d3
RD
2925 // update the thumb size shown by the scrollbar
2926 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2927
2928 // remove the scrollbar completely because we don't need it
2929 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
d14a1e28
RD
2930
2931 PYPRIVATE;
2932};
2933
2934IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2935
2936IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2937IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2938IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2939
2940
093d3ff1 2941SWIGINTERN int
0085ce49 2942SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
15afbcd0 2943{
c32bde28
RD
2944 long v = 0;
2945 if (SWIG_AsVal_long(obj, &v) && v < 0) {
0085ce49 2946 return SWIG_TypeError;
15afbcd0 2947 }
c32bde28
RD
2948 else if (val)
2949 *val = (unsigned long)v;
0085ce49 2950 return SWIG_OK;
15afbcd0
RD
2951}
2952
2953
32fe5131 2954SWIGINTERNINLINE int
0085ce49 2955SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c32bde28 2956{
0085ce49
RD
2957 unsigned long v;
2958 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2959 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2960 return res;
15afbcd0
RD
2961}
2962
2963
32fe5131 2964SWIGINTERNINLINE PyObject*
0085ce49 2965SWIG_From_unsigned_SS_long (unsigned long value)
994141e6 2966{
15afbcd0 2967 return (value > LONG_MAX) ?
0085ce49
RD
2968 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2969}
2970
2971
2972SWIGINTERNINLINE PyObject *
2973SWIG_From_size_t (size_t value)
2974{
2975 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
994141e6
RD
2976}
2977
2978
d14a1e28 2979#include <wx/vlbox.h>
d14a1e28 2980
b2dc1044 2981 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
2982
2983class wxPyVListBox : public wxVListBox
2984{
32fe5131 2985 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d14a1e28
RD
2986public:
2987 wxPyVListBox() : wxVListBox() {}
2988
2989 wxPyVListBox(wxWindow *parent,
2990 wxWindowID id = wxID_ANY,
2991 const wxPoint& pos = wxDefaultPosition,
2992 const wxSize& size = wxDefaultSize,
2993 long style = 0,
2994 const wxString& name = wxPyVListBoxNameStr)
2995 : wxVListBox(parent, id, pos, size, style, name)
2996 {}
2997
2998 // Overridable virtuals
2999
3000 // the derived class must implement this function to actually draw the item
3001 // with the given index on the provided DC
3002 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3003 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3004
3005
3006 // the derived class must implement this method to return the height of the
3007 // specified item
3008 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3009 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3010
3011
3012 // this method may be used to draw separators between the lines; note that
3013 // the rectangle may be modified, typically to deflate it a bit before
3014 // passing to OnDrawItem()
3015 //
3016 // the base class version doesn't do anything
3017 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
75219dcb 3018 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d14a1e28
RD
3019
3020
3021 // this method is used to draw the items background and, maybe, a border
3022 // around it
3023 //
3024 // the base class version implements a reasonable default behaviour which
3025 // consists in drawing the selected item with the standard background
3026 // colour and drawing a border around the item if it is either selected or
3027 // current
3028 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3029 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3030
3031
3032 PYPRIVATE;
3033};
3034
3035IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3036
3037IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3038IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
75219dcb 3039IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d14a1e28
RD
3040IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3041
3042
0085ce49 3043SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3044 unsigned long cookie = 0;
3045 int selected = self->GetFirstSelected(cookie);
5a446332 3046 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3047 PyObject* tup = PyTuple_New(2);
3048 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3049 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3050 wxPyEndBlockThreads(blocked);
3051 return tup;
3052 }
0085ce49 3053SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3054 int selected = self->GetNextSelected(cookie);
5a446332 3055 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3056 PyObject* tup = PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3058 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3059 wxPyEndBlockThreads(blocked);
3060 return tup;
3061 }
d14a1e28
RD
3062
3063#include <wx/htmllbox.h>
3064
3065
3066class wxPyHtmlListBox : public wxHtmlListBox
3067{
32fe5131 3068 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d14a1e28
RD
3069public:
3070 wxPyHtmlListBox() : wxHtmlListBox() {}
3071
3072 wxPyHtmlListBox(wxWindow *parent,
3073 wxWindowID id = wxID_ANY,
3074 const wxPoint& pos = wxDefaultPosition,
3075 const wxSize& size = wxDefaultSize,
3076 long style = 0,
3077 const wxString& name = wxPyVListBoxNameStr)
3078 : wxHtmlListBox(parent, id, pos, size, style, name)
3079 {}
3080
3081 // Overridable virtuals
3082
3083 // this method must be implemented in the derived class and should return
3084 // the body (i.e. without <html>) of the HTML for the given item
3085 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3086
3087 // this function may be overridden to decorate HTML returned by OnGetItem()
3088 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3089
75219dcb
RD
3090 // These are from wxVListBox
3091 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3092 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3093
d14a1e28
RD
3094// TODO:
3095// // this method allows to customize the selection appearance: it may be used
3096// // to specify the colour of the text which normally has the given colour
3097// // colFg when it is inside the selection
3098// //
3099// // by default, the original colour is not used at all and all text has the
3100// // same (default for this system) colour inside selection
3101// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3102
3103// // this is the same as GetSelectedTextColour() but allows to customize the
3104// // background colour -- this is even more rarely used as you can change it
3105// // globally using SetSelectionBackground()
3106// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3107
e9d6f3a4
RD
3108
3109 // This method may be overriden to handle clicking on a link in
3110 // the listbox. By default, clicking links is ignored.
3111 virtual void OnLinkClicked(size_t n,
3112 const wxHtmlLinkInfo& link);
d14a1e28
RD
3113
3114 PYPRIVATE;
3115};
3116
3117
3118IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3119
3120IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3121IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
75219dcb
RD
3122IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3123IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d14a1e28
RD
3124
3125
e9d6f3a4
RD
3126void wxPyHtmlListBox::OnLinkClicked(size_t n,
3127 const wxHtmlLinkInfo& link) {
3128 bool found;
3129 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3130 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3131 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3132 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3133 Py_DECREF(obj);
3134 }
3135 wxPyEndBlockThreads(blocked);
3136 if (! found)
3137 wxPyHtmlListBox::OnLinkClicked(n, link);
3138}
3139
3140
d14a1e28
RD
3141
3142
3143
ae8162c8
RD
3144#ifndef wxHAS_TASK_BAR_ICON
3145// implement dummy classes for platforms that don't have it
d14a1e28
RD
3146
3147class wxTaskBarIcon : public wxEvtHandler
3148{
3149public:
39f61e25 3150 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28 3151};
09c21d3b 3152
d14a1e28
RD
3153
3154class wxTaskBarIconEvent : public wxEvent
3155{
3156public:
3157 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
39f61e25 3158 { wxPyRaiseNotImplemented(); }
d14a1e28 3159 virtual wxEvent* Clone() const { return NULL; }
ae8162c8
RD
3160 bool IsOk() const { return false; }
3161 bool IsIconInstalled() const { return false; }
3162 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3163 bool RemoveIcon() { return false; }
3164 bool PopupMenu(wxMenu *menu) { return false; }
d14a1e28
RD
3165};
3166
3167enum {
3168 wxEVT_TASKBAR_MOVE = 0,
3169 wxEVT_TASKBAR_LEFT_DOWN = 0,
3170 wxEVT_TASKBAR_LEFT_UP = 0,
3171 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3172 wxEVT_TASKBAR_RIGHT_UP = 0,
3173 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3174 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3175};
09c21d3b
RD
3176
3177
3178#else
5e483524
RD
3179// Otherwise make a class that can virtualize CreatePopupMenu
3180class wxPyTaskBarIcon : public wxTaskBarIcon
3181{
32fe5131 3182 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3183public:
3184 wxPyTaskBarIcon() : wxTaskBarIcon()
3185 {}
3186
3187 wxMenu* CreatePopupMenu() {
3188 wxMenu *rval = NULL;
3189 bool found;
5a446332 3190 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3191 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3192 PyObject* ro;
3193 wxMenu* ptr;
3194 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3195 if (ro) {
3196 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3197 rval = ptr;
3198 Py_DECREF(ro);
3199 }
3200 }
3201 wxPyEndBlockThreads(blocked);
3202 if (! found)
3203 rval = wxTaskBarIcon::CreatePopupMenu();
3204 return rval;
3205 }
3206
3207 PYPRIVATE;
3208};
3209
3210IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
09c21d3b 3211
d14a1e28
RD
3212#endif
3213
0085ce49 3214SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
74a57fcd 3215 self->RemoveIcon();
5e483524 3216 delete self;
74a57fcd 3217 }
b2dc1044
RD
3218 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3219 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3220 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3221 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3222 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3223 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
0085ce49 3224SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d14a1e28
RD
3225 wxArrayString arr;
3226 self->GetFilenames(arr);
3227 return wxArrayString2PyList_helper(arr);
3228 }
0085ce49 3229SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d14a1e28
RD
3230 wxArrayString arr;
3231 self->GetPaths(arr);
3232 return wxArrayString2PyList_helper(arr);
3233 }
0085ce49 3234SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d14a1e28
RD
3235 return wxArrayInt2PyList_helper(self->GetSelections());
3236 }
0085ce49 3237SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d14a1e28
RD
3238 return new wxSingleChoiceDialog(parent, message, caption,
3239 choices, choices_array, NULL, style, pos);
3240 }
d3b6e4ff 3241 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d14a1e28 3242
01f6b6d3
RD
3243SWIGINTERNINLINE PyObject*
3244 SWIG_From_bool (bool value)
3245{
3246 return PyBool_FromLong(value ? 1 : 0);
3247}
3248
3249
d14a1e28
RD
3250#include <wx/mdi.h>
3251
3252 // C++ version of Python aware wxWindow
3253class wxPyWindow : public wxWindow
3254{
3255 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3256public:
3257 wxPyWindow() : wxWindow() {}
3258 wxPyWindow(wxWindow* parent, const wxWindowID id,
3259 const wxPoint& pos = wxDefaultPosition,
3260 const wxSize& size = wxDefaultSize,
3261 long style = 0,
3262 const wxString& name = wxPyPanelNameStr)
3263 : wxWindow(parent, id, pos, size, style, name) {}
3264
db3e571a 3265 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d14a1e28 3266
976dbff5
RD
3267 bool DoEraseBackground(wxDC* dc) {
3268#ifdef __WXMSW__
3269 return wxWindow::DoEraseBackground(dc->GetHDC());
3270#else
3271 dc->SetBackground(wxBrush(GetBackgroundColour()));
3272 dc->Clear();
3273 return true;
3274#endif
3275 }
3276
d14a1e28
RD
3277 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3278 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3279 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3280 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3281
3282 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3283 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3285
3286 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3287 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3288
3289 DEC_PYCALLBACK__(InitDialog);
3290 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3291 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3292 DEC_PYCALLBACK_BOOL_(Validate);
3293
3294 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3295 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3296 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3297
3298 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3299 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3300
db3e571a 3301 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3302 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 3303
51b83b37
RD
3304 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3305
8d38bd1d
RD
3306 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3307
d14a1e28
RD
3308 PYPRIVATE;
3309};
3310
3311IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3312
3313IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3314IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3315IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3316IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3317
3318IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3319IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3320IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3321
3322IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3323IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3324
3325IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3326IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3327IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3328IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3329
3330IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3331IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3332IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3333
3334IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3335IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3336
db3e571a 3337IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
db3e571a 3338IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3339
3340IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d14a1e28 3341
8d38bd1d
RD
3342IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3343
d14a1e28
RD
3344 // C++ version of Python aware wxPanel
3345class wxPyPanel : public wxPanel
3346{
3347 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3348public:
3349 wxPyPanel() : wxPanel() {}
3350 wxPyPanel(wxWindow* parent, const wxWindowID id,
3351 const wxPoint& pos = wxDefaultPosition,
3352 const wxSize& size = wxDefaultSize,
3353 long style = 0,
3354 const wxString& name = wxPyPanelNameStr)
3355 : wxPanel(parent, id, pos, size, style, name) {}
3356
db3e571a 3357 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
3358 bool DoEraseBackground(wxDC* dc) {
3359#ifdef __WXMSW__
3360 return wxWindow::DoEraseBackground(dc->GetHDC());
3361#else
3362 dc->SetBackground(wxBrush(GetBackgroundColour()));
3363 dc->Clear();
3364 return true;
3365#endif
3366 }
db3e571a 3367
d14a1e28
RD
3368
3369 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3370 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3371 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3372 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3373
3374 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3375 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3377
3378 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3379 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3380
3381 DEC_PYCALLBACK__(InitDialog);
3382 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3383 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3384 DEC_PYCALLBACK_BOOL_(Validate);
3385
3386 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3387 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3388 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3389
3390 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3391 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3392
db3e571a 3393 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3394 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
4276dc52 3395
51b83b37
RD
3396 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3397
8d38bd1d
RD
3398 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3399
d14a1e28
RD
3400 PYPRIVATE;
3401};
3402
3403IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3404
3405IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3406IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3407IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3408IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3409
3410IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3411IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3412IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3413
3414IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3415IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3416
3417IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3418IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3419IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3420IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3421
3422IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3423IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3424IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3425
3426IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3427IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3428
db3e571a 3429IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
db3e571a 3430IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
1cb4a8aa 3431
51b83b37
RD
3432IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3433
8d38bd1d
RD
3434IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3435
1cb4a8aa
RD
3436 // C++ version of Python aware wxScrolledWindow
3437class wxPyScrolledWindow : public wxScrolledWindow
3438{
3439 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3440public:
3441 wxPyScrolledWindow() : wxScrolledWindow() {}
3442 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3443 const wxPoint& pos = wxDefaultPosition,
3444 const wxSize& size = wxDefaultSize,
3445 long style = 0,
3446 const wxString& name = wxPyPanelNameStr)
3447 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3448
db3e571a 3449 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
3450 bool DoEraseBackground(wxDC* dc) {
3451#ifdef __WXMSW__
3452 return wxWindow::DoEraseBackground(dc->GetHDC());
3453#else
3454 dc->SetBackground(wxBrush(GetBackgroundColour()));
3455 dc->Clear();
3456 return true;
3457#endif
3458 }
1cb4a8aa
RD
3459
3460 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3461 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3462 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3463 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3464
3465 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3466 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3468
3469 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3470 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3471
3472 DEC_PYCALLBACK__(InitDialog);
3473 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3474 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3475 DEC_PYCALLBACK_BOOL_(Validate);
3476
3477 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3478 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3479 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3480
3481 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3482 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3483
db3e571a 3484 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
db3e571a 3485 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
1cb4a8aa 3486
51b83b37
RD
3487 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3488
8d38bd1d
RD
3489 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3490
1cb4a8aa
RD
3491 PYPRIVATE;
3492};
3493
3494IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3495
3496IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3497IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3498IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3499IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3500
3501IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3502IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3503IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3504
3505IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3506IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3507
3508IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3509IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3510IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3511IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3512
3513IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3514IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3515IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3516
3517IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3518IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3519
db3e571a 3520IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
db3e571a
RD
3521IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3522
51b83b37 3523IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d14a1e28 3524
8d38bd1d
RD
3525IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3526
d14a1e28
RD
3527
3528#include "wx/wxPython/printfw.h"
3529
d14a1e28 3530
33b885b9
RD
3531 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3532 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
0085ce49 3533SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
b9d6a5f3 3534 PyObject* data;
5a446332 3535 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3536 data = PyString_FromStringAndSize(self->GetPrivData(),
3537 self->GetPrivDataLen());
3538 wxPyEndBlockThreads(blocked);
3539 return data;
3540 }
0085ce49 3541SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
b9d6a5f3
RD
3542 if (! PyString_Check(data)) {
3543 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3544 "Expected string object"));
3545 return /* NULL */ ;
3546 }
3547
5a446332 3548 wxPyBlock_t blocked = wxPyBeginBlockThreads();
b9d6a5f3
RD
3549 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3550 wxPyEndBlockThreads(blocked);
3551 }
d14a1e28
RD
3552
3553
a68b8331 3554IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d14a1e28
RD
3555
3556// Since this one would be tough and ugly to do with the Macros...
3557void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
ae8162c8 3558 bool hadErr = false;
d14a1e28
RD
3559 bool found;
3560
5a446332 3561 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d14a1e28
RD
3562 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3563 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3564 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3565 PyObject* val;
3566
3567 val = PyTuple_GetItem(result, 0);
3568 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
ae8162c8 3569 else hadErr = true;
d14a1e28
RD
3570
3571 val = PyTuple_GetItem(result, 1);
3572 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
ae8162c8 3573 else hadErr = true;
d14a1e28
RD
3574
3575 val = PyTuple_GetItem(result, 2);
3576 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
ae8162c8 3577 else hadErr = true;
d14a1e28
RD
3578
3579 val = PyTuple_GetItem(result, 3);
3580 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
ae8162c8 3581 else hadErr = true;
d14a1e28
RD
3582 }
3583 else
ae8162c8 3584 hadErr = true;
d14a1e28
RD
3585
3586 if (hadErr) {
3587 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3588 PyErr_Print();
3589 }
3590 Py_DECREF(result);
3591 }
4f89f6a3 3592 wxPyEndBlockThreads(blocked);
d14a1e28
RD
3593 if (! found)
3594 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3595}
3596
d14a1e28
RD
3597
3598
3599IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3600IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3601IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3602IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3603IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3604IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3605IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3606
3607
3608
3609
3610
ae8162c8 3611#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
c26d9ab4 3612 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d14a1e28
RD
3613
3614
ae8162c8
RD
3615#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3616 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3617 bool rval=false; \
3618 bool found; \
32fe5131 3619 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
ae8162c8
RD
3620 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3621 PyObject* win = wxPyMake_wxObject(a,false); \
3622 PyObject* dc = wxPyMake_wxObject(&b,false); \
3623 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3624 Py_DECREF(win); \
3625 Py_DECREF(dc); \
3626 } \
3627 wxPyEndBlockThreads(blocked); \
3628 if (! found) \
3629 rval = PCLASS::CBNAME(a, b); \
3630 return rval; \
c26d9ab4 3631 }
d14a1e28
RD
3632
3633
3634
3635
3636class wxPyPrintPreview : public wxPrintPreview
3637{
3638 DECLARE_CLASS(wxPyPrintPreview)
3639public:
4276dc52
RD
3640 wxPyPrintPreview(wxPyPrintout* printout,
3641 wxPyPrintout* printoutForPrinting,
3642 wxPrintDialogData* data=NULL)
3643 : wxPrintPreview(printout, printoutForPrinting, data)
3644 {}
d14a1e28
RD
3645 wxPyPrintPreview(wxPyPrintout* printout,
3646 wxPyPrintout* printoutForPrinting,
32fe5131 3647 wxPrintData* data)
d14a1e28
RD
3648 : wxPrintPreview(printout, printoutForPrinting, data)
3649 {}
3650
3651 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3652 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3653 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3654 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3655 DEC_PYCALLBACK_VOID_INT(SetZoom);
3656 DEC_PYCALLBACK_BOOL_BOOL(Print);
3657 DEC_PYCALLBACK_VOID_(DetermineScaling);
3658
3659 PYPRIVATE;
3660};
3661
3662// Stupid renamed classes... Fix this in 2.5...
3663#if defined(__WXMSW__)
3664IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3665#elif defined(__WXMAC__)
3666IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3667#else
3668IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3669#endif
3670
3671IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3672IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3673IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3674IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3675IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3676IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3677IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3678
3679
3680class wxPyPreviewFrame : public wxPreviewFrame
3681{
32fe5131 3682 DECLARE_CLASS(wxPyPreviewFrame)
d14a1e28
RD
3683public:
3684 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3685 const wxString& title,
3686 const wxPoint& pos = wxDefaultPosition,
3687 const wxSize& size = wxDefaultSize,
3688 long style = wxDEFAULT_FRAME_STYLE,
3689 const wxString& name = wxPyFrameNameStr)
3690 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3691 {}
3692
3693 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3694 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3695
3696 DEC_PYCALLBACK_VOID_(Initialize);
3697 DEC_PYCALLBACK_VOID_(CreateCanvas);
3698 DEC_PYCALLBACK_VOID_(CreateControlBar);
3699
3700 PYPRIVATE;
3701};
3702
3703IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3704
3705IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3706IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3707IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3708
3709
3710class wxPyPreviewControlBar : public wxPreviewControlBar
3711{
32fe5131 3712 DECLARE_CLASS(wxPyPreviewControlBar)
d14a1e28
RD
3713public:
3714 wxPyPreviewControlBar(wxPrintPreview *preview,
3715 long buttons,
3716 wxWindow *parent,
3717 const wxPoint& pos = wxDefaultPosition,
3718 const wxSize& size = wxDefaultSize,
3719 long style = 0,
3720 const wxString& name = wxPyPanelNameStr)
3721 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3722 {}
3723
3724 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3725
3726 DEC_PYCALLBACK_VOID_(CreateButtons);
3727 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3728
3729 PYPRIVATE;
3730};
3731
3732IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3733IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3734IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3735
3736#ifdef __cplusplus
3737extern "C" {
3738#endif
0085ce49
RD
3739SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3740 PyObject *resultobj = 0;
3741 wxWindow *arg1 = (wxWindow *) 0 ;
3742 int arg2 = (int) (int)-1 ;
3743 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3744 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3745 wxSize const &arg4_defvalue = wxDefaultSize ;
3746 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3747 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3748 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3749 wxString *arg6 = (wxString *) &arg6_defvalue ;
3750 wxPanel *result = 0 ;
3751 void *argp1 = 0 ;
3752 int res1 = 0 ;
3753 int val2 ;
3754 int ecode2 = 0 ;
3755 wxPoint temp3 ;
3756 wxSize temp4 ;
3757 long val5 ;
3758 int ecode5 = 0 ;
3759 bool temp6 = false ;
3760 PyObject * obj0 = 0 ;
3761 PyObject * obj1 = 0 ;
3762 PyObject * obj2 = 0 ;
3763 PyObject * obj3 = 0 ;
3764 PyObject * obj4 = 0 ;
3765 PyObject * obj5 = 0 ;
3766 char * kwnames[] = {
3767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3768 };
3769
3770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3772 if (!SWIG_IsOK(res1)) {
3773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3774 }
3775 arg1 = reinterpret_cast< wxWindow * >(argp1);
3776 if (obj1) {
3777 ecode2 = SWIG_AsVal_int(obj1, &val2);
3778 if (!SWIG_IsOK(ecode2)) {
3779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3780 }
3781 arg2 = static_cast< int >(val2);
3782 }
3783 if (obj2) {
d14a1e28 3784 {
0085ce49
RD
3785 arg3 = &temp3;
3786 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 3787 }
0085ce49
RD
3788 }
3789 if (obj3) {
d14a1e28 3790 {
0085ce49
RD
3791 arg4 = &temp4;
3792 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 3793 }
0085ce49
RD
3794 }
3795 if (obj4) {
3796 ecode5 = SWIG_AsVal_long(obj4, &val5);
3797 if (!SWIG_IsOK(ecode5)) {
3798 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3799 }
3800 arg5 = static_cast< long >(val5);
3801 }
3802 if (obj5) {
d14a1e28 3803 {
0085ce49
RD
3804 arg6 = wxString_in_helper(obj5);
3805 if (arg6 == NULL) SWIG_fail;
3806 temp6 = true;
3807 }
3808 }
3809 {
3810 if (!wxPyCheckForApp()) SWIG_fail;
3811 PyThreadState* __tstate = wxPyBeginAllowThreads();
3812 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3813 wxPyEndAllowThreads(__tstate);
3814 if (PyErr_Occurred()) SWIG_fail;
3815 }
3816 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3817 {
3818 if (temp6)
3819 delete arg6;
3820 }
3821 return resultobj;
3822fail:
3823 {
3824 if (temp6)
3825 delete arg6;
3826 }
3827 return NULL;
d14a1e28
RD
3828}
3829
3830
0085ce49
RD
3831SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3832 PyObject *resultobj = 0;
3833 wxPanel *result = 0 ;
3834
3835 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3836 {
3837 if (!wxPyCheckForApp()) SWIG_fail;
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 result = (wxPanel *)new wxPanel();
3840 wxPyEndAllowThreads(__tstate);
3841 if (PyErr_Occurred()) SWIG_fail;
3842 }
3843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3844 return resultobj;
3845fail:
3846 return NULL;
3847}
3848
3849
3850SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3851 PyObject *resultobj = 0;
3852 wxPanel *arg1 = (wxPanel *) 0 ;
3853 wxWindow *arg2 = (wxWindow *) 0 ;
3854 int arg3 = (int) (int)-1 ;
3855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3857 wxSize const &arg5_defvalue = wxDefaultSize ;
3858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3859 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3860 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3861 wxString *arg7 = (wxString *) &arg7_defvalue ;
3862 bool result;
3863 void *argp1 = 0 ;
3864 int res1 = 0 ;
3865 void *argp2 = 0 ;
3866 int res2 = 0 ;
3867 int val3 ;
3868 int ecode3 = 0 ;
3869 wxPoint temp4 ;
3870 wxSize temp5 ;
3871 long val6 ;
3872 int ecode6 = 0 ;
3873 bool temp7 = false ;
3874 PyObject * obj0 = 0 ;
3875 PyObject * obj1 = 0 ;
3876 PyObject * obj2 = 0 ;
3877 PyObject * obj3 = 0 ;
3878 PyObject * obj4 = 0 ;
3879 PyObject * obj5 = 0 ;
3880 PyObject * obj6 = 0 ;
3881 char * kwnames[] = {
3882 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3883 };
3884
3885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3887 if (!SWIG_IsOK(res1)) {
3888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3889 }
3890 arg1 = reinterpret_cast< wxPanel * >(argp1);
3891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3892 if (!SWIG_IsOK(res2)) {
3893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3894 }
3895 arg2 = reinterpret_cast< wxWindow * >(argp2);
3896 if (obj2) {
3897 ecode3 = SWIG_AsVal_int(obj2, &val3);
3898 if (!SWIG_IsOK(ecode3)) {
3899 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3900 }
3901 arg3 = static_cast< int >(val3);
3902 }
3903 if (obj3) {
4f89f6a3 3904 {
0085ce49
RD
3905 arg4 = &temp4;
3906 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 3907 }
0085ce49
RD
3908 }
3909 if (obj4) {
d14a1e28 3910 {
0085ce49
RD
3911 arg5 = &temp5;
3912 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 3913 }
0085ce49
RD
3914 }
3915 if (obj5) {
3916 ecode6 = SWIG_AsVal_long(obj5, &val6);
3917 if (!SWIG_IsOK(ecode6)) {
3918 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3919 }
3920 arg6 = static_cast< long >(val6);
3921 }
3922 if (obj6) {
d14a1e28 3923 {
0085ce49
RD
3924 arg7 = wxString_in_helper(obj6);
3925 if (arg7 == NULL) SWIG_fail;
3926 temp7 = true;
d14a1e28 3927 }
0085ce49
RD
3928 }
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3932 wxPyEndAllowThreads(__tstate);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 }
3935 {
3936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3937 }
3938 {
3939 if (temp7)
3940 delete arg7;
3941 }
3942 return resultobj;
3943fail:
3944 {
3945 if (temp7)
3946 delete arg7;
3947 }
3948 return NULL;
5cbf236d
RD
3949}
3950
3951
0085ce49
RD
3952SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3953 PyObject *resultobj = 0;
3954 wxPanel *arg1 = (wxPanel *) 0 ;
3955 void *argp1 = 0 ;
3956 int res1 = 0 ;
3957 PyObject *swig_obj[1] ;
3958
3959 if (!args) SWIG_fail;
3960 swig_obj[0] = args;
3961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3962 if (!SWIG_IsOK(res1)) {
3963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3964 }
3965 arg1 = reinterpret_cast< wxPanel * >(argp1);
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 (arg1)->SetFocusIgnoringChildren();
3969 wxPyEndAllowThreads(__tstate);
3970 if (PyErr_Occurred()) SWIG_fail;
3971 }
3972 resultobj = SWIG_Py_Void();
3973 return resultobj;
3974fail:
3975 return NULL;
3976}
3977
3978
3979SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3980 PyObject *resultobj = 0;
3981 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3982 SwigValueWrapper<wxVisualAttributes > result;
3983 int val1 ;
3984 int ecode1 = 0 ;
3985 PyObject * obj0 = 0 ;
3986 char * kwnames[] = {
3987 (char *) "variant", NULL
3988 };
3989
3990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
3991 if (obj0) {
3992 ecode1 = SWIG_AsVal_int(obj0, &val1);
3993 if (!SWIG_IsOK(ecode1)) {
3994 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3995 }
3996 arg1 = static_cast< wxWindowVariant >(val1);
3997 }
3998 {
3999 if (!wxPyCheckForApp()) SWIG_fail;
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = wxPanel::GetClassDefaultAttributes(arg1);
4002 wxPyEndAllowThreads(__tstate);
4003 if (PyErr_Occurred()) SWIG_fail;
4004 }
4005 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4006 return resultobj;
4007fail:
4008 return NULL;
4009}
4010
4011
4012SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4013 PyObject *obj;
4014 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4015 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4016 return SWIG_Py_Void();
4017}
4018
4019SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4020 return SWIG_Python_InitShadowInstance(args);
4021}
4022
4023SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4024 PyObject *resultobj = 0;
4025 wxWindow *arg1 = (wxWindow *) 0 ;
4026 int arg2 = (int) (int)-1 ;
4027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4029 wxSize const &arg4_defvalue = wxDefaultSize ;
4030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4031 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4032 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4033 wxString *arg6 = (wxString *) &arg6_defvalue ;
4034 wxScrolledWindow *result = 0 ;
4035 void *argp1 = 0 ;
4036 int res1 = 0 ;
4037 int val2 ;
4038 int ecode2 = 0 ;
4039 wxPoint temp3 ;
4040 wxSize temp4 ;
4041 long val5 ;
4042 int ecode5 = 0 ;
4043 bool temp6 = false ;
4044 PyObject * obj0 = 0 ;
4045 PyObject * obj1 = 0 ;
4046 PyObject * obj2 = 0 ;
4047 PyObject * obj3 = 0 ;
4048 PyObject * obj4 = 0 ;
4049 PyObject * obj5 = 0 ;
4050 char * kwnames[] = {
4051 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4052 };
4053
4054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4056 if (!SWIG_IsOK(res1)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4058 }
4059 arg1 = reinterpret_cast< wxWindow * >(argp1);
4060 if (obj1) {
4061 ecode2 = SWIG_AsVal_int(obj1, &val2);
4062 if (!SWIG_IsOK(ecode2)) {
4063 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4064 }
4065 arg2 = static_cast< int >(val2);
4066 }
4067 if (obj2) {
5cbf236d 4068 {
0085ce49
RD
4069 arg3 = &temp3;
4070 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22bfe96c 4071 }
0085ce49
RD
4072 }
4073 if (obj3) {
22bfe96c 4074 {
0085ce49
RD
4075 arg4 = &temp4;
4076 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22bfe96c 4077 }
0085ce49
RD
4078 }
4079 if (obj4) {
4080 ecode5 = SWIG_AsVal_long(obj4, &val5);
4081 if (!SWIG_IsOK(ecode5)) {
4082 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4083 }
4084 arg5 = static_cast< long >(val5);
4085 }
4086 if (obj5) {
22bfe96c 4087 {
0085ce49
RD
4088 arg6 = wxString_in_helper(obj5);
4089 if (arg6 == NULL) SWIG_fail;
4090 temp6 = true;
22bfe96c 4091 }
0085ce49
RD
4092 }
4093 {
4094 if (!wxPyCheckForApp()) SWIG_fail;
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4101 {
4102 if (temp6)
4103 delete arg6;
4104 }
4105 return resultobj;
4106fail:
4107 {
4108 if (temp6)
4109 delete arg6;
4110 }
4111 return NULL;
22bfe96c
RD
4112}
4113
4114
0085ce49
RD
4115SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4116 PyObject *resultobj = 0;
4117 wxScrolledWindow *result = 0 ;
4118
4119 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4120 {
4121 if (!wxPyCheckForApp()) SWIG_fail;
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 result = (wxScrolledWindow *)new wxScrolledWindow();
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4128 return resultobj;
4129fail:
4130 return NULL;
4131}
4132
4133
4134SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4135 PyObject *resultobj = 0;
4136 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4137 wxWindow *arg2 = (wxWindow *) 0 ;
4138 int arg3 = (int) (int)-1 ;
4139 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4140 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4141 wxSize const &arg5_defvalue = wxDefaultSize ;
4142 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4143 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4144 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4145 wxString *arg7 = (wxString *) &arg7_defvalue ;
4146 bool result;
4147 void *argp1 = 0 ;
4148 int res1 = 0 ;
4149 void *argp2 = 0 ;
4150 int res2 = 0 ;
4151 int val3 ;
4152 int ecode3 = 0 ;
4153 wxPoint temp4 ;
4154 wxSize temp5 ;
4155 long val6 ;
4156 int ecode6 = 0 ;
4157 bool temp7 = false ;
4158 PyObject * obj0 = 0 ;
4159 PyObject * obj1 = 0 ;
4160 PyObject * obj2 = 0 ;
4161 PyObject * obj3 = 0 ;
4162 PyObject * obj4 = 0 ;
4163 PyObject * obj5 = 0 ;
4164 PyObject * obj6 = 0 ;
4165 char * kwnames[] = {
4166 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4167 };
4168
4169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4171 if (!SWIG_IsOK(res1)) {
4172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4173 }
4174 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4175 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4176 if (!SWIG_IsOK(res2)) {
4177 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4178 }
4179 arg2 = reinterpret_cast< wxWindow * >(argp2);
4180 if (obj2) {
4181 ecode3 = SWIG_AsVal_int(obj2, &val3);
4182 if (!SWIG_IsOK(ecode3)) {
4183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4184 }
4185 arg3 = static_cast< int >(val3);
4186 }
4187 if (obj3) {
d14a1e28 4188 {
0085ce49
RD
4189 arg4 = &temp4;
4190 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4191 }
4192 }
4193 if (obj4) {
d14a1e28 4194 {
0085ce49
RD
4195 arg5 = &temp5;
4196 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 4197 }
0085ce49
RD
4198 }
4199 if (obj5) {
4200 ecode6 = SWIG_AsVal_long(obj5, &val6);
4201 if (!SWIG_IsOK(ecode6)) {
4202 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4203 }
4204 arg6 = static_cast< long >(val6);
4205 }
4206 if (obj6) {
d14a1e28 4207 {
0085ce49
RD
4208 arg7 = wxString_in_helper(obj6);
4209 if (arg7 == NULL) SWIG_fail;
4210 temp7 = true;
d14a1e28 4211 }
0085ce49
RD
4212 }
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 {
4220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4221 }
4222 {
4223 if (temp7)
4224 delete arg7;
4225 }
4226 return resultobj;
4227fail:
4228 {
4229 if (temp7)
4230 delete arg7;
4231 }
4232 return NULL;
4233}
4234
4235
4236SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4237 PyObject *resultobj = 0;
4238 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4239 int arg2 ;
4240 int arg3 ;
4241 int arg4 ;
4242 int arg5 ;
4243 int arg6 = (int) 0 ;
4244 int arg7 = (int) 0 ;
4245 bool arg8 = (bool) false ;
4246 void *argp1 = 0 ;
4247 int res1 = 0 ;
4248 int val2 ;
4249 int ecode2 = 0 ;
4250 int val3 ;
4251 int ecode3 = 0 ;
4252 int val4 ;
4253 int ecode4 = 0 ;
4254 int val5 ;
4255 int ecode5 = 0 ;
4256 int val6 ;
4257 int ecode6 = 0 ;
4258 int val7 ;
4259 int ecode7 = 0 ;
4260 bool val8 ;
4261 int ecode8 = 0 ;
4262 PyObject * obj0 = 0 ;
4263 PyObject * obj1 = 0 ;
4264 PyObject * obj2 = 0 ;
4265 PyObject * obj3 = 0 ;
4266 PyObject * obj4 = 0 ;
4267 PyObject * obj5 = 0 ;
4268 PyObject * obj6 = 0 ;
4269 PyObject * obj7 = 0 ;
4270 char * kwnames[] = {
4271 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4272 };
4273
4274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4276 if (!SWIG_IsOK(res1)) {
4277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4278 }
4279 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4280 ecode2 = SWIG_AsVal_int(obj1, &val2);
4281 if (!SWIG_IsOK(ecode2)) {
4282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4283 }
4284 arg2 = static_cast< int >(val2);
4285 ecode3 = SWIG_AsVal_int(obj2, &val3);
4286 if (!SWIG_IsOK(ecode3)) {
4287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4288 }
4289 arg3 = static_cast< int >(val3);
4290 ecode4 = SWIG_AsVal_int(obj3, &val4);
4291 if (!SWIG_IsOK(ecode4)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4293 }
4294 arg4 = static_cast< int >(val4);
4295 ecode5 = SWIG_AsVal_int(obj4, &val5);
4296 if (!SWIG_IsOK(ecode5)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4298 }
4299 arg5 = static_cast< int >(val5);
4300 if (obj5) {
4301 ecode6 = SWIG_AsVal_int(obj5, &val6);
4302 if (!SWIG_IsOK(ecode6)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4304 }
4305 arg6 = static_cast< int >(val6);
4306 }
4307 if (obj6) {
4308 ecode7 = SWIG_AsVal_int(obj6, &val7);
4309 if (!SWIG_IsOK(ecode7)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4311 }
4312 arg7 = static_cast< int >(val7);
4313 }
4314 if (obj7) {
4315 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4316 if (!SWIG_IsOK(ecode8)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4318 }
4319 arg8 = static_cast< bool >(val8);
4320 }
4321 {
4322 PyThreadState* __tstate = wxPyBeginAllowThreads();
4323 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 resultobj = SWIG_Py_Void();
4328 return resultobj;
4329fail:
4330 return NULL;
4331}
4332
4333
4334SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4335 PyObject *resultobj = 0;
4336 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4337 int arg2 ;
4338 int arg3 ;
4339 void *argp1 = 0 ;
4340 int res1 = 0 ;
4341 int val2 ;
4342 int ecode2 = 0 ;
4343 int val3 ;
4344 int ecode3 = 0 ;
4345 PyObject * obj0 = 0 ;
4346 PyObject * obj1 = 0 ;
4347 PyObject * obj2 = 0 ;
4348 char * kwnames[] = {
4349 (char *) "self",(char *) "x",(char *) "y", NULL
4350 };
4351
4352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4354 if (!SWIG_IsOK(res1)) {
4355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4356 }
4357 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4358 ecode2 = SWIG_AsVal_int(obj1, &val2);
4359 if (!SWIG_IsOK(ecode2)) {
4360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4361 }
4362 arg2 = static_cast< int >(val2);
4363 ecode3 = SWIG_AsVal_int(obj2, &val3);
4364 if (!SWIG_IsOK(ecode3)) {
4365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4366 }
4367 arg3 = static_cast< int >(val3);
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 (arg1)->Scroll(arg2,arg3);
4371 wxPyEndAllowThreads(__tstate);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 }
4374 resultobj = SWIG_Py_Void();
4375 return resultobj;
4376fail:
4377 return NULL;
4378}
4379
4380
4381SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj = 0;
4383 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4384 int arg2 ;
4385 int result;
4386 void *argp1 = 0 ;
4387 int res1 = 0 ;
4388 int val2 ;
4389 int ecode2 = 0 ;
4390 PyObject * obj0 = 0 ;
4391 PyObject * obj1 = 0 ;
4392 char * kwnames[] = {
4393 (char *) "self",(char *) "orient", NULL
4394 };
4395
4396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4398 if (!SWIG_IsOK(res1)) {
4399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4400 }
4401 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4402 ecode2 = SWIG_AsVal_int(obj1, &val2);
4403 if (!SWIG_IsOK(ecode2)) {
4404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4405 }
4406 arg2 = static_cast< int >(val2);
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 resultobj = SWIG_From_int(static_cast< int >(result));
4414 return resultobj;
4415fail:
4416 return NULL;
4417}
4418
4419
4420SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4421 PyObject *resultobj = 0;
4422 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4423 int arg2 ;
4424 int arg3 ;
4425 void *argp1 = 0 ;
4426 int res1 = 0 ;
4427 int val2 ;
4428 int ecode2 = 0 ;
4429 int val3 ;
4430 int ecode3 = 0 ;
4431 PyObject * obj0 = 0 ;
4432 PyObject * obj1 = 0 ;
4433 PyObject * obj2 = 0 ;
4434 char * kwnames[] = {
4435 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4436 };
4437
4438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4440 if (!SWIG_IsOK(res1)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4442 }
4443 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4444 ecode2 = SWIG_AsVal_int(obj1, &val2);
4445 if (!SWIG_IsOK(ecode2)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4447 }
4448 arg2 = static_cast< int >(val2);
4449 ecode3 = SWIG_AsVal_int(obj2, &val3);
4450 if (!SWIG_IsOK(ecode3)) {
4451 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4452 }
4453 arg3 = static_cast< int >(val3);
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 (arg1)->SetScrollPageSize(arg2,arg3);
4457 wxPyEndAllowThreads(__tstate);
4458 if (PyErr_Occurred()) SWIG_fail;
4459 }
4460 resultobj = SWIG_Py_Void();
4461 return resultobj;
4462fail:
4463 return NULL;
4464}
4465
4466
4467SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4468 PyObject *resultobj = 0;
4469 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4470 int arg2 ;
4471 int arg3 ;
4472 void *argp1 = 0 ;
4473 int res1 = 0 ;
4474 int val2 ;
4475 int ecode2 = 0 ;
4476 int val3 ;
4477 int ecode3 = 0 ;
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
4480 PyObject * obj2 = 0 ;
4481 char * kwnames[] = {
4482 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4483 };
4484
4485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4487 if (!SWIG_IsOK(res1)) {
4488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4489 }
4490 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4491 ecode2 = SWIG_AsVal_int(obj1, &val2);
4492 if (!SWIG_IsOK(ecode2)) {
4493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4494 }
4495 arg2 = static_cast< int >(val2);
4496 ecode3 = SWIG_AsVal_int(obj2, &val3);
4497 if (!SWIG_IsOK(ecode3)) {
4498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4499 }
4500 arg3 = static_cast< int >(val3);
4501 {
4502 PyThreadState* __tstate = wxPyBeginAllowThreads();
4503 (arg1)->SetScrollRate(arg2,arg3);
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 resultobj = SWIG_Py_Void();
4508 return resultobj;
4509fail:
4510 return NULL;
4511}
4512
4513
4514SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4515 PyObject *resultobj = 0;
4516 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4517 int *arg2 = (int *) 0 ;
4518 int *arg3 = (int *) 0 ;
4519 void *argp1 = 0 ;
4520 int res1 = 0 ;
4521 int temp2 ;
4522 int res2 = SWIG_TMPOBJ ;
4523 int temp3 ;
4524 int res3 = SWIG_TMPOBJ ;
4525 PyObject *swig_obj[1] ;
4526
4527 arg2 = &temp2;
4528 arg3 = &temp3;
4529 if (!args) SWIG_fail;
4530 swig_obj[0] = args;
4531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4532 if (!SWIG_IsOK(res1)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4534 }
4535 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4539 wxPyEndAllowThreads(__tstate);
4540 if (PyErr_Occurred()) SWIG_fail;
4541 }
4542 resultobj = SWIG_Py_Void();
4543 if (SWIG_IsTmpObj(res2)) {
4544 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4545 } else {
4546 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4547 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4548 }
4549 if (SWIG_IsTmpObj(res3)) {
4550 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4551 } else {
4552 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4553 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4554 }
4555 return resultobj;
4556fail:
4557 return NULL;
4558}
4559
4560
4561SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj = 0;
4563 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4564 bool arg2 ;
4565 bool arg3 ;
4566 void *argp1 = 0 ;
4567 int res1 = 0 ;
4568 bool val2 ;
4569 int ecode2 = 0 ;
4570 bool val3 ;
4571 int ecode3 = 0 ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 PyObject * obj2 = 0 ;
4575 char * kwnames[] = {
4576 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4577 };
4578
4579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4581 if (!SWIG_IsOK(res1)) {
4582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4583 }
4584 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4585 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4586 if (!SWIG_IsOK(ecode2)) {
4587 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4588 }
4589 arg2 = static_cast< bool >(val2);
4590 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4591 if (!SWIG_IsOK(ecode3)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4593 }
4594 arg3 = static_cast< bool >(val3);
4595 {
4596 PyThreadState* __tstate = wxPyBeginAllowThreads();
4597 (arg1)->EnableScrolling(arg2,arg3);
4598 wxPyEndAllowThreads(__tstate);
4599 if (PyErr_Occurred()) SWIG_fail;
4600 }
4601 resultobj = SWIG_Py_Void();
4602 return resultobj;
4603fail:
4604 return NULL;
4605}
4606
4607
4608SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4609 PyObject *resultobj = 0;
4610 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4611 int *arg2 = (int *) 0 ;
4612 int *arg3 = (int *) 0 ;
4613 void *argp1 = 0 ;
4614 int res1 = 0 ;
4615 int temp2 ;
4616 int res2 = SWIG_TMPOBJ ;
4617 int temp3 ;
4618 int res3 = SWIG_TMPOBJ ;
4619 PyObject *swig_obj[1] ;
4620
4621 arg2 = &temp2;
4622 arg3 = &temp3;
4623 if (!args) SWIG_fail;
4624 swig_obj[0] = args;
4625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4626 if (!SWIG_IsOK(res1)) {
4627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4628 }
4629 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4630 {
4631 PyThreadState* __tstate = wxPyBeginAllowThreads();
4632 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4633 wxPyEndAllowThreads(__tstate);
4634 if (PyErr_Occurred()) SWIG_fail;
4635 }
4636 resultobj = SWIG_Py_Void();
4637 if (SWIG_IsTmpObj(res2)) {
4638 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4639 } else {
4640 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4642 }
4643 if (SWIG_IsTmpObj(res3)) {
4644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4645 } else {
4646 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4648 }
4649 return resultobj;
4650fail:
4651 return NULL;
4652}
4653
4654
4655SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4656 PyObject *resultobj = 0;
4657 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4658 double arg2 ;
4659 double arg3 ;
4660 void *argp1 = 0 ;
4661 int res1 = 0 ;
4662 double val2 ;
4663 int ecode2 = 0 ;
4664 double val3 ;
4665 int ecode3 = 0 ;
4666 PyObject * obj0 = 0 ;
4667 PyObject * obj1 = 0 ;
4668 PyObject * obj2 = 0 ;
4669 char * kwnames[] = {
4670 (char *) "self",(char *) "xs",(char *) "ys", NULL
4671 };
4672
4673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4675 if (!SWIG_IsOK(res1)) {
4676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4677 }
4678 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4679 ecode2 = SWIG_AsVal_double(obj1, &val2);
4680 if (!SWIG_IsOK(ecode2)) {
4681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4682 }
4683 arg2 = static_cast< double >(val2);
4684 ecode3 = SWIG_AsVal_double(obj2, &val3);
4685 if (!SWIG_IsOK(ecode3)) {
4686 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4687 }
4688 arg3 = static_cast< double >(val3);
4689 {
4690 PyThreadState* __tstate = wxPyBeginAllowThreads();
4691 (arg1)->SetScale(arg2,arg3);
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 resultobj = SWIG_Py_Void();
4696 return resultobj;
4697fail:
4698 return NULL;
d14a1e28
RD
4699}
4700
4701
0085ce49
RD
4702SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4703 PyObject *resultobj = 0;
4704 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4705 double result;
4706 void *argp1 = 0 ;
4707 int res1 = 0 ;
4708 PyObject *swig_obj[1] ;
4709
4710 if (!args) SWIG_fail;
4711 swig_obj[0] = args;
4712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4713 if (!SWIG_IsOK(res1)) {
4714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4715 }
4716 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_From_double(static_cast< double >(result));
4724 return resultobj;
4725fail:
4726 return NULL;
d14a1e28
RD
4727}
4728
4729
0085ce49
RD
4730SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4731 PyObject *resultobj = 0;
4732 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4733 double result;
4734 void *argp1 = 0 ;
4735 int res1 = 0 ;
4736 PyObject *swig_obj[1] ;
4737
4738 if (!args) SWIG_fail;
4739 swig_obj[0] = args;
4740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4741 if (!SWIG_IsOK(res1)) {
4742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4743 }
4744 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 resultobj = SWIG_From_double(static_cast< double >(result));
4752 return resultobj;
4753fail:
4754 return NULL;
d14a1e28
RD
4755}
4756
4757
0085ce49
RD
4758SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4759 PyObject *resultobj = 0;
4760 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4761 wxPoint *arg2 = 0 ;
4762 wxPoint result;
4763 void *argp1 = 0 ;
4764 int res1 = 0 ;
4765 wxPoint temp2 ;
4766
4767 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4769 if (!SWIG_IsOK(res1)) {
4770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4771 }
4772 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4773 {
4774 arg2 = &temp2;
4775 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4776 }
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4780 wxPyEndAllowThreads(__tstate);
4781 if (PyErr_Occurred()) SWIG_fail;
4782 }
4783 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4784 return resultobj;
4785fail:
4786 return NULL;
4787}
4788
4789
4790SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4791 PyObject *resultobj = 0;
4792 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4793 int arg2 ;
4794 int arg3 ;
4795 int *arg4 = (int *) 0 ;
4796 int *arg5 = (int *) 0 ;
4797 void *argp1 = 0 ;
4798 int res1 = 0 ;
4799 int val2 ;
4800 int ecode2 = 0 ;
4801 int val3 ;
4802 int ecode3 = 0 ;
4803 int temp4 ;
4804 int res4 = SWIG_TMPOBJ ;
4805 int temp5 ;
4806 int res5 = SWIG_TMPOBJ ;
4807
4808 arg4 = &temp4;
4809 arg5 = &temp5;
4810 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4812 if (!SWIG_IsOK(res1)) {
4813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4814 }
4815 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4816 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4817 if (!SWIG_IsOK(ecode2)) {
4818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4819 }
4820 arg2 = static_cast< int >(val2);
4821 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4822 if (!SWIG_IsOK(ecode3)) {
4823 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4824 }
4825 arg3 = static_cast< int >(val3);
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 resultobj = SWIG_Py_Void();
4833 if (SWIG_IsTmpObj(res4)) {
4834 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4835 } else {
4836 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4837 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4838 }
4839 if (SWIG_IsTmpObj(res5)) {
4840 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4841 } else {
4842 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4843 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4844 }
4845 return resultobj;
4846fail:
4847 return NULL;
d14a1e28
RD
4848}
4849
4850
0085ce49
RD
4851SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4852 int argc;
4853 PyObject *argv[4];
4854
4855 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4856 --argc;
4857 if (argc == 2) {
4858 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4859 }
4860 if (argc == 3) {
4861 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4862 }
4863
4864fail:
4865 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4866 return NULL;
d14a1e28
RD
4867}
4868
4869
0085ce49
RD
4870SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4871 PyObject *resultobj = 0;
4872 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4873 wxPoint *arg2 = 0 ;
4874 wxPoint result;
4875 void *argp1 = 0 ;
4876 int res1 = 0 ;
4877 wxPoint temp2 ;
4878
4879 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4881 if (!SWIG_IsOK(res1)) {
4882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4883 }
4884 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4885 {
4886 arg2 = &temp2;
4887 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4888 }
4889 {
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4896 return resultobj;
4897fail:
4898 return NULL;
4899}
4900
4901
4902SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4903 PyObject *resultobj = 0;
4904 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4905 int arg2 ;
4906 int arg3 ;
4907 int *arg4 = (int *) 0 ;
4908 int *arg5 = (int *) 0 ;
4909 void *argp1 = 0 ;
4910 int res1 = 0 ;
4911 int val2 ;
4912 int ecode2 = 0 ;
4913 int val3 ;
4914 int ecode3 = 0 ;
4915 int temp4 ;
4916 int res4 = SWIG_TMPOBJ ;
4917 int temp5 ;
4918 int res5 = SWIG_TMPOBJ ;
4919
4920 arg4 = &temp4;
4921 arg5 = &temp5;
4922 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4924 if (!SWIG_IsOK(res1)) {
4925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4926 }
4927 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4928 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4929 if (!SWIG_IsOK(ecode2)) {
4930 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4931 }
4932 arg2 = static_cast< int >(val2);
4933 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4934 if (!SWIG_IsOK(ecode3)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4936 }
4937 arg3 = static_cast< int >(val3);
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 resultobj = SWIG_Py_Void();
4945 if (SWIG_IsTmpObj(res4)) {
4946 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4947 } else {
4948 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4949 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4950 }
4951 if (SWIG_IsTmpObj(res5)) {
4952 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4953 } else {
4954 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4955 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4956 }
4957 return resultobj;
4958fail:
4959 return NULL;
d14a1e28
RD
4960}
4961
4962
0085ce49
RD
4963SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4964 int argc;
4965 PyObject *argv[4];
4966
4967 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4968 --argc;
4969 if (argc == 2) {
4970 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4971 }
4972 if (argc == 3) {
4973 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4974 }
4975
4976fail:
4977 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4978 return NULL;
d14a1e28
RD
4979}
4980
4981
0085ce49
RD
4982SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4983 PyObject *resultobj = 0;
4984 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4985 void *argp1 = 0 ;
4986 int res1 = 0 ;
4987 PyObject *swig_obj[1] ;
4988
4989 if (!args) SWIG_fail;
4990 swig_obj[0] = args;
4991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4992 if (!SWIG_IsOK(res1)) {
4993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4994 }
4995 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4996 {
4997 PyThreadState* __tstate = wxPyBeginAllowThreads();
4998 (arg1)->AdjustScrollbars();
4999 wxPyEndAllowThreads(__tstate);
5000 if (PyErr_Occurred()) SWIG_fail;
5001 }
5002 resultobj = SWIG_Py_Void();
5003 return resultobj;
5004fail:
5005 return NULL;
5006}
5007
5008
5009SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj = 0;
5011 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5012 wxScrollWinEvent *arg2 = 0 ;
5013 int result;
5014 void *argp1 = 0 ;
5015 int res1 = 0 ;
5016 void *argp2 = 0 ;
5017 int res2 = 0 ;
5018 PyObject * obj0 = 0 ;
5019 PyObject * obj1 = 0 ;
5020 char * kwnames[] = {
5021 (char *) "self",(char *) "event", NULL
5022 };
5023
5024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5026 if (!SWIG_IsOK(res1)) {
5027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5028 }
5029 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5030 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5031 if (!SWIG_IsOK(res2)) {
5032 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5033 }
5034 if (!argp2) {
5035 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5036 }
5037 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = (int)(arg1)->CalcScrollInc(*arg2);
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 resultobj = SWIG_From_int(static_cast< int >(result));
5045 return resultobj;
5046fail:
5047 return NULL;
5048}
5049
5050
5051SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj = 0;
5053 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5054 wxWindow *arg2 = (wxWindow *) 0 ;
5055 void *argp1 = 0 ;
5056 int res1 = 0 ;
5057 void *argp2 = 0 ;
5058 int res2 = 0 ;
5059 PyObject * obj0 = 0 ;
5060 PyObject * obj1 = 0 ;
5061 char * kwnames[] = {
5062 (char *) "self",(char *) "target", NULL
5063 };
5064
5065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5067 if (!SWIG_IsOK(res1)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5069 }
5070 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5072 if (!SWIG_IsOK(res2)) {
5073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5074 }
5075 arg2 = reinterpret_cast< wxWindow * >(argp2);
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 (arg1)->SetTargetWindow(arg2);
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
5082 resultobj = SWIG_Py_Void();
5083 return resultobj;
5084fail:
5085 return NULL;
d14a1e28
RD
5086}
5087
5088
0085ce49
RD
5089SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5090 PyObject *resultobj = 0;
5091 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5092 wxWindow *result = 0 ;
5093 void *argp1 = 0 ;
5094 int res1 = 0 ;
5095 PyObject *swig_obj[1] ;
5096
5097 if (!args) SWIG_fail;
5098 swig_obj[0] = args;
5099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5100 if (!SWIG_IsOK(res1)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5102 }
5103 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 {
5111 resultobj = wxPyMake_wxObject(result, 0);
5112 }
5113 return resultobj;
5114fail:
5115 return NULL;
5116}
5117
5118
5119SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5120 PyObject *resultobj = 0;
5121 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5122 wxDC *arg2 = 0 ;
5123 void *argp1 = 0 ;
5124 int res1 = 0 ;
5125 void *argp2 = 0 ;
5126 int res2 = 0 ;
5127 PyObject * obj0 = 0 ;
5128 PyObject * obj1 = 0 ;
5129 char * kwnames[] = {
5130 (char *) "self",(char *) "dc", NULL
5131 };
5132
5133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",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_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5137 }
5138 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5139 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5140 if (!SWIG_IsOK(res2)) {
5141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5142 }
5143 if (!argp2) {
5144 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5145 }
5146 arg2 = reinterpret_cast< wxDC * >(argp2);
5147 {
5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
5149 (arg1)->DoPrepareDC(*arg2);
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 resultobj = SWIG_Py_Void();
5154 return resultobj;
5155fail:
5156 return NULL;
5157}
5158
5159
5160SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj = 0;
5162 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5163 SwigValueWrapper<wxVisualAttributes > result;
5164 int val1 ;
5165 int ecode1 = 0 ;
5166 PyObject * obj0 = 0 ;
5167 char * kwnames[] = {
5168 (char *) "variant", NULL
5169 };
5170
5171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5172 if (obj0) {
5173 ecode1 = SWIG_AsVal_int(obj0, &val1);
5174 if (!SWIG_IsOK(ecode1)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5176 }
5177 arg1 = static_cast< wxWindowVariant >(val1);
5178 }
5179 {
5180 if (!wxPyCheckForApp()) SWIG_fail;
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5187 return resultobj;
5188fail:
5189 return NULL;
d14a1e28
RD
5190}
5191
5192
0085ce49
RD
5193SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5194 PyObject *obj;
5195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5196 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5197 return SWIG_Py_Void();
d14a1e28
RD
5198}
5199
0085ce49
RD
5200SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5201 return SWIG_Python_InitShadowInstance(args);
5202}
d14a1e28 5203
0085ce49
RD
5204SWIGINTERN int FrameNameStr_set(PyObject *) {
5205 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5206 return 1;
d14a1e28
RD
5207}
5208
5209
0085ce49
RD
5210SWIGINTERN PyObject *FrameNameStr_get(void) {
5211 PyObject *pyobj = 0;
5212
5213 {
5214#if wxUSE_UNICODE
5215 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5216#else
5217 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5218#endif
5219 }
5220 return pyobj;
d14a1e28
RD
5221}
5222
5223
0085ce49
RD
5224SWIGINTERN int DialogNameStr_set(PyObject *) {
5225 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5226 return 1;
d14a1e28
RD
5227}
5228
5229
0085ce49
RD
5230SWIGINTERN PyObject *DialogNameStr_get(void) {
5231 PyObject *pyobj = 0;
5232
5233 {
5234#if wxUSE_UNICODE
5235 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5236#else
5237 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5238#endif
5239 }
5240 return pyobj;
d14a1e28
RD
5241}
5242
5243
0085ce49
RD
5244SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5245 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5246 return 1;
d14a1e28
RD
5247}
5248
5249
0085ce49
RD
5250SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5251 PyObject *pyobj = 0;
5252
5253 {
5254#if wxUSE_UNICODE
5255 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5256#else
5257 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5258#endif
5259 }
5260 return pyobj;
d14a1e28
RD
5261}
5262
5263
0085ce49
RD
5264SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5265 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5266 return 1;
d14a1e28
RD
5267}
5268
5269
0085ce49
RD
5270SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5271 PyObject *pyobj = 0;
5272
5273 {
5274#if wxUSE_UNICODE
5275 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5276#else
5277 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5278#endif
5279 }
5280 return pyobj;
5281}
5282
5283
5284SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5285 PyObject *resultobj = 0;
5286 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5287 bool arg2 = (bool) true ;
5288 void *argp1 = 0 ;
5289 int res1 = 0 ;
5290 bool val2 ;
5291 int ecode2 = 0 ;
5292 PyObject * obj0 = 0 ;
5293 PyObject * obj1 = 0 ;
5294 char * kwnames[] = {
5295 (char *) "self",(char *) "maximize", NULL
5296 };
5297
5298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5300 if (!SWIG_IsOK(res1)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5302 }
5303 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5304 if (obj1) {
5305 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5306 if (!SWIG_IsOK(ecode2)) {
5307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5308 }
5309 arg2 = static_cast< bool >(val2);
5310 }
5311 {
5312 PyThreadState* __tstate = wxPyBeginAllowThreads();
5313 (arg1)->Maximize(arg2);
5314 wxPyEndAllowThreads(__tstate);
5315 if (PyErr_Occurred()) SWIG_fail;
5316 }
5317 resultobj = SWIG_Py_Void();
5318 return resultobj;
5319fail:
5320 return NULL;
d14a1e28
RD
5321}
5322
5323
0085ce49
RD
5324SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5325 PyObject *resultobj = 0;
5326 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5327 void *argp1 = 0 ;
5328 int res1 = 0 ;
5329 PyObject *swig_obj[1] ;
5330
5331 if (!args) SWIG_fail;
5332 swig_obj[0] = args;
5333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5334 if (!SWIG_IsOK(res1)) {
5335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5336 }
5337 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5338 {
5339 PyThreadState* __tstate = wxPyBeginAllowThreads();
5340 (arg1)->Restore();
5341 wxPyEndAllowThreads(__tstate);
5342 if (PyErr_Occurred()) SWIG_fail;
5343 }
5344 resultobj = SWIG_Py_Void();
5345 return resultobj;
5346fail:
5347 return NULL;
5348}
5349
5350
5351SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5352 PyObject *resultobj = 0;
5353 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5354 bool arg2 = (bool) true ;
5355 void *argp1 = 0 ;
5356 int res1 = 0 ;
5357 bool val2 ;
5358 int ecode2 = 0 ;
5359 PyObject * obj0 = 0 ;
5360 PyObject * obj1 = 0 ;
5361 char * kwnames[] = {
5362 (char *) "self",(char *) "iconize", NULL
5363 };
5364
5365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5367 if (!SWIG_IsOK(res1)) {
5368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5369 }
5370 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5371 if (obj1) {
5372 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5373 if (!SWIG_IsOK(ecode2)) {
5374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5375 }
5376 arg2 = static_cast< bool >(val2);
5377 }
5378 {
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 (arg1)->Iconize(arg2);
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 resultobj = SWIG_Py_Void();
5385 return resultobj;
5386fail:
5387 return NULL;
d14a1e28
RD
5388}
5389
5390
0085ce49
RD
5391SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5392 PyObject *resultobj = 0;
5393 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5394 bool result;
5395 void *argp1 = 0 ;
5396 int res1 = 0 ;
5397 PyObject *swig_obj[1] ;
5398
5399 if (!args) SWIG_fail;
5400 swig_obj[0] = args;
5401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5402 if (!SWIG_IsOK(res1)) {
5403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5404 }
5405 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 {
5413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5414 }
5415 return resultobj;
5416fail:
5417 return NULL;
d14a1e28
RD
5418}
5419
5420
01f6b6d3
RD
5421SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5422 PyObject *resultobj = 0;
5423 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5424 bool result;
5425 void *argp1 = 0 ;
5426 int res1 = 0 ;
5427 PyObject *swig_obj[1] ;
5428
5429 if (!args) SWIG_fail;
5430 swig_obj[0] = args;
5431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5432 if (!SWIG_IsOK(res1)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5434 }
5435 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5439 wxPyEndAllowThreads(__tstate);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 }
5442 {
5443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5444 }
5445 return resultobj;
5446fail:
5447 return NULL;
5448}
5449
5450
0085ce49
RD
5451SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5452 PyObject *resultobj = 0;
5453 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5454 bool result;
5455 void *argp1 = 0 ;
5456 int res1 = 0 ;
5457 PyObject *swig_obj[1] ;
5458
5459 if (!args) SWIG_fail;
5460 swig_obj[0] = args;
5461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5462 if (!SWIG_IsOK(res1)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5464 }
5465 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5469 wxPyEndAllowThreads(__tstate);
5470 if (PyErr_Occurred()) SWIG_fail;
5471 }
5472 {
5473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5474 }
5475 return resultobj;
5476fail:
5477 return NULL;
f5b96ee1
RD
5478}
5479
5480
0085ce49
RD
5481SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5482 PyObject *resultobj = 0;
5483 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5484 wxIcon result;
5485 void *argp1 = 0 ;
5486 int res1 = 0 ;
5487 PyObject *swig_obj[1] ;
5488
5489 if (!args) SWIG_fail;
5490 swig_obj[0] = args;
5491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5492 if (!SWIG_IsOK(res1)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5494 }
5495 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5499 wxPyEndAllowThreads(__tstate);
5500 if (PyErr_Occurred()) SWIG_fail;
5501 }
5502 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5503 return resultobj;
5504fail:
5505 return NULL;
5506}
5507
5508
5509SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5510 PyObject *resultobj = 0;
5511 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5512 wxIcon *arg2 = 0 ;
5513 void *argp1 = 0 ;
5514 int res1 = 0 ;
5515 void *argp2 = 0 ;
5516 int res2 = 0 ;
5517 PyObject * obj0 = 0 ;
5518 PyObject * obj1 = 0 ;
5519 char * kwnames[] = {
5520 (char *) "self",(char *) "icon", NULL
5521 };
5522
5523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5525 if (!SWIG_IsOK(res1)) {
5526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5527 }
5528 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5529 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5530 if (!SWIG_IsOK(res2)) {
5531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5532 }
5533 if (!argp2) {
5534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5535 }
5536 arg2 = reinterpret_cast< wxIcon * >(argp2);
5537 {
5538 PyThreadState* __tstate = wxPyBeginAllowThreads();
5539 (arg1)->SetIcon((wxIcon const &)*arg2);
5540 wxPyEndAllowThreads(__tstate);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 }
5543 resultobj = SWIG_Py_Void();
5544 return resultobj;
5545fail:
5546 return NULL;
5547}
5548
5549
5550SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5551 PyObject *resultobj = 0;
5552 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5553 wxIconBundle *arg2 = 0 ;
5554 void *argp1 = 0 ;
5555 int res1 = 0 ;
5556 void *argp2 = 0 ;
5557 int res2 = 0 ;
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 char * kwnames[] = {
5561 (char *) "self",(char *) "icons", NULL
5562 };
5563
5564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5566 if (!SWIG_IsOK(res1)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5568 }
5569 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5570 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5571 if (!SWIG_IsOK(res2)) {
5572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5573 }
5574 if (!argp2) {
5575 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5576 }
5577 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 resultobj = SWIG_Py_Void();
5585 return resultobj;
5586fail:
5587 return NULL;
5588}
5589
5590
5591SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj = 0;
5593 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5594 bool arg2 ;
5595 long arg3 = (long) wxFULLSCREEN_ALL ;
5596 bool result;
5597 void *argp1 = 0 ;
5598 int res1 = 0 ;
5599 bool val2 ;
5600 int ecode2 = 0 ;
5601 long val3 ;
5602 int ecode3 = 0 ;
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 PyObject * obj2 = 0 ;
5606 char * kwnames[] = {
5607 (char *) "self",(char *) "show",(char *) "style", NULL
5608 };
5609
5610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5612 if (!SWIG_IsOK(res1)) {
5613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5614 }
5615 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5616 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5617 if (!SWIG_IsOK(ecode2)) {
5618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5619 }
5620 arg2 = static_cast< bool >(val2);
5621 if (obj2) {
5622 ecode3 = SWIG_AsVal_long(obj2, &val3);
5623 if (!SWIG_IsOK(ecode3)) {
5624 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5625 }
5626 arg3 = static_cast< long >(val3);
5627 }
5628 {
5629 PyThreadState* __tstate = wxPyBeginAllowThreads();
5630 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5631 wxPyEndAllowThreads(__tstate);
5632 if (PyErr_Occurred()) SWIG_fail;
5633 }
5634 {
5635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5636 }
5637 return resultobj;
5638fail:
5639 return NULL;
22bfe96c
RD
5640}
5641
5642
0085ce49
RD
5643SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5644 PyObject *resultobj = 0;
5645 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5646 bool result;
5647 void *argp1 = 0 ;
5648 int res1 = 0 ;
5649 PyObject *swig_obj[1] ;
5650
5651 if (!args) SWIG_fail;
5652 swig_obj[0] = args;
5653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5654 if (!SWIG_IsOK(res1)) {
5655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5656 }
5657 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5661 wxPyEndAllowThreads(__tstate);
5662 if (PyErr_Occurred()) SWIG_fail;
5663 }
5664 {
5665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5666 }
5667 return resultobj;
5668fail:
5669 return NULL;
5670}
5671
5672
5673SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5674 PyObject *resultobj = 0;
5675 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5676 wxString *arg2 = 0 ;
5677 void *argp1 = 0 ;
5678 int res1 = 0 ;
5679 bool temp2 = false ;
5680 PyObject * obj0 = 0 ;
5681 PyObject * obj1 = 0 ;
5682 char * kwnames[] = {
5683 (char *) "self",(char *) "title", NULL
5684 };
5685
5686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5688 if (!SWIG_IsOK(res1)) {
5689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5690 }
5691 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5692 {
5693 arg2 = wxString_in_helper(obj1);
5694 if (arg2 == NULL) SWIG_fail;
5695 temp2 = true;
5696 }
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 (arg1)->SetTitle((wxString const &)*arg2);
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 resultobj = SWIG_Py_Void();
5704 {
5705 if (temp2)
5706 delete arg2;
5707 }
5708 return resultobj;
5709fail:
5710 {
5711 if (temp2)
5712 delete arg2;
5713 }
5714 return NULL;
b2dc1044
RD
5715}
5716
5717
0085ce49
RD
5718SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5719 PyObject *resultobj = 0;
5720 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5721 wxString result;
5722 void *argp1 = 0 ;
5723 int res1 = 0 ;
5724 PyObject *swig_obj[1] ;
5725
5726 if (!args) SWIG_fail;
5727 swig_obj[0] = args;
5728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5729 if (!SWIG_IsOK(res1)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5731 }
5732 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
b2dc1044 5740#if wxUSE_UNICODE
0085ce49 5741 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
b2dc1044 5742#else
0085ce49 5743 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
b2dc1044 5744#endif
0085ce49
RD
5745 }
5746 return resultobj;
5747fail:
5748 return NULL;
5749}
5750
5751
5752SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj = 0;
5754 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5755 wxRegion *arg2 = 0 ;
5756 bool result;
5757 void *argp1 = 0 ;
5758 int res1 = 0 ;
5759 void *argp2 = 0 ;
5760 int res2 = 0 ;
5761 PyObject * obj0 = 0 ;
5762 PyObject * obj1 = 0 ;
5763 char * kwnames[] = {
5764 (char *) "self",(char *) "region", NULL
5765 };
5766
5767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5769 if (!SWIG_IsOK(res1)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5771 }
5772 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5773 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5774 if (!SWIG_IsOK(res2)) {
5775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5776 }
5777 if (!argp2) {
5778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5779 }
5780 arg2 = reinterpret_cast< wxRegion * >(argp2);
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 {
5788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5789 }
5790 return resultobj;
5791fail:
5792 return NULL;
5793}
5794
5795
5796SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5797 PyObject *resultobj = 0;
5798 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5799 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5800 void *argp1 = 0 ;
5801 int res1 = 0 ;
5802 int val2 ;
5803 int ecode2 = 0 ;
5804 PyObject * obj0 = 0 ;
5805 PyObject * obj1 = 0 ;
5806 char * kwnames[] = {
5807 (char *) "self",(char *) "flags", NULL
5808 };
5809
5810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5812 if (!SWIG_IsOK(res1)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5814 }
5815 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5816 if (obj1) {
5817 ecode2 = SWIG_AsVal_int(obj1, &val2);
5818 if (!SWIG_IsOK(ecode2)) {
5819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5820 }
5821 arg2 = static_cast< int >(val2);
5822 }
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 (arg1)->RequestUserAttention(arg2);
5826 wxPyEndAllowThreads(__tstate);
5827 if (PyErr_Occurred()) SWIG_fail;
5828 }
5829 resultobj = SWIG_Py_Void();
5830 return resultobj;
5831fail:
5832 return NULL;
b2dc1044
RD
5833}
5834
5835
0085ce49
RD
5836SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5837 PyObject *resultobj = 0;
5838 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5839 bool result;
5840 void *argp1 = 0 ;
5841 int res1 = 0 ;
5842 PyObject *swig_obj[1] ;
5843
5844 if (!args) SWIG_fail;
5845 swig_obj[0] = args;
5846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5847 if (!SWIG_IsOK(res1)) {
5848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5849 }
5850 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (bool)(arg1)->IsActive();
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 {
5858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5859 }
5860 return resultobj;
5861fail:
5862 return NULL;
5863}
5864
5865
5866SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj = 0;
5868 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5869 bool arg2 ;
5870 void *argp1 = 0 ;
5871 int res1 = 0 ;
5872 bool val2 ;
5873 int ecode2 = 0 ;
5874 PyObject * obj0 = 0 ;
5875 PyObject * obj1 = 0 ;
5876 char * kwnames[] = {
5877 (char *) "self",(char *) "on", NULL
5878 };
5879
5880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5882 if (!SWIG_IsOK(res1)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5884 }
5885 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5886 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5887 if (!SWIG_IsOK(ecode2)) {
5888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5889 }
5890 arg2 = static_cast< bool >(val2);
5891 {
5892 PyThreadState* __tstate = wxPyBeginAllowThreads();
5893 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 resultobj = SWIG_Py_Void();
5898 return resultobj;
5899fail:
5900 return NULL;
b2dc1044
RD
5901}
5902
5903
0085ce49
RD
5904SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5905 PyObject *resultobj = 0;
5906 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5907 bool result;
5908 void *argp1 = 0 ;
5909 int res1 = 0 ;
5910 PyObject *swig_obj[1] ;
5911
5912 if (!args) SWIG_fail;
5913 swig_obj[0] = args;
5914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5915 if (!SWIG_IsOK(res1)) {
5916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5917 }
5918 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 {
5926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5927 }
5928 return resultobj;
5929fail:
5930 return NULL;
5931}
5932
5933
5934SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj = 0;
5936 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5937 int arg2 = (int) wxBOTH ;
5938 void *argp1 = 0 ;
5939 int res1 = 0 ;
5940 int val2 ;
5941 int ecode2 = 0 ;
5942 PyObject * obj0 = 0 ;
5943 PyObject * obj1 = 0 ;
5944 char * kwnames[] = {
5945 (char *) "self",(char *) "dir", NULL
5946 };
5947
5948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
5949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5950 if (!SWIG_IsOK(res1)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5952 }
5953 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5954 if (obj1) {
5955 ecode2 = SWIG_AsVal_int(obj1, &val2);
5956 if (!SWIG_IsOK(ecode2)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5958 }
5959 arg2 = static_cast< int >(val2);
5960 }
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 (arg1)->CenterOnScreen(arg2);
5964 wxPyEndAllowThreads(__tstate);
5965 if (PyErr_Occurred()) SWIG_fail;
5966 }
5967 resultobj = SWIG_Py_Void();
5968 return resultobj;
5969fail:
5970 return NULL;
5971}
5972
5973
5974SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5975 PyObject *obj;
5976 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5977 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
5978 return SWIG_Py_Void();
5979}
5980
5981SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj = 0;
5983 wxWindow *arg1 = (wxWindow *) 0 ;
5984 int arg2 = (int) (int)-1 ;
5985 wxString const &arg3_defvalue = wxPyEmptyString ;
5986 wxString *arg3 = (wxString *) &arg3_defvalue ;
5987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5989 wxSize const &arg5_defvalue = wxDefaultSize ;
5990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5991 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
5992 wxString const &arg7_defvalue = wxPyFrameNameStr ;
5993 wxString *arg7 = (wxString *) &arg7_defvalue ;
5994 wxFrame *result = 0 ;
5995 void *argp1 = 0 ;
5996 int res1 = 0 ;
5997 int val2 ;
5998 int ecode2 = 0 ;
5999 bool temp3 = false ;
6000 wxPoint temp4 ;
6001 wxSize temp5 ;
6002 long val6 ;
6003 int ecode6 = 0 ;
6004 bool temp7 = false ;
6005 PyObject * obj0 = 0 ;
6006 PyObject * obj1 = 0 ;
6007 PyObject * obj2 = 0 ;
6008 PyObject * obj3 = 0 ;
6009 PyObject * obj4 = 0 ;
6010 PyObject * obj5 = 0 ;
6011 PyObject * obj6 = 0 ;
6012 char * kwnames[] = {
6013 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6014 };
6015
6016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6018 if (!SWIG_IsOK(res1)) {
6019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6020 }
6021 arg1 = reinterpret_cast< wxWindow * >(argp1);
6022 if (obj1) {
6023 ecode2 = SWIG_AsVal_int(obj1, &val2);
6024 if (!SWIG_IsOK(ecode2)) {
6025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6026 }
6027 arg2 = static_cast< int >(val2);
6028 }
6029 if (obj2) {
b2dc1044 6030 {
0085ce49
RD
6031 arg3 = wxString_in_helper(obj2);
6032 if (arg3 == NULL) SWIG_fail;
6033 temp3 = true;
b2dc1044 6034 }
0085ce49
RD
6035 }
6036 if (obj3) {
b2dc1044 6037 {
0085ce49
RD
6038 arg4 = &temp4;
6039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b2dc1044 6040 }
0085ce49
RD
6041 }
6042 if (obj4) {
b2dc1044 6043 {
0085ce49
RD
6044 arg5 = &temp5;
6045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 6046 }
0085ce49
RD
6047 }
6048 if (obj5) {
6049 ecode6 = SWIG_AsVal_long(obj5, &val6);
6050 if (!SWIG_IsOK(ecode6)) {
6051 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6052 }
6053 arg6 = static_cast< long >(val6);
6054 }
6055 if (obj6) {
d14a1e28 6056 {
0085ce49
RD
6057 arg7 = wxString_in_helper(obj6);
6058 if (arg7 == NULL) SWIG_fail;
6059 temp7 = true;
d14a1e28 6060 }
0085ce49
RD
6061 }
6062 {
6063 if (!wxPyCheckForApp()) SWIG_fail;
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6070 {
6071 if (temp3)
6072 delete arg3;
6073 }
6074 {
6075 if (temp7)
6076 delete arg7;
6077 }
6078 return resultobj;
6079fail:
6080 {
6081 if (temp3)
6082 delete arg3;
6083 }
6084 {
6085 if (temp7)
6086 delete arg7;
6087 }
6088 return NULL;
d14a1e28
RD
6089}
6090
6091
0085ce49
RD
6092SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6093 PyObject *resultobj = 0;
6094 wxFrame *result = 0 ;
6095
6096 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6097 {
6098 if (!wxPyCheckForApp()) SWIG_fail;
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 result = (wxFrame *)new wxFrame();
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6105 return resultobj;
6106fail:
6107 return NULL;
6108}
6109
6110
6111SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6112 PyObject *resultobj = 0;
6113 wxFrame *arg1 = (wxFrame *) 0 ;
6114 wxWindow *arg2 = (wxWindow *) 0 ;
6115 int arg3 = (int) (int)-1 ;
6116 wxString const &arg4_defvalue = wxPyEmptyString ;
6117 wxString *arg4 = (wxString *) &arg4_defvalue ;
6118 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6119 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6120 wxSize const &arg6_defvalue = wxDefaultSize ;
6121 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6122 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6123 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6124 wxString *arg8 = (wxString *) &arg8_defvalue ;
6125 bool result;
6126 void *argp1 = 0 ;
6127 int res1 = 0 ;
6128 void *argp2 = 0 ;
6129 int res2 = 0 ;
6130 int val3 ;
6131 int ecode3 = 0 ;
6132 bool temp4 = false ;
6133 wxPoint temp5 ;
6134 wxSize temp6 ;
6135 long val7 ;
6136 int ecode7 = 0 ;
6137 bool temp8 = false ;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 PyObject * obj2 = 0 ;
6141 PyObject * obj3 = 0 ;
6142 PyObject * obj4 = 0 ;
6143 PyObject * obj5 = 0 ;
6144 PyObject * obj6 = 0 ;
6145 PyObject * obj7 = 0 ;
6146 char * kwnames[] = {
6147 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6148 };
6149
6150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6152 if (!SWIG_IsOK(res1)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6154 }
6155 arg1 = reinterpret_cast< wxFrame * >(argp1);
6156 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6157 if (!SWIG_IsOK(res2)) {
6158 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6159 }
6160 arg2 = reinterpret_cast< wxWindow * >(argp2);
6161 if (obj2) {
6162 ecode3 = SWIG_AsVal_int(obj2, &val3);
6163 if (!SWIG_IsOK(ecode3)) {
6164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6165 }
6166 arg3 = static_cast< int >(val3);
6167 }
6168 if (obj3) {
d14a1e28 6169 {
0085ce49
RD
6170 arg4 = wxString_in_helper(obj3);
6171 if (arg4 == NULL) SWIG_fail;
6172 temp4 = true;
d14a1e28 6173 }
0085ce49
RD
6174 }
6175 if (obj4) {
4f89f6a3 6176 {
0085ce49
RD
6177 arg5 = &temp5;
6178 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 6179 }
0085ce49
RD
6180 }
6181 if (obj5) {
d14a1e28 6182 {
0085ce49
RD
6183 arg6 = &temp6;
6184 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 6185 }
0085ce49
RD
6186 }
6187 if (obj6) {
6188 ecode7 = SWIG_AsVal_long(obj6, &val7);
6189 if (!SWIG_IsOK(ecode7)) {
6190 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6191 }
6192 arg7 = static_cast< long >(val7);
6193 }
6194 if (obj7) {
4f89f6a3 6195 {
0085ce49
RD
6196 arg8 = wxString_in_helper(obj7);
6197 if (arg8 == NULL) SWIG_fail;
6198 temp8 = true;
4f89f6a3 6199 }
0085ce49
RD
6200 }
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6204 wxPyEndAllowThreads(__tstate);
6205 if (PyErr_Occurred()) SWIG_fail;
6206 }
6207 {
6208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6209 }
6210 {
6211 if (temp4)
6212 delete arg4;
6213 }
6214 {
6215 if (temp8)
6216 delete arg8;
6217 }
6218 return resultobj;
6219fail:
6220 {
6221 if (temp4)
6222 delete arg4;
6223 }
6224 {
6225 if (temp8)
6226 delete arg8;
6227 }
6228 return NULL;
d14a1e28
RD
6229}
6230
6231
0085ce49
RD
6232SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6233 PyObject *resultobj = 0;
6234 wxFrame *arg1 = (wxFrame *) 0 ;
6235 void *argp1 = 0 ;
6236 int res1 = 0 ;
6237 PyObject *swig_obj[1] ;
6238
6239 if (!args) SWIG_fail;
6240 swig_obj[0] = args;
6241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6242 if (!SWIG_IsOK(res1)) {
6243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6244 }
6245 arg1 = reinterpret_cast< wxFrame * >(argp1);
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 (arg1)->SendSizeEvent();
6249 wxPyEndAllowThreads(__tstate);
6250 if (PyErr_Occurred()) SWIG_fail;
6251 }
6252 resultobj = SWIG_Py_Void();
6253 return resultobj;
6254fail:
6255 return NULL;
6256}
6257
6258
6259SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6260 PyObject *resultobj = 0;
6261 wxFrame *arg1 = (wxFrame *) 0 ;
6262 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6263 void *argp1 = 0 ;
6264 int res1 = 0 ;
6265 void *argp2 = 0 ;
6266 int res2 = 0 ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char * kwnames[] = {
6270 (char *) "self",(char *) "menubar", NULL
6271 };
6272
6273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6275 if (!SWIG_IsOK(res1)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6277 }
6278 arg1 = reinterpret_cast< wxFrame * >(argp1);
6279 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6280 if (!SWIG_IsOK(res2)) {
6281 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6282 }
6283 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 (arg1)->SetMenuBar(arg2);
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 resultobj = SWIG_Py_Void();
6291 return resultobj;
6292fail:
6293 return NULL;
d14a1e28
RD
6294}
6295
6296
0085ce49
RD
6297SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6298 PyObject *resultobj = 0;
6299 wxFrame *arg1 = (wxFrame *) 0 ;
6300 wxMenuBar *result = 0 ;
6301 void *argp1 = 0 ;
6302 int res1 = 0 ;
6303 PyObject *swig_obj[1] ;
6304
6305 if (!args) SWIG_fail;
6306 swig_obj[0] = args;
6307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6308 if (!SWIG_IsOK(res1)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6310 }
6311 arg1 = reinterpret_cast< wxFrame * >(argp1);
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6315 wxPyEndAllowThreads(__tstate);
6316 if (PyErr_Occurred()) SWIG_fail;
6317 }
6318 {
6319 resultobj = wxPyMake_wxObject(result, 0);
6320 }
6321 return resultobj;
6322fail:
6323 return NULL;
6324}
6325
6326
6327SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6328 PyObject *resultobj = 0;
6329 wxFrame *arg1 = (wxFrame *) 0 ;
6330 int arg2 ;
6331 bool result;
6332 void *argp1 = 0 ;
6333 int res1 = 0 ;
6334 int val2 ;
6335 int ecode2 = 0 ;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
6338 char * kwnames[] = {
6339 (char *) "self",(char *) "winid", NULL
6340 };
6341
6342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6344 if (!SWIG_IsOK(res1)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6346 }
6347 arg1 = reinterpret_cast< wxFrame * >(argp1);
6348 ecode2 = SWIG_AsVal_int(obj1, &val2);
6349 if (!SWIG_IsOK(ecode2)) {
6350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6351 }
6352 arg2 = static_cast< int >(val2);
6353 {
6354 PyThreadState* __tstate = wxPyBeginAllowThreads();
6355 result = (bool)(arg1)->ProcessCommand(arg2);
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 {
6360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6361 }
6362 return resultobj;
6363fail:
6364 return NULL;
6365}
6366
6367
6368SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj = 0;
6370 wxFrame *arg1 = (wxFrame *) 0 ;
6371 int arg2 = (int) 1 ;
6372 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6373 int arg4 = (int) 0 ;
6374 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6375 wxString *arg5 = (wxString *) &arg5_defvalue ;
6376 wxStatusBar *result = 0 ;
6377 void *argp1 = 0 ;
6378 int res1 = 0 ;
6379 int val2 ;
6380 int ecode2 = 0 ;
6381 long val3 ;
6382 int ecode3 = 0 ;
6383 int val4 ;
6384 int ecode4 = 0 ;
6385 bool temp5 = false ;
6386 PyObject * obj0 = 0 ;
6387 PyObject * obj1 = 0 ;
6388 PyObject * obj2 = 0 ;
6389 PyObject * obj3 = 0 ;
6390 PyObject * obj4 = 0 ;
6391 char * kwnames[] = {
6392 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6393 };
6394
6395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6397 if (!SWIG_IsOK(res1)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6399 }
6400 arg1 = reinterpret_cast< wxFrame * >(argp1);
6401 if (obj1) {
6402 ecode2 = SWIG_AsVal_int(obj1, &val2);
6403 if (!SWIG_IsOK(ecode2)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6405 }
6406 arg2 = static_cast< int >(val2);
6407 }
6408 if (obj2) {
6409 ecode3 = SWIG_AsVal_long(obj2, &val3);
6410 if (!SWIG_IsOK(ecode3)) {
6411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6412 }
6413 arg3 = static_cast< long >(val3);
6414 }
6415 if (obj3) {
6416 ecode4 = SWIG_AsVal_int(obj3, &val4);
6417 if (!SWIG_IsOK(ecode4)) {
6418 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6419 }
6420 arg4 = static_cast< int >(val4);
6421 }
6422 if (obj4) {
093d3ff1 6423 {
0085ce49
RD
6424 arg5 = wxString_in_helper(obj4);
6425 if (arg5 == NULL) SWIG_fail;
6426 temp5 = true;
d14a1e28 6427 }
0085ce49
RD
6428 }
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 {
6436 resultobj = wxPyMake_wxObject(result, (bool)0);
6437 }
6438 {
6439 if (temp5)
6440 delete arg5;
6441 }
6442 return resultobj;
6443fail:
6444 {
6445 if (temp5)
6446 delete arg5;
6447 }
6448 return NULL;
d14a1e28
RD
6449}
6450
6451
0085ce49
RD
6452SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6453 PyObject *resultobj = 0;
6454 wxFrame *arg1 = (wxFrame *) 0 ;
6455 wxStatusBar *result = 0 ;
6456 void *argp1 = 0 ;
6457 int res1 = 0 ;
6458 PyObject *swig_obj[1] ;
6459
6460 if (!args) SWIG_fail;
6461 swig_obj[0] = args;
6462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6463 if (!SWIG_IsOK(res1)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6465 }
6466 arg1 = reinterpret_cast< wxFrame * >(argp1);
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6470 wxPyEndAllowThreads(__tstate);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 {
6474 resultobj = wxPyMake_wxObject(result, (bool)0);
6475 }
6476 return resultobj;
6477fail:
6478 return NULL;
6479}
6480
6481
6482SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj = 0;
6484 wxFrame *arg1 = (wxFrame *) 0 ;
6485 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6486 void *argp1 = 0 ;
6487 int res1 = 0 ;
6488 void *argp2 = 0 ;
6489 int res2 = 0 ;
6490 PyObject * obj0 = 0 ;
6491 PyObject * obj1 = 0 ;
6492 char * kwnames[] = {
6493 (char *) "self",(char *) "statBar", NULL
6494 };
6495
6496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6498 if (!SWIG_IsOK(res1)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6500 }
6501 arg1 = reinterpret_cast< wxFrame * >(argp1);
6502 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6503 if (!SWIG_IsOK(res2)) {
6504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6505 }
6506 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 (arg1)->SetStatusBar(arg2);
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 resultobj = SWIG_Py_Void();
6514 return resultobj;
6515fail:
6516 return NULL;
6517}
6518
6519
6520SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6521 PyObject *resultobj = 0;
6522 wxFrame *arg1 = (wxFrame *) 0 ;
6523 wxString *arg2 = 0 ;
6524 int arg3 = (int) 0 ;
6525 void *argp1 = 0 ;
6526 int res1 = 0 ;
6527 bool temp2 = false ;
6528 int val3 ;
6529 int ecode3 = 0 ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 PyObject * obj2 = 0 ;
6533 char * kwnames[] = {
6534 (char *) "self",(char *) "text",(char *) "number", NULL
6535 };
6536
6537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6539 if (!SWIG_IsOK(res1)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6541 }
6542 arg1 = reinterpret_cast< wxFrame * >(argp1);
6543 {
6544 arg2 = wxString_in_helper(obj1);
6545 if (arg2 == NULL) SWIG_fail;
6546 temp2 = true;
6547 }
6548 if (obj2) {
6549 ecode3 = SWIG_AsVal_int(obj2, &val3);
6550 if (!SWIG_IsOK(ecode3)) {
6551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6552 }
6553 arg3 = static_cast< int >(val3);
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 resultobj = SWIG_Py_Void();
6562 {
6563 if (temp2)
6564 delete arg2;
6565 }
6566 return resultobj;
6567fail:
6568 {
6569 if (temp2)
6570 delete arg2;
6571 }
6572 return NULL;
d14a1e28
RD
6573}
6574
6575
0085ce49
RD
6576SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj = 0;
6578 wxFrame *arg1 = (wxFrame *) 0 ;
6579 int arg2 ;
6580 int *arg3 = (int *) 0 ;
6581 void *argp1 = 0 ;
6582 int res1 = 0 ;
6583 PyObject * obj0 = 0 ;
6584 PyObject * obj1 = 0 ;
6585 char * kwnames[] = {
6586 (char *) "self",(char *) "widths", NULL
6587 };
6588
6589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6591 if (!SWIG_IsOK(res1)) {
6592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6593 }
6594 arg1 = reinterpret_cast< wxFrame * >(argp1);
6595 {
6596 arg2 = PyList_Size(obj1);
6597 arg3 = int_LIST_helper(obj1);
6598 if (arg3 == NULL) SWIG_fail;
6599 }
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 resultobj = SWIG_Py_Void();
6607 {
6608 if (arg3) delete [] arg3;
6609 }
6610 return resultobj;
6611fail:
6612 {
6613 if (arg3) delete [] arg3;
6614 }
6615 return NULL;
6616}
6617
6618
6619SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj = 0;
6621 wxFrame *arg1 = (wxFrame *) 0 ;
6622 wxString *arg2 = 0 ;
6623 int arg3 = (int) 0 ;
6624 void *argp1 = 0 ;
6625 int res1 = 0 ;
6626 bool temp2 = false ;
6627 int val3 ;
6628 int ecode3 = 0 ;
6629 PyObject * obj0 = 0 ;
6630 PyObject * obj1 = 0 ;
6631 PyObject * obj2 = 0 ;
6632 char * kwnames[] = {
6633 (char *) "self",(char *) "text",(char *) "number", NULL
6634 };
6635
6636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6638 if (!SWIG_IsOK(res1)) {
6639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6640 }
6641 arg1 = reinterpret_cast< wxFrame * >(argp1);
6642 {
6643 arg2 = wxString_in_helper(obj1);
6644 if (arg2 == NULL) SWIG_fail;
6645 temp2 = true;
6646 }
6647 if (obj2) {
6648 ecode3 = SWIG_AsVal_int(obj2, &val3);
6649 if (!SWIG_IsOK(ecode3)) {
6650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6651 }
6652 arg3 = static_cast< int >(val3);
6653 }
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 resultobj = SWIG_Py_Void();
6661 {
6662 if (temp2)
6663 delete arg2;
6664 }
6665 return resultobj;
6666fail:
6667 {
6668 if (temp2)
6669 delete arg2;
6670 }
6671 return NULL;
6672}
6673
6674
6675SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj = 0;
6677 wxFrame *arg1 = (wxFrame *) 0 ;
6678 int arg2 = (int) 0 ;
6679 void *argp1 = 0 ;
6680 int res1 = 0 ;
6681 int val2 ;
6682 int ecode2 = 0 ;
6683 PyObject * obj0 = 0 ;
6684 PyObject * obj1 = 0 ;
6685 char * kwnames[] = {
6686 (char *) "self",(char *) "number", NULL
6687 };
6688
6689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6691 if (!SWIG_IsOK(res1)) {
6692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6693 }
6694 arg1 = reinterpret_cast< wxFrame * >(argp1);
6695 if (obj1) {
6696 ecode2 = SWIG_AsVal_int(obj1, &val2);
6697 if (!SWIG_IsOK(ecode2)) {
6698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6699 }
6700 arg2 = static_cast< int >(val2);
6701 }
6702 {
6703 PyThreadState* __tstate = wxPyBeginAllowThreads();
6704 (arg1)->PopStatusText(arg2);
6705 wxPyEndAllowThreads(__tstate);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 resultobj = SWIG_Py_Void();
6709 return resultobj;
6710fail:
6711 return NULL;
6712}
6713
6714
6715SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6716 PyObject *resultobj = 0;
6717 wxFrame *arg1 = (wxFrame *) 0 ;
6718 int arg2 ;
6719 void *argp1 = 0 ;
6720 int res1 = 0 ;
6721 int val2 ;
6722 int ecode2 = 0 ;
6723 PyObject * obj0 = 0 ;
6724 PyObject * obj1 = 0 ;
6725 char * kwnames[] = {
6726 (char *) "self",(char *) "n", NULL
6727 };
6728
6729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6731 if (!SWIG_IsOK(res1)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6733 }
6734 arg1 = reinterpret_cast< wxFrame * >(argp1);
6735 ecode2 = SWIG_AsVal_int(obj1, &val2);
6736 if (!SWIG_IsOK(ecode2)) {
6737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6738 }
6739 arg2 = static_cast< int >(val2);
6740 {
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 (arg1)->SetStatusBarPane(arg2);
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 resultobj = SWIG_Py_Void();
6747 return resultobj;
6748fail:
6749 return NULL;
d14a1e28
RD
6750}
6751
6752
0085ce49
RD
6753SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6754 PyObject *resultobj = 0;
6755 wxFrame *arg1 = (wxFrame *) 0 ;
6756 int result;
6757 void *argp1 = 0 ;
6758 int res1 = 0 ;
6759 PyObject *swig_obj[1] ;
6760
6761 if (!args) SWIG_fail;
6762 swig_obj[0] = args;
6763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6764 if (!SWIG_IsOK(res1)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6766 }
6767 arg1 = reinterpret_cast< wxFrame * >(argp1);
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6771 wxPyEndAllowThreads(__tstate);
6772 if (PyErr_Occurred()) SWIG_fail;
6773 }
6774 resultobj = SWIG_From_int(static_cast< int >(result));
6775 return resultobj;
6776fail:
6777 return NULL;
6778}
6779
6780
6781SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj = 0;
6783 wxFrame *arg1 = (wxFrame *) 0 ;
6784 long arg2 = (long) -1 ;
6785 int arg3 = (int) -1 ;
6786 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6787 wxString *arg4 = (wxString *) &arg4_defvalue ;
6788 wxToolBar *result = 0 ;
6789 void *argp1 = 0 ;
6790 int res1 = 0 ;
6791 long val2 ;
6792 int ecode2 = 0 ;
6793 int val3 ;
6794 int ecode3 = 0 ;
6795 bool temp4 = false ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 PyObject * obj2 = 0 ;
6799 PyObject * obj3 = 0 ;
6800 char * kwnames[] = {
6801 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6802 };
6803
6804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6806 if (!SWIG_IsOK(res1)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6808 }
6809 arg1 = reinterpret_cast< wxFrame * >(argp1);
6810 if (obj1) {
6811 ecode2 = SWIG_AsVal_long(obj1, &val2);
6812 if (!SWIG_IsOK(ecode2)) {
6813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6814 }
6815 arg2 = static_cast< long >(val2);
6816 }
6817 if (obj2) {
6818 ecode3 = SWIG_AsVal_int(obj2, &val3);
6819 if (!SWIG_IsOK(ecode3)) {
6820 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6821 }
6822 arg3 = static_cast< int >(val3);
6823 }
6824 if (obj3) {
4f89f6a3 6825 {
0085ce49
RD
6826 arg4 = wxString_in_helper(obj3);
6827 if (arg4 == NULL) SWIG_fail;
6828 temp4 = true;
4f89f6a3 6829 }
0085ce49
RD
6830 }
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 }
6837 {
6838 resultobj = wxPyMake_wxObject(result, (bool)0);
6839 }
6840 {
6841 if (temp4)
6842 delete arg4;
6843 }
6844 return resultobj;
6845fail:
6846 {
6847 if (temp4)
6848 delete arg4;
6849 }
6850 return NULL;
d14a1e28
RD
6851}
6852
6853
0085ce49
RD
6854SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6855 PyObject *resultobj = 0;
6856 wxFrame *arg1 = (wxFrame *) 0 ;
6857 wxToolBar *result = 0 ;
6858 void *argp1 = 0 ;
6859 int res1 = 0 ;
6860 PyObject *swig_obj[1] ;
6861
6862 if (!args) SWIG_fail;
6863 swig_obj[0] = args;
6864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6865 if (!SWIG_IsOK(res1)) {
6866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6867 }
6868 arg1 = reinterpret_cast< wxFrame * >(argp1);
6869 {
6870 PyThreadState* __tstate = wxPyBeginAllowThreads();
6871 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6872 wxPyEndAllowThreads(__tstate);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 {
6876 resultobj = wxPyMake_wxObject(result, (bool)0);
6877 }
6878 return resultobj;
6879fail:
6880 return NULL;
6881}
6882
6883
6884SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj = 0;
6886 wxFrame *arg1 = (wxFrame *) 0 ;
6887 wxToolBar *arg2 = (wxToolBar *) 0 ;
6888 void *argp1 = 0 ;
6889 int res1 = 0 ;
6890 void *argp2 = 0 ;
6891 int res2 = 0 ;
6892 PyObject * obj0 = 0 ;
6893 PyObject * obj1 = 0 ;
6894 char * kwnames[] = {
6895 (char *) "self",(char *) "toolbar", NULL
6896 };
6897
6898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6900 if (!SWIG_IsOK(res1)) {
6901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6902 }
6903 arg1 = reinterpret_cast< wxFrame * >(argp1);
6904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6905 if (!SWIG_IsOK(res2)) {
6906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6907 }
6908 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 (arg1)->SetToolBar(arg2);
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 resultobj = SWIG_Py_Void();
6916 return resultobj;
6917fail:
6918 return NULL;
6919}
6920
6921
6922SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6923 PyObject *resultobj = 0;
6924 wxFrame *arg1 = (wxFrame *) 0 ;
6925 wxString *arg2 = 0 ;
6926 bool arg3 ;
6927 void *argp1 = 0 ;
6928 int res1 = 0 ;
6929 bool temp2 = false ;
6930 bool val3 ;
6931 int ecode3 = 0 ;
6932 PyObject * obj0 = 0 ;
6933 PyObject * obj1 = 0 ;
6934 PyObject * obj2 = 0 ;
6935 char * kwnames[] = {
6936 (char *) "self",(char *) "text",(char *) "show", NULL
6937 };
6938
6939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6941 if (!SWIG_IsOK(res1)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6943 }
6944 arg1 = reinterpret_cast< wxFrame * >(argp1);
6945 {
6946 arg2 = wxString_in_helper(obj1);
6947 if (arg2 == NULL) SWIG_fail;
6948 temp2 = true;
6949 }
6950 ecode3 = SWIG_AsVal_bool(obj2, &val3);
6951 if (!SWIG_IsOK(ecode3)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6953 }
6954 arg3 = static_cast< bool >(val3);
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 resultobj = SWIG_Py_Void();
6962 {
6963 if (temp2)
6964 delete arg2;
6965 }
6966 return resultobj;
6967fail:
6968 {
6969 if (temp2)
6970 delete arg2;
6971 }
6972 return NULL;
6973}
6974
6975
6976SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6977 PyObject *resultobj = 0;
6978 wxFrame *arg1 = (wxFrame *) 0 ;
6979 wxMenu *arg2 = (wxMenu *) NULL ;
6980 void *argp1 = 0 ;
6981 int res1 = 0 ;
6982 void *argp2 = 0 ;
6983 int res2 = 0 ;
6984 PyObject * obj0 = 0 ;
6985 PyObject * obj1 = 0 ;
6986 char * kwnames[] = {
6987 (char *) "self",(char *) "menu", NULL
6988 };
6989
6990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
6991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6992 if (!SWIG_IsOK(res1)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6994 }
6995 arg1 = reinterpret_cast< wxFrame * >(argp1);
6996 if (obj1) {
6997 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
6998 if (!SWIG_IsOK(res2)) {
6999 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d14a1e28 7000 }
0085ce49
RD
7001 arg2 = reinterpret_cast< wxMenu * >(argp2);
7002 }
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->DoMenuUpdates(arg2);
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = SWIG_Py_Void();
7010 return resultobj;
7011fail:
7012 return NULL;
7013}
7014
7015
7016SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj = 0;
7018 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7019 SwigValueWrapper<wxVisualAttributes > result;
7020 int val1 ;
7021 int ecode1 = 0 ;
7022 PyObject * obj0 = 0 ;
7023 char * kwnames[] = {
7024 (char *) "variant", NULL
7025 };
7026
7027 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7028 if (obj0) {
7029 ecode1 = SWIG_AsVal_int(obj0, &val1);
7030 if (!SWIG_IsOK(ecode1)) {
7031 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7032 }
7033 arg1 = static_cast< wxWindowVariant >(val1);
7034 }
7035 {
7036 if (!wxPyCheckForApp()) SWIG_fail;
7037 PyThreadState* __tstate = wxPyBeginAllowThreads();
7038 result = wxFrame::GetClassDefaultAttributes(arg1);
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7043 return resultobj;
7044fail:
7045 return NULL;
7046}
7047
7048
7049SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7050 PyObject *obj;
7051 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7052 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7053 return SWIG_Py_Void();
7054}
7055
7056SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7057 return SWIG_Python_InitShadowInstance(args);
7058}
7059
7060SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj = 0;
7062 wxWindow *arg1 = (wxWindow *) 0 ;
7063 int arg2 = (int) (int)-1 ;
7064 wxString const &arg3_defvalue = wxPyEmptyString ;
7065 wxString *arg3 = (wxString *) &arg3_defvalue ;
7066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7068 wxSize const &arg5_defvalue = wxDefaultSize ;
7069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7070 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7071 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7072 wxString *arg7 = (wxString *) &arg7_defvalue ;
7073 wxDialog *result = 0 ;
7074 void *argp1 = 0 ;
7075 int res1 = 0 ;
7076 int val2 ;
7077 int ecode2 = 0 ;
7078 bool temp3 = false ;
7079 wxPoint temp4 ;
7080 wxSize temp5 ;
7081 long val6 ;
7082 int ecode6 = 0 ;
7083 bool temp7 = false ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 PyObject * obj2 = 0 ;
7087 PyObject * obj3 = 0 ;
7088 PyObject * obj4 = 0 ;
7089 PyObject * obj5 = 0 ;
7090 PyObject * obj6 = 0 ;
7091 char * kwnames[] = {
7092 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7093 };
7094
7095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7097 if (!SWIG_IsOK(res1)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7099 }
7100 arg1 = reinterpret_cast< wxWindow * >(argp1);
7101 if (obj1) {
7102 ecode2 = SWIG_AsVal_int(obj1, &val2);
7103 if (!SWIG_IsOK(ecode2)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7105 }
7106 arg2 = static_cast< int >(val2);
7107 }
7108 if (obj2) {
d14a1e28 7109 {
0085ce49
RD
7110 arg3 = wxString_in_helper(obj2);
7111 if (arg3 == NULL) SWIG_fail;
7112 temp3 = true;
d14a1e28 7113 }
0085ce49
RD
7114 }
7115 if (obj3) {
d14a1e28 7116 {
0085ce49
RD
7117 arg4 = &temp4;
7118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7119 }
0085ce49
RD
7120 }
7121 if (obj4) {
d14a1e28 7122 {
0085ce49
RD
7123 arg5 = &temp5;
7124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7125 }
0085ce49
RD
7126 }
7127 if (obj5) {
7128 ecode6 = SWIG_AsVal_long(obj5, &val6);
7129 if (!SWIG_IsOK(ecode6)) {
7130 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7131 }
7132 arg6 = static_cast< long >(val6);
7133 }
7134 if (obj6) {
d14a1e28 7135 {
0085ce49
RD
7136 arg7 = wxString_in_helper(obj6);
7137 if (arg7 == NULL) SWIG_fail;
7138 temp7 = true;
d14a1e28 7139 }
0085ce49
RD
7140 }
7141 {
7142 if (!wxPyCheckForApp()) SWIG_fail;
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7149 {
7150 if (temp3)
7151 delete arg3;
7152 }
7153 {
7154 if (temp7)
7155 delete arg7;
7156 }
7157 return resultobj;
7158fail:
7159 {
7160 if (temp3)
7161 delete arg3;
7162 }
7163 {
7164 if (temp7)
7165 delete arg7;
7166 }
7167 return NULL;
d14a1e28
RD
7168}
7169
7170
0085ce49
RD
7171SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7172 PyObject *resultobj = 0;
7173 wxDialog *result = 0 ;
7174
7175 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7176 {
7177 if (!wxPyCheckForApp()) SWIG_fail;
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 result = (wxDialog *)new wxDialog();
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7184 return resultobj;
7185fail:
7186 return NULL;
7187}
7188
7189
7190SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj = 0;
7192 wxDialog *arg1 = (wxDialog *) 0 ;
7193 wxWindow *arg2 = (wxWindow *) 0 ;
7194 int arg3 = (int) (int)-1 ;
7195 wxString const &arg4_defvalue = wxPyEmptyString ;
7196 wxString *arg4 = (wxString *) &arg4_defvalue ;
7197 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7198 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7199 wxSize const &arg6_defvalue = wxDefaultSize ;
7200 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7201 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7202 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7203 wxString *arg8 = (wxString *) &arg8_defvalue ;
7204 bool result;
7205 void *argp1 = 0 ;
7206 int res1 = 0 ;
7207 void *argp2 = 0 ;
7208 int res2 = 0 ;
7209 int val3 ;
7210 int ecode3 = 0 ;
7211 bool temp4 = false ;
7212 wxPoint temp5 ;
7213 wxSize temp6 ;
7214 long val7 ;
7215 int ecode7 = 0 ;
7216 bool temp8 = false ;
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj1 = 0 ;
7219 PyObject * obj2 = 0 ;
7220 PyObject * obj3 = 0 ;
7221 PyObject * obj4 = 0 ;
7222 PyObject * obj5 = 0 ;
7223 PyObject * obj6 = 0 ;
7224 PyObject * obj7 = 0 ;
7225 char * kwnames[] = {
7226 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7227 };
7228
7229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7231 if (!SWIG_IsOK(res1)) {
7232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7233 }
7234 arg1 = reinterpret_cast< wxDialog * >(argp1);
7235 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7236 if (!SWIG_IsOK(res2)) {
7237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7238 }
7239 arg2 = reinterpret_cast< wxWindow * >(argp2);
7240 if (obj2) {
7241 ecode3 = SWIG_AsVal_int(obj2, &val3);
7242 if (!SWIG_IsOK(ecode3)) {
7243 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7244 }
7245 arg3 = static_cast< int >(val3);
7246 }
7247 if (obj3) {
093d3ff1 7248 {
0085ce49
RD
7249 arg4 = wxString_in_helper(obj3);
7250 if (arg4 == NULL) SWIG_fail;
7251 temp4 = true;
d14a1e28 7252 }
0085ce49
RD
7253 }
7254 if (obj4) {
d14a1e28 7255 {
0085ce49
RD
7256 arg5 = &temp5;
7257 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7258 }
0085ce49
RD
7259 }
7260 if (obj5) {
4f89f6a3 7261 {
0085ce49
RD
7262 arg6 = &temp6;
7263 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
c32bde28 7264 }
0085ce49
RD
7265 }
7266 if (obj6) {
7267 ecode7 = SWIG_AsVal_long(obj6, &val7);
7268 if (!SWIG_IsOK(ecode7)) {
7269 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7270 }
7271 arg7 = static_cast< long >(val7);
7272 }
7273 if (obj7) {
c32bde28 7274 {
0085ce49
RD
7275 arg8 = wxString_in_helper(obj7);
7276 if (arg8 == NULL) SWIG_fail;
7277 temp8 = true;
7278 }
7279 }
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7283 wxPyEndAllowThreads(__tstate);
7284 if (PyErr_Occurred()) SWIG_fail;
7285 }
7286 {
7287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7288 }
7289 {
7290 if (temp4)
7291 delete arg4;
7292 }
7293 {
7294 if (temp8)
7295 delete arg8;
7296 }
7297 return resultobj;
7298fail:
7299 {
7300 if (temp4)
7301 delete arg4;
7302 }
7303 {
7304 if (temp8)
7305 delete arg8;
7306 }
7307 return NULL;
7308}
7309
7310
7311SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7312 PyObject *resultobj = 0;
7313 wxDialog *arg1 = (wxDialog *) 0 ;
7314 int arg2 ;
7315 void *argp1 = 0 ;
7316 int res1 = 0 ;
7317 int val2 ;
7318 int ecode2 = 0 ;
7319 PyObject * obj0 = 0 ;
7320 PyObject * obj1 = 0 ;
7321 char * kwnames[] = {
7322 (char *) "self",(char *) "returnCode", NULL
7323 };
7324
7325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7327 if (!SWIG_IsOK(res1)) {
7328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7329 }
7330 arg1 = reinterpret_cast< wxDialog * >(argp1);
7331 ecode2 = SWIG_AsVal_int(obj1, &val2);
7332 if (!SWIG_IsOK(ecode2)) {
7333 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7334 }
7335 arg2 = static_cast< int >(val2);
7336 {
7337 PyThreadState* __tstate = wxPyBeginAllowThreads();
7338 (arg1)->SetReturnCode(arg2);
7339 wxPyEndAllowThreads(__tstate);
7340 if (PyErr_Occurred()) SWIG_fail;
7341 }
7342 resultobj = SWIG_Py_Void();
7343 return resultobj;
7344fail:
7345 return NULL;
c32bde28
RD
7346}
7347
7348
0085ce49
RD
7349SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7350 PyObject *resultobj = 0;
7351 wxDialog *arg1 = (wxDialog *) 0 ;
7352 int result;
7353 void *argp1 = 0 ;
7354 int res1 = 0 ;
7355 PyObject *swig_obj[1] ;
7356
7357 if (!args) SWIG_fail;
7358 swig_obj[0] = args;
7359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7360 if (!SWIG_IsOK(res1)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7362 }
7363 arg1 = reinterpret_cast< wxDialog * >(argp1);
7364 {
7365 PyThreadState* __tstate = wxPyBeginAllowThreads();
7366 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
7370 resultobj = SWIG_From_int(static_cast< int >(result));
7371 return resultobj;
7372fail:
7373 return NULL;
7374}
7375
7376
7377SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7378 PyObject *resultobj = 0;
7379 wxDialog *arg1 = (wxDialog *) 0 ;
7380 int arg2 ;
7381 void *argp1 = 0 ;
7382 int res1 = 0 ;
7383 int val2 ;
7384 int ecode2 = 0 ;
7385 PyObject * obj0 = 0 ;
7386 PyObject * obj1 = 0 ;
7387 char * kwnames[] = {
7388 (char *) "self",(char *) "affirmativeId", NULL
7389 };
7390
7391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7393 if (!SWIG_IsOK(res1)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7395 }
7396 arg1 = reinterpret_cast< wxDialog * >(argp1);
7397 ecode2 = SWIG_AsVal_int(obj1, &val2);
7398 if (!SWIG_IsOK(ecode2)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7400 }
7401 arg2 = static_cast< int >(val2);
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
7404 (arg1)->SetAffirmativeId(arg2);
7405 wxPyEndAllowThreads(__tstate);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 }
7408 resultobj = SWIG_Py_Void();
7409 return resultobj;
7410fail:
7411 return NULL;
b6294124
RD
7412}
7413
7414
0085ce49
RD
7415SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7416 PyObject *resultobj = 0;
7417 wxDialog *arg1 = (wxDialog *) 0 ;
7418 int result;
7419 void *argp1 = 0 ;
7420 int res1 = 0 ;
7421 PyObject *swig_obj[1] ;
7422
7423 if (!args) SWIG_fail;
7424 swig_obj[0] = args;
7425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7426 if (!SWIG_IsOK(res1)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7428 }
7429 arg1 = reinterpret_cast< wxDialog * >(argp1);
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
7436 resultobj = SWIG_From_int(static_cast< int >(result));
7437 return resultobj;
7438fail:
7439 return NULL;
7440}
7441
7442
7443SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7444 PyObject *resultobj = 0;
7445 wxDialog *arg1 = (wxDialog *) 0 ;
7446 int arg2 ;
7447 void *argp1 = 0 ;
7448 int res1 = 0 ;
7449 int val2 ;
7450 int ecode2 = 0 ;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 char * kwnames[] = {
7454 (char *) "self",(char *) "escapeId", NULL
7455 };
7456
7457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7459 if (!SWIG_IsOK(res1)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7461 }
7462 arg1 = reinterpret_cast< wxDialog * >(argp1);
7463 ecode2 = SWIG_AsVal_int(obj1, &val2);
7464 if (!SWIG_IsOK(ecode2)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7466 }
7467 arg2 = static_cast< int >(val2);
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 (arg1)->SetEscapeId(arg2);
7471 wxPyEndAllowThreads(__tstate);
7472 if (PyErr_Occurred()) SWIG_fail;
7473 }
7474 resultobj = SWIG_Py_Void();
7475 return resultobj;
7476fail:
7477 return NULL;
84f85550
RD
7478}
7479
7480
0085ce49
RD
7481SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7482 PyObject *resultobj = 0;
7483 wxDialog *arg1 = (wxDialog *) 0 ;
7484 int result;
7485 void *argp1 = 0 ;
7486 int res1 = 0 ;
7487 PyObject *swig_obj[1] ;
7488
7489 if (!args) SWIG_fail;
7490 swig_obj[0] = args;
7491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7492 if (!SWIG_IsOK(res1)) {
7493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7494 }
7495 arg1 = reinterpret_cast< wxDialog * >(argp1);
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 resultobj = SWIG_From_int(static_cast< int >(result));
7503 return resultobj;
7504fail:
7505 return NULL;
7506}
7507
7508
7509SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj = 0;
7511 wxDialog *arg1 = (wxDialog *) 0 ;
7512 wxString *arg2 = 0 ;
7513 wxSizer *result = 0 ;
7514 void *argp1 = 0 ;
7515 int res1 = 0 ;
7516 bool temp2 = false ;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 char * kwnames[] = {
7520 (char *) "self",(char *) "message", NULL
7521 };
7522
7523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7525 if (!SWIG_IsOK(res1)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7527 }
7528 arg1 = reinterpret_cast< wxDialog * >(argp1);
7529 {
7530 arg2 = wxString_in_helper(obj1);
7531 if (arg2 == NULL) SWIG_fail;
7532 temp2 = true;
7533 }
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 {
7541 resultobj = wxPyMake_wxObject(result, (bool)0);
7542 }
7543 {
7544 if (temp2)
7545 delete arg2;
7546 }
7547 return resultobj;
7548fail:
7549 {
7550 if (temp2)
7551 delete arg2;
7552 }
7553 return NULL;
7554}
7555
7556
7557SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7558 PyObject *resultobj = 0;
7559 wxDialog *arg1 = (wxDialog *) 0 ;
7560 long arg2 ;
7561 bool arg3 = (bool) false ;
7562 int arg4 = (int) 0 ;
7563 wxSizer *result = 0 ;
7564 void *argp1 = 0 ;
7565 int res1 = 0 ;
7566 long val2 ;
7567 int ecode2 = 0 ;
7568 bool val3 ;
7569 int ecode3 = 0 ;
7570 int val4 ;
7571 int ecode4 = 0 ;
7572 PyObject * obj0 = 0 ;
7573 PyObject * obj1 = 0 ;
7574 PyObject * obj2 = 0 ;
7575 PyObject * obj3 = 0 ;
7576 char * kwnames[] = {
7577 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7578 };
7579
7580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7582 if (!SWIG_IsOK(res1)) {
7583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7584 }
7585 arg1 = reinterpret_cast< wxDialog * >(argp1);
7586 ecode2 = SWIG_AsVal_long(obj1, &val2);
7587 if (!SWIG_IsOK(ecode2)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7589 }
7590 arg2 = static_cast< long >(val2);
7591 if (obj2) {
7592 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7593 if (!SWIG_IsOK(ecode3)) {
7594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7595 }
7596 arg3 = static_cast< bool >(val3);
7597 }
7598 if (obj3) {
7599 ecode4 = SWIG_AsVal_int(obj3, &val4);
7600 if (!SWIG_IsOK(ecode4)) {
7601 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7602 }
7603 arg4 = static_cast< int >(val4);
7604 }
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 {
7612 resultobj = wxPyMake_wxObject(result, (bool)0);
7613 }
7614 return resultobj;
7615fail:
7616 return NULL;
7617}
7618
7619
7620SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7621 PyObject *resultobj = 0;
7622 wxDialog *arg1 = (wxDialog *) 0 ;
7623 long arg2 ;
7624 wxStdDialogButtonSizer *result = 0 ;
7625 void *argp1 = 0 ;
7626 int res1 = 0 ;
7627 long val2 ;
7628 int ecode2 = 0 ;
7629 PyObject * obj0 = 0 ;
7630 PyObject * obj1 = 0 ;
7631 char * kwnames[] = {
7632 (char *) "self",(char *) "flags", NULL
7633 };
7634
7635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7637 if (!SWIG_IsOK(res1)) {
7638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7639 }
7640 arg1 = reinterpret_cast< wxDialog * >(argp1);
7641 ecode2 = SWIG_AsVal_long(obj1, &val2);
7642 if (!SWIG_IsOK(ecode2)) {
7643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7644 }
7645 arg2 = static_cast< long >(val2);
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7653 return resultobj;
7654fail:
7655 return NULL;
84f85550
RD
7656}
7657
7658
0085ce49
RD
7659SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7660 PyObject *resultobj = 0;
7661 wxDialog *arg1 = (wxDialog *) 0 ;
7662 bool result;
7663 void *argp1 = 0 ;
7664 int res1 = 0 ;
7665 PyObject *swig_obj[1] ;
7666
7667 if (!args) SWIG_fail;
7668 swig_obj[0] = args;
7669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7670 if (!SWIG_IsOK(res1)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7672 }
7673 arg1 = reinterpret_cast< wxDialog * >(argp1);
7674 {
7675 PyThreadState* __tstate = wxPyBeginAllowThreads();
7676 result = (bool)((wxDialog const *)arg1)->IsModal();
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 {
7681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7682 }
7683 return resultobj;
7684fail:
7685 return NULL;
b1fcee84
RD
7686}
7687
7688
0085ce49
RD
7689SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7690 PyObject *resultobj = 0;
7691 wxDialog *arg1 = (wxDialog *) 0 ;
7692 int result;
7693 void *argp1 = 0 ;
7694 int res1 = 0 ;
7695 PyObject *swig_obj[1] ;
7696
7697 if (!args) SWIG_fail;
7698 swig_obj[0] = args;
7699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7700 if (!SWIG_IsOK(res1)) {
7701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7702 }
7703 arg1 = reinterpret_cast< wxDialog * >(argp1);
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 result = (int)(arg1)->ShowModal();
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 resultobj = SWIG_From_int(static_cast< int >(result));
7711 return resultobj;
7712fail:
7713 return NULL;
7714}
7715
7716
7717SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj = 0;
7719 wxDialog *arg1 = (wxDialog *) 0 ;
7720 int arg2 ;
7721 void *argp1 = 0 ;
7722 int res1 = 0 ;
7723 int val2 ;
7724 int ecode2 = 0 ;
7725 PyObject * obj0 = 0 ;
7726 PyObject * obj1 = 0 ;
7727 char * kwnames[] = {
7728 (char *) "self",(char *) "retCode", NULL
7729 };
7730
7731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7733 if (!SWIG_IsOK(res1)) {
7734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7735 }
7736 arg1 = reinterpret_cast< wxDialog * >(argp1);
7737 ecode2 = SWIG_AsVal_int(obj1, &val2);
7738 if (!SWIG_IsOK(ecode2)) {
7739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7740 }
7741 arg2 = static_cast< int >(val2);
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 (arg1)->EndModal(arg2);
7745 wxPyEndAllowThreads(__tstate);
7746 if (PyErr_Occurred()) SWIG_fail;
7747 }
7748 resultobj = SWIG_Py_Void();
7749 return resultobj;
7750fail:
7751 return NULL;
7752}
7753
7754
7755SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7756 PyObject *resultobj = 0;
7757 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7758 SwigValueWrapper<wxVisualAttributes > result;
7759 int val1 ;
7760 int ecode1 = 0 ;
7761 PyObject * obj0 = 0 ;
7762 char * kwnames[] = {
7763 (char *) "variant", NULL
7764 };
7765
7766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7767 if (obj0) {
7768 ecode1 = SWIG_AsVal_int(obj0, &val1);
7769 if (!SWIG_IsOK(ecode1)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7771 }
7772 arg1 = static_cast< wxWindowVariant >(val1);
7773 }
7774 {
7775 if (!wxPyCheckForApp()) SWIG_fail;
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = wxDialog::GetClassDefaultAttributes(arg1);
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7782 return resultobj;
7783fail:
7784 return NULL;
7785}
7786
7787
7788SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7789 PyObject *obj;
7790 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7791 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7792 return SWIG_Py_Void();
7793}
7794
7795SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7796 return SWIG_Python_InitShadowInstance(args);
7797}
7798
7799SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7800 PyObject *resultobj = 0;
7801 wxWindow *arg1 = (wxWindow *) 0 ;
7802 int arg2 = (int) (int)-1 ;
7803 wxString const &arg3_defvalue = wxPyEmptyString ;
7804 wxString *arg3 = (wxString *) &arg3_defvalue ;
7805 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7806 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7807 wxSize const &arg5_defvalue = wxDefaultSize ;
7808 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7809 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7810 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7811 wxString *arg7 = (wxString *) &arg7_defvalue ;
7812 wxMiniFrame *result = 0 ;
7813 void *argp1 = 0 ;
7814 int res1 = 0 ;
7815 int val2 ;
7816 int ecode2 = 0 ;
7817 bool temp3 = false ;
7818 wxPoint temp4 ;
7819 wxSize temp5 ;
7820 long val6 ;
7821 int ecode6 = 0 ;
7822 bool temp7 = false ;
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
7825 PyObject * obj2 = 0 ;
7826 PyObject * obj3 = 0 ;
7827 PyObject * obj4 = 0 ;
7828 PyObject * obj5 = 0 ;
7829 PyObject * obj6 = 0 ;
7830 char * kwnames[] = {
7831 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7832 };
7833
7834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7836 if (!SWIG_IsOK(res1)) {
7837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7838 }
7839 arg1 = reinterpret_cast< wxWindow * >(argp1);
7840 if (obj1) {
7841 ecode2 = SWIG_AsVal_int(obj1, &val2);
7842 if (!SWIG_IsOK(ecode2)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7844 }
7845 arg2 = static_cast< int >(val2);
7846 }
7847 if (obj2) {
d14a1e28 7848 {
0085ce49
RD
7849 arg3 = wxString_in_helper(obj2);
7850 if (arg3 == NULL) SWIG_fail;
7851 temp3 = true;
d14a1e28 7852 }
0085ce49
RD
7853 }
7854 if (obj3) {
d14a1e28 7855 {
0085ce49
RD
7856 arg4 = &temp4;
7857 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 7858 }
0085ce49
RD
7859 }
7860 if (obj4) {
d14a1e28 7861 {
0085ce49
RD
7862 arg5 = &temp5;
7863 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 7864 }
0085ce49
RD
7865 }
7866 if (obj5) {
7867 ecode6 = SWIG_AsVal_long(obj5, &val6);
7868 if (!SWIG_IsOK(ecode6)) {
7869 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7870 }
7871 arg6 = static_cast< long >(val6);
7872 }
7873 if (obj6) {
d14a1e28 7874 {
0085ce49
RD
7875 arg7 = wxString_in_helper(obj6);
7876 if (arg7 == NULL) SWIG_fail;
7877 temp7 = true;
d14a1e28 7878 }
0085ce49
RD
7879 }
7880 {
7881 if (!wxPyCheckForApp()) SWIG_fail;
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7888 {
7889 if (temp3)
7890 delete arg3;
7891 }
7892 {
7893 if (temp7)
7894 delete arg7;
7895 }
7896 return resultobj;
7897fail:
7898 {
7899 if (temp3)
7900 delete arg3;
7901 }
7902 {
7903 if (temp7)
7904 delete arg7;
7905 }
7906 return NULL;
d14a1e28
RD
7907}
7908
7909
0085ce49
RD
7910SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7911 PyObject *resultobj = 0;
7912 wxMiniFrame *result = 0 ;
7913
7914 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7915 {
7916 if (!wxPyCheckForApp()) SWIG_fail;
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 result = (wxMiniFrame *)new wxMiniFrame();
7919 wxPyEndAllowThreads(__tstate);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7923 return resultobj;
7924fail:
7925 return NULL;
7926}
7927
7928
7929SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj = 0;
7931 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
7932 wxWindow *arg2 = (wxWindow *) 0 ;
7933 int arg3 = (int) (int)-1 ;
7934 wxString const &arg4_defvalue = wxPyEmptyString ;
7935 wxString *arg4 = (wxString *) &arg4_defvalue ;
7936 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7937 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7938 wxSize const &arg6_defvalue = wxDefaultSize ;
7939 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7940 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
7941 wxString const &arg8_defvalue = wxPyFrameNameStr ;
7942 wxString *arg8 = (wxString *) &arg8_defvalue ;
7943 bool result;
7944 void *argp1 = 0 ;
7945 int res1 = 0 ;
7946 void *argp2 = 0 ;
7947 int res2 = 0 ;
7948 int val3 ;
7949 int ecode3 = 0 ;
7950 bool temp4 = false ;
7951 wxPoint temp5 ;
7952 wxSize temp6 ;
7953 long val7 ;
7954 int ecode7 = 0 ;
7955 bool temp8 = false ;
7956 PyObject * obj0 = 0 ;
7957 PyObject * obj1 = 0 ;
7958 PyObject * obj2 = 0 ;
7959 PyObject * obj3 = 0 ;
7960 PyObject * obj4 = 0 ;
7961 PyObject * obj5 = 0 ;
7962 PyObject * obj6 = 0 ;
7963 PyObject * obj7 = 0 ;
7964 char * kwnames[] = {
7965 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7966 };
7967
7968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
7970 if (!SWIG_IsOK(res1)) {
7971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7972 }
7973 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
7974 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7975 if (!SWIG_IsOK(res2)) {
7976 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7977 }
7978 arg2 = reinterpret_cast< wxWindow * >(argp2);
7979 if (obj2) {
7980 ecode3 = SWIG_AsVal_int(obj2, &val3);
7981 if (!SWIG_IsOK(ecode3)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7983 }
7984 arg3 = static_cast< int >(val3);
7985 }
7986 if (obj3) {
d14a1e28 7987 {
0085ce49
RD
7988 arg4 = wxString_in_helper(obj3);
7989 if (arg4 == NULL) SWIG_fail;
7990 temp4 = true;
d14a1e28 7991 }
0085ce49
RD
7992 }
7993 if (obj4) {
4f89f6a3 7994 {
0085ce49
RD
7995 arg5 = &temp5;
7996 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 7997 }
0085ce49
RD
7998 }
7999 if (obj5) {
d14a1e28 8000 {
0085ce49
RD
8001 arg6 = &temp6;
8002 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 8003 }
0085ce49
RD
8004 }
8005 if (obj6) {
8006 ecode7 = SWIG_AsVal_long(obj6, &val7);
8007 if (!SWIG_IsOK(ecode7)) {
8008 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8009 }
8010 arg7 = static_cast< long >(val7);
8011 }
8012 if (obj7) {
d14a1e28 8013 {
0085ce49
RD
8014 arg8 = wxString_in_helper(obj7);
8015 if (arg8 == NULL) SWIG_fail;
8016 temp8 = true;
d14a1e28 8017 }
0085ce49
RD
8018 }
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 {
8026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8027 }
8028 {
8029 if (temp4)
8030 delete arg4;
8031 }
8032 {
8033 if (temp8)
8034 delete arg8;
8035 }
8036 return resultobj;
8037fail:
8038 {
8039 if (temp4)
8040 delete arg4;
8041 }
8042 {
8043 if (temp8)
8044 delete arg8;
8045 }
8046 return NULL;
8047}
8048
8049
8050SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8051 PyObject *obj;
8052 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8053 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8054 return SWIG_Py_Void();
8055}
8056
8057SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8058 return SWIG_Python_InitShadowInstance(args);
8059}
8060
8061SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj = 0;
8063 wxBitmap *arg1 = 0 ;
8064 wxWindow *arg2 = (wxWindow *) 0 ;
8065 int arg3 ;
8066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8068 wxSize const &arg5_defvalue = wxDefaultSize ;
8069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8070 long arg6 = (long) wxNO_BORDER ;
8071 wxSplashScreenWindow *result = 0 ;
8072 void *argp1 = 0 ;
8073 int res1 = 0 ;
8074 void *argp2 = 0 ;
8075 int res2 = 0 ;
8076 int val3 ;
8077 int ecode3 = 0 ;
8078 wxPoint temp4 ;
8079 wxSize temp5 ;
8080 long val6 ;
8081 int ecode6 = 0 ;
8082 PyObject * obj0 = 0 ;
8083 PyObject * obj1 = 0 ;
8084 PyObject * obj2 = 0 ;
8085 PyObject * obj3 = 0 ;
8086 PyObject * obj4 = 0 ;
8087 PyObject * obj5 = 0 ;
8088 char * kwnames[] = {
8089 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8090 };
8091
8092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8093 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8094 if (!SWIG_IsOK(res1)) {
8095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8096 }
8097 if (!argp1) {
8098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8099 }
8100 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8101 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8102 if (!SWIG_IsOK(res2)) {
8103 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8104 }
8105 arg2 = reinterpret_cast< wxWindow * >(argp2);
8106 ecode3 = SWIG_AsVal_int(obj2, &val3);
8107 if (!SWIG_IsOK(ecode3)) {
8108 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8109 }
8110 arg3 = static_cast< int >(val3);
8111 if (obj3) {
d14a1e28 8112 {
0085ce49
RD
8113 arg4 = &temp4;
8114 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 8115 }
0085ce49
RD
8116 }
8117 if (obj4) {
d14a1e28 8118 {
0085ce49
RD
8119 arg5 = &temp5;
8120 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 8121 }
0085ce49
RD
8122 }
8123 if (obj5) {
8124 ecode6 = SWIG_AsVal_long(obj5, &val6);
8125 if (!SWIG_IsOK(ecode6)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8127 }
8128 arg6 = static_cast< long >(val6);
8129 }
8130 {
8131 if (!wxPyCheckForApp()) SWIG_fail;
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8134 wxPyEndAllowThreads(__tstate);
8135 if (PyErr_Occurred()) SWIG_fail;
8136 }
8137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8138 return resultobj;
8139fail:
8140 return NULL;
8141}
8142
8143
8144SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8145 PyObject *resultobj = 0;
8146 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8147 wxBitmap *arg2 = 0 ;
8148 void *argp1 = 0 ;
8149 int res1 = 0 ;
8150 void *argp2 = 0 ;
8151 int res2 = 0 ;
8152 PyObject * obj0 = 0 ;
8153 PyObject * obj1 = 0 ;
8154 char * kwnames[] = {
8155 (char *) "self",(char *) "bitmap", NULL
8156 };
8157
8158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8160 if (!SWIG_IsOK(res1)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8162 }
8163 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8164 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8165 if (!SWIG_IsOK(res2)) {
8166 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8167 }
8168 if (!argp2) {
8169 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8170 }
8171 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8175 wxPyEndAllowThreads(__tstate);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 }
8178 resultobj = SWIG_Py_Void();
8179 return resultobj;
8180fail:
8181 return NULL;
d14a1e28
RD
8182}
8183
8184
0085ce49
RD
8185SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8186 PyObject *resultobj = 0;
8187 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8188 wxBitmap *result = 0 ;
8189 void *argp1 = 0 ;
8190 int res1 = 0 ;
8191 PyObject *swig_obj[1] ;
8192
8193 if (!args) SWIG_fail;
8194 swig_obj[0] = args;
8195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8196 if (!SWIG_IsOK(res1)) {
8197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8198 }
8199 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8200 {
8201 PyThreadState* __tstate = wxPyBeginAllowThreads();
8202 {
8203 wxBitmap &_result_ref = (arg1)->GetBitmap();
8204 result = (wxBitmap *) &_result_ref;
8205 }
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 {
8210 wxBitmap* resultptr = new wxBitmap(*result);
8211 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8212 }
8213 return resultobj;
8214fail:
8215 return NULL;
8216}
8217
8218
8219SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8220 PyObject *obj;
8221 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8222 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8223 return SWIG_Py_Void();
8224}
8225
8226SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8227 return SWIG_Python_InitShadowInstance(args);
8228}
8229
8230SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8231 PyObject *resultobj = 0;
8232 wxBitmap *arg1 = 0 ;
8233 long arg2 ;
8234 int arg3 ;
8235 wxWindow *arg4 = (wxWindow *) 0 ;
8236 int arg5 = (int) -1 ;
8237 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8238 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8239 wxSize const &arg7_defvalue = wxDefaultSize ;
8240 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8241 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8242 wxSplashScreen *result = 0 ;
8243 void *argp1 = 0 ;
8244 int res1 = 0 ;
8245 long val2 ;
8246 int ecode2 = 0 ;
8247 int val3 ;
8248 int ecode3 = 0 ;
8249 void *argp4 = 0 ;
8250 int res4 = 0 ;
8251 int val5 ;
8252 int ecode5 = 0 ;
8253 wxPoint temp6 ;
8254 wxSize temp7 ;
8255 long val8 ;
8256 int ecode8 = 0 ;
8257 PyObject * obj0 = 0 ;
8258 PyObject * obj1 = 0 ;
8259 PyObject * obj2 = 0 ;
8260 PyObject * obj3 = 0 ;
8261 PyObject * obj4 = 0 ;
8262 PyObject * obj5 = 0 ;
8263 PyObject * obj6 = 0 ;
8264 PyObject * obj7 = 0 ;
8265 char * kwnames[] = {
8266 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8267 };
8268
8269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8270 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8271 if (!SWIG_IsOK(res1)) {
8272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8273 }
8274 if (!argp1) {
8275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8276 }
8277 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8278 ecode2 = SWIG_AsVal_long(obj1, &val2);
8279 if (!SWIG_IsOK(ecode2)) {
8280 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8281 }
8282 arg2 = static_cast< long >(val2);
8283 ecode3 = SWIG_AsVal_int(obj2, &val3);
8284 if (!SWIG_IsOK(ecode3)) {
8285 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8286 }
8287 arg3 = static_cast< int >(val3);
8288 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8289 if (!SWIG_IsOK(res4)) {
8290 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8291 }
8292 arg4 = reinterpret_cast< wxWindow * >(argp4);
8293 if (obj4) {
8294 ecode5 = SWIG_AsVal_int(obj4, &val5);
8295 if (!SWIG_IsOK(ecode5)) {
8296 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8297 }
8298 arg5 = static_cast< int >(val5);
8299 }
8300 if (obj5) {
d14a1e28 8301 {
0085ce49
RD
8302 arg6 = &temp6;
8303 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 8304 }
0085ce49
RD
8305 }
8306 if (obj6) {
d14a1e28 8307 {
0085ce49
RD
8308 arg7 = &temp7;
8309 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d14a1e28 8310 }
0085ce49
RD
8311 }
8312 if (obj7) {
8313 ecode8 = SWIG_AsVal_long(obj7, &val8);
8314 if (!SWIG_IsOK(ecode8)) {
8315 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8316 }
8317 arg8 = static_cast< long >(val8);
8318 }
8319 {
8320 if (!wxPyCheckForApp()) SWIG_fail;
8321 PyThreadState* __tstate = wxPyBeginAllowThreads();
8322 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8323 wxPyEndAllowThreads(__tstate);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 }
8326 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8327 return resultobj;
8328fail:
8329 return NULL;
d14a1e28
RD
8330}
8331
8332
0085ce49
RD
8333SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8334 PyObject *resultobj = 0;
8335 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8336 long result;
8337 void *argp1 = 0 ;
8338 int res1 = 0 ;
8339 PyObject *swig_obj[1] ;
8340
8341 if (!args) SWIG_fail;
8342 swig_obj[0] = args;
8343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8344 if (!SWIG_IsOK(res1)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8346 }
8347 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8348 {
8349 PyThreadState* __tstate = wxPyBeginAllowThreads();
8350 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8351 wxPyEndAllowThreads(__tstate);
8352 if (PyErr_Occurred()) SWIG_fail;
8353 }
8354 resultobj = SWIG_From_long(static_cast< long >(result));
8355 return resultobj;
8356fail:
8357 return NULL;
d14a1e28
RD
8358}
8359
8360
0085ce49
RD
8361SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8362 PyObject *resultobj = 0;
8363 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8364 wxSplashScreenWindow *result = 0 ;
8365 void *argp1 = 0 ;
8366 int res1 = 0 ;
8367 PyObject *swig_obj[1] ;
8368
8369 if (!args) SWIG_fail;
8370 swig_obj[0] = args;
8371 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8372 if (!SWIG_IsOK(res1)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8374 }
8375 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8379 wxPyEndAllowThreads(__tstate);
8380 if (PyErr_Occurred()) SWIG_fail;
8381 }
8382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8383 return resultobj;
8384fail:
8385 return NULL;
d14a1e28
RD
8386}
8387
8388
0085ce49
RD
8389SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8390 PyObject *resultobj = 0;
8391 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8392 int result;
8393 void *argp1 = 0 ;
8394 int res1 = 0 ;
8395 PyObject *swig_obj[1] ;
8396
8397 if (!args) SWIG_fail;
8398 swig_obj[0] = args;
8399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8400 if (!SWIG_IsOK(res1)) {
8401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8402 }
8403 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8404 {
8405 PyThreadState* __tstate = wxPyBeginAllowThreads();
8406 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8407 wxPyEndAllowThreads(__tstate);
8408 if (PyErr_Occurred()) SWIG_fail;
8409 }
8410 resultobj = SWIG_From_int(static_cast< int >(result));
8411 return resultobj;
8412fail:
8413 return NULL;
8414}
8415
8416
8417SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8418 PyObject *obj;
8419 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8420 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8421 return SWIG_Py_Void();
8422}
8423
8424SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8425 return SWIG_Python_InitShadowInstance(args);
8426}
8427
8428SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj = 0;
8430 wxWindow *arg1 = (wxWindow *) 0 ;
8431 int arg2 = (int) -1 ;
8432 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8433 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8434 wxString *arg4 = (wxString *) &arg4_defvalue ;
8435 wxStatusBar *result = 0 ;
8436 void *argp1 = 0 ;
8437 int res1 = 0 ;
8438 int val2 ;
8439 int ecode2 = 0 ;
8440 long val3 ;
8441 int ecode3 = 0 ;
8442 bool temp4 = false ;
8443 PyObject * obj0 = 0 ;
8444 PyObject * obj1 = 0 ;
8445 PyObject * obj2 = 0 ;
8446 PyObject * obj3 = 0 ;
8447 char * kwnames[] = {
8448 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8449 };
8450
8451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8453 if (!SWIG_IsOK(res1)) {
8454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8455 }
8456 arg1 = reinterpret_cast< wxWindow * >(argp1);
8457 if (obj1) {
8458 ecode2 = SWIG_AsVal_int(obj1, &val2);
8459 if (!SWIG_IsOK(ecode2)) {
8460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8461 }
8462 arg2 = static_cast< int >(val2);
8463 }
8464 if (obj2) {
8465 ecode3 = SWIG_AsVal_long(obj2, &val3);
8466 if (!SWIG_IsOK(ecode3)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8468 }
8469 arg3 = static_cast< long >(val3);
8470 }
8471 if (obj3) {
d14a1e28 8472 {
0085ce49
RD
8473 arg4 = wxString_in_helper(obj3);
8474 if (arg4 == NULL) SWIG_fail;
8475 temp4 = true;
d14a1e28 8476 }
0085ce49
RD
8477 }
8478 {
8479 if (!wxPyCheckForApp()) SWIG_fail;
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8486 {
8487 if (temp4)
8488 delete arg4;
8489 }
8490 return resultobj;
8491fail:
8492 {
8493 if (temp4)
8494 delete arg4;
8495 }
8496 return NULL;
d14a1e28
RD
8497}
8498
8499
0085ce49
RD
8500SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8501 PyObject *resultobj = 0;
8502 wxStatusBar *result = 0 ;
8503
8504 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8505 {
8506 if (!wxPyCheckForApp()) SWIG_fail;
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (wxStatusBar *)new wxStatusBar();
8509 wxPyEndAllowThreads(__tstate);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 }
8512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8513 return resultobj;
8514fail:
8515 return NULL;
8516}
8517
8518
8519SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8520 PyObject *resultobj = 0;
8521 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8522 wxWindow *arg2 = (wxWindow *) 0 ;
8523 int arg3 = (int) -1 ;
8524 long arg4 = (long) wxST_SIZEGRIP ;
8525 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8526 wxString *arg5 = (wxString *) &arg5_defvalue ;
8527 bool result;
8528 void *argp1 = 0 ;
8529 int res1 = 0 ;
8530 void *argp2 = 0 ;
8531 int res2 = 0 ;
8532 int val3 ;
8533 int ecode3 = 0 ;
8534 long val4 ;
8535 int ecode4 = 0 ;
8536 bool temp5 = false ;
8537 PyObject * obj0 = 0 ;
8538 PyObject * obj1 = 0 ;
8539 PyObject * obj2 = 0 ;
8540 PyObject * obj3 = 0 ;
8541 PyObject * obj4 = 0 ;
8542 char * kwnames[] = {
8543 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8544 };
8545
8546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8548 if (!SWIG_IsOK(res1)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8550 }
8551 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8552 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8553 if (!SWIG_IsOK(res2)) {
8554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8555 }
8556 arg2 = reinterpret_cast< wxWindow * >(argp2);
8557 if (obj2) {
8558 ecode3 = SWIG_AsVal_int(obj2, &val3);
8559 if (!SWIG_IsOK(ecode3)) {
8560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8561 }
8562 arg3 = static_cast< int >(val3);
8563 }
8564 if (obj3) {
8565 ecode4 = SWIG_AsVal_long(obj3, &val4);
8566 if (!SWIG_IsOK(ecode4)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8568 }
8569 arg4 = static_cast< long >(val4);
8570 }
8571 if (obj4) {
d14a1e28 8572 {
0085ce49
RD
8573 arg5 = wxString_in_helper(obj4);
8574 if (arg5 == NULL) SWIG_fail;
8575 temp5 = true;
d14a1e28 8576 }
0085ce49
RD
8577 }
8578 {
8579 PyThreadState* __tstate = wxPyBeginAllowThreads();
8580 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8581 wxPyEndAllowThreads(__tstate);
8582 if (PyErr_Occurred()) SWIG_fail;
8583 }
8584 {
8585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8586 }
8587 {
8588 if (temp5)
8589 delete arg5;
8590 }
8591 return resultobj;
8592fail:
8593 {
8594 if (temp5)
8595 delete arg5;
8596 }
8597 return NULL;
8598}
8599
8600
8601SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj = 0;
8603 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8604 int arg2 = (int) 1 ;
8605 void *argp1 = 0 ;
8606 int res1 = 0 ;
8607 int val2 ;
8608 int ecode2 = 0 ;
8609 PyObject * obj0 = 0 ;
8610 PyObject * obj1 = 0 ;
8611 char * kwnames[] = {
8612 (char *) "self",(char *) "number", NULL
8613 };
8614
8615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8617 if (!SWIG_IsOK(res1)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8619 }
8620 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8621 if (obj1) {
8622 ecode2 = SWIG_AsVal_int(obj1, &val2);
8623 if (!SWIG_IsOK(ecode2)) {
8624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8625 }
8626 arg2 = static_cast< int >(val2);
8627 }
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 (arg1)->SetFieldsCount(arg2);
8631 wxPyEndAllowThreads(__tstate);
8632 if (PyErr_Occurred()) SWIG_fail;
8633 }
8634 resultobj = SWIG_Py_Void();
8635 return resultobj;
8636fail:
8637 return NULL;
d14a1e28
RD
8638}
8639
8640
0085ce49
RD
8641SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8642 PyObject *resultobj = 0;
8643 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8644 int result;
8645 void *argp1 = 0 ;
8646 int res1 = 0 ;
8647 PyObject *swig_obj[1] ;
8648
8649 if (!args) SWIG_fail;
8650 swig_obj[0] = args;
8651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8652 if (!SWIG_IsOK(res1)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8654 }
8655 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 resultobj = SWIG_From_int(static_cast< int >(result));
8663 return resultobj;
8664fail:
8665 return NULL;
8666}
8667
8668
8669SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj = 0;
8671 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8672 wxString *arg2 = 0 ;
8673 int arg3 = (int) 0 ;
8674 void *argp1 = 0 ;
8675 int res1 = 0 ;
8676 bool temp2 = false ;
8677 int val3 ;
8678 int ecode3 = 0 ;
8679 PyObject * obj0 = 0 ;
8680 PyObject * obj1 = 0 ;
8681 PyObject * obj2 = 0 ;
8682 char * kwnames[] = {
8683 (char *) "self",(char *) "text",(char *) "number", NULL
8684 };
8685
8686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8688 if (!SWIG_IsOK(res1)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8690 }
8691 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8692 {
8693 arg2 = wxString_in_helper(obj1);
8694 if (arg2 == NULL) SWIG_fail;
8695 temp2 = true;
8696 }
8697 if (obj2) {
8698 ecode3 = SWIG_AsVal_int(obj2, &val3);
8699 if (!SWIG_IsOK(ecode3)) {
8700 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8701 }
8702 arg3 = static_cast< int >(val3);
8703 }
8704 {
8705 PyThreadState* __tstate = wxPyBeginAllowThreads();
8706 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8707 wxPyEndAllowThreads(__tstate);
8708 if (PyErr_Occurred()) SWIG_fail;
8709 }
8710 resultobj = SWIG_Py_Void();
8711 {
8712 if (temp2)
8713 delete arg2;
8714 }
8715 return resultobj;
8716fail:
8717 {
8718 if (temp2)
8719 delete arg2;
8720 }
8721 return NULL;
8722}
8723
8724
8725SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj = 0;
8727 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8728 int arg2 = (int) 0 ;
8729 wxString result;
8730 void *argp1 = 0 ;
8731 int res1 = 0 ;
8732 int val2 ;
8733 int ecode2 = 0 ;
8734 PyObject * obj0 = 0 ;
8735 PyObject * obj1 = 0 ;
8736 char * kwnames[] = {
8737 (char *) "self",(char *) "number", NULL
8738 };
8739
8740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8742 if (!SWIG_IsOK(res1)) {
8743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8744 }
8745 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8746 if (obj1) {
8747 ecode2 = SWIG_AsVal_int(obj1, &val2);
8748 if (!SWIG_IsOK(ecode2)) {
8749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8750 }
8751 arg2 = static_cast< int >(val2);
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8756 wxPyEndAllowThreads(__tstate);
8757 if (PyErr_Occurred()) SWIG_fail;
8758 }
8759 {
8760#if wxUSE_UNICODE
8761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8762#else
8763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8764#endif
8765 }
8766 return resultobj;
8767fail:
8768 return NULL;
8769}
8770
8771
8772SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8773 PyObject *resultobj = 0;
8774 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8775 wxString *arg2 = 0 ;
8776 int arg3 = (int) 0 ;
8777 void *argp1 = 0 ;
8778 int res1 = 0 ;
8779 bool temp2 = false ;
8780 int val3 ;
8781 int ecode3 = 0 ;
8782 PyObject * obj0 = 0 ;
8783 PyObject * obj1 = 0 ;
8784 PyObject * obj2 = 0 ;
8785 char * kwnames[] = {
8786 (char *) "self",(char *) "text",(char *) "number", NULL
8787 };
8788
8789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8791 if (!SWIG_IsOK(res1)) {
8792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8793 }
8794 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8795 {
8796 arg2 = wxString_in_helper(obj1);
8797 if (arg2 == NULL) SWIG_fail;
8798 temp2 = true;
8799 }
8800 if (obj2) {
8801 ecode3 = SWIG_AsVal_int(obj2, &val3);
8802 if (!SWIG_IsOK(ecode3)) {
8803 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8804 }
8805 arg3 = static_cast< int >(val3);
8806 }
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 resultobj = SWIG_Py_Void();
8814 {
8815 if (temp2)
8816 delete arg2;
8817 }
8818 return resultobj;
8819fail:
8820 {
8821 if (temp2)
8822 delete arg2;
8823 }
8824 return NULL;
8825}
8826
8827
8828SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj = 0;
8830 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8831 int arg2 = (int) 0 ;
8832 void *argp1 = 0 ;
8833 int res1 = 0 ;
8834 int val2 ;
8835 int ecode2 = 0 ;
8836 PyObject * obj0 = 0 ;
8837 PyObject * obj1 = 0 ;
8838 char * kwnames[] = {
8839 (char *) "self",(char *) "number", NULL
8840 };
8841
8842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8844 if (!SWIG_IsOK(res1)) {
8845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8846 }
8847 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8848 if (obj1) {
8849 ecode2 = SWIG_AsVal_int(obj1, &val2);
8850 if (!SWIG_IsOK(ecode2)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8852 }
8853 arg2 = static_cast< int >(val2);
8854 }
8855 {
8856 PyThreadState* __tstate = wxPyBeginAllowThreads();
8857 (arg1)->PopStatusText(arg2);
8858 wxPyEndAllowThreads(__tstate);
8859 if (PyErr_Occurred()) SWIG_fail;
8860 }
8861 resultobj = SWIG_Py_Void();
8862 return resultobj;
8863fail:
8864 return NULL;
8865}
8866
8867
8868SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8869 PyObject *resultobj = 0;
8870 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8871 int arg2 ;
8872 int *arg3 = (int *) 0 ;
8873 void *argp1 = 0 ;
8874 int res1 = 0 ;
8875 PyObject * obj0 = 0 ;
8876 PyObject * obj1 = 0 ;
8877 char * kwnames[] = {
8878 (char *) "self",(char *) "widths", NULL
8879 };
8880
8881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8883 if (!SWIG_IsOK(res1)) {
8884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8885 }
8886 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8887 {
8888 arg2 = PyList_Size(obj1);
8889 arg3 = int_LIST_helper(obj1);
8890 if (arg3 == NULL) SWIG_fail;
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8895 wxPyEndAllowThreads(__tstate);
8896 if (PyErr_Occurred()) SWIG_fail;
8897 }
8898 resultobj = SWIG_Py_Void();
8899 {
8900 if (arg3) delete [] arg3;
8901 }
8902 return resultobj;
8903fail:
8904 {
8905 if (arg3) delete [] arg3;
8906 }
8907 return NULL;
d14a1e28
RD
8908}
8909
8910
0085ce49
RD
8911SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj = 0;
8913 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8914 int arg2 ;
8915 int *arg3 = (int *) 0 ;
8916 void *argp1 = 0 ;
8917 int res1 = 0 ;
8918 PyObject * obj0 = 0 ;
8919 PyObject * obj1 = 0 ;
8920 char * kwnames[] = {
8921 (char *) "self",(char *) "styles", NULL
8922 };
8923
8924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8926 if (!SWIG_IsOK(res1)) {
8927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8928 }
8929 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8930 {
8931 arg2 = PyList_Size(obj1);
8932 arg3 = int_LIST_helper(obj1);
8933 if (arg3 == NULL) SWIG_fail;
8934 }
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 resultobj = SWIG_Py_Void();
8942 {
8943 if (arg3) delete [] arg3;
8944 }
8945 return resultobj;
8946fail:
8947 {
8948 if (arg3) delete [] arg3;
8949 }
8950 return NULL;
8951}
8952
8953
8954SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8955 PyObject *resultobj = 0;
8956 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8957 int arg2 ;
8958 wxRect result;
8959 void *argp1 = 0 ;
8960 int res1 = 0 ;
8961 int val2 ;
8962 int ecode2 = 0 ;
8963 PyObject * obj0 = 0 ;
8964 PyObject * obj1 = 0 ;
8965 char * kwnames[] = {
8966 (char *) "self",(char *) "i", NULL
8967 };
8968
8969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
8970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8971 if (!SWIG_IsOK(res1)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8973 }
8974 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8975 ecode2 = SWIG_AsVal_int(obj1, &val2);
8976 if (!SWIG_IsOK(ecode2)) {
8977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8978 }
8979 arg2 = static_cast< int >(val2);
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 result = wxStatusBar_GetFieldRect(arg1,arg2);
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
8987 return resultobj;
8988fail:
8989 return NULL;
8990}
8991
8992
8993SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj = 0;
8995 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8996 int arg2 ;
8997 void *argp1 = 0 ;
8998 int res1 = 0 ;
8999 int val2 ;
9000 int ecode2 = 0 ;
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj1 = 0 ;
9003 char * kwnames[] = {
9004 (char *) "self",(char *) "height", NULL
9005 };
9006
9007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9009 if (!SWIG_IsOK(res1)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9011 }
9012 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9013 ecode2 = SWIG_AsVal_int(obj1, &val2);
9014 if (!SWIG_IsOK(ecode2)) {
9015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9016 }
9017 arg2 = static_cast< int >(val2);
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 (arg1)->SetMinHeight(arg2);
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 resultobj = SWIG_Py_Void();
9025 return resultobj;
9026fail:
9027 return NULL;
d14a1e28
RD
9028}
9029
9030
0085ce49
RD
9031SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9032 PyObject *resultobj = 0;
9033 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9034 int result;
9035 void *argp1 = 0 ;
9036 int res1 = 0 ;
9037 PyObject *swig_obj[1] ;
9038
9039 if (!args) SWIG_fail;
9040 swig_obj[0] = args;
9041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9042 if (!SWIG_IsOK(res1)) {
9043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9044 }
9045 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9046 {
9047 PyThreadState* __tstate = wxPyBeginAllowThreads();
9048 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 resultobj = SWIG_From_int(static_cast< int >(result));
9053 return resultobj;
9054fail:
9055 return NULL;
d14a1e28
RD
9056}
9057
9058
0085ce49
RD
9059SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9060 PyObject *resultobj = 0;
9061 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9062 int result;
9063 void *argp1 = 0 ;
9064 int res1 = 0 ;
9065 PyObject *swig_obj[1] ;
9066
9067 if (!args) SWIG_fail;
9068 swig_obj[0] = args;
9069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9070 if (!SWIG_IsOK(res1)) {
9071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9072 }
9073 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 resultobj = SWIG_From_int(static_cast< int >(result));
9081 return resultobj;
9082fail:
9083 return NULL;
9084}
9085
9086
9087SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj = 0;
9089 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9090 SwigValueWrapper<wxVisualAttributes > result;
9091 int val1 ;
9092 int ecode1 = 0 ;
9093 PyObject * obj0 = 0 ;
9094 char * kwnames[] = {
9095 (char *) "variant", NULL
9096 };
9097
9098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9099 if (obj0) {
9100 ecode1 = SWIG_AsVal_int(obj0, &val1);
9101 if (!SWIG_IsOK(ecode1)) {
9102 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9103 }
9104 arg1 = static_cast< wxWindowVariant >(val1);
9105 }
9106 {
9107 if (!wxPyCheckForApp()) SWIG_fail;
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9114 return resultobj;
9115fail:
9116 return NULL;
d14a1e28
RD
9117}
9118
9119
0085ce49
RD
9120SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9121 PyObject *obj;
9122 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9123 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9124 return SWIG_Py_Void();
d14a1e28
RD
9125}
9126
0085ce49
RD
9127SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9128 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
9129}
9130
0085ce49
RD
9131SWIGINTERN int SplitterNameStr_set(PyObject *) {
9132 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9133 return 1;
d14a1e28
RD
9134}
9135
9136
0085ce49
RD
9137SWIGINTERN PyObject *SplitterNameStr_get(void) {
9138 PyObject *pyobj = 0;
9139
9140 {
9141#if wxUSE_UNICODE
9142 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9143#else
9144 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9145#endif
9146 }
9147 return pyobj;
9148}
9149
9150
9151SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj = 0;
9153 wxWindow *arg1 = (wxWindow *) 0 ;
9154 int arg2 = (int) -1 ;
9155 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9156 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9157 wxSize const &arg4_defvalue = wxDefaultSize ;
9158 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9159 long arg5 = (long) wxSP_3D ;
9160 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9161 wxString *arg6 = (wxString *) &arg6_defvalue ;
9162 wxSplitterWindow *result = 0 ;
9163 void *argp1 = 0 ;
9164 int res1 = 0 ;
9165 int val2 ;
9166 int ecode2 = 0 ;
9167 wxPoint temp3 ;
9168 wxSize temp4 ;
9169 long val5 ;
9170 int ecode5 = 0 ;
9171 bool temp6 = false ;
9172 PyObject * obj0 = 0 ;
9173 PyObject * obj1 = 0 ;
9174 PyObject * obj2 = 0 ;
9175 PyObject * obj3 = 0 ;
9176 PyObject * obj4 = 0 ;
9177 PyObject * obj5 = 0 ;
9178 char * kwnames[] = {
9179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9180 };
9181
9182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9184 if (!SWIG_IsOK(res1)) {
9185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9186 }
9187 arg1 = reinterpret_cast< wxWindow * >(argp1);
9188 if (obj1) {
9189 ecode2 = SWIG_AsVal_int(obj1, &val2);
9190 if (!SWIG_IsOK(ecode2)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9192 }
9193 arg2 = static_cast< int >(val2);
9194 }
9195 if (obj2) {
093d3ff1 9196 {
0085ce49
RD
9197 arg3 = &temp3;
9198 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 9199 }
0085ce49
RD
9200 }
9201 if (obj3) {
d14a1e28 9202 {
0085ce49
RD
9203 arg4 = &temp4;
9204 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9205 }
0085ce49
RD
9206 }
9207 if (obj4) {
9208 ecode5 = SWIG_AsVal_long(obj4, &val5);
9209 if (!SWIG_IsOK(ecode5)) {
9210 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9211 }
9212 arg5 = static_cast< long >(val5);
9213 }
9214 if (obj5) {
093d3ff1 9215 {
0085ce49
RD
9216 arg6 = wxString_in_helper(obj5);
9217 if (arg6 == NULL) SWIG_fail;
9218 temp6 = true;
093d3ff1 9219 }
0085ce49
RD
9220 }
9221 {
9222 if (!wxPyCheckForApp()) SWIG_fail;
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
9228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9229 {
9230 if (temp6)
9231 delete arg6;
9232 }
9233 return resultobj;
9234fail:
9235 {
9236 if (temp6)
9237 delete arg6;
9238 }
9239 return NULL;
d14a1e28
RD
9240}
9241
9242
0085ce49
RD
9243SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9244 PyObject *resultobj = 0;
9245 wxSplitterWindow *result = 0 ;
9246
9247 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9248 {
9249 if (!wxPyCheckForApp()) SWIG_fail;
9250 PyThreadState* __tstate = wxPyBeginAllowThreads();
9251 result = (wxSplitterWindow *)new wxSplitterWindow();
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9256 return resultobj;
9257fail:
9258 return NULL;
9259}
9260
9261
9262SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9263 PyObject *resultobj = 0;
9264 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9265 wxWindow *arg2 = (wxWindow *) 0 ;
9266 int arg3 = (int) -1 ;
9267 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9268 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9269 wxSize const &arg5_defvalue = wxDefaultSize ;
9270 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9271 long arg6 = (long) wxSP_3D ;
9272 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9273 wxString *arg7 = (wxString *) &arg7_defvalue ;
9274 bool result;
9275 void *argp1 = 0 ;
9276 int res1 = 0 ;
9277 void *argp2 = 0 ;
9278 int res2 = 0 ;
9279 int val3 ;
9280 int ecode3 = 0 ;
9281 wxPoint temp4 ;
9282 wxSize temp5 ;
9283 long val6 ;
9284 int ecode6 = 0 ;
9285 bool temp7 = false ;
9286 PyObject * obj0 = 0 ;
9287 PyObject * obj1 = 0 ;
9288 PyObject * obj2 = 0 ;
9289 PyObject * obj3 = 0 ;
9290 PyObject * obj4 = 0 ;
9291 PyObject * obj5 = 0 ;
9292 PyObject * obj6 = 0 ;
9293 char * kwnames[] = {
9294 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9295 };
9296
9297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9299 if (!SWIG_IsOK(res1)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9301 }
9302 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9303 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9304 if (!SWIG_IsOK(res2)) {
9305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9306 }
9307 arg2 = reinterpret_cast< wxWindow * >(argp2);
9308 if (obj2) {
9309 ecode3 = SWIG_AsVal_int(obj2, &val3);
9310 if (!SWIG_IsOK(ecode3)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9312 }
9313 arg3 = static_cast< int >(val3);
9314 }
9315 if (obj3) {
d14a1e28 9316 {
0085ce49
RD
9317 arg4 = &temp4;
9318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 9319 }
0085ce49
RD
9320 }
9321 if (obj4) {
d14a1e28 9322 {
0085ce49
RD
9323 arg5 = &temp5;
9324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 9325 }
0085ce49
RD
9326 }
9327 if (obj5) {
9328 ecode6 = SWIG_AsVal_long(obj5, &val6);
9329 if (!SWIG_IsOK(ecode6)) {
9330 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9331 }
9332 arg6 = static_cast< long >(val6);
9333 }
9334 if (obj6) {
d14a1e28 9335 {
0085ce49
RD
9336 arg7 = wxString_in_helper(obj6);
9337 if (arg7 == NULL) SWIG_fail;
9338 temp7 = true;
d14a1e28 9339 }
0085ce49
RD
9340 }
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 {
9348 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9349 }
9350 {
9351 if (temp7)
9352 delete arg7;
9353 }
9354 return resultobj;
9355fail:
9356 {
9357 if (temp7)
9358 delete arg7;
9359 }
9360 return NULL;
d14a1e28
RD
9361}
9362
9363
0085ce49
RD
9364SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9365 PyObject *resultobj = 0;
9366 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9367 wxWindow *result = 0 ;
9368 void *argp1 = 0 ;
9369 int res1 = 0 ;
9370 PyObject *swig_obj[1] ;
9371
9372 if (!args) SWIG_fail;
9373 swig_obj[0] = args;
9374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9375 if (!SWIG_IsOK(res1)) {
9376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9377 }
9378 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9379 {
9380 PyThreadState* __tstate = wxPyBeginAllowThreads();
9381 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 {
9386 resultobj = wxPyMake_wxObject(result, 0);
9387 }
9388 return resultobj;
9389fail:
9390 return NULL;
d14a1e28
RD
9391}
9392
9393
0085ce49
RD
9394SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9395 PyObject *resultobj = 0;
9396 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9397 wxWindow *result = 0 ;
9398 void *argp1 = 0 ;
9399 int res1 = 0 ;
9400 PyObject *swig_obj[1] ;
9401
9402 if (!args) SWIG_fail;
9403 swig_obj[0] = args;
9404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9405 if (!SWIG_IsOK(res1)) {
9406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9407 }
9408 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 {
9416 resultobj = wxPyMake_wxObject(result, 0);
9417 }
9418 return resultobj;
9419fail:
9420 return NULL;
9421}
9422
9423
9424SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9425 PyObject *resultobj = 0;
9426 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9427 int arg2 ;
9428 void *argp1 = 0 ;
9429 int res1 = 0 ;
9430 int val2 ;
9431 int ecode2 = 0 ;
9432 PyObject * obj0 = 0 ;
9433 PyObject * obj1 = 0 ;
9434 char * kwnames[] = {
9435 (char *) "self",(char *) "mode", NULL
9436 };
9437
9438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9440 if (!SWIG_IsOK(res1)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9442 }
9443 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9444 ecode2 = SWIG_AsVal_int(obj1, &val2);
9445 if (!SWIG_IsOK(ecode2)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9447 }
9448 arg2 = static_cast< int >(val2);
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 (arg1)->SetSplitMode(arg2);
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 resultobj = SWIG_Py_Void();
9456 return resultobj;
9457fail:
9458 return NULL;
d14a1e28
RD
9459}
9460
9461
0085ce49
RD
9462SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9463 PyObject *resultobj = 0;
9464 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9465 wxSplitMode result;
9466 void *argp1 = 0 ;
9467 int res1 = 0 ;
9468 PyObject *swig_obj[1] ;
9469
9470 if (!args) SWIG_fail;
9471 swig_obj[0] = args;
9472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9473 if (!SWIG_IsOK(res1)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9475 }
9476 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = SWIG_From_int(static_cast< int >(result));
9484 return resultobj;
9485fail:
9486 return NULL;
9487}
9488
9489
9490SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj = 0;
9492 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9493 wxWindow *arg2 = (wxWindow *) 0 ;
9494 void *argp1 = 0 ;
9495 int res1 = 0 ;
9496 void *argp2 = 0 ;
9497 int res2 = 0 ;
9498 PyObject * obj0 = 0 ;
9499 PyObject * obj1 = 0 ;
9500 char * kwnames[] = {
9501 (char *) "self",(char *) "window", NULL
9502 };
9503
9504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9506 if (!SWIG_IsOK(res1)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9508 }
9509 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9510 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9511 if (!SWIG_IsOK(res2)) {
9512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9513 }
9514 arg2 = reinterpret_cast< wxWindow * >(argp2);
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 (arg1)->Initialize(arg2);
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 resultobj = SWIG_Py_Void();
9522 return resultobj;
9523fail:
9524 return NULL;
9525}
9526
9527
9528SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9529 PyObject *resultobj = 0;
9530 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9531 wxWindow *arg2 = (wxWindow *) 0 ;
9532 wxWindow *arg3 = (wxWindow *) 0 ;
9533 int arg4 = (int) 0 ;
9534 bool result;
9535 void *argp1 = 0 ;
9536 int res1 = 0 ;
9537 void *argp2 = 0 ;
9538 int res2 = 0 ;
9539 void *argp3 = 0 ;
9540 int res3 = 0 ;
9541 int val4 ;
9542 int ecode4 = 0 ;
9543 PyObject * obj0 = 0 ;
9544 PyObject * obj1 = 0 ;
9545 PyObject * obj2 = 0 ;
9546 PyObject * obj3 = 0 ;
9547 char * kwnames[] = {
9548 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9549 };
9550
9551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9553 if (!SWIG_IsOK(res1)) {
9554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9555 }
9556 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9557 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9558 if (!SWIG_IsOK(res2)) {
9559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9560 }
9561 arg2 = reinterpret_cast< wxWindow * >(argp2);
9562 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9563 if (!SWIG_IsOK(res3)) {
9564 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9565 }
9566 arg3 = reinterpret_cast< wxWindow * >(argp3);
9567 if (obj3) {
9568 ecode4 = SWIG_AsVal_int(obj3, &val4);
9569 if (!SWIG_IsOK(ecode4)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9571 }
9572 arg4 = static_cast< int >(val4);
9573 }
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9577 wxPyEndAllowThreads(__tstate);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 }
9580 {
9581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9582 }
9583 return resultobj;
9584fail:
9585 return NULL;
9586}
9587
9588
9589SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9590 PyObject *resultobj = 0;
9591 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9592 wxWindow *arg2 = (wxWindow *) 0 ;
9593 wxWindow *arg3 = (wxWindow *) 0 ;
9594 int arg4 = (int) 0 ;
9595 bool result;
9596 void *argp1 = 0 ;
9597 int res1 = 0 ;
9598 void *argp2 = 0 ;
9599 int res2 = 0 ;
9600 void *argp3 = 0 ;
9601 int res3 = 0 ;
9602 int val4 ;
9603 int ecode4 = 0 ;
9604 PyObject * obj0 = 0 ;
9605 PyObject * obj1 = 0 ;
9606 PyObject * obj2 = 0 ;
9607 PyObject * obj3 = 0 ;
9608 char * kwnames[] = {
9609 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9610 };
9611
9612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9614 if (!SWIG_IsOK(res1)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9616 }
9617 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9619 if (!SWIG_IsOK(res2)) {
9620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9621 }
9622 arg2 = reinterpret_cast< wxWindow * >(argp2);
9623 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9624 if (!SWIG_IsOK(res3)) {
9625 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9626 }
9627 arg3 = reinterpret_cast< wxWindow * >(argp3);
9628 if (obj3) {
9629 ecode4 = SWIG_AsVal_int(obj3, &val4);
9630 if (!SWIG_IsOK(ecode4)) {
9631 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9632 }
9633 arg4 = static_cast< int >(val4);
9634 }
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9638 wxPyEndAllowThreads(__tstate);
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 {
9642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9643 }
9644 return resultobj;
9645fail:
9646 return NULL;
9647}
9648
9649
9650SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj = 0;
9652 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9653 wxWindow *arg2 = (wxWindow *) NULL ;
9654 bool result;
9655 void *argp1 = 0 ;
9656 int res1 = 0 ;
9657 void *argp2 = 0 ;
9658 int res2 = 0 ;
9659 PyObject * obj0 = 0 ;
9660 PyObject * obj1 = 0 ;
9661 char * kwnames[] = {
9662 (char *) "self",(char *) "toRemove", NULL
9663 };
9664
9665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9667 if (!SWIG_IsOK(res1)) {
9668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9669 }
9670 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9671 if (obj1) {
9672 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9673 if (!SWIG_IsOK(res2)) {
9674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
d14a1e28 9675 }
0085ce49
RD
9676 arg2 = reinterpret_cast< wxWindow * >(argp2);
9677 }
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 result = (bool)(arg1)->Unsplit(arg2);
9681 wxPyEndAllowThreads(__tstate);
9682 if (PyErr_Occurred()) SWIG_fail;
9683 }
9684 {
9685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9686 }
9687 return resultobj;
9688fail:
9689 return NULL;
9690}
9691
9692
9693SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9694 PyObject *resultobj = 0;
9695 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9696 wxWindow *arg2 = (wxWindow *) 0 ;
9697 wxWindow *arg3 = (wxWindow *) 0 ;
9698 bool result;
9699 void *argp1 = 0 ;
9700 int res1 = 0 ;
9701 void *argp2 = 0 ;
9702 int res2 = 0 ;
9703 void *argp3 = 0 ;
9704 int res3 = 0 ;
9705 PyObject * obj0 = 0 ;
9706 PyObject * obj1 = 0 ;
9707 PyObject * obj2 = 0 ;
9708 char * kwnames[] = {
9709 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9710 };
9711
9712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9714 if (!SWIG_IsOK(res1)) {
9715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9716 }
9717 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9718 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9719 if (!SWIG_IsOK(res2)) {
9720 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9721 }
9722 arg2 = reinterpret_cast< wxWindow * >(argp2);
9723 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9724 if (!SWIG_IsOK(res3)) {
9725 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9726 }
9727 arg3 = reinterpret_cast< wxWindow * >(argp3);
9728 {
9729 PyThreadState* __tstate = wxPyBeginAllowThreads();
9730 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 {
9735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9736 }
9737 return resultobj;
9738fail:
9739 return NULL;
d14a1e28
RD
9740}
9741
9742
0085ce49
RD
9743SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9744 PyObject *resultobj = 0;
9745 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9746 void *argp1 = 0 ;
9747 int res1 = 0 ;
9748 PyObject *swig_obj[1] ;
9749
9750 if (!args) SWIG_fail;
9751 swig_obj[0] = args;
9752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9753 if (!SWIG_IsOK(res1)) {
9754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9755 }
9756 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 (arg1)->UpdateSize();
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 resultobj = SWIG_Py_Void();
9764 return resultobj;
9765fail:
9766 return NULL;
22bfe96c
RD
9767}
9768
9769
0085ce49
RD
9770SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9771 PyObject *resultobj = 0;
9772 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9773 bool result;
9774 void *argp1 = 0 ;
9775 int res1 = 0 ;
9776 PyObject *swig_obj[1] ;
9777
9778 if (!args) SWIG_fail;
9779 swig_obj[0] = args;
9780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9781 if (!SWIG_IsOK(res1)) {
9782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9783 }
9784 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 {
9792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9793 }
9794 return resultobj;
9795fail:
9796 return NULL;
9797}
9798
9799
9800SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj = 0;
9802 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9803 int arg2 ;
9804 void *argp1 = 0 ;
9805 int res1 = 0 ;
9806 int val2 ;
9807 int ecode2 = 0 ;
9808 PyObject * obj0 = 0 ;
9809 PyObject * obj1 = 0 ;
9810 char * kwnames[] = {
9811 (char *) "self",(char *) "width", NULL
9812 };
9813
9814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9816 if (!SWIG_IsOK(res1)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9818 }
9819 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9820 ecode2 = SWIG_AsVal_int(obj1, &val2);
9821 if (!SWIG_IsOK(ecode2)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9823 }
9824 arg2 = static_cast< int >(val2);
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 (arg1)->SetSashSize(arg2);
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 resultobj = SWIG_Py_Void();
9832 return resultobj;
9833fail:
9834 return NULL;
9835}
9836
9837
9838SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj = 0;
9840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9841 int arg2 ;
9842 void *argp1 = 0 ;
9843 int res1 = 0 ;
9844 int val2 ;
9845 int ecode2 = 0 ;
9846 PyObject * obj0 = 0 ;
9847 PyObject * obj1 = 0 ;
9848 char * kwnames[] = {
9849 (char *) "self",(char *) "width", NULL
9850 };
9851
9852 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9853 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9854 if (!SWIG_IsOK(res1)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9856 }
9857 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9858 ecode2 = SWIG_AsVal_int(obj1, &val2);
9859 if (!SWIG_IsOK(ecode2)) {
9860 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9861 }
9862 arg2 = static_cast< int >(val2);
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 (arg1)->SetBorderSize(arg2);
9866 wxPyEndAllowThreads(__tstate);
9867 if (PyErr_Occurred()) SWIG_fail;
9868 }
9869 resultobj = SWIG_Py_Void();
9870 return resultobj;
9871fail:
9872 return NULL;
d14a1e28
RD
9873}
9874
9875
0085ce49
RD
9876SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9877 PyObject *resultobj = 0;
9878 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9879 int result;
9880 void *argp1 = 0 ;
9881 int res1 = 0 ;
9882 PyObject *swig_obj[1] ;
9883
9884 if (!args) SWIG_fail;
9885 swig_obj[0] = args;
9886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9887 if (!SWIG_IsOK(res1)) {
9888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9889 }
9890 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9891 {
9892 PyThreadState* __tstate = wxPyBeginAllowThreads();
9893 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 resultobj = SWIG_From_int(static_cast< int >(result));
9898 return resultobj;
9899fail:
9900 return NULL;
d14a1e28
RD
9901}
9902
9903
0085ce49
RD
9904SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9905 PyObject *resultobj = 0;
9906 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9907 int result;
9908 void *argp1 = 0 ;
9909 int res1 = 0 ;
9910 PyObject *swig_obj[1] ;
9911
9912 if (!args) SWIG_fail;
9913 swig_obj[0] = args;
9914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9915 if (!SWIG_IsOK(res1)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9917 }
9918 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 resultobj = SWIG_From_int(static_cast< int >(result));
9926 return resultobj;
9927fail:
9928 return NULL;
9929}
9930
9931
9932SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9933 PyObject *resultobj = 0;
9934 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9935 int arg2 ;
9936 bool arg3 = (bool) true ;
9937 void *argp1 = 0 ;
9938 int res1 = 0 ;
9939 int val2 ;
9940 int ecode2 = 0 ;
9941 bool val3 ;
9942 int ecode3 = 0 ;
9943 PyObject * obj0 = 0 ;
9944 PyObject * obj1 = 0 ;
9945 PyObject * obj2 = 0 ;
9946 char * kwnames[] = {
9947 (char *) "self",(char *) "position",(char *) "redraw", NULL
9948 };
9949
9950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9952 if (!SWIG_IsOK(res1)) {
9953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9954 }
9955 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9956 ecode2 = SWIG_AsVal_int(obj1, &val2);
9957 if (!SWIG_IsOK(ecode2)) {
9958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9959 }
9960 arg2 = static_cast< int >(val2);
9961 if (obj2) {
9962 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9963 if (!SWIG_IsOK(ecode3)) {
9964 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9965 }
9966 arg3 = static_cast< bool >(val3);
9967 }
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->SetSashPosition(arg2,arg3);
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 resultobj = SWIG_Py_Void();
9975 return resultobj;
9976fail:
9977 return NULL;
d14a1e28
RD
9978}
9979
9980
0085ce49
RD
9981SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9982 PyObject *resultobj = 0;
9983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9984 int result;
9985 void *argp1 = 0 ;
9986 int res1 = 0 ;
9987 PyObject *swig_obj[1] ;
9988
9989 if (!args) SWIG_fail;
9990 swig_obj[0] = args;
9991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9992 if (!SWIG_IsOK(res1)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9994 }
9995 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 resultobj = SWIG_From_int(static_cast< int >(result));
10003 return resultobj;
10004fail:
10005 return NULL;
10006}
10007
10008
10009SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10010 PyObject *resultobj = 0;
10011 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10012 double arg2 ;
10013 void *argp1 = 0 ;
10014 int res1 = 0 ;
10015 double val2 ;
10016 int ecode2 = 0 ;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 char * kwnames[] = {
10020 (char *) "self",(char *) "gravity", NULL
10021 };
10022
10023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10025 if (!SWIG_IsOK(res1)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10027 }
10028 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10029 ecode2 = SWIG_AsVal_double(obj1, &val2);
10030 if (!SWIG_IsOK(ecode2)) {
10031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10032 }
10033 arg2 = static_cast< double >(val2);
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 (arg1)->SetSashGravity(arg2);
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 resultobj = SWIG_Py_Void();
10041 return resultobj;
10042fail:
10043 return NULL;
d14a1e28
RD
10044}
10045
10046
0085ce49
RD
10047SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10048 PyObject *resultobj = 0;
10049 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10050 double result;
10051 void *argp1 = 0 ;
10052 int res1 = 0 ;
10053 PyObject *swig_obj[1] ;
10054
10055 if (!args) SWIG_fail;
10056 swig_obj[0] = args;
10057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10058 if (!SWIG_IsOK(res1)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10060 }
10061 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10062 {
10063 PyThreadState* __tstate = wxPyBeginAllowThreads();
10064 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 resultobj = SWIG_From_double(static_cast< double >(result));
10069 return resultobj;
10070fail:
10071 return NULL;
10072}
10073
10074
10075SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10076 PyObject *resultobj = 0;
10077 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10078 int arg2 ;
10079 void *argp1 = 0 ;
10080 int res1 = 0 ;
10081 int val2 ;
10082 int ecode2 = 0 ;
10083 PyObject * obj0 = 0 ;
10084 PyObject * obj1 = 0 ;
10085 char * kwnames[] = {
10086 (char *) "self",(char *) "min", NULL
10087 };
10088
10089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10091 if (!SWIG_IsOK(res1)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10093 }
10094 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10095 ecode2 = SWIG_AsVal_int(obj1, &val2);
10096 if (!SWIG_IsOK(ecode2)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10098 }
10099 arg2 = static_cast< int >(val2);
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 (arg1)->SetMinimumPaneSize(arg2);
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = SWIG_Py_Void();
10107 return resultobj;
10108fail:
10109 return NULL;
d14a1e28
RD
10110}
10111
10112
0085ce49
RD
10113SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10114 PyObject *resultobj = 0;
10115 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10116 int result;
10117 void *argp1 = 0 ;
10118 int res1 = 0 ;
10119 PyObject *swig_obj[1] ;
10120
10121 if (!args) SWIG_fail;
10122 swig_obj[0] = args;
10123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10124 if (!SWIG_IsOK(res1)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10126 }
10127 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10128 {
10129 PyThreadState* __tstate = wxPyBeginAllowThreads();
10130 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 resultobj = SWIG_From_int(static_cast< int >(result));
10135 return resultobj;
10136fail:
10137 return NULL;
10138}
10139
10140
10141SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10142 PyObject *resultobj = 0;
10143 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10144 int arg2 ;
10145 int arg3 ;
10146 int arg4 = (int) 5 ;
10147 bool result;
10148 void *argp1 = 0 ;
10149 int res1 = 0 ;
10150 int val2 ;
10151 int ecode2 = 0 ;
10152 int val3 ;
10153 int ecode3 = 0 ;
10154 int val4 ;
10155 int ecode4 = 0 ;
10156 PyObject * obj0 = 0 ;
10157 PyObject * obj1 = 0 ;
10158 PyObject * obj2 = 0 ;
10159 PyObject * obj3 = 0 ;
10160 char * kwnames[] = {
10161 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10162 };
10163
10164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10166 if (!SWIG_IsOK(res1)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10168 }
10169 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10170 ecode2 = SWIG_AsVal_int(obj1, &val2);
10171 if (!SWIG_IsOK(ecode2)) {
10172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10173 }
10174 arg2 = static_cast< int >(val2);
10175 ecode3 = SWIG_AsVal_int(obj2, &val3);
10176 if (!SWIG_IsOK(ecode3)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10178 }
10179 arg3 = static_cast< int >(val3);
10180 if (obj3) {
10181 ecode4 = SWIG_AsVal_int(obj3, &val4);
10182 if (!SWIG_IsOK(ecode4)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10184 }
10185 arg4 = static_cast< int >(val4);
10186 }
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 {
10194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10195 }
10196 return resultobj;
10197fail:
10198 return NULL;
b1fcee84
RD
10199}
10200
10201
0085ce49
RD
10202SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10203 PyObject *resultobj = 0;
10204 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10205 void *argp1 = 0 ;
10206 int res1 = 0 ;
10207 PyObject *swig_obj[1] ;
10208
10209 if (!args) SWIG_fail;
10210 swig_obj[0] = args;
10211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10212 if (!SWIG_IsOK(res1)) {
10213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10214 }
10215 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->SizeWindows();
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 resultobj = SWIG_Py_Void();
10223 return resultobj;
10224fail:
10225 return NULL;
10226}
10227
10228
10229SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj = 0;
10231 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10232 bool arg2 ;
10233 void *argp1 = 0 ;
10234 int res1 = 0 ;
10235 bool val2 ;
10236 int ecode2 = 0 ;
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
10239 char * kwnames[] = {
10240 (char *) "self",(char *) "needUpdating", NULL
10241 };
10242
10243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10245 if (!SWIG_IsOK(res1)) {
10246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10247 }
10248 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10249 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10250 if (!SWIG_IsOK(ecode2)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10252 }
10253 arg2 = static_cast< bool >(val2);
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 (arg1)->SetNeedUpdating(arg2);
10257 wxPyEndAllowThreads(__tstate);
10258 if (PyErr_Occurred()) SWIG_fail;
10259 }
10260 resultobj = SWIG_Py_Void();
10261 return resultobj;
10262fail:
10263 return NULL;
b1fcee84
RD
10264}
10265
10266
0085ce49
RD
10267SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10268 PyObject *resultobj = 0;
10269 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10270 bool result;
10271 void *argp1 = 0 ;
10272 int res1 = 0 ;
10273 PyObject *swig_obj[1] ;
10274
10275 if (!args) SWIG_fail;
10276 swig_obj[0] = args;
10277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10278 if (!SWIG_IsOK(res1)) {
10279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10280 }
10281 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 {
10289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10290 }
10291 return resultobj;
10292fail:
10293 return NULL;
b1fcee84
RD
10294}
10295
10296
0085ce49
RD
10297SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10298 PyObject *resultobj = 0;
10299 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10300 SwigValueWrapper<wxVisualAttributes > result;
10301 int val1 ;
10302 int ecode1 = 0 ;
10303 PyObject * obj0 = 0 ;
10304 char * kwnames[] = {
10305 (char *) "variant", NULL
10306 };
10307
10308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10309 if (obj0) {
10310 ecode1 = SWIG_AsVal_int(obj0, &val1);
10311 if (!SWIG_IsOK(ecode1)) {
10312 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10313 }
10314 arg1 = static_cast< wxWindowVariant >(val1);
10315 }
10316 {
10317 if (!wxPyCheckForApp()) SWIG_fail;
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10324 return resultobj;
10325fail:
10326 return NULL;
b1fcee84
RD
10327}
10328
10329
0085ce49
RD
10330SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10331 PyObject *obj;
10332 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10333 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10334 return SWIG_Py_Void();
d14a1e28
RD
10335}
10336
0085ce49
RD
10337SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10338 return SWIG_Python_InitShadowInstance(args);
e505d15e
RD
10339}
10340
0085ce49
RD
10341SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10342 PyObject *resultobj = 0;
10343 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10344 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10345 wxSplitterEvent *result = 0 ;
10346 int val1 ;
10347 int ecode1 = 0 ;
10348 void *argp2 = 0 ;
10349 int res2 = 0 ;
10350 PyObject * obj0 = 0 ;
10351 PyObject * obj1 = 0 ;
10352 char * kwnames[] = {
10353 (char *) "type",(char *) "splitter", NULL
10354 };
10355
10356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10357 if (obj0) {
10358 ecode1 = SWIG_AsVal_int(obj0, &val1);
10359 if (!SWIG_IsOK(ecode1)) {
10360 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10361 }
10362 arg1 = static_cast< wxEventType >(val1);
10363 }
10364 if (obj1) {
10365 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10366 if (!SWIG_IsOK(res2)) {
10367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
4f89f6a3 10368 }
0085ce49
RD
10369 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10378 return resultobj;
10379fail:
10380 return NULL;
10381}
10382
10383
10384SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10385 PyObject *resultobj = 0;
10386 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10387 int arg2 ;
10388 void *argp1 = 0 ;
10389 int res1 = 0 ;
10390 int val2 ;
10391 int ecode2 = 0 ;
10392 PyObject * obj0 = 0 ;
10393 PyObject * obj1 = 0 ;
10394 char * kwnames[] = {
10395 (char *) "self",(char *) "pos", NULL
10396 };
10397
10398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10400 if (!SWIG_IsOK(res1)) {
10401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10402 }
10403 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10404 ecode2 = SWIG_AsVal_int(obj1, &val2);
10405 if (!SWIG_IsOK(ecode2)) {
10406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10407 }
10408 arg2 = static_cast< int >(val2);
10409 {
10410 PyThreadState* __tstate = wxPyBeginAllowThreads();
10411 (arg1)->SetSashPosition(arg2);
10412 wxPyEndAllowThreads(__tstate);
10413 if (PyErr_Occurred()) SWIG_fail;
10414 }
10415 resultobj = SWIG_Py_Void();
10416 return resultobj;
10417fail:
10418 return NULL;
d14a1e28
RD
10419}
10420
10421
0085ce49
RD
10422SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10423 PyObject *resultobj = 0;
10424 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10425 int result;
10426 void *argp1 = 0 ;
10427 int res1 = 0 ;
10428 PyObject *swig_obj[1] ;
10429
10430 if (!args) SWIG_fail;
10431 swig_obj[0] = args;
10432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10433 if (!SWIG_IsOK(res1)) {
10434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10435 }
10436 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 resultobj = SWIG_From_int(static_cast< int >(result));
10444 return resultobj;
10445fail:
10446 return NULL;
d14a1e28
RD
10447}
10448
10449
0085ce49
RD
10450SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10451 PyObject *resultobj = 0;
10452 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10453 wxWindow *result = 0 ;
10454 void *argp1 = 0 ;
10455 int res1 = 0 ;
10456 PyObject *swig_obj[1] ;
10457
10458 if (!args) SWIG_fail;
10459 swig_obj[0] = args;
10460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10461 if (!SWIG_IsOK(res1)) {
10462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10463 }
10464 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 {
10472 resultobj = wxPyMake_wxObject(result, 0);
10473 }
10474 return resultobj;
10475fail:
10476 return NULL;
d14a1e28
RD
10477}
10478
10479
0085ce49
RD
10480SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10481 PyObject *resultobj = 0;
10482 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10483 int result;
10484 void *argp1 = 0 ;
10485 int res1 = 0 ;
10486 PyObject *swig_obj[1] ;
10487
10488 if (!args) SWIG_fail;
10489 swig_obj[0] = args;
10490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10491 if (!SWIG_IsOK(res1)) {
10492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10493 }
10494 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10495 {
10496 PyThreadState* __tstate = wxPyBeginAllowThreads();
10497 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 resultobj = SWIG_From_int(static_cast< int >(result));
10502 return resultobj;
10503fail:
10504 return NULL;
22bfe96c
RD
10505}
10506
10507
0085ce49
RD
10508SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10509 PyObject *resultobj = 0;
10510 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10511 int result;
10512 void *argp1 = 0 ;
10513 int res1 = 0 ;
10514 PyObject *swig_obj[1] ;
10515
10516 if (!args) SWIG_fail;
10517 swig_obj[0] = args;
10518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10519 if (!SWIG_IsOK(res1)) {
10520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10521 }
10522 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 resultobj = SWIG_From_int(static_cast< int >(result));
10530 return resultobj;
10531fail:
10532 return NULL;
d14a1e28
RD
10533}
10534
10535
0085ce49
RD
10536SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10537 PyObject *obj;
10538 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10539 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10540 return SWIG_Py_Void();
d14a1e28
RD
10541}
10542
0085ce49
RD
10543SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10544 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
10545}
10546
0085ce49
RD
10547SWIGINTERN int SashNameStr_set(PyObject *) {
10548 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10549 return 1;
d14a1e28
RD
10550}
10551
10552
0085ce49
RD
10553SWIGINTERN PyObject *SashNameStr_get(void) {
10554 PyObject *pyobj = 0;
10555
10556 {
10557#if wxUSE_UNICODE
10558 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10559#else
10560 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10561#endif
10562 }
10563 return pyobj;
d14a1e28
RD
10564}
10565
10566
0085ce49
RD
10567SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10568 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10569 return 1;
d14a1e28
RD
10570}
10571
10572
0085ce49
RD
10573SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10574 PyObject *pyobj = 0;
10575
10576 {
10577#if wxUSE_UNICODE
10578 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10579#else
10580 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10581#endif
10582 }
10583 return pyobj;
10584}
10585
10586
10587SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10588 PyObject *resultobj = 0;
10589 wxWindow *arg1 = (wxWindow *) 0 ;
10590 int arg2 = (int) -1 ;
10591 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10592 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10593 wxSize const &arg4_defvalue = wxDefaultSize ;
10594 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10595 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10596 wxString const &arg6_defvalue = wxPySashNameStr ;
10597 wxString *arg6 = (wxString *) &arg6_defvalue ;
10598 wxSashWindow *result = 0 ;
10599 void *argp1 = 0 ;
10600 int res1 = 0 ;
10601 int val2 ;
10602 int ecode2 = 0 ;
10603 wxPoint temp3 ;
10604 wxSize temp4 ;
10605 long val5 ;
10606 int ecode5 = 0 ;
10607 bool temp6 = false ;
10608 PyObject * obj0 = 0 ;
10609 PyObject * obj1 = 0 ;
10610 PyObject * obj2 = 0 ;
10611 PyObject * obj3 = 0 ;
10612 PyObject * obj4 = 0 ;
10613 PyObject * obj5 = 0 ;
10614 char * kwnames[] = {
10615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10616 };
10617
10618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10620 if (!SWIG_IsOK(res1)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10622 }
10623 arg1 = reinterpret_cast< wxWindow * >(argp1);
10624 if (obj1) {
10625 ecode2 = SWIG_AsVal_int(obj1, &val2);
10626 if (!SWIG_IsOK(ecode2)) {
10627 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10628 }
10629 arg2 = static_cast< int >(val2);
10630 }
10631 if (obj2) {
093d3ff1 10632 {
0085ce49
RD
10633 arg3 = &temp3;
10634 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
994141e6 10635 }
0085ce49
RD
10636 }
10637 if (obj3) {
d14a1e28 10638 {
0085ce49
RD
10639 arg4 = &temp4;
10640 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10641 }
0085ce49
RD
10642 }
10643 if (obj4) {
10644 ecode5 = SWIG_AsVal_long(obj4, &val5);
10645 if (!SWIG_IsOK(ecode5)) {
10646 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10647 }
10648 arg5 = static_cast< long >(val5);
10649 }
10650 if (obj5) {
093d3ff1 10651 {
0085ce49
RD
10652 arg6 = wxString_in_helper(obj5);
10653 if (arg6 == NULL) SWIG_fail;
10654 temp6 = true;
093d3ff1 10655 }
0085ce49
RD
10656 }
10657 {
10658 if (!wxPyCheckForApp()) SWIG_fail;
10659 PyThreadState* __tstate = wxPyBeginAllowThreads();
10660 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10661 wxPyEndAllowThreads(__tstate);
10662 if (PyErr_Occurred()) SWIG_fail;
10663 }
10664 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10665 {
10666 if (temp6)
10667 delete arg6;
10668 }
10669 return resultobj;
10670fail:
10671 {
10672 if (temp6)
10673 delete arg6;
10674 }
10675 return NULL;
d14a1e28
RD
10676}
10677
10678
0085ce49
RD
10679SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10680 PyObject *resultobj = 0;
10681 wxSashWindow *result = 0 ;
10682
10683 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10684 {
10685 if (!wxPyCheckForApp()) SWIG_fail;
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (wxSashWindow *)new wxSashWindow();
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10692 return resultobj;
10693fail:
10694 return NULL;
10695}
10696
10697
10698SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10699 PyObject *resultobj = 0;
10700 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10701 wxWindow *arg2 = (wxWindow *) 0 ;
10702 int arg3 = (int) -1 ;
10703 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10704 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10705 wxSize const &arg5_defvalue = wxDefaultSize ;
10706 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10707 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10708 wxString const &arg7_defvalue = wxPySashNameStr ;
10709 wxString *arg7 = (wxString *) &arg7_defvalue ;
10710 bool result;
10711 void *argp1 = 0 ;
10712 int res1 = 0 ;
10713 void *argp2 = 0 ;
10714 int res2 = 0 ;
10715 int val3 ;
10716 int ecode3 = 0 ;
10717 wxPoint temp4 ;
10718 wxSize temp5 ;
10719 long val6 ;
10720 int ecode6 = 0 ;
10721 bool temp7 = false ;
10722 PyObject * obj0 = 0 ;
10723 PyObject * obj1 = 0 ;
10724 PyObject * obj2 = 0 ;
10725 PyObject * obj3 = 0 ;
10726 PyObject * obj4 = 0 ;
10727 PyObject * obj5 = 0 ;
10728 PyObject * obj6 = 0 ;
10729 char * kwnames[] = {
10730 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10731 };
10732
10733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10735 if (!SWIG_IsOK(res1)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10737 }
10738 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10739 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10740 if (!SWIG_IsOK(res2)) {
10741 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10742 }
10743 arg2 = reinterpret_cast< wxWindow * >(argp2);
10744 if (obj2) {
10745 ecode3 = SWIG_AsVal_int(obj2, &val3);
10746 if (!SWIG_IsOK(ecode3)) {
10747 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10748 }
10749 arg3 = static_cast< int >(val3);
10750 }
10751 if (obj3) {
093d3ff1 10752 {
0085ce49
RD
10753 arg4 = &temp4;
10754 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 10755 }
0085ce49
RD
10756 }
10757 if (obj4) {
d14a1e28 10758 {
0085ce49
RD
10759 arg5 = &temp5;
10760 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 10761 }
0085ce49
RD
10762 }
10763 if (obj5) {
10764 ecode6 = SWIG_AsVal_long(obj5, &val6);
10765 if (!SWIG_IsOK(ecode6)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10767 }
10768 arg6 = static_cast< long >(val6);
10769 }
10770 if (obj6) {
d14a1e28 10771 {
0085ce49
RD
10772 arg7 = wxString_in_helper(obj6);
10773 if (arg7 == NULL) SWIG_fail;
10774 temp7 = true;
d14a1e28 10775 }
0085ce49
RD
10776 }
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10780 wxPyEndAllowThreads(__tstate);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 }
10783 {
10784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10785 }
10786 {
10787 if (temp7)
10788 delete arg7;
10789 }
10790 return resultobj;
10791fail:
10792 {
10793 if (temp7)
10794 delete arg7;
10795 }
10796 return NULL;
10797}
10798
10799
10800SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj = 0;
10802 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10803 wxSashEdgePosition arg2 ;
10804 bool arg3 ;
10805 void *argp1 = 0 ;
10806 int res1 = 0 ;
10807 int val2 ;
10808 int ecode2 = 0 ;
10809 bool val3 ;
10810 int ecode3 = 0 ;
10811 PyObject * obj0 = 0 ;
10812 PyObject * obj1 = 0 ;
10813 PyObject * obj2 = 0 ;
10814 char * kwnames[] = {
10815 (char *) "self",(char *) "edge",(char *) "sash", NULL
10816 };
10817
10818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10820 if (!SWIG_IsOK(res1)) {
10821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10822 }
10823 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10824 ecode2 = SWIG_AsVal_int(obj1, &val2);
10825 if (!SWIG_IsOK(ecode2)) {
10826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10827 }
10828 arg2 = static_cast< wxSashEdgePosition >(val2);
10829 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10830 if (!SWIG_IsOK(ecode3)) {
10831 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10832 }
10833 arg3 = static_cast< bool >(val3);
10834 {
10835 PyThreadState* __tstate = wxPyBeginAllowThreads();
10836 (arg1)->SetSashVisible(arg2,arg3);
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
10840 resultobj = SWIG_Py_Void();
10841 return resultobj;
10842fail:
10843 return NULL;
10844}
10845
10846
10847SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10848 PyObject *resultobj = 0;
10849 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10850 wxSashEdgePosition arg2 ;
10851 bool result;
10852 void *argp1 = 0 ;
10853 int res1 = 0 ;
10854 int val2 ;
10855 int ecode2 = 0 ;
10856 PyObject * obj0 = 0 ;
10857 PyObject * obj1 = 0 ;
10858 char * kwnames[] = {
10859 (char *) "self",(char *) "edge", NULL
10860 };
10861
10862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10864 if (!SWIG_IsOK(res1)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10866 }
10867 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10868 ecode2 = SWIG_AsVal_int(obj1, &val2);
10869 if (!SWIG_IsOK(ecode2)) {
10870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10871 }
10872 arg2 = static_cast< wxSashEdgePosition >(val2);
10873 {
10874 PyThreadState* __tstate = wxPyBeginAllowThreads();
10875 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10876 wxPyEndAllowThreads(__tstate);
10877 if (PyErr_Occurred()) SWIG_fail;
10878 }
10879 {
10880 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10881 }
10882 return resultobj;
10883fail:
10884 return NULL;
10885}
10886
10887
10888SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj = 0;
10890 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10891 wxSashEdgePosition arg2 ;
10892 bool arg3 ;
10893 void *argp1 = 0 ;
10894 int res1 = 0 ;
10895 int val2 ;
10896 int ecode2 = 0 ;
10897 bool val3 ;
10898 int ecode3 = 0 ;
10899 PyObject * obj0 = 0 ;
10900 PyObject * obj1 = 0 ;
10901 PyObject * obj2 = 0 ;
10902 char * kwnames[] = {
10903 (char *) "self",(char *) "edge",(char *) "border", NULL
10904 };
10905
10906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10908 if (!SWIG_IsOK(res1)) {
10909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10910 }
10911 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10912 ecode2 = SWIG_AsVal_int(obj1, &val2);
10913 if (!SWIG_IsOK(ecode2)) {
10914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10915 }
10916 arg2 = static_cast< wxSashEdgePosition >(val2);
10917 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10918 if (!SWIG_IsOK(ecode3)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10920 }
10921 arg3 = static_cast< bool >(val3);
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 (arg1)->SetSashBorder(arg2,arg3);
10925 wxPyEndAllowThreads(__tstate);
10926 if (PyErr_Occurred()) SWIG_fail;
10927 }
10928 resultobj = SWIG_Py_Void();
10929 return resultobj;
10930fail:
10931 return NULL;
10932}
10933
10934
10935SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10936 PyObject *resultobj = 0;
10937 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10938 wxSashEdgePosition arg2 ;
10939 bool result;
10940 void *argp1 = 0 ;
10941 int res1 = 0 ;
10942 int val2 ;
10943 int ecode2 = 0 ;
10944 PyObject * obj0 = 0 ;
10945 PyObject * obj1 = 0 ;
10946 char * kwnames[] = {
10947 (char *) "self",(char *) "edge", NULL
10948 };
10949
10950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
10951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10952 if (!SWIG_IsOK(res1)) {
10953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10954 }
10955 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10956 ecode2 = SWIG_AsVal_int(obj1, &val2);
10957 if (!SWIG_IsOK(ecode2)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10959 }
10960 arg2 = static_cast< wxSashEdgePosition >(val2);
10961 {
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 {
10968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10969 }
10970 return resultobj;
10971fail:
10972 return NULL;
10973}
10974
10975
10976SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10977 PyObject *resultobj = 0;
10978 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10979 wxSashEdgePosition arg2 ;
10980 int result;
10981 void *argp1 = 0 ;
10982 int res1 = 0 ;
10983 int val2 ;
10984 int ecode2 = 0 ;
10985 PyObject * obj0 = 0 ;
10986 PyObject * obj1 = 0 ;
10987 char * kwnames[] = {
10988 (char *) "self",(char *) "edge", NULL
10989 };
10990
10991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
10992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10993 if (!SWIG_IsOK(res1)) {
10994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10995 }
10996 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10997 ecode2 = SWIG_AsVal_int(obj1, &val2);
10998 if (!SWIG_IsOK(ecode2)) {
10999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11000 }
11001 arg2 = static_cast< wxSashEdgePosition >(val2);
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11005 wxPyEndAllowThreads(__tstate);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 resultobj = SWIG_From_int(static_cast< int >(result));
11009 return resultobj;
11010fail:
11011 return NULL;
11012}
11013
11014
11015SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11016 PyObject *resultobj = 0;
11017 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11018 int arg2 ;
11019 void *argp1 = 0 ;
11020 int res1 = 0 ;
11021 int val2 ;
11022 int ecode2 = 0 ;
11023 PyObject * obj0 = 0 ;
11024 PyObject * obj1 = 0 ;
11025 char * kwnames[] = {
11026 (char *) "self",(char *) "width", NULL
11027 };
11028
11029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11031 if (!SWIG_IsOK(res1)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11033 }
11034 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11035 ecode2 = SWIG_AsVal_int(obj1, &val2);
11036 if (!SWIG_IsOK(ecode2)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11038 }
11039 arg2 = static_cast< int >(val2);
11040 {
11041 PyThreadState* __tstate = wxPyBeginAllowThreads();
11042 (arg1)->SetDefaultBorderSize(arg2);
11043 wxPyEndAllowThreads(__tstate);
11044 if (PyErr_Occurred()) SWIG_fail;
11045 }
11046 resultobj = SWIG_Py_Void();
11047 return resultobj;
11048fail:
11049 return NULL;
d14a1e28
RD
11050}
11051
11052
0085ce49
RD
11053SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11054 PyObject *resultobj = 0;
11055 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11056 int result;
11057 void *argp1 = 0 ;
11058 int res1 = 0 ;
11059 PyObject *swig_obj[1] ;
11060
11061 if (!args) SWIG_fail;
11062 swig_obj[0] = args;
11063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11064 if (!SWIG_IsOK(res1)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11066 }
11067 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11071 wxPyEndAllowThreads(__tstate);
11072 if (PyErr_Occurred()) SWIG_fail;
11073 }
11074 resultobj = SWIG_From_int(static_cast< int >(result));
11075 return resultobj;
11076fail:
11077 return NULL;
11078}
11079
11080
11081SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11082 PyObject *resultobj = 0;
11083 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11084 int arg2 ;
11085 void *argp1 = 0 ;
11086 int res1 = 0 ;
11087 int val2 ;
11088 int ecode2 = 0 ;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char * kwnames[] = {
11092 (char *) "self",(char *) "width", NULL
11093 };
11094
11095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11097 if (!SWIG_IsOK(res1)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11099 }
11100 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11101 ecode2 = SWIG_AsVal_int(obj1, &val2);
11102 if (!SWIG_IsOK(ecode2)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11104 }
11105 arg2 = static_cast< int >(val2);
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 (arg1)->SetExtraBorderSize(arg2);
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = SWIG_Py_Void();
11113 return resultobj;
11114fail:
11115 return NULL;
d14a1e28
RD
11116}
11117
11118
0085ce49
RD
11119SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11120 PyObject *resultobj = 0;
11121 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11122 int result;
11123 void *argp1 = 0 ;
11124 int res1 = 0 ;
11125 PyObject *swig_obj[1] ;
11126
11127 if (!args) SWIG_fail;
11128 swig_obj[0] = args;
11129 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11130 if (!SWIG_IsOK(res1)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11132 }
11133 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 resultobj = SWIG_From_int(static_cast< int >(result));
11141 return resultobj;
11142fail:
11143 return NULL;
11144}
11145
11146
11147SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj = 0;
11149 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11150 int arg2 ;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 int val2 ;
11154 int ecode2 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char * kwnames[] = {
11158 (char *) "self",(char *) "min", NULL
11159 };
11160
11161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11163 if (!SWIG_IsOK(res1)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11165 }
11166 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11167 ecode2 = SWIG_AsVal_int(obj1, &val2);
11168 if (!SWIG_IsOK(ecode2)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11170 }
11171 arg2 = static_cast< int >(val2);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 (arg1)->SetMinimumSizeX(arg2);
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 resultobj = SWIG_Py_Void();
11179 return resultobj;
11180fail:
11181 return NULL;
11182}
11183
11184
11185SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj = 0;
11187 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11188 int arg2 ;
11189 void *argp1 = 0 ;
11190 int res1 = 0 ;
11191 int val2 ;
11192 int ecode2 = 0 ;
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 char * kwnames[] = {
11196 (char *) "self",(char *) "min", NULL
11197 };
11198
11199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11201 if (!SWIG_IsOK(res1)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11203 }
11204 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11205 ecode2 = SWIG_AsVal_int(obj1, &val2);
11206 if (!SWIG_IsOK(ecode2)) {
11207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11208 }
11209 arg2 = static_cast< int >(val2);
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 (arg1)->SetMinimumSizeY(arg2);
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_Py_Void();
11217 return resultobj;
11218fail:
11219 return NULL;
d14a1e28
RD
11220}
11221
11222
0085ce49
RD
11223SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11224 PyObject *resultobj = 0;
11225 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11226 int result;
11227 void *argp1 = 0 ;
11228 int res1 = 0 ;
11229 PyObject *swig_obj[1] ;
11230
11231 if (!args) SWIG_fail;
11232 swig_obj[0] = args;
11233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11234 if (!SWIG_IsOK(res1)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11236 }
11237 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 resultobj = SWIG_From_int(static_cast< int >(result));
11245 return resultobj;
11246fail:
11247 return NULL;
d14a1e28
RD
11248}
11249
11250
0085ce49
RD
11251SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11252 PyObject *resultobj = 0;
11253 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11254 int result;
11255 void *argp1 = 0 ;
11256 int res1 = 0 ;
11257 PyObject *swig_obj[1] ;
11258
11259 if (!args) SWIG_fail;
11260 swig_obj[0] = args;
11261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11262 if (!SWIG_IsOK(res1)) {
11263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11264 }
11265 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11269 wxPyEndAllowThreads(__tstate);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 }
11272 resultobj = SWIG_From_int(static_cast< int >(result));
11273 return resultobj;
11274fail:
11275 return NULL;
11276}
11277
11278
11279SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11280 PyObject *resultobj = 0;
11281 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11282 int arg2 ;
11283 void *argp1 = 0 ;
11284 int res1 = 0 ;
11285 int val2 ;
11286 int ecode2 = 0 ;
11287 PyObject * obj0 = 0 ;
11288 PyObject * obj1 = 0 ;
11289 char * kwnames[] = {
11290 (char *) "self",(char *) "max", NULL
11291 };
11292
11293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11295 if (!SWIG_IsOK(res1)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11297 }
11298 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11299 ecode2 = SWIG_AsVal_int(obj1, &val2);
11300 if (!SWIG_IsOK(ecode2)) {
11301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11302 }
11303 arg2 = static_cast< int >(val2);
11304 {
11305 PyThreadState* __tstate = wxPyBeginAllowThreads();
11306 (arg1)->SetMaximumSizeX(arg2);
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = SWIG_Py_Void();
11311 return resultobj;
11312fail:
11313 return NULL;
11314}
11315
11316
11317SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj = 0;
11319 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11320 int arg2 ;
11321 void *argp1 = 0 ;
11322 int res1 = 0 ;
11323 int val2 ;
11324 int ecode2 = 0 ;
11325 PyObject * obj0 = 0 ;
11326 PyObject * obj1 = 0 ;
11327 char * kwnames[] = {
11328 (char *) "self",(char *) "max", NULL
11329 };
11330
11331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11333 if (!SWIG_IsOK(res1)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11335 }
11336 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11337 ecode2 = SWIG_AsVal_int(obj1, &val2);
11338 if (!SWIG_IsOK(ecode2)) {
11339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11340 }
11341 arg2 = static_cast< int >(val2);
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 (arg1)->SetMaximumSizeY(arg2);
11345 wxPyEndAllowThreads(__tstate);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 resultobj = SWIG_Py_Void();
11349 return resultobj;
11350fail:
11351 return NULL;
d14a1e28
RD
11352}
11353
11354
0085ce49
RD
11355SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11356 PyObject *resultobj = 0;
11357 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11358 int result;
11359 void *argp1 = 0 ;
11360 int res1 = 0 ;
11361 PyObject *swig_obj[1] ;
11362
11363 if (!args) SWIG_fail;
11364 swig_obj[0] = args;
11365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11366 if (!SWIG_IsOK(res1)) {
11367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11368 }
11369 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11370 {
11371 PyThreadState* __tstate = wxPyBeginAllowThreads();
11372 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11373 wxPyEndAllowThreads(__tstate);
11374 if (PyErr_Occurred()) SWIG_fail;
11375 }
11376 resultobj = SWIG_From_int(static_cast< int >(result));
11377 return resultobj;
11378fail:
11379 return NULL;
d14a1e28
RD
11380}
11381
11382
0085ce49
RD
11383SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11384 PyObject *resultobj = 0;
11385 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11386 int result;
11387 void *argp1 = 0 ;
11388 int res1 = 0 ;
11389 PyObject *swig_obj[1] ;
11390
11391 if (!args) SWIG_fail;
11392 swig_obj[0] = args;
11393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11394 if (!SWIG_IsOK(res1)) {
11395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11396 }
11397 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11398 {
11399 PyThreadState* __tstate = wxPyBeginAllowThreads();
11400 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 resultobj = SWIG_From_int(static_cast< int >(result));
11405 return resultobj;
11406fail:
11407 return NULL;
11408}
11409
11410
11411SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11412 PyObject *resultobj = 0;
11413 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11414 int arg2 ;
11415 int arg3 ;
11416 int arg4 = (int) 2 ;
11417 wxSashEdgePosition result;
11418 void *argp1 = 0 ;
11419 int res1 = 0 ;
11420 int val2 ;
11421 int ecode2 = 0 ;
11422 int val3 ;
11423 int ecode3 = 0 ;
11424 int val4 ;
11425 int ecode4 = 0 ;
11426 PyObject * obj0 = 0 ;
11427 PyObject * obj1 = 0 ;
11428 PyObject * obj2 = 0 ;
11429 PyObject * obj3 = 0 ;
11430 char * kwnames[] = {
11431 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11432 };
11433
11434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11436 if (!SWIG_IsOK(res1)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11438 }
11439 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11440 ecode2 = SWIG_AsVal_int(obj1, &val2);
11441 if (!SWIG_IsOK(ecode2)) {
11442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11443 }
11444 arg2 = static_cast< int >(val2);
11445 ecode3 = SWIG_AsVal_int(obj2, &val3);
11446 if (!SWIG_IsOK(ecode3)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11448 }
11449 arg3 = static_cast< int >(val3);
11450 if (obj3) {
11451 ecode4 = SWIG_AsVal_int(obj3, &val4);
11452 if (!SWIG_IsOK(ecode4)) {
11453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11454 }
11455 arg4 = static_cast< int >(val4);
11456 }
11457 {
11458 PyThreadState* __tstate = wxPyBeginAllowThreads();
11459 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11460 wxPyEndAllowThreads(__tstate);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 }
11463 resultobj = SWIG_From_int(static_cast< int >(result));
11464 return resultobj;
11465fail:
11466 return NULL;
d14a1e28
RD
11467}
11468
11469
0085ce49
RD
11470SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11471 PyObject *resultobj = 0;
11472 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11473 void *argp1 = 0 ;
11474 int res1 = 0 ;
11475 PyObject *swig_obj[1] ;
11476
11477 if (!args) SWIG_fail;
11478 swig_obj[0] = args;
11479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11480 if (!SWIG_IsOK(res1)) {
11481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11482 }
11483 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 (arg1)->SizeWindows();
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = SWIG_Py_Void();
11491 return resultobj;
11492fail:
11493 return NULL;
d14a1e28
RD
11494}
11495
11496
0085ce49
RD
11497SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11498 PyObject *obj;
11499 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11500 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11501 return SWIG_Py_Void();
d14a1e28
RD
11502}
11503
0085ce49
RD
11504SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11505 return SWIG_Python_InitShadowInstance(args);
f16ab95d
RD
11506}
11507
0085ce49
RD
11508SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11509 PyObject *resultobj = 0;
11510 int arg1 = (int) 0 ;
11511 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11512 wxSashEvent *result = 0 ;
11513 int val1 ;
11514 int ecode1 = 0 ;
11515 int val2 ;
11516 int ecode2 = 0 ;
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 char * kwnames[] = {
11520 (char *) "id",(char *) "edge", NULL
11521 };
11522
11523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11524 if (obj0) {
11525 ecode1 = SWIG_AsVal_int(obj0, &val1);
11526 if (!SWIG_IsOK(ecode1)) {
11527 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11528 }
11529 arg1 = static_cast< int >(val1);
11530 }
11531 if (obj1) {
11532 ecode2 = SWIG_AsVal_int(obj1, &val2);
11533 if (!SWIG_IsOK(ecode2)) {
11534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11535 }
11536 arg2 = static_cast< wxSashEdgePosition >(val2);
11537 }
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11545 return resultobj;
11546fail:
11547 return NULL;
11548}
11549
11550
11551SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11552 PyObject *resultobj = 0;
11553 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11554 wxSashEdgePosition arg2 ;
11555 void *argp1 = 0 ;
11556 int res1 = 0 ;
11557 int val2 ;
11558 int ecode2 = 0 ;
11559 PyObject * obj0 = 0 ;
11560 PyObject * obj1 = 0 ;
11561 char * kwnames[] = {
11562 (char *) "self",(char *) "edge", NULL
11563 };
11564
11565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11567 if (!SWIG_IsOK(res1)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11569 }
11570 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11571 ecode2 = SWIG_AsVal_int(obj1, &val2);
11572 if (!SWIG_IsOK(ecode2)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11574 }
11575 arg2 = static_cast< wxSashEdgePosition >(val2);
11576 {
11577 PyThreadState* __tstate = wxPyBeginAllowThreads();
11578 (arg1)->SetEdge(arg2);
11579 wxPyEndAllowThreads(__tstate);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 resultobj = SWIG_Py_Void();
11583 return resultobj;
11584fail:
11585 return NULL;
d14a1e28
RD
11586}
11587
11588
0085ce49
RD
11589SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11590 PyObject *resultobj = 0;
11591 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11592 wxSashEdgePosition result;
11593 void *argp1 = 0 ;
11594 int res1 = 0 ;
11595 PyObject *swig_obj[1] ;
11596
11597 if (!args) SWIG_fail;
11598 swig_obj[0] = args;
11599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11600 if (!SWIG_IsOK(res1)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11602 }
11603 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11604 {
11605 PyThreadState* __tstate = wxPyBeginAllowThreads();
11606 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = SWIG_From_int(static_cast< int >(result));
11611 return resultobj;
11612fail:
11613 return NULL;
11614}
11615
11616
11617SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj = 0;
11619 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11620 wxRect *arg2 = 0 ;
11621 void *argp1 = 0 ;
11622 int res1 = 0 ;
11623 wxRect temp2 ;
11624 PyObject * obj0 = 0 ;
11625 PyObject * obj1 = 0 ;
11626 char * kwnames[] = {
11627 (char *) "self",(char *) "rect", NULL
11628 };
11629
11630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",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_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11634 }
11635 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11636 {
11637 arg2 = &temp2;
11638 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11639 }
11640 {
11641 PyThreadState* __tstate = wxPyBeginAllowThreads();
11642 (arg1)->SetDragRect((wxRect const &)*arg2);
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 resultobj = SWIG_Py_Void();
11647 return resultobj;
11648fail:
11649 return NULL;
d14a1e28
RD
11650}
11651
11652
0085ce49
RD
11653SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11654 PyObject *resultobj = 0;
11655 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11656 wxRect result;
11657 void *argp1 = 0 ;
11658 int res1 = 0 ;
11659 PyObject *swig_obj[1] ;
11660
11661 if (!args) SWIG_fail;
11662 swig_obj[0] = args;
11663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11664 if (!SWIG_IsOK(res1)) {
11665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11666 }
11667 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = ((wxSashEvent const *)arg1)->GetDragRect();
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11675 return resultobj;
11676fail:
11677 return NULL;
11678}
11679
11680
11681SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj = 0;
11683 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11684 wxSashDragStatus arg2 ;
11685 void *argp1 = 0 ;
11686 int res1 = 0 ;
11687 int val2 ;
11688 int ecode2 = 0 ;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char * kwnames[] = {
11692 (char *) "self",(char *) "status", NULL
11693 };
11694
11695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",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_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11699 }
11700 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11701 ecode2 = SWIG_AsVal_int(obj1, &val2);
11702 if (!SWIG_IsOK(ecode2)) {
11703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11704 }
11705 arg2 = static_cast< wxSashDragStatus >(val2);
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 (arg1)->SetDragStatus(arg2);
11709 wxPyEndAllowThreads(__tstate);
11710 if (PyErr_Occurred()) SWIG_fail;
11711 }
11712 resultobj = SWIG_Py_Void();
11713 return resultobj;
11714fail:
11715 return NULL;
d14a1e28
RD
11716}
11717
11718
0085ce49
RD
11719SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11720 PyObject *resultobj = 0;
11721 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11722 wxSashDragStatus result;
11723 void *argp1 = 0 ;
11724 int res1 = 0 ;
11725 PyObject *swig_obj[1] ;
11726
11727 if (!args) SWIG_fail;
11728 swig_obj[0] = args;
11729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11730 if (!SWIG_IsOK(res1)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11732 }
11733 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11734 {
11735 PyThreadState* __tstate = wxPyBeginAllowThreads();
11736 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 resultobj = SWIG_From_int(static_cast< int >(result));
11741 return resultobj;
11742fail:
11743 return NULL;
d14a1e28
RD
11744}
11745
11746
0085ce49
RD
11747SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11748 PyObject *obj;
11749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11751 return SWIG_Py_Void();
22bfe96c
RD
11752}
11753
0085ce49
RD
11754SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11755 return SWIG_Python_InitShadowInstance(args);
b2dc1044
RD
11756}
11757
0085ce49
RD
11758SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj = 0;
11760 int arg1 = (int) 0 ;
11761 wxQueryLayoutInfoEvent *result = 0 ;
11762 int val1 ;
11763 int ecode1 = 0 ;
11764 PyObject * obj0 = 0 ;
11765 char * kwnames[] = {
11766 (char *) "id", NULL
11767 };
11768
11769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11770 if (obj0) {
11771 ecode1 = SWIG_AsVal_int(obj0, &val1);
11772 if (!SWIG_IsOK(ecode1)) {
11773 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11774 }
11775 arg1 = static_cast< int >(val1);
11776 }
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11780 wxPyEndAllowThreads(__tstate);
11781 if (PyErr_Occurred()) SWIG_fail;
11782 }
11783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11784 return resultobj;
11785fail:
11786 return NULL;
11787}
11788
11789
11790SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11791 PyObject *resultobj = 0;
11792 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11793 int arg2 ;
11794 void *argp1 = 0 ;
11795 int res1 = 0 ;
11796 int val2 ;
11797 int ecode2 = 0 ;
11798 PyObject * obj0 = 0 ;
11799 PyObject * obj1 = 0 ;
11800 char * kwnames[] = {
11801 (char *) "self",(char *) "length", NULL
11802 };
11803
11804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11806 if (!SWIG_IsOK(res1)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11808 }
11809 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11810 ecode2 = SWIG_AsVal_int(obj1, &val2);
11811 if (!SWIG_IsOK(ecode2)) {
11812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11813 }
11814 arg2 = static_cast< int >(val2);
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 (arg1)->SetRequestedLength(arg2);
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 resultobj = SWIG_Py_Void();
11822 return resultobj;
11823fail:
11824 return NULL;
d14a1e28
RD
11825}
11826
11827
0085ce49
RD
11828SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11829 PyObject *resultobj = 0;
11830 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11831 int result;
11832 void *argp1 = 0 ;
11833 int res1 = 0 ;
11834 PyObject *swig_obj[1] ;
11835
11836 if (!args) SWIG_fail;
11837 swig_obj[0] = args;
11838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11839 if (!SWIG_IsOK(res1)) {
11840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11841 }
11842 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11843 {
11844 PyThreadState* __tstate = wxPyBeginAllowThreads();
11845 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 resultobj = SWIG_From_int(static_cast< int >(result));
11850 return resultobj;
11851fail:
11852 return NULL;
11853}
11854
11855
11856SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11857 PyObject *resultobj = 0;
11858 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11859 int arg2 ;
11860 void *argp1 = 0 ;
11861 int res1 = 0 ;
11862 int val2 ;
11863 int ecode2 = 0 ;
11864 PyObject * obj0 = 0 ;
11865 PyObject * obj1 = 0 ;
11866 char * kwnames[] = {
11867 (char *) "self",(char *) "flags", NULL
11868 };
11869
11870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11872 if (!SWIG_IsOK(res1)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11874 }
11875 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11876 ecode2 = SWIG_AsVal_int(obj1, &val2);
11877 if (!SWIG_IsOK(ecode2)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11879 }
11880 arg2 = static_cast< int >(val2);
11881 {
11882 PyThreadState* __tstate = wxPyBeginAllowThreads();
11883 (arg1)->SetFlags(arg2);
11884 wxPyEndAllowThreads(__tstate);
11885 if (PyErr_Occurred()) SWIG_fail;
11886 }
11887 resultobj = SWIG_Py_Void();
11888 return resultobj;
11889fail:
11890 return NULL;
d14a1e28
RD
11891}
11892
11893
0085ce49
RD
11894SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11895 PyObject *resultobj = 0;
11896 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11897 int result;
11898 void *argp1 = 0 ;
11899 int res1 = 0 ;
11900 PyObject *swig_obj[1] ;
11901
11902 if (!args) SWIG_fail;
11903 swig_obj[0] = args;
11904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11905 if (!SWIG_IsOK(res1)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11907 }
11908 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11909 {
11910 PyThreadState* __tstate = wxPyBeginAllowThreads();
11911 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11912 wxPyEndAllowThreads(__tstate);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 }
11915 resultobj = SWIG_From_int(static_cast< int >(result));
11916 return resultobj;
11917fail:
11918 return NULL;
11919}
11920
11921
11922SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj = 0;
11924 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11925 wxSize *arg2 = 0 ;
11926 void *argp1 = 0 ;
11927 int res1 = 0 ;
11928 wxSize temp2 ;
11929 PyObject * obj0 = 0 ;
11930 PyObject * obj1 = 0 ;
11931 char * kwnames[] = {
11932 (char *) "self",(char *) "size", NULL
11933 };
11934
11935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",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_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11939 }
11940 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11941 {
11942 arg2 = &temp2;
11943 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11944 }
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 (arg1)->SetSize((wxSize const &)*arg2);
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 resultobj = SWIG_Py_Void();
11952 return resultobj;
11953fail:
11954 return NULL;
d14a1e28
RD
11955}
11956
11957
0085ce49
RD
11958SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11959 PyObject *resultobj = 0;
11960 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11961 wxSize result;
11962 void *argp1 = 0 ;
11963 int res1 = 0 ;
11964 PyObject *swig_obj[1] ;
11965
11966 if (!args) SWIG_fail;
11967 swig_obj[0] = args;
11968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11969 if (!SWIG_IsOK(res1)) {
11970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11971 }
11972 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11973 {
11974 PyThreadState* __tstate = wxPyBeginAllowThreads();
11975 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
11976 wxPyEndAllowThreads(__tstate);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
11980 return resultobj;
11981fail:
11982 return NULL;
11983}
11984
11985
11986SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11987 PyObject *resultobj = 0;
11988 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11989 wxLayoutOrientation arg2 ;
11990 void *argp1 = 0 ;
11991 int res1 = 0 ;
11992 int val2 ;
11993 int ecode2 = 0 ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char * kwnames[] = {
11997 (char *) "self",(char *) "orient", NULL
11998 };
11999
12000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",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_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12004 }
12005 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12006 ecode2 = SWIG_AsVal_int(obj1, &val2);
12007 if (!SWIG_IsOK(ecode2)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12009 }
12010 arg2 = static_cast< wxLayoutOrientation >(val2);
12011 {
12012 PyThreadState* __tstate = wxPyBeginAllowThreads();
12013 (arg1)->SetOrientation(arg2);
12014 wxPyEndAllowThreads(__tstate);
12015 if (PyErr_Occurred()) SWIG_fail;
12016 }
12017 resultobj = SWIG_Py_Void();
12018 return resultobj;
12019fail:
12020 return NULL;
d14a1e28
RD
12021}
12022
12023
0085ce49
RD
12024SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12025 PyObject *resultobj = 0;
12026 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12027 wxLayoutOrientation result;
12028 void *argp1 = 0 ;
12029 int res1 = 0 ;
12030 PyObject *swig_obj[1] ;
12031
12032 if (!args) SWIG_fail;
12033 swig_obj[0] = args;
12034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12035 if (!SWIG_IsOK(res1)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12037 }
12038 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12039 {
12040 PyThreadState* __tstate = wxPyBeginAllowThreads();
12041 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 resultobj = SWIG_From_int(static_cast< int >(result));
12046 return resultobj;
12047fail:
12048 return NULL;
12049}
12050
12051
12052SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj = 0;
12054 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12055 wxLayoutAlignment arg2 ;
12056 void *argp1 = 0 ;
12057 int res1 = 0 ;
12058 int val2 ;
12059 int ecode2 = 0 ;
12060 PyObject * obj0 = 0 ;
12061 PyObject * obj1 = 0 ;
12062 char * kwnames[] = {
12063 (char *) "self",(char *) "align", NULL
12064 };
12065
12066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12068 if (!SWIG_IsOK(res1)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12070 }
12071 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12072 ecode2 = SWIG_AsVal_int(obj1, &val2);
12073 if (!SWIG_IsOK(ecode2)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12075 }
12076 arg2 = static_cast< wxLayoutAlignment >(val2);
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 (arg1)->SetAlignment(arg2);
12080 wxPyEndAllowThreads(__tstate);
12081 if (PyErr_Occurred()) SWIG_fail;
12082 }
12083 resultobj = SWIG_Py_Void();
12084 return resultobj;
12085fail:
12086 return NULL;
d14a1e28
RD
12087}
12088
12089
0085ce49
RD
12090SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12091 PyObject *resultobj = 0;
12092 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12093 wxLayoutAlignment result;
12094 void *argp1 = 0 ;
12095 int res1 = 0 ;
12096 PyObject *swig_obj[1] ;
12097
12098 if (!args) SWIG_fail;
12099 swig_obj[0] = args;
12100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12101 if (!SWIG_IsOK(res1)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12103 }
12104 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = SWIG_From_int(static_cast< int >(result));
12112 return resultobj;
12113fail:
12114 return NULL;
d14a1e28
RD
12115}
12116
12117
0085ce49
RD
12118SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12119 PyObject *obj;
12120 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12121 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12122 return SWIG_Py_Void();
d14a1e28
RD
12123}
12124
0085ce49
RD
12125SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12126 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
12127}
12128
0085ce49
RD
12129SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj = 0;
12131 int arg1 = (int) 0 ;
12132 wxCalculateLayoutEvent *result = 0 ;
12133 int val1 ;
12134 int ecode1 = 0 ;
12135 PyObject * obj0 = 0 ;
12136 char * kwnames[] = {
12137 (char *) "id", NULL
12138 };
12139
12140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12141 if (obj0) {
12142 ecode1 = SWIG_AsVal_int(obj0, &val1);
12143 if (!SWIG_IsOK(ecode1)) {
12144 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12145 }
12146 arg1 = static_cast< int >(val1);
12147 }
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12151 wxPyEndAllowThreads(__tstate);
12152 if (PyErr_Occurred()) SWIG_fail;
12153 }
12154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12155 return resultobj;
12156fail:
12157 return NULL;
12158}
12159
12160
12161SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12162 PyObject *resultobj = 0;
12163 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12164 int arg2 ;
12165 void *argp1 = 0 ;
12166 int res1 = 0 ;
12167 int val2 ;
12168 int ecode2 = 0 ;
12169 PyObject * obj0 = 0 ;
12170 PyObject * obj1 = 0 ;
12171 char * kwnames[] = {
12172 (char *) "self",(char *) "flags", NULL
12173 };
12174
12175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12177 if (!SWIG_IsOK(res1)) {
12178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12179 }
12180 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12181 ecode2 = SWIG_AsVal_int(obj1, &val2);
12182 if (!SWIG_IsOK(ecode2)) {
12183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12184 }
12185 arg2 = static_cast< int >(val2);
12186 {
12187 PyThreadState* __tstate = wxPyBeginAllowThreads();
12188 (arg1)->SetFlags(arg2);
12189 wxPyEndAllowThreads(__tstate);
12190 if (PyErr_Occurred()) SWIG_fail;
12191 }
12192 resultobj = SWIG_Py_Void();
12193 return resultobj;
12194fail:
12195 return NULL;
d14a1e28
RD
12196}
12197
12198
0085ce49
RD
12199SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12200 PyObject *resultobj = 0;
12201 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12202 int result;
12203 void *argp1 = 0 ;
12204 int res1 = 0 ;
12205 PyObject *swig_obj[1] ;
12206
12207 if (!args) SWIG_fail;
12208 swig_obj[0] = args;
12209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12210 if (!SWIG_IsOK(res1)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12212 }
12213 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12217 wxPyEndAllowThreads(__tstate);
12218 if (PyErr_Occurred()) SWIG_fail;
12219 }
12220 resultobj = SWIG_From_int(static_cast< int >(result));
12221 return resultobj;
12222fail:
12223 return NULL;
12224}
12225
12226
12227SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12228 PyObject *resultobj = 0;
12229 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12230 wxRect *arg2 = 0 ;
12231 void *argp1 = 0 ;
12232 int res1 = 0 ;
12233 wxRect temp2 ;
12234 PyObject * obj0 = 0 ;
12235 PyObject * obj1 = 0 ;
12236 char * kwnames[] = {
12237 (char *) "self",(char *) "rect", NULL
12238 };
12239
12240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",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_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12244 }
12245 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12246 {
12247 arg2 = &temp2;
12248 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12249 }
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 (arg1)->SetRect((wxRect const &)*arg2);
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = SWIG_Py_Void();
12257 return resultobj;
12258fail:
12259 return NULL;
d14a1e28
RD
12260}
12261
12262
0085ce49
RD
12263SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12264 PyObject *resultobj = 0;
12265 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12266 wxRect result;
12267 void *argp1 = 0 ;
12268 int res1 = 0 ;
12269 PyObject *swig_obj[1] ;
12270
12271 if (!args) SWIG_fail;
12272 swig_obj[0] = args;
12273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12274 if (!SWIG_IsOK(res1)) {
12275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12276 }
12277 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12281 wxPyEndAllowThreads(__tstate);
12282 if (PyErr_Occurred()) SWIG_fail;
12283 }
12284 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12285 return resultobj;
12286fail:
12287 return NULL;
12288}
12289
12290
12291SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12292 PyObject *obj;
12293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12294 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12295 return SWIG_Py_Void();
12296}
12297
12298SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12299 return SWIG_Python_InitShadowInstance(args);
12300}
12301
12302SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj = 0;
12304 wxWindow *arg1 = (wxWindow *) 0 ;
12305 int arg2 = (int) -1 ;
12306 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12307 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12308 wxSize const &arg4_defvalue = wxDefaultSize ;
12309 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12310 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12311 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12312 wxString *arg6 = (wxString *) &arg6_defvalue ;
12313 wxSashLayoutWindow *result = 0 ;
12314 void *argp1 = 0 ;
12315 int res1 = 0 ;
12316 int val2 ;
12317 int ecode2 = 0 ;
12318 wxPoint temp3 ;
12319 wxSize temp4 ;
12320 long val5 ;
12321 int ecode5 = 0 ;
12322 bool temp6 = false ;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325 PyObject * obj2 = 0 ;
12326 PyObject * obj3 = 0 ;
12327 PyObject * obj4 = 0 ;
12328 PyObject * obj5 = 0 ;
12329 char * kwnames[] = {
12330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12331 };
12332
12333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12335 if (!SWIG_IsOK(res1)) {
12336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12337 }
12338 arg1 = reinterpret_cast< wxWindow * >(argp1);
12339 if (obj1) {
12340 ecode2 = SWIG_AsVal_int(obj1, &val2);
12341 if (!SWIG_IsOK(ecode2)) {
12342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12343 }
12344 arg2 = static_cast< int >(val2);
12345 }
12346 if (obj2) {
4f89f6a3 12347 {
0085ce49
RD
12348 arg3 = &temp3;
12349 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4f89f6a3 12350 }
0085ce49
RD
12351 }
12352 if (obj3) {
d14a1e28 12353 {
0085ce49
RD
12354 arg4 = &temp4;
12355 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 12356 }
0085ce49
RD
12357 }
12358 if (obj4) {
12359 ecode5 = SWIG_AsVal_long(obj4, &val5);
12360 if (!SWIG_IsOK(ecode5)) {
12361 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12362 }
12363 arg5 = static_cast< long >(val5);
12364 }
12365 if (obj5) {
4f89f6a3 12366 {
0085ce49
RD
12367 arg6 = wxString_in_helper(obj5);
12368 if (arg6 == NULL) SWIG_fail;
12369 temp6 = true;
4f89f6a3 12370 }
0085ce49
RD
12371 }
12372 {
12373 if (!wxPyCheckForApp()) SWIG_fail;
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12376 wxPyEndAllowThreads(__tstate);
12377 if (PyErr_Occurred()) SWIG_fail;
12378 }
12379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12380 {
12381 if (temp6)
12382 delete arg6;
12383 }
12384 return resultobj;
12385fail:
12386 {
12387 if (temp6)
12388 delete arg6;
12389 }
12390 return NULL;
d14a1e28
RD
12391}
12392
12393
0085ce49
RD
12394SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12395 PyObject *resultobj = 0;
12396 wxSashLayoutWindow *result = 0 ;
12397
12398 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12399 {
12400 if (!wxPyCheckForApp()) SWIG_fail;
12401 PyThreadState* __tstate = wxPyBeginAllowThreads();
12402 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12407 return resultobj;
12408fail:
12409 return NULL;
12410}
12411
12412
12413SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj = 0;
12415 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12416 wxWindow *arg2 = (wxWindow *) 0 ;
12417 int arg3 = (int) -1 ;
12418 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12419 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12420 wxSize const &arg5_defvalue = wxDefaultSize ;
12421 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12422 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12423 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12424 wxString *arg7 = (wxString *) &arg7_defvalue ;
12425 bool result;
12426 void *argp1 = 0 ;
12427 int res1 = 0 ;
12428 void *argp2 = 0 ;
12429 int res2 = 0 ;
12430 int val3 ;
12431 int ecode3 = 0 ;
12432 wxPoint temp4 ;
12433 wxSize temp5 ;
12434 long val6 ;
12435 int ecode6 = 0 ;
12436 bool temp7 = false ;
12437 PyObject * obj0 = 0 ;
12438 PyObject * obj1 = 0 ;
12439 PyObject * obj2 = 0 ;
12440 PyObject * obj3 = 0 ;
12441 PyObject * obj4 = 0 ;
12442 PyObject * obj5 = 0 ;
12443 PyObject * obj6 = 0 ;
12444 char * kwnames[] = {
12445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12446 };
12447
12448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12450 if (!SWIG_IsOK(res1)) {
12451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12452 }
12453 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12454 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12455 if (!SWIG_IsOK(res2)) {
12456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12457 }
12458 arg2 = reinterpret_cast< wxWindow * >(argp2);
12459 if (obj2) {
12460 ecode3 = SWIG_AsVal_int(obj2, &val3);
12461 if (!SWIG_IsOK(ecode3)) {
12462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12463 }
12464 arg3 = static_cast< int >(val3);
12465 }
12466 if (obj3) {
d00d1b88 12467 {
0085ce49
RD
12468 arg4 = &temp4;
12469 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12470 }
12471 }
12472 if (obj4) {
d14a1e28 12473 {
0085ce49
RD
12474 arg5 = &temp5;
12475 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 12476 }
0085ce49
RD
12477 }
12478 if (obj5) {
12479 ecode6 = SWIG_AsVal_long(obj5, &val6);
12480 if (!SWIG_IsOK(ecode6)) {
12481 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12482 }
12483 arg6 = static_cast< long >(val6);
12484 }
12485 if (obj6) {
4f89f6a3 12486 {
0085ce49
RD
12487 arg7 = wxString_in_helper(obj6);
12488 if (arg7 == NULL) SWIG_fail;
12489 temp7 = true;
4f89f6a3 12490 }
0085ce49
RD
12491 }
12492 {
12493 PyThreadState* __tstate = wxPyBeginAllowThreads();
12494 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
12498 {
12499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12500 }
12501 {
12502 if (temp7)
12503 delete arg7;
12504 }
12505 return resultobj;
12506fail:
12507 {
12508 if (temp7)
12509 delete arg7;
12510 }
12511 return NULL;
d14a1e28
RD
12512}
12513
12514
0085ce49
RD
12515SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12516 PyObject *resultobj = 0;
12517 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12518 wxLayoutAlignment result;
12519 void *argp1 = 0 ;
12520 int res1 = 0 ;
12521 PyObject *swig_obj[1] ;
12522
12523 if (!args) SWIG_fail;
12524 swig_obj[0] = args;
12525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12526 if (!SWIG_IsOK(res1)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12528 }
12529 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12530 {
12531 PyThreadState* __tstate = wxPyBeginAllowThreads();
12532 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12533 wxPyEndAllowThreads(__tstate);
12534 if (PyErr_Occurred()) SWIG_fail;
12535 }
12536 resultobj = SWIG_From_int(static_cast< int >(result));
12537 return resultobj;
12538fail:
12539 return NULL;
d14a1e28
RD
12540}
12541
12542
0085ce49
RD
12543SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12544 PyObject *resultobj = 0;
12545 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12546 wxLayoutOrientation result;
12547 void *argp1 = 0 ;
12548 int res1 = 0 ;
12549 PyObject *swig_obj[1] ;
12550
12551 if (!args) SWIG_fail;
12552 swig_obj[0] = args;
12553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12554 if (!SWIG_IsOK(res1)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12556 }
12557 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = SWIG_From_int(static_cast< int >(result));
12565 return resultobj;
12566fail:
12567 return NULL;
12568}
12569
12570
12571SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj = 0;
12573 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12574 wxLayoutAlignment arg2 ;
12575 void *argp1 = 0 ;
12576 int res1 = 0 ;
12577 int val2 ;
12578 int ecode2 = 0 ;
12579 PyObject * obj0 = 0 ;
12580 PyObject * obj1 = 0 ;
12581 char * kwnames[] = {
12582 (char *) "self",(char *) "alignment", NULL
12583 };
12584
12585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12587 if (!SWIG_IsOK(res1)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12589 }
12590 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12591 ecode2 = SWIG_AsVal_int(obj1, &val2);
12592 if (!SWIG_IsOK(ecode2)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12594 }
12595 arg2 = static_cast< wxLayoutAlignment >(val2);
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetAlignment(arg2);
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = SWIG_Py_Void();
12603 return resultobj;
12604fail:
12605 return NULL;
12606}
12607
12608
12609SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj = 0;
12611 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12612 wxSize *arg2 = 0 ;
12613 void *argp1 = 0 ;
12614 int res1 = 0 ;
12615 wxSize temp2 ;
12616 PyObject * obj0 = 0 ;
12617 PyObject * obj1 = 0 ;
12618 char * kwnames[] = {
12619 (char *) "self",(char *) "size", NULL
12620 };
12621
12622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12624 if (!SWIG_IsOK(res1)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12626 }
12627 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12628 {
12629 arg2 = &temp2;
12630 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12631 }
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 resultobj = SWIG_Py_Void();
12639 return resultobj;
12640fail:
12641 return NULL;
12642}
12643
12644
12645SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj = 0;
12647 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12648 wxLayoutOrientation arg2 ;
12649 void *argp1 = 0 ;
12650 int res1 = 0 ;
12651 int val2 ;
12652 int ecode2 = 0 ;
12653 PyObject * obj0 = 0 ;
12654 PyObject * obj1 = 0 ;
12655 char * kwnames[] = {
12656 (char *) "self",(char *) "orientation", NULL
12657 };
12658
12659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12661 if (!SWIG_IsOK(res1)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12663 }
12664 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12665 ecode2 = SWIG_AsVal_int(obj1, &val2);
12666 if (!SWIG_IsOK(ecode2)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12668 }
12669 arg2 = static_cast< wxLayoutOrientation >(val2);
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 (arg1)->SetOrientation(arg2);
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 resultobj = SWIG_Py_Void();
12677 return resultobj;
12678fail:
12679 return NULL;
d14a1e28
RD
12680}
12681
12682
0085ce49
RD
12683SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12684 PyObject *obj;
12685 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12686 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12687 return SWIG_Py_Void();
d14a1e28
RD
12688}
12689
0085ce49
RD
12690SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12691 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
12692}
12693
0085ce49
RD
12694SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12695 PyObject *resultobj = 0;
12696 wxLayoutAlgorithm *result = 0 ;
12697
12698 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12699 {
12700 PyThreadState* __tstate = wxPyBeginAllowThreads();
12701 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12706 return resultobj;
12707fail:
12708 return NULL;
d14a1e28
RD
12709}
12710
12711
0085ce49
RD
12712SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12713 PyObject *resultobj = 0;
12714 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12715 void *argp1 = 0 ;
12716 int res1 = 0 ;
12717 PyObject *swig_obj[1] ;
12718
12719 if (!args) SWIG_fail;
12720 swig_obj[0] = args;
12721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12722 if (!SWIG_IsOK(res1)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12724 }
12725 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12726 {
12727 PyThreadState* __tstate = wxPyBeginAllowThreads();
12728 delete arg1;
d14a1e28 12729
0085ce49
RD
12730 wxPyEndAllowThreads(__tstate);
12731 if (PyErr_Occurred()) SWIG_fail;
12732 }
12733 resultobj = SWIG_Py_Void();
12734 return resultobj;
12735fail:
12736 return NULL;
12737}
12738
12739
12740SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12741 PyObject *resultobj = 0;
12742 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12743 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12744 wxRect *arg3 = (wxRect *) NULL ;
12745 bool result;
12746 void *argp1 = 0 ;
12747 int res1 = 0 ;
12748 void *argp2 = 0 ;
12749 int res2 = 0 ;
12750 void *argp3 = 0 ;
12751 int res3 = 0 ;
12752 PyObject * obj0 = 0 ;
12753 PyObject * obj1 = 0 ;
12754 PyObject * obj2 = 0 ;
12755 char * kwnames[] = {
12756 (char *) "self",(char *) "frame",(char *) "rect", NULL
12757 };
12758
12759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12761 if (!SWIG_IsOK(res1)) {
12762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12763 }
12764 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12766 if (!SWIG_IsOK(res2)) {
12767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12768 }
12769 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12770 if (obj2) {
12771 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12772 if (!SWIG_IsOK(res3)) {
12773 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
d14a1e28 12774 }
0085ce49
RD
12775 arg3 = reinterpret_cast< wxRect * >(argp3);
12776 }
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12780 wxPyEndAllowThreads(__tstate);
12781 if (PyErr_Occurred()) SWIG_fail;
12782 }
12783 {
12784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12785 }
12786 return resultobj;
12787fail:
12788 return NULL;
12789}
12790
12791
12792SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12793 PyObject *resultobj = 0;
12794 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12795 wxFrame *arg2 = (wxFrame *) 0 ;
12796 wxWindow *arg3 = (wxWindow *) NULL ;
12797 bool result;
12798 void *argp1 = 0 ;
12799 int res1 = 0 ;
12800 void *argp2 = 0 ;
12801 int res2 = 0 ;
12802 void *argp3 = 0 ;
12803 int res3 = 0 ;
12804 PyObject * obj0 = 0 ;
12805 PyObject * obj1 = 0 ;
12806 PyObject * obj2 = 0 ;
12807 char * kwnames[] = {
12808 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12809 };
12810
12811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12813 if (!SWIG_IsOK(res1)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12815 }
12816 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12817 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12818 if (!SWIG_IsOK(res2)) {
12819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12820 }
12821 arg2 = reinterpret_cast< wxFrame * >(argp2);
12822 if (obj2) {
12823 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12824 if (!SWIG_IsOK(res3)) {
12825 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
093d3ff1 12826 }
0085ce49
RD
12827 arg3 = reinterpret_cast< wxWindow * >(argp3);
12828 }
12829 {
12830 PyThreadState* __tstate = wxPyBeginAllowThreads();
12831 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12832 wxPyEndAllowThreads(__tstate);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 }
12835 {
12836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12837 }
12838 return resultobj;
12839fail:
12840 return NULL;
12841}
12842
12843
12844SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12845 PyObject *resultobj = 0;
12846 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12847 wxWindow *arg2 = (wxWindow *) 0 ;
12848 wxWindow *arg3 = (wxWindow *) NULL ;
12849 bool result;
12850 void *argp1 = 0 ;
12851 int res1 = 0 ;
12852 void *argp2 = 0 ;
12853 int res2 = 0 ;
12854 void *argp3 = 0 ;
12855 int res3 = 0 ;
12856 PyObject * obj0 = 0 ;
12857 PyObject * obj1 = 0 ;
12858 PyObject * obj2 = 0 ;
12859 char * kwnames[] = {
12860 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12861 };
12862
12863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12865 if (!SWIG_IsOK(res1)) {
12866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12867 }
12868 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12869 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12870 if (!SWIG_IsOK(res2)) {
12871 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12872 }
12873 arg2 = reinterpret_cast< wxWindow * >(argp2);
12874 if (obj2) {
12875 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12876 if (!SWIG_IsOK(res3)) {
12877 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
093d3ff1 12878 }
0085ce49
RD
12879 arg3 = reinterpret_cast< wxWindow * >(argp3);
12880 }
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 {
12888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12889 }
12890 return resultobj;
12891fail:
12892 return NULL;
5cbf236d
RD
12893}
12894
12895
0085ce49
RD
12896SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12897 PyObject *obj;
12898 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12899 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12900 return SWIG_Py_Void();
5cbf236d
RD
12901}
12902
0085ce49
RD
12903SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12904 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
12905}
12906
0085ce49
RD
12907SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12908 PyObject *resultobj = 0;
12909 wxWindow *arg1 = (wxWindow *) 0 ;
12910 int arg2 = (int) wxBORDER_NONE ;
12911 wxPopupWindow *result = 0 ;
12912 void *argp1 = 0 ;
12913 int res1 = 0 ;
12914 int val2 ;
12915 int ecode2 = 0 ;
12916 PyObject * obj0 = 0 ;
12917 PyObject * obj1 = 0 ;
12918 char * kwnames[] = {
12919 (char *) "parent",(char *) "flags", NULL
12920 };
12921
12922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12924 if (!SWIG_IsOK(res1)) {
12925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12926 }
12927 arg1 = reinterpret_cast< wxWindow * >(argp1);
12928 if (obj1) {
12929 ecode2 = SWIG_AsVal_int(obj1, &val2);
12930 if (!SWIG_IsOK(ecode2)) {
12931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12932 }
12933 arg2 = static_cast< int >(val2);
12934 }
12935 {
12936 if (!wxPyCheckForApp()) SWIG_fail;
12937 PyThreadState* __tstate = wxPyBeginAllowThreads();
12938 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
12943 return resultobj;
12944fail:
12945 return NULL;
d14a1e28
RD
12946}
12947
12948
0085ce49
RD
12949SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12950 PyObject *resultobj = 0;
12951 wxPopupWindow *result = 0 ;
12952
12953 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
12954 {
12955 if (!wxPyCheckForApp()) SWIG_fail;
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (wxPopupWindow *)new wxPopupWindow();
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
12962 return resultobj;
12963fail:
12964 return NULL;
12965}
12966
12967
12968SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12969 PyObject *resultobj = 0;
12970 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
12971 wxWindow *arg2 = (wxWindow *) 0 ;
12972 int arg3 = (int) wxBORDER_NONE ;
12973 bool result;
12974 void *argp1 = 0 ;
12975 int res1 = 0 ;
12976 void *argp2 = 0 ;
12977 int res2 = 0 ;
12978 int val3 ;
12979 int ecode3 = 0 ;
12980 PyObject * obj0 = 0 ;
12981 PyObject * obj1 = 0 ;
12982 PyObject * obj2 = 0 ;
12983 char * kwnames[] = {
12984 (char *) "self",(char *) "parent",(char *) "flags", NULL
12985 };
12986
12987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
12989 if (!SWIG_IsOK(res1)) {
12990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12991 }
12992 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
12993 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12994 if (!SWIG_IsOK(res2)) {
12995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12996 }
12997 arg2 = reinterpret_cast< wxWindow * >(argp2);
12998 if (obj2) {
12999 ecode3 = SWIG_AsVal_int(obj2, &val3);
13000 if (!SWIG_IsOK(ecode3)) {
13001 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13002 }
13003 arg3 = static_cast< int >(val3);
13004 }
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 result = (bool)(arg1)->Create(arg2,arg3);
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 {
13012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13013 }
13014 return resultobj;
13015fail:
13016 return NULL;
13017}
13018
13019
13020SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13021 PyObject *resultobj = 0;
13022 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13023 wxPoint *arg2 = 0 ;
13024 wxSize *arg3 = 0 ;
13025 void *argp1 = 0 ;
13026 int res1 = 0 ;
13027 wxPoint temp2 ;
13028 wxSize temp3 ;
13029 PyObject * obj0 = 0 ;
13030 PyObject * obj1 = 0 ;
13031 PyObject * obj2 = 0 ;
13032 char * kwnames[] = {
13033 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13034 };
13035
13036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13038 if (!SWIG_IsOK(res1)) {
13039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13040 }
13041 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13042 {
13043 arg2 = &temp2;
13044 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13045 }
13046 {
13047 arg3 = &temp3;
13048 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13049 }
13050 {
13051 PyThreadState* __tstate = wxPyBeginAllowThreads();
13052 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13053 wxPyEndAllowThreads(__tstate);
13054 if (PyErr_Occurred()) SWIG_fail;
13055 }
13056 resultobj = SWIG_Py_Void();
13057 return resultobj;
13058fail:
13059 return NULL;
d14a1e28
RD
13060}
13061
13062
0085ce49
RD
13063SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13064 PyObject *obj;
13065 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13067 return SWIG_Py_Void();
d14a1e28
RD
13068}
13069
0085ce49
RD
13070SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13071 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
13072}
13073
0085ce49
RD
13074SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj = 0;
13076 wxWindow *arg1 = (wxWindow *) 0 ;
13077 int arg2 = (int) wxBORDER_NONE ;
13078 wxPyPopupTransientWindow *result = 0 ;
13079 void *argp1 = 0 ;
13080 int res1 = 0 ;
13081 int val2 ;
13082 int ecode2 = 0 ;
13083 PyObject * obj0 = 0 ;
13084 PyObject * obj1 = 0 ;
13085 char * kwnames[] = {
13086 (char *) "parent",(char *) "style", NULL
13087 };
13088
13089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13091 if (!SWIG_IsOK(res1)) {
13092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13093 }
13094 arg1 = reinterpret_cast< wxWindow * >(argp1);
13095 if (obj1) {
13096 ecode2 = SWIG_AsVal_int(obj1, &val2);
13097 if (!SWIG_IsOK(ecode2)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13099 }
13100 arg2 = static_cast< int >(val2);
13101 }
13102 {
13103 if (!wxPyCheckForApp()) SWIG_fail;
13104 PyThreadState* __tstate = wxPyBeginAllowThreads();
13105 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13106 wxPyEndAllowThreads(__tstate);
13107 if (PyErr_Occurred()) SWIG_fail;
13108 }
13109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13110 return resultobj;
13111fail:
13112 return NULL;
d14a1e28
RD
13113}
13114
13115
0085ce49
RD
13116SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13117 PyObject *resultobj = 0;
13118 wxPyPopupTransientWindow *result = 0 ;
13119
13120 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13121 {
13122 if (!wxPyCheckForApp()) SWIG_fail;
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
13128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13129 return resultobj;
13130fail:
13131 return NULL;
13132}
13133
13134
13135SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13136 PyObject *resultobj = 0;
13137 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13138 PyObject *arg2 = (PyObject *) 0 ;
13139 PyObject *arg3 = (PyObject *) 0 ;
13140 void *argp1 = 0 ;
13141 int res1 = 0 ;
13142 PyObject * obj0 = 0 ;
13143 PyObject * obj1 = 0 ;
13144 PyObject * obj2 = 0 ;
13145 char * kwnames[] = {
13146 (char *) "self",(char *) "self",(char *) "_class", NULL
13147 };
13148
13149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13151 if (!SWIG_IsOK(res1)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13153 }
13154 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13155 arg2 = obj1;
13156 arg3 = obj2;
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 (arg1)->_setCallbackInfo(arg2,arg3);
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 resultobj = SWIG_Py_Void();
13164 return resultobj;
13165fail:
13166 return NULL;
13167}
13168
13169
13170SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13171 PyObject *resultobj = 0;
13172 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13173 wxWindow *arg2 = (wxWindow *) NULL ;
13174 void *argp1 = 0 ;
13175 int res1 = 0 ;
13176 void *argp2 = 0 ;
13177 int res2 = 0 ;
13178 PyObject * obj0 = 0 ;
13179 PyObject * obj1 = 0 ;
13180 char * kwnames[] = {
13181 (char *) "self",(char *) "focus", NULL
13182 };
13183
13184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13186 if (!SWIG_IsOK(res1)) {
13187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13188 }
13189 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13190 if (obj1) {
13191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13192 if (!SWIG_IsOK(res2)) {
13193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
22bfe96c 13194 }
0085ce49
RD
13195 arg2 = reinterpret_cast< wxWindow * >(argp2);
13196 }
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 (arg1)->Popup(arg2);
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 resultobj = SWIG_Py_Void();
13204 return resultobj;
13205fail:
13206 return NULL;
22bfe96c
RD
13207}
13208
13209
0085ce49
RD
13210SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13211 PyObject *resultobj = 0;
13212 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13213 void *argp1 = 0 ;
13214 int res1 = 0 ;
13215 PyObject *swig_obj[1] ;
13216
13217 if (!args) SWIG_fail;
13218 swig_obj[0] = args;
13219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13220 if (!SWIG_IsOK(res1)) {
13221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13222 }
13223 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13224 {
13225 PyThreadState* __tstate = wxPyBeginAllowThreads();
13226 (arg1)->Dismiss();
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 resultobj = SWIG_Py_Void();
13231 return resultobj;
13232fail:
13233 return NULL;
13234}
13235
13236
13237SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13238 PyObject *obj;
13239 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13240 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13241 return SWIG_Py_Void();
13242}
13243
13244SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13245 return SWIG_Python_InitShadowInstance(args);
13246}
13247
13248SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13249 PyObject *resultobj = 0;
13250 wxWindow *arg1 = (wxWindow *) 0 ;
13251 wxString *arg2 = 0 ;
13252 int arg3 = (int) 100 ;
13253 wxRect *arg4 = (wxRect *) NULL ;
13254 wxTipWindow *result = 0 ;
13255 void *argp1 = 0 ;
13256 int res1 = 0 ;
13257 bool temp2 = false ;
13258 int val3 ;
13259 int ecode3 = 0 ;
13260 void *argp4 = 0 ;
13261 int res4 = 0 ;
13262 PyObject * obj0 = 0 ;
13263 PyObject * obj1 = 0 ;
13264 PyObject * obj2 = 0 ;
13265 PyObject * obj3 = 0 ;
13266 char * kwnames[] = {
13267 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13268 };
13269
13270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13272 if (!SWIG_IsOK(res1)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13274 }
13275 arg1 = reinterpret_cast< wxWindow * >(argp1);
13276 {
13277 arg2 = wxString_in_helper(obj1);
13278 if (arg2 == NULL) SWIG_fail;
13279 temp2 = true;
13280 }
13281 if (obj2) {
13282 ecode3 = SWIG_AsVal_int(obj2, &val3);
13283 if (!SWIG_IsOK(ecode3)) {
13284 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13285 }
13286 arg3 = static_cast< int >(val3);
13287 }
13288 if (obj3) {
13289 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13290 if (!SWIG_IsOK(res4)) {
13291 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
d14a1e28 13292 }
0085ce49
RD
13293 arg4 = reinterpret_cast< wxRect * >(argp4);
13294 }
13295 {
13296 if (!wxPyCheckForApp()) SWIG_fail;
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13299 wxPyEndAllowThreads(__tstate);
13300 if (PyErr_Occurred()) SWIG_fail;
13301 }
13302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13303 {
13304 if (temp2)
13305 delete arg2;
13306 }
13307 return resultobj;
13308fail:
13309 {
13310 if (temp2)
13311 delete arg2;
13312 }
13313 return NULL;
d14a1e28
RD
13314}
13315
13316
0085ce49
RD
13317SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13318 PyObject *resultobj = 0;
13319 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13320 wxRect *arg2 = 0 ;
13321 void *argp1 = 0 ;
13322 int res1 = 0 ;
13323 wxRect temp2 ;
13324 PyObject * obj0 = 0 ;
13325 PyObject * obj1 = 0 ;
13326 char * kwnames[] = {
13327 (char *) "self",(char *) "rectBound", NULL
13328 };
13329
13330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13332 if (!SWIG_IsOK(res1)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13334 }
13335 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13336 {
13337 arg2 = &temp2;
13338 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13339 }
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13343 wxPyEndAllowThreads(__tstate);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 resultobj = SWIG_Py_Void();
13347 return resultobj;
13348fail:
13349 return NULL;
d14a1e28
RD
13350}
13351
13352
0085ce49
RD
13353SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13354 PyObject *resultobj = 0;
13355 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13356 void *argp1 = 0 ;
13357 int res1 = 0 ;
13358 PyObject *swig_obj[1] ;
13359
13360 if (!args) SWIG_fail;
13361 swig_obj[0] = args;
13362 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13363 if (!SWIG_IsOK(res1)) {
13364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13365 }
13366 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 (arg1)->Close();
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
13373 resultobj = SWIG_Py_Void();
13374 return resultobj;
13375fail:
13376 return NULL;
13377}
13378
13379
13380SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13381 PyObject *obj;
13382 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13383 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13384 return SWIG_Py_Void();
13385}
13386
13387SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13388 return SWIG_Python_InitShadowInstance(args);
13389}
13390
13391SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj = 0;
13393 wxWindow *arg1 = (wxWindow *) 0 ;
13394 int arg2 = (int) wxID_ANY ;
13395 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13396 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13397 wxSize const &arg4_defvalue = wxDefaultSize ;
13398 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13399 long arg5 = (long) 0 ;
13400 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13401 wxString *arg6 = (wxString *) &arg6_defvalue ;
13402 wxPyVScrolledWindow *result = 0 ;
13403 void *argp1 = 0 ;
13404 int res1 = 0 ;
13405 int val2 ;
13406 int ecode2 = 0 ;
13407 wxPoint temp3 ;
13408 wxSize temp4 ;
13409 long val5 ;
13410 int ecode5 = 0 ;
13411 bool temp6 = false ;
13412 PyObject * obj0 = 0 ;
13413 PyObject * obj1 = 0 ;
13414 PyObject * obj2 = 0 ;
13415 PyObject * obj3 = 0 ;
13416 PyObject * obj4 = 0 ;
13417 PyObject * obj5 = 0 ;
13418 char * kwnames[] = {
13419 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13420 };
13421
13422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13424 if (!SWIG_IsOK(res1)) {
13425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13426 }
13427 arg1 = reinterpret_cast< wxWindow * >(argp1);
13428 if (obj1) {
13429 ecode2 = SWIG_AsVal_int(obj1, &val2);
13430 if (!SWIG_IsOK(ecode2)) {
13431 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13432 }
13433 arg2 = static_cast< int >(val2);
13434 }
13435 if (obj2) {
093d3ff1 13436 {
0085ce49
RD
13437 arg3 = &temp3;
13438 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 13439 }
0085ce49
RD
13440 }
13441 if (obj3) {
d14a1e28 13442 {
0085ce49
RD
13443 arg4 = &temp4;
13444 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 13445 }
0085ce49
RD
13446 }
13447 if (obj4) {
13448 ecode5 = SWIG_AsVal_long(obj4, &val5);
13449 if (!SWIG_IsOK(ecode5)) {
13450 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13451 }
13452 arg5 = static_cast< long >(val5);
13453 }
13454 if (obj5) {
d14a1e28 13455 {
0085ce49
RD
13456 arg6 = wxString_in_helper(obj5);
13457 if (arg6 == NULL) SWIG_fail;
13458 temp6 = true;
d14a1e28 13459 }
0085ce49
RD
13460 }
13461 {
13462 if (!wxPyCheckForApp()) SWIG_fail;
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13465 wxPyEndAllowThreads(__tstate);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13469 {
13470 if (temp6)
13471 delete arg6;
13472 }
13473 return resultobj;
13474fail:
13475 {
13476 if (temp6)
13477 delete arg6;
13478 }
13479 return NULL;
d14a1e28
RD
13480}
13481
13482
0085ce49
RD
13483SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13484 PyObject *resultobj = 0;
13485 wxPyVScrolledWindow *result = 0 ;
13486
13487 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13488 {
13489 if (!wxPyCheckForApp()) SWIG_fail;
13490 PyThreadState* __tstate = wxPyBeginAllowThreads();
13491 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13496 return resultobj;
13497fail:
13498 return NULL;
13499}
13500
13501
13502SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj = 0;
13504 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13505 PyObject *arg2 = (PyObject *) 0 ;
13506 PyObject *arg3 = (PyObject *) 0 ;
13507 void *argp1 = 0 ;
13508 int res1 = 0 ;
13509 PyObject * obj0 = 0 ;
13510 PyObject * obj1 = 0 ;
13511 PyObject * obj2 = 0 ;
13512 char * kwnames[] = {
13513 (char *) "self",(char *) "self",(char *) "_class", NULL
13514 };
13515
13516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13518 if (!SWIG_IsOK(res1)) {
13519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13520 }
13521 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13522 arg2 = obj1;
13523 arg3 = obj2;
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 (arg1)->_setCallbackInfo(arg2,arg3);
13527 wxPyEndAllowThreads(__tstate);
13528 if (PyErr_Occurred()) SWIG_fail;
13529 }
13530 resultobj = SWIG_Py_Void();
13531 return resultobj;
13532fail:
13533 return NULL;
13534}
13535
13536
13537SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13538 PyObject *resultobj = 0;
13539 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13540 wxWindow *arg2 = (wxWindow *) 0 ;
13541 int arg3 = (int) wxID_ANY ;
13542 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13543 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13544 wxSize const &arg5_defvalue = wxDefaultSize ;
13545 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13546 long arg6 = (long) 0 ;
13547 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13548 wxString *arg7 = (wxString *) &arg7_defvalue ;
13549 bool result;
13550 void *argp1 = 0 ;
13551 int res1 = 0 ;
13552 void *argp2 = 0 ;
13553 int res2 = 0 ;
13554 int val3 ;
13555 int ecode3 = 0 ;
13556 wxPoint temp4 ;
13557 wxSize temp5 ;
13558 long val6 ;
13559 int ecode6 = 0 ;
13560 bool temp7 = false ;
13561 PyObject * obj0 = 0 ;
13562 PyObject * obj1 = 0 ;
13563 PyObject * obj2 = 0 ;
13564 PyObject * obj3 = 0 ;
13565 PyObject * obj4 = 0 ;
13566 PyObject * obj5 = 0 ;
13567 PyObject * obj6 = 0 ;
13568 char * kwnames[] = {
13569 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13570 };
13571
13572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13574 if (!SWIG_IsOK(res1)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13576 }
13577 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13578 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13579 if (!SWIG_IsOK(res2)) {
13580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13581 }
13582 arg2 = reinterpret_cast< wxWindow * >(argp2);
13583 if (obj2) {
13584 ecode3 = SWIG_AsVal_int(obj2, &val3);
13585 if (!SWIG_IsOK(ecode3)) {
13586 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13587 }
13588 arg3 = static_cast< int >(val3);
13589 }
13590 if (obj3) {
d14a1e28 13591 {
0085ce49
RD
13592 arg4 = &temp4;
13593 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 13594 }
0085ce49
RD
13595 }
13596 if (obj4) {
093d3ff1 13597 {
0085ce49
RD
13598 arg5 = &temp5;
13599 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 13600 }
0085ce49
RD
13601 }
13602 if (obj5) {
13603 ecode6 = SWIG_AsVal_long(obj5, &val6);
13604 if (!SWIG_IsOK(ecode6)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13606 }
13607 arg6 = static_cast< long >(val6);
13608 }
13609 if (obj6) {
13610 {
13611 arg7 = wxString_in_helper(obj6);
13612 if (arg7 == NULL) SWIG_fail;
13613 temp7 = true;
13614 }
13615 }
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 {
13623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13624 }
13625 {
13626 if (temp7)
13627 delete arg7;
13628 }
13629 return resultobj;
13630fail:
13631 {
13632 if (temp7)
13633 delete arg7;
13634 }
13635 return NULL;
13636}
13637
13638
13639SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13640 PyObject *resultobj = 0;
13641 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13642 size_t arg2 ;
13643 void *argp1 = 0 ;
13644 int res1 = 0 ;
13645 size_t val2 ;
13646 int ecode2 = 0 ;
13647 PyObject * obj0 = 0 ;
13648 PyObject * obj1 = 0 ;
13649 char * kwnames[] = {
13650 (char *) "self",(char *) "count", NULL
13651 };
13652
13653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13655 if (!SWIG_IsOK(res1)) {
13656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13657 }
13658 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13659 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13660 if (!SWIG_IsOK(ecode2)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13662 }
13663 arg2 = static_cast< size_t >(val2);
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 (arg1)->SetLineCount(arg2);
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 resultobj = SWIG_Py_Void();
13671 return resultobj;
13672fail:
13673 return NULL;
13674}
13675
13676
13677SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj = 0;
13679 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13680 size_t arg2 ;
13681 bool result;
13682 void *argp1 = 0 ;
13683 int res1 = 0 ;
13684 size_t val2 ;
13685 int ecode2 = 0 ;
13686 PyObject * obj0 = 0 ;
13687 PyObject * obj1 = 0 ;
13688 char * kwnames[] = {
13689 (char *) "self",(char *) "line", NULL
13690 };
13691
13692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13694 if (!SWIG_IsOK(res1)) {
13695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13696 }
13697 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13698 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13699 if (!SWIG_IsOK(ecode2)) {
13700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13701 }
13702 arg2 = static_cast< size_t >(val2);
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 result = (bool)(arg1)->ScrollToLine(arg2);
13706 wxPyEndAllowThreads(__tstate);
13707 if (PyErr_Occurred()) SWIG_fail;
13708 }
13709 {
13710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13711 }
13712 return resultobj;
13713fail:
13714 return NULL;
13715}
13716
13717
13718SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13719 PyObject *resultobj = 0;
13720 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13721 size_t arg2 ;
13722 void *argp1 = 0 ;
13723 int res1 = 0 ;
13724 size_t val2 ;
13725 int ecode2 = 0 ;
13726 PyObject * obj0 = 0 ;
13727 PyObject * obj1 = 0 ;
13728 char * kwnames[] = {
13729 (char *) "self",(char *) "line", NULL
13730 };
13731
13732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13734 if (!SWIG_IsOK(res1)) {
13735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13736 }
13737 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13738 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13739 if (!SWIG_IsOK(ecode2)) {
13740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13741 }
13742 arg2 = static_cast< size_t >(val2);
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->RefreshLine(arg2);
13746 wxPyEndAllowThreads(__tstate);
13747 if (PyErr_Occurred()) SWIG_fail;
13748 }
13749 resultobj = SWIG_Py_Void();
13750 return resultobj;
13751fail:
13752 return NULL;
13753}
13754
13755
13756SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj = 0;
13758 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13759 size_t arg2 ;
13760 size_t arg3 ;
13761 void *argp1 = 0 ;
13762 int res1 = 0 ;
13763 size_t val2 ;
13764 int ecode2 = 0 ;
13765 size_t val3 ;
13766 int ecode3 = 0 ;
13767 PyObject * obj0 = 0 ;
13768 PyObject * obj1 = 0 ;
13769 PyObject * obj2 = 0 ;
13770 char * kwnames[] = {
13771 (char *) "self",(char *) "_from",(char *) "to", NULL
13772 };
13773
13774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13776 if (!SWIG_IsOK(res1)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13778 }
13779 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13780 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13781 if (!SWIG_IsOK(ecode2)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13783 }
13784 arg2 = static_cast< size_t >(val2);
13785 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13786 if (!SWIG_IsOK(ecode3)) {
13787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13788 }
13789 arg3 = static_cast< size_t >(val3);
13790 {
13791 PyThreadState* __tstate = wxPyBeginAllowThreads();
13792 (arg1)->RefreshLines(arg2,arg3);
13793 wxPyEndAllowThreads(__tstate);
13794 if (PyErr_Occurred()) SWIG_fail;
13795 }
13796 resultobj = SWIG_Py_Void();
13797 return resultobj;
13798fail:
13799 return NULL;
13800}
13801
13802
13803SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13804 PyObject *resultobj = 0;
13805 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13806 int arg2 ;
13807 int arg3 ;
13808 int result;
13809 void *argp1 = 0 ;
13810 int res1 = 0 ;
13811 int val2 ;
13812 int ecode2 = 0 ;
13813 int val3 ;
13814 int ecode3 = 0 ;
13815 PyObject * obj0 = 0 ;
13816 PyObject * obj1 = 0 ;
13817 PyObject * obj2 = 0 ;
13818 char * kwnames[] = {
13819 (char *) "self",(char *) "x",(char *) "y", NULL
13820 };
13821
13822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13824 if (!SWIG_IsOK(res1)) {
13825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13826 }
13827 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13828 ecode2 = SWIG_AsVal_int(obj1, &val2);
13829 if (!SWIG_IsOK(ecode2)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13831 }
13832 arg2 = static_cast< int >(val2);
13833 ecode3 = SWIG_AsVal_int(obj2, &val3);
13834 if (!SWIG_IsOK(ecode3)) {
13835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13836 }
13837 arg3 = static_cast< int >(val3);
13838 {
13839 PyThreadState* __tstate = wxPyBeginAllowThreads();
13840 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 resultobj = SWIG_From_int(static_cast< int >(result));
13845 return resultobj;
13846fail:
13847 return NULL;
13848}
13849
13850
13851SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13852 PyObject *resultobj = 0;
13853 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13854 wxPoint *arg2 = 0 ;
13855 int result;
13856 void *argp1 = 0 ;
13857 int res1 = 0 ;
13858 wxPoint temp2 ;
13859 PyObject * obj0 = 0 ;
13860 PyObject * obj1 = 0 ;
13861 char * kwnames[] = {
13862 (char *) "self",(char *) "pt", NULL
13863 };
13864
13865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13867 if (!SWIG_IsOK(res1)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13869 }
13870 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13871 {
13872 arg2 = &temp2;
13873 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13874 }
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13878 wxPyEndAllowThreads(__tstate);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 }
13881 resultobj = SWIG_From_int(static_cast< int >(result));
13882 return resultobj;
13883fail:
13884 return NULL;
d14a1e28
RD
13885}
13886
13887
0085ce49
RD
13888SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13889 PyObject *resultobj = 0;
13890 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13891 void *argp1 = 0 ;
13892 int res1 = 0 ;
13893 PyObject *swig_obj[1] ;
13894
13895 if (!args) SWIG_fail;
13896 swig_obj[0] = args;
13897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13898 if (!SWIG_IsOK(res1)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13900 }
13901 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13902 {
13903 PyThreadState* __tstate = wxPyBeginAllowThreads();
13904 (arg1)->RefreshAll();
13905 wxPyEndAllowThreads(__tstate);
13906 if (PyErr_Occurred()) SWIG_fail;
13907 }
13908 resultobj = SWIG_Py_Void();
13909 return resultobj;
13910fail:
13911 return NULL;
b2dc1044
RD
13912}
13913
13914
0085ce49
RD
13915SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13916 PyObject *resultobj = 0;
13917 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13918 size_t result;
13919 void *argp1 = 0 ;
13920 int res1 = 0 ;
13921 PyObject *swig_obj[1] ;
13922
13923 if (!args) SWIG_fail;
13924 swig_obj[0] = args;
13925 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13926 if (!SWIG_IsOK(res1)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13928 }
13929 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13933 wxPyEndAllowThreads(__tstate);
13934 if (PyErr_Occurred()) SWIG_fail;
13935 }
13936 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13937 return resultobj;
13938fail:
13939 return NULL;
b2dc1044
RD
13940}
13941
13942
0085ce49
RD
13943SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13944 PyObject *resultobj = 0;
13945 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13946 size_t result;
13947 void *argp1 = 0 ;
13948 int res1 = 0 ;
13949 PyObject *swig_obj[1] ;
13950
13951 if (!args) SWIG_fail;
13952 swig_obj[0] = args;
13953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13954 if (!SWIG_IsOK(res1)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13956 }
13957 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13965 return resultobj;
13966fail:
13967 return NULL;
b2dc1044
RD
13968}
13969
13970
0085ce49
RD
13971SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13972 PyObject *resultobj = 0;
13973 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13974 size_t result;
13975 void *argp1 = 0 ;
13976 int res1 = 0 ;
13977 PyObject *swig_obj[1] ;
13978
13979 if (!args) SWIG_fail;
13980 swig_obj[0] = args;
13981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13982 if (!SWIG_IsOK(res1)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13984 }
13985 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13989 wxPyEndAllowThreads(__tstate);
13990 if (PyErr_Occurred()) SWIG_fail;
13991 }
13992 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13993 return resultobj;
13994fail:
13995 return NULL;
13996}
13997
13998
13999SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14000 PyObject *resultobj = 0;
14001 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14002 size_t arg2 ;
14003 bool result;
14004 void *argp1 = 0 ;
14005 int res1 = 0 ;
14006 size_t val2 ;
14007 int ecode2 = 0 ;
14008 PyObject * obj0 = 0 ;
14009 PyObject * obj1 = 0 ;
14010 char * kwnames[] = {
14011 (char *) "self",(char *) "line", NULL
14012 };
14013
14014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14016 if (!SWIG_IsOK(res1)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14018 }
14019 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14020 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14021 if (!SWIG_IsOK(ecode2)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14023 }
14024 arg2 = static_cast< size_t >(val2);
14025 {
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 {
14032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14033 }
14034 return resultobj;
14035fail:
14036 return NULL;
d14a1e28
RD
14037}
14038
14039
0085ce49
RD
14040SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14041 PyObject *resultobj = 0;
14042 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14043 size_t result;
14044 void *argp1 = 0 ;
14045 int res1 = 0 ;
14046 PyObject *swig_obj[1] ;
14047
14048 if (!args) SWIG_fail;
14049 swig_obj[0] = args;
14050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14051 if (!SWIG_IsOK(res1)) {
14052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14053 }
14054 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14055 {
14056 PyThreadState* __tstate = wxPyBeginAllowThreads();
14057 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14062 return resultobj;
14063fail:
14064 return NULL;
d14a1e28
RD
14065}
14066
14067
0085ce49
RD
14068SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14069 PyObject *resultobj = 0;
14070 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14071 size_t result;
14072 void *argp1 = 0 ;
14073 int res1 = 0 ;
14074 PyObject *swig_obj[1] ;
14075
14076 if (!args) SWIG_fail;
14077 swig_obj[0] = args;
14078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14079 if (!SWIG_IsOK(res1)) {
14080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14081 }
14082 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14090 return resultobj;
14091fail:
14092 return NULL;
14093}
14094
14095
14096SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj = 0;
14098 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14099 size_t arg2 ;
14100 bool arg3 = (bool) false ;
14101 size_t result;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 size_t val2 ;
14105 int ecode2 = 0 ;
14106 bool val3 ;
14107 int ecode3 = 0 ;
14108 PyObject * obj0 = 0 ;
14109 PyObject * obj1 = 0 ;
14110 PyObject * obj2 = 0 ;
14111 char * kwnames[] = {
14112 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14113 };
14114
14115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14117 if (!SWIG_IsOK(res1)) {
14118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14119 }
14120 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14121 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14122 if (!SWIG_IsOK(ecode2)) {
14123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14124 }
14125 arg2 = static_cast< size_t >(val2);
14126 if (obj2) {
14127 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14128 if (!SWIG_IsOK(ecode3)) {
14129 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14130 }
14131 arg3 = static_cast< bool >(val3);
14132 }
14133 {
14134 PyThreadState* __tstate = wxPyBeginAllowThreads();
14135 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14140 return resultobj;
14141fail:
14142 return NULL;
14143}
14144
14145
14146SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj = 0;
14148 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14149 size_t arg2 ;
14150 size_t arg3 ;
14151 int result;
14152 void *argp1 = 0 ;
14153 int res1 = 0 ;
14154 size_t val2 ;
14155 int ecode2 = 0 ;
14156 size_t val3 ;
14157 int ecode3 = 0 ;
14158 PyObject * obj0 = 0 ;
14159 PyObject * obj1 = 0 ;
14160 PyObject * obj2 = 0 ;
14161 char * kwnames[] = {
14162 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14163 };
14164
14165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14167 if (!SWIG_IsOK(res1)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14169 }
14170 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14171 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14172 if (!SWIG_IsOK(ecode2)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14174 }
14175 arg2 = static_cast< size_t >(val2);
14176 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14177 if (!SWIG_IsOK(ecode3)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14179 }
14180 arg3 = static_cast< size_t >(val3);
14181 {
14182 PyThreadState* __tstate = wxPyBeginAllowThreads();
14183 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 resultobj = SWIG_From_int(static_cast< int >(result));
14188 return resultobj;
14189fail:
14190 return NULL;
d14a1e28
RD
14191}
14192
14193
0085ce49
RD
14194SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14195 PyObject *obj;
14196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14198 return SWIG_Py_Void();
d14a1e28
RD
14199}
14200
0085ce49
RD
14201SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14202 return SWIG_Python_InitShadowInstance(args);
14203}
d14a1e28 14204
0085ce49
RD
14205SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14206 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14207 return 1;
d14a1e28
RD
14208}
14209
14210
0085ce49
RD
14211SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14212 PyObject *pyobj = 0;
14213
14214 {
14215#if wxUSE_UNICODE
14216 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14217#else
14218 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14219#endif
14220 }
14221 return pyobj;
14222}
14223
14224
14225SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14226 PyObject *resultobj = 0;
14227 wxWindow *arg1 = (wxWindow *) 0 ;
14228 int arg2 = (int) wxID_ANY ;
14229 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14230 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14231 wxSize const &arg4_defvalue = wxDefaultSize ;
14232 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14233 long arg5 = (long) 0 ;
14234 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14235 wxString *arg6 = (wxString *) &arg6_defvalue ;
14236 wxPyVListBox *result = 0 ;
14237 void *argp1 = 0 ;
14238 int res1 = 0 ;
14239 int val2 ;
14240 int ecode2 = 0 ;
14241 wxPoint temp3 ;
14242 wxSize temp4 ;
14243 long val5 ;
14244 int ecode5 = 0 ;
14245 bool temp6 = false ;
14246 PyObject * obj0 = 0 ;
14247 PyObject * obj1 = 0 ;
14248 PyObject * obj2 = 0 ;
14249 PyObject * obj3 = 0 ;
14250 PyObject * obj4 = 0 ;
14251 PyObject * obj5 = 0 ;
14252 char * kwnames[] = {
14253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14254 };
14255
14256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14258 if (!SWIG_IsOK(res1)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14260 }
14261 arg1 = reinterpret_cast< wxWindow * >(argp1);
14262 if (obj1) {
14263 ecode2 = SWIG_AsVal_int(obj1, &val2);
14264 if (!SWIG_IsOK(ecode2)) {
14265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14266 }
14267 arg2 = static_cast< int >(val2);
14268 }
14269 if (obj2) {
093d3ff1 14270 {
0085ce49
RD
14271 arg3 = &temp3;
14272 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 14273 }
0085ce49
RD
14274 }
14275 if (obj3) {
093d3ff1 14276 {
0085ce49
RD
14277 arg4 = &temp4;
14278 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 14279 }
0085ce49
RD
14280 }
14281 if (obj4) {
14282 ecode5 = SWIG_AsVal_long(obj4, &val5);
14283 if (!SWIG_IsOK(ecode5)) {
14284 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14285 }
14286 arg5 = static_cast< long >(val5);
14287 }
14288 if (obj5) {
d14a1e28 14289 {
0085ce49
RD
14290 arg6 = wxString_in_helper(obj5);
14291 if (arg6 == NULL) SWIG_fail;
14292 temp6 = true;
14293 }
14294 }
14295 {
14296 if (!wxPyCheckForApp()) SWIG_fail;
14297 PyThreadState* __tstate = wxPyBeginAllowThreads();
14298 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14299 wxPyEndAllowThreads(__tstate);
14300 if (PyErr_Occurred()) SWIG_fail;
14301 }
14302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14303 {
14304 if (temp6)
14305 delete arg6;
14306 }
14307 return resultobj;
14308fail:
14309 {
14310 if (temp6)
14311 delete arg6;
14312 }
14313 return NULL;
d14a1e28
RD
14314}
14315
14316
0085ce49
RD
14317SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14318 PyObject *resultobj = 0;
14319 wxPyVListBox *result = 0 ;
14320
14321 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14322 {
14323 if (!wxPyCheckForApp()) SWIG_fail;
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (wxPyVListBox *)new wxPyVListBox();
14326 wxPyEndAllowThreads(__tstate);
14327 if (PyErr_Occurred()) SWIG_fail;
14328 }
14329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14330 return resultobj;
14331fail:
14332 return NULL;
14333}
14334
14335
14336SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14337 PyObject *resultobj = 0;
14338 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14339 PyObject *arg2 = (PyObject *) 0 ;
14340 PyObject *arg3 = (PyObject *) 0 ;
14341 void *argp1 = 0 ;
14342 int res1 = 0 ;
14343 PyObject * obj0 = 0 ;
14344 PyObject * obj1 = 0 ;
14345 PyObject * obj2 = 0 ;
14346 char * kwnames[] = {
14347 (char *) "self",(char *) "self",(char *) "_class", NULL
14348 };
14349
14350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14352 if (!SWIG_IsOK(res1)) {
14353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14354 }
14355 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14356 arg2 = obj1;
14357 arg3 = obj2;
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 (arg1)->_setCallbackInfo(arg2,arg3);
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 resultobj = SWIG_Py_Void();
14365 return resultobj;
14366fail:
14367 return NULL;
14368}
14369
14370
14371SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14372 PyObject *resultobj = 0;
14373 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14374 wxWindow *arg2 = (wxWindow *) 0 ;
14375 int arg3 = (int) wxID_ANY ;
14376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14378 wxSize const &arg5_defvalue = wxDefaultSize ;
14379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14380 long arg6 = (long) 0 ;
14381 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14382 wxString *arg7 = (wxString *) &arg7_defvalue ;
14383 bool result;
14384 void *argp1 = 0 ;
14385 int res1 = 0 ;
14386 void *argp2 = 0 ;
14387 int res2 = 0 ;
14388 int val3 ;
14389 int ecode3 = 0 ;
14390 wxPoint temp4 ;
14391 wxSize temp5 ;
14392 long val6 ;
14393 int ecode6 = 0 ;
14394 bool temp7 = false ;
14395 PyObject * obj0 = 0 ;
14396 PyObject * obj1 = 0 ;
14397 PyObject * obj2 = 0 ;
14398 PyObject * obj3 = 0 ;
14399 PyObject * obj4 = 0 ;
14400 PyObject * obj5 = 0 ;
14401 PyObject * obj6 = 0 ;
14402 char * kwnames[] = {
14403 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14404 };
14405
14406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14408 if (!SWIG_IsOK(res1)) {
14409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14410 }
14411 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14412 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14413 if (!SWIG_IsOK(res2)) {
14414 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14415 }
14416 arg2 = reinterpret_cast< wxWindow * >(argp2);
14417 if (obj2) {
14418 ecode3 = SWIG_AsVal_int(obj2, &val3);
14419 if (!SWIG_IsOK(ecode3)) {
14420 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14421 }
14422 arg3 = static_cast< int >(val3);
14423 }
14424 if (obj3) {
093d3ff1 14425 {
0085ce49
RD
14426 arg4 = &temp4;
14427 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 14428 }
0085ce49
RD
14429 }
14430 if (obj4) {
d14a1e28 14431 {
0085ce49
RD
14432 arg5 = &temp5;
14433 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 14434 }
0085ce49
RD
14435 }
14436 if (obj5) {
14437 ecode6 = SWIG_AsVal_long(obj5, &val6);
14438 if (!SWIG_IsOK(ecode6)) {
14439 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14440 }
14441 arg6 = static_cast< long >(val6);
14442 }
14443 if (obj6) {
4f89f6a3 14444 {
0085ce49
RD
14445 arg7 = wxString_in_helper(obj6);
14446 if (arg7 == NULL) SWIG_fail;
14447 temp7 = true;
4f89f6a3 14448 }
0085ce49
RD
14449 }
14450 {
14451 PyThreadState* __tstate = wxPyBeginAllowThreads();
14452 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14453 wxPyEndAllowThreads(__tstate);
14454 if (PyErr_Occurred()) SWIG_fail;
14455 }
14456 {
14457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14458 }
14459 {
14460 if (temp7)
14461 delete arg7;
14462 }
14463 return resultobj;
14464fail:
14465 {
14466 if (temp7)
14467 delete arg7;
14468 }
14469 return NULL;
d14a1e28
RD
14470}
14471
14472
0085ce49
RD
14473SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14474 PyObject *resultobj = 0;
14475 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14476 size_t result;
14477 void *argp1 = 0 ;
14478 int res1 = 0 ;
14479 PyObject *swig_obj[1] ;
14480
14481 if (!args) SWIG_fail;
14482 swig_obj[0] = args;
14483 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14484 if (!SWIG_IsOK(res1)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14486 }
14487 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14488 {
14489 PyThreadState* __tstate = wxPyBeginAllowThreads();
14490 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14491 wxPyEndAllowThreads(__tstate);
14492 if (PyErr_Occurred()) SWIG_fail;
14493 }
14494 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14495 return resultobj;
14496fail:
14497 return NULL;
d14a1e28
RD
14498}
14499
14500
0085ce49
RD
14501SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14502 PyObject *resultobj = 0;
14503 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14504 bool result;
14505 void *argp1 = 0 ;
14506 int res1 = 0 ;
14507 PyObject *swig_obj[1] ;
14508
14509 if (!args) SWIG_fail;
14510 swig_obj[0] = args;
14511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14512 if (!SWIG_IsOK(res1)) {
14513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14514 }
14515 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14516 {
14517 PyThreadState* __tstate = wxPyBeginAllowThreads();
14518 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14519 wxPyEndAllowThreads(__tstate);
14520 if (PyErr_Occurred()) SWIG_fail;
14521 }
14522 {
14523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14524 }
14525 return resultobj;
14526fail:
14527 return NULL;
d14a1e28
RD
14528}
14529
14530
0085ce49
RD
14531SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14532 PyObject *resultobj = 0;
14533 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14534 int result;
14535 void *argp1 = 0 ;
14536 int res1 = 0 ;
14537 PyObject *swig_obj[1] ;
14538
14539 if (!args) SWIG_fail;
14540 swig_obj[0] = args;
14541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14542 if (!SWIG_IsOK(res1)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14544 }
14545 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14546 {
14547 PyThreadState* __tstate = wxPyBeginAllowThreads();
14548 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14549 wxPyEndAllowThreads(__tstate);
14550 if (PyErr_Occurred()) SWIG_fail;
14551 }
14552 resultobj = SWIG_From_int(static_cast< int >(result));
14553 return resultobj;
14554fail:
14555 return NULL;
14556}
14557
14558
14559SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14560 PyObject *resultobj = 0;
14561 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14562 size_t arg2 ;
14563 bool result;
14564 void *argp1 = 0 ;
14565 int res1 = 0 ;
14566 size_t val2 ;
14567 int ecode2 = 0 ;
14568 PyObject * obj0 = 0 ;
14569 PyObject * obj1 = 0 ;
14570 char * kwnames[] = {
14571 (char *) "self",(char *) "item", NULL
14572 };
14573
14574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14576 if (!SWIG_IsOK(res1)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14578 }
14579 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14580 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14581 if (!SWIG_IsOK(ecode2)) {
14582 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14583 }
14584 arg2 = static_cast< size_t >(val2);
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 {
14592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14593 }
14594 return resultobj;
14595fail:
14596 return NULL;
14597}
14598
14599
14600SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj = 0;
14602 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14603 size_t arg2 ;
14604 bool result;
14605 void *argp1 = 0 ;
14606 int res1 = 0 ;
14607 size_t val2 ;
14608 int ecode2 = 0 ;
14609 PyObject * obj0 = 0 ;
14610 PyObject * obj1 = 0 ;
14611 char * kwnames[] = {
14612 (char *) "self",(char *) "item", NULL
14613 };
14614
14615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14617 if (!SWIG_IsOK(res1)) {
14618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14619 }
14620 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14621 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14622 if (!SWIG_IsOK(ecode2)) {
14623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14624 }
14625 arg2 = static_cast< size_t >(val2);
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 {
14633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14634 }
14635 return resultobj;
14636fail:
14637 return NULL;
d14a1e28
RD
14638}
14639
14640
0085ce49
RD
14641SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14642 PyObject *resultobj = 0;
14643 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14644 size_t result;
14645 void *argp1 = 0 ;
14646 int res1 = 0 ;
14647 PyObject *swig_obj[1] ;
14648
14649 if (!args) SWIG_fail;
14650 swig_obj[0] = args;
14651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14652 if (!SWIG_IsOK(res1)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14654 }
14655 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14656 {
14657 PyThreadState* __tstate = wxPyBeginAllowThreads();
14658 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14659 wxPyEndAllowThreads(__tstate);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14663 return resultobj;
14664fail:
14665 return NULL;
d14a1e28
RD
14666}
14667
14668
0085ce49
RD
14669SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14670 PyObject *resultobj = 0;
14671 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14672 PyObject *result = 0 ;
14673 void *argp1 = 0 ;
14674 int res1 = 0 ;
14675 PyObject *swig_obj[1] ;
14676
14677 if (!args) SWIG_fail;
14678 swig_obj[0] = args;
14679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14680 if (!SWIG_IsOK(res1)) {
14681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14682 }
14683 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 resultobj = result;
14691 return resultobj;
14692fail:
14693 return NULL;
14694}
14695
14696
14697SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14698 PyObject *resultobj = 0;
14699 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14700 unsigned long arg2 ;
14701 PyObject *result = 0 ;
14702 void *argp1 = 0 ;
14703 int res1 = 0 ;
14704 unsigned long val2 ;
14705 int ecode2 = 0 ;
14706 PyObject * obj0 = 0 ;
14707 PyObject * obj1 = 0 ;
14708 char * kwnames[] = {
14709 (char *) "self",(char *) "cookie", NULL
14710 };
14711
14712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14714 if (!SWIG_IsOK(res1)) {
14715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14716 }
14717 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14718 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14719 if (!SWIG_IsOK(ecode2)) {
14720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14721 }
14722 arg2 = static_cast< unsigned long >(val2);
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 resultobj = result;
14730 return resultobj;
14731fail:
14732 return NULL;
d14a1e28
RD
14733}
14734
14735
0085ce49
RD
14736SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14737 PyObject *resultobj = 0;
14738 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14739 wxPoint result;
14740 void *argp1 = 0 ;
14741 int res1 = 0 ;
14742 PyObject *swig_obj[1] ;
14743
14744 if (!args) SWIG_fail;
14745 swig_obj[0] = args;
14746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14747 if (!SWIG_IsOK(res1)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14749 }
14750 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14751 {
14752 PyThreadState* __tstate = wxPyBeginAllowThreads();
14753 result = ((wxPyVListBox const *)arg1)->GetMargins();
14754 wxPyEndAllowThreads(__tstate);
14755 if (PyErr_Occurred()) SWIG_fail;
14756 }
14757 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14758 return resultobj;
14759fail:
14760 return NULL;
d14a1e28
RD
14761}
14762
14763
0085ce49
RD
14764SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14765 PyObject *resultobj = 0;
14766 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14767 wxColour *result = 0 ;
14768 void *argp1 = 0 ;
14769 int res1 = 0 ;
14770 PyObject *swig_obj[1] ;
14771
14772 if (!args) SWIG_fail;
14773 swig_obj[0] = args;
14774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14775 if (!SWIG_IsOK(res1)) {
14776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14777 }
14778 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14779 {
14780 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 14781 {
0085ce49
RD
14782 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14783 result = (wxColour *) &_result_ref;
093d3ff1 14784 }
0085ce49
RD
14785 wxPyEndAllowThreads(__tstate);
14786 if (PyErr_Occurred()) SWIG_fail;
14787 }
14788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14789 return resultobj;
14790fail:
14791 return NULL;
14792}
14793
14794
14795SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14796 PyObject *resultobj = 0;
14797 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14798 size_t arg2 ;
14799 void *argp1 = 0 ;
14800 int res1 = 0 ;
14801 size_t val2 ;
14802 int ecode2 = 0 ;
14803 PyObject * obj0 = 0 ;
14804 PyObject * obj1 = 0 ;
14805 char * kwnames[] = {
14806 (char *) "self",(char *) "count", NULL
14807 };
14808
14809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14811 if (!SWIG_IsOK(res1)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14813 }
14814 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14815 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14816 if (!SWIG_IsOK(ecode2)) {
14817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14818 }
14819 arg2 = static_cast< size_t >(val2);
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 (arg1)->SetItemCount(arg2);
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 resultobj = SWIG_Py_Void();
14827 return resultobj;
14828fail:
14829 return NULL;
d14a1e28
RD
14830}
14831
14832
0085ce49
RD
14833SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14834 PyObject *resultobj = 0;
14835 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14836 void *argp1 = 0 ;
14837 int res1 = 0 ;
14838 PyObject *swig_obj[1] ;
14839
14840 if (!args) SWIG_fail;
14841 swig_obj[0] = args;
14842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14843 if (!SWIG_IsOK(res1)) {
14844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14845 }
14846 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 (arg1)->Clear();
14850 wxPyEndAllowThreads(__tstate);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 resultobj = SWIG_Py_Void();
14854 return resultobj;
14855fail:
14856 return NULL;
14857}
14858
14859
14860SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj = 0;
14862 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14863 int arg2 ;
14864 void *argp1 = 0 ;
14865 int res1 = 0 ;
14866 int val2 ;
14867 int ecode2 = 0 ;
14868 PyObject * obj0 = 0 ;
14869 PyObject * obj1 = 0 ;
14870 char * kwnames[] = {
14871 (char *) "self",(char *) "selection", NULL
14872 };
14873
14874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",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_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14878 }
14879 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14880 ecode2 = SWIG_AsVal_int(obj1, &val2);
14881 if (!SWIG_IsOK(ecode2)) {
14882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14883 }
14884 arg2 = static_cast< int >(val2);
14885 {
14886 PyThreadState* __tstate = wxPyBeginAllowThreads();
14887 (arg1)->SetSelection(arg2);
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 resultobj = SWIG_Py_Void();
14892 return resultobj;
14893fail:
14894 return NULL;
14895}
14896
14897
14898SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj = 0;
14900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14901 size_t arg2 ;
14902 bool arg3 = (bool) true ;
14903 bool result;
14904 void *argp1 = 0 ;
14905 int res1 = 0 ;
14906 size_t val2 ;
14907 int ecode2 = 0 ;
14908 bool val3 ;
14909 int ecode3 = 0 ;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj1 = 0 ;
14912 PyObject * obj2 = 0 ;
14913 char * kwnames[] = {
14914 (char *) "self",(char *) "item",(char *) "select", NULL
14915 };
14916
14917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14919 if (!SWIG_IsOK(res1)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14921 }
14922 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14923 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14924 if (!SWIG_IsOK(ecode2)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14926 }
14927 arg2 = static_cast< size_t >(val2);
14928 if (obj2) {
14929 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14930 if (!SWIG_IsOK(ecode3)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14932 }
14933 arg3 = static_cast< bool >(val3);
14934 }
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = (bool)(arg1)->Select(arg2,arg3);
14938 wxPyEndAllowThreads(__tstate);
14939 if (PyErr_Occurred()) SWIG_fail;
14940 }
14941 {
14942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14943 }
14944 return resultobj;
14945fail:
14946 return NULL;
14947}
14948
14949
14950SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14951 PyObject *resultobj = 0;
14952 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14953 size_t arg2 ;
14954 size_t arg3 ;
14955 bool result;
14956 void *argp1 = 0 ;
14957 int res1 = 0 ;
14958 size_t val2 ;
14959 int ecode2 = 0 ;
14960 size_t val3 ;
14961 int ecode3 = 0 ;
14962 PyObject * obj0 = 0 ;
14963 PyObject * obj1 = 0 ;
14964 PyObject * obj2 = 0 ;
14965 char * kwnames[] = {
14966 (char *) "self",(char *) "_from",(char *) "to", NULL
14967 };
14968
14969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14971 if (!SWIG_IsOK(res1)) {
14972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14973 }
14974 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14975 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14976 if (!SWIG_IsOK(ecode2)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14978 }
14979 arg2 = static_cast< size_t >(val2);
14980 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14981 if (!SWIG_IsOK(ecode3)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14983 }
14984 arg3 = static_cast< size_t >(val3);
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 result = (bool)(arg1)->SelectRange(arg2,arg3);
14988 wxPyEndAllowThreads(__tstate);
14989 if (PyErr_Occurred()) SWIG_fail;
14990 }
14991 {
14992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14993 }
14994 return resultobj;
14995fail:
14996 return NULL;
14997}
14998
14999
15000SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15001 PyObject *resultobj = 0;
15002 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15003 size_t arg2 ;
15004 void *argp1 = 0 ;
15005 int res1 = 0 ;
15006 size_t val2 ;
15007 int ecode2 = 0 ;
15008 PyObject * obj0 = 0 ;
15009 PyObject * obj1 = 0 ;
15010 char * kwnames[] = {
15011 (char *) "self",(char *) "item", NULL
15012 };
15013
15014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15016 if (!SWIG_IsOK(res1)) {
15017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15018 }
15019 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15020 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15021 if (!SWIG_IsOK(ecode2)) {
15022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15023 }
15024 arg2 = static_cast< size_t >(val2);
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 (arg1)->Toggle(arg2);
15028 wxPyEndAllowThreads(__tstate);
15029 if (PyErr_Occurred()) SWIG_fail;
15030 }
15031 resultobj = SWIG_Py_Void();
15032 return resultobj;
15033fail:
15034 return NULL;
d14a1e28
RD
15035}
15036
15037
0085ce49
RD
15038SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15039 PyObject *resultobj = 0;
15040 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15041 bool result;
15042 void *argp1 = 0 ;
15043 int res1 = 0 ;
15044 PyObject *swig_obj[1] ;
15045
15046 if (!args) SWIG_fail;
15047 swig_obj[0] = args;
15048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15049 if (!SWIG_IsOK(res1)) {
15050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15051 }
15052 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 result = (bool)(arg1)->SelectAll();
15056 wxPyEndAllowThreads(__tstate);
15057 if (PyErr_Occurred()) SWIG_fail;
15058 }
15059 {
15060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15061 }
15062 return resultobj;
15063fail:
15064 return NULL;
d14a1e28
RD
15065}
15066
15067
0085ce49
RD
15068SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15069 PyObject *resultobj = 0;
15070 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15071 bool result;
15072 void *argp1 = 0 ;
15073 int res1 = 0 ;
15074 PyObject *swig_obj[1] ;
15075
15076 if (!args) SWIG_fail;
15077 swig_obj[0] = args;
15078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15079 if (!SWIG_IsOK(res1)) {
15080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15081 }
15082 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (bool)(arg1)->DeselectAll();
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 {
15090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15091 }
15092 return resultobj;
15093fail:
15094 return NULL;
15095}
15096
15097
15098SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj = 0;
15100 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15101 wxPoint *arg2 = 0 ;
15102 void *argp1 = 0 ;
15103 int res1 = 0 ;
15104 wxPoint temp2 ;
15105 PyObject * obj0 = 0 ;
15106 PyObject * obj1 = 0 ;
15107 char * kwnames[] = {
15108 (char *) "self",(char *) "pt", NULL
15109 };
15110
15111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15113 if (!SWIG_IsOK(res1)) {
15114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15115 }
15116 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15117 {
15118 arg2 = &temp2;
15119 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15120 }
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 (arg1)->SetMargins((wxPoint const &)*arg2);
15124 wxPyEndAllowThreads(__tstate);
15125 if (PyErr_Occurred()) SWIG_fail;
15126 }
15127 resultobj = SWIG_Py_Void();
15128 return resultobj;
15129fail:
15130 return NULL;
15131}
15132
15133
15134SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15135 PyObject *resultobj = 0;
15136 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15137 int arg2 ;
15138 int arg3 ;
15139 void *argp1 = 0 ;
15140 int res1 = 0 ;
15141 int val2 ;
15142 int ecode2 = 0 ;
15143 int val3 ;
15144 int ecode3 = 0 ;
15145 PyObject * obj0 = 0 ;
15146 PyObject * obj1 = 0 ;
15147 PyObject * obj2 = 0 ;
15148 char * kwnames[] = {
15149 (char *) "self",(char *) "x",(char *) "y", NULL
15150 };
15151
15152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15154 if (!SWIG_IsOK(res1)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15156 }
15157 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15158 ecode2 = SWIG_AsVal_int(obj1, &val2);
15159 if (!SWIG_IsOK(ecode2)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15161 }
15162 arg2 = static_cast< int >(val2);
15163 ecode3 = SWIG_AsVal_int(obj2, &val3);
15164 if (!SWIG_IsOK(ecode3)) {
15165 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15166 }
15167 arg3 = static_cast< int >(val3);
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 (arg1)->SetMargins(arg2,arg3);
15171 wxPyEndAllowThreads(__tstate);
15172 if (PyErr_Occurred()) SWIG_fail;
15173 }
15174 resultobj = SWIG_Py_Void();
15175 return resultobj;
15176fail:
15177 return NULL;
15178}
15179
15180
15181SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15182 PyObject *resultobj = 0;
15183 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15184 wxColour *arg2 = 0 ;
15185 void *argp1 = 0 ;
15186 int res1 = 0 ;
15187 wxColour temp2 ;
15188 PyObject * obj0 = 0 ;
15189 PyObject * obj1 = 0 ;
15190 char * kwnames[] = {
15191 (char *) "self",(char *) "col", NULL
15192 };
15193
15194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15196 if (!SWIG_IsOK(res1)) {
15197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15198 }
15199 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15200 {
15201 arg2 = &temp2;
15202 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15203 }
15204 {
15205 PyThreadState* __tstate = wxPyBeginAllowThreads();
15206 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 resultobj = SWIG_Py_Void();
15211 return resultobj;
15212fail:
15213 return NULL;
15214}
15215
15216
75219dcb
RD
15217SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15218 PyObject *resultobj = 0;
15219 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15220 wxDC *arg2 = 0 ;
15221 wxRect *arg3 = 0 ;
15222 size_t arg4 ;
15223 void *argp1 = 0 ;
15224 int res1 = 0 ;
15225 void *argp2 = 0 ;
15226 int res2 = 0 ;
15227 wxRect temp3 ;
15228 size_t val4 ;
15229 int ecode4 = 0 ;
15230 PyObject * obj0 = 0 ;
15231 PyObject * obj1 = 0 ;
15232 PyObject * obj2 = 0 ;
15233 PyObject * obj3 = 0 ;
15234 char * kwnames[] = {
15235 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15236 };
15237
15238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15240 if (!SWIG_IsOK(res1)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15242 }
15243 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15244 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15245 if (!SWIG_IsOK(res2)) {
15246 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15247 }
15248 if (!argp2) {
15249 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15250 }
15251 arg2 = reinterpret_cast< wxDC * >(argp2);
15252 {
15253 arg3 = &temp3;
15254 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15255 }
15256 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15257 if (!SWIG_IsOK(ecode4)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15259 }
15260 arg4 = static_cast< size_t >(val4);
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 resultobj = SWIG_Py_Void();
15268 return resultobj;
15269fail:
15270 return NULL;
15271}
15272
15273
15274SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj = 0;
15276 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15277 wxDC *arg2 = 0 ;
15278 wxRect *arg3 = 0 ;
15279 size_t arg4 ;
15280 void *argp1 = 0 ;
15281 int res1 = 0 ;
15282 void *argp2 = 0 ;
15283 int res2 = 0 ;
15284 wxRect temp3 ;
15285 size_t val4 ;
15286 int ecode4 = 0 ;
15287 PyObject * obj0 = 0 ;
15288 PyObject * obj1 = 0 ;
15289 PyObject * obj2 = 0 ;
15290 PyObject * obj3 = 0 ;
15291 char * kwnames[] = {
15292 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15293 };
15294
15295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15297 if (!SWIG_IsOK(res1)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15299 }
15300 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15301 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15302 if (!SWIG_IsOK(res2)) {
15303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15304 }
15305 if (!argp2) {
15306 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15307 }
15308 arg2 = reinterpret_cast< wxDC * >(argp2);
15309 {
15310 arg3 = &temp3;
15311 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15312 }
15313 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15314 if (!SWIG_IsOK(ecode4)) {
15315 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15316 }
15317 arg4 = static_cast< size_t >(val4);
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 resultobj = SWIG_Py_Void();
15325 return resultobj;
15326fail:
15327 return NULL;
15328}
15329
15330
0085ce49
RD
15331SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15332 PyObject *obj;
15333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15334 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15335 return SWIG_Py_Void();
15336}
15337
15338SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15339 return SWIG_Python_InitShadowInstance(args);
15340}
15341
15342SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj = 0;
15344 wxWindow *arg1 = (wxWindow *) 0 ;
15345 int arg2 = (int) wxID_ANY ;
15346 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15347 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15348 wxSize const &arg4_defvalue = wxDefaultSize ;
15349 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15350 long arg5 = (long) 0 ;
15351 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15352 wxString *arg6 = (wxString *) &arg6_defvalue ;
15353 wxPyHtmlListBox *result = 0 ;
15354 void *argp1 = 0 ;
15355 int res1 = 0 ;
15356 int val2 ;
15357 int ecode2 = 0 ;
15358 wxPoint temp3 ;
15359 wxSize temp4 ;
15360 long val5 ;
15361 int ecode5 = 0 ;
15362 bool temp6 = false ;
15363 PyObject * obj0 = 0 ;
15364 PyObject * obj1 = 0 ;
15365 PyObject * obj2 = 0 ;
15366 PyObject * obj3 = 0 ;
15367 PyObject * obj4 = 0 ;
15368 PyObject * obj5 = 0 ;
15369 char * kwnames[] = {
15370 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15371 };
15372
15373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15375 if (!SWIG_IsOK(res1)) {
15376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15377 }
15378 arg1 = reinterpret_cast< wxWindow * >(argp1);
15379 if (obj1) {
15380 ecode2 = SWIG_AsVal_int(obj1, &val2);
15381 if (!SWIG_IsOK(ecode2)) {
15382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15383 }
15384 arg2 = static_cast< int >(val2);
15385 }
15386 if (obj2) {
093d3ff1 15387 {
0085ce49
RD
15388 arg3 = &temp3;
15389 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 15390 }
0085ce49
RD
15391 }
15392 if (obj3) {
d14a1e28 15393 {
0085ce49
RD
15394 arg4 = &temp4;
15395 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15396 }
0085ce49
RD
15397 }
15398 if (obj4) {
15399 ecode5 = SWIG_AsVal_long(obj4, &val5);
15400 if (!SWIG_IsOK(ecode5)) {
15401 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15402 }
15403 arg5 = static_cast< long >(val5);
15404 }
15405 if (obj5) {
d14a1e28 15406 {
0085ce49
RD
15407 arg6 = wxString_in_helper(obj5);
15408 if (arg6 == NULL) SWIG_fail;
15409 temp6 = true;
15410 }
15411 }
15412 {
15413 if (!wxPyCheckForApp()) SWIG_fail;
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15420 {
15421 if (temp6)
15422 delete arg6;
15423 }
15424 return resultobj;
15425fail:
15426 {
15427 if (temp6)
15428 delete arg6;
15429 }
15430 return NULL;
d14a1e28
RD
15431}
15432
15433
0085ce49
RD
15434SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15435 PyObject *resultobj = 0;
15436 wxPyHtmlListBox *result = 0 ;
15437
15438 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15439 {
15440 if (!wxPyCheckForApp()) SWIG_fail;
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15447 return resultobj;
15448fail:
15449 return NULL;
15450}
15451
15452
15453SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15454 PyObject *resultobj = 0;
15455 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15456 PyObject *arg2 = (PyObject *) 0 ;
15457 PyObject *arg3 = (PyObject *) 0 ;
15458 void *argp1 = 0 ;
15459 int res1 = 0 ;
15460 PyObject * obj0 = 0 ;
15461 PyObject * obj1 = 0 ;
15462 PyObject * obj2 = 0 ;
15463 char * kwnames[] = {
15464 (char *) "self",(char *) "self",(char *) "_class", NULL
15465 };
15466
15467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15469 if (!SWIG_IsOK(res1)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15471 }
15472 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15473 arg2 = obj1;
15474 arg3 = obj2;
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 (arg1)->_setCallbackInfo(arg2,arg3);
15478 wxPyEndAllowThreads(__tstate);
15479 if (PyErr_Occurred()) SWIG_fail;
15480 }
15481 resultobj = SWIG_Py_Void();
15482 return resultobj;
15483fail:
15484 return NULL;
15485}
15486
15487
15488SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15489 PyObject *resultobj = 0;
15490 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15491 wxWindow *arg2 = (wxWindow *) 0 ;
15492 int arg3 = (int) wxID_ANY ;
15493 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15494 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15495 wxSize const &arg5_defvalue = wxDefaultSize ;
15496 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15497 long arg6 = (long) 0 ;
15498 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15499 wxString *arg7 = (wxString *) &arg7_defvalue ;
15500 bool result;
15501 void *argp1 = 0 ;
15502 int res1 = 0 ;
15503 void *argp2 = 0 ;
15504 int res2 = 0 ;
15505 int val3 ;
15506 int ecode3 = 0 ;
15507 wxPoint temp4 ;
15508 wxSize temp5 ;
15509 long val6 ;
15510 int ecode6 = 0 ;
15511 bool temp7 = false ;
15512 PyObject * obj0 = 0 ;
15513 PyObject * obj1 = 0 ;
15514 PyObject * obj2 = 0 ;
15515 PyObject * obj3 = 0 ;
15516 PyObject * obj4 = 0 ;
15517 PyObject * obj5 = 0 ;
15518 PyObject * obj6 = 0 ;
15519 char * kwnames[] = {
15520 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15521 };
15522
15523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15525 if (!SWIG_IsOK(res1)) {
15526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15527 }
15528 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15529 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15530 if (!SWIG_IsOK(res2)) {
15531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15532 }
15533 arg2 = reinterpret_cast< wxWindow * >(argp2);
15534 if (obj2) {
15535 ecode3 = SWIG_AsVal_int(obj2, &val3);
15536 if (!SWIG_IsOK(ecode3)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15538 }
15539 arg3 = static_cast< int >(val3);
15540 }
15541 if (obj3) {
093d3ff1 15542 {
0085ce49
RD
15543 arg4 = &temp4;
15544 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 15545 }
0085ce49
RD
15546 }
15547 if (obj4) {
d14a1e28 15548 {
0085ce49
RD
15549 arg5 = &temp5;
15550 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 15551 }
0085ce49
RD
15552 }
15553 if (obj5) {
15554 ecode6 = SWIG_AsVal_long(obj5, &val6);
15555 if (!SWIG_IsOK(ecode6)) {
15556 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15557 }
15558 arg6 = static_cast< long >(val6);
15559 }
15560 if (obj6) {
093d3ff1 15561 {
0085ce49
RD
15562 arg7 = wxString_in_helper(obj6);
15563 if (arg7 == NULL) SWIG_fail;
15564 temp7 = true;
093d3ff1 15565 }
0085ce49
RD
15566 }
15567 {
15568 PyThreadState* __tstate = wxPyBeginAllowThreads();
15569 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15570 wxPyEndAllowThreads(__tstate);
15571 if (PyErr_Occurred()) SWIG_fail;
15572 }
15573 {
15574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15575 }
15576 {
15577 if (temp7)
15578 delete arg7;
15579 }
15580 return resultobj;
15581fail:
15582 {
15583 if (temp7)
15584 delete arg7;
15585 }
15586 return NULL;
15587}
15588
15589
15590SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15591 PyObject *resultobj = 0;
15592 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15593 size_t arg2 ;
15594 void *argp1 = 0 ;
15595 int res1 = 0 ;
15596 size_t val2 ;
15597 int ecode2 = 0 ;
15598 PyObject * obj0 = 0 ;
15599 PyObject * obj1 = 0 ;
15600 char * kwnames[] = {
15601 (char *) "self",(char *) "count", NULL
15602 };
15603
15604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15606 if (!SWIG_IsOK(res1)) {
15607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15608 }
15609 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15610 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15611 if (!SWIG_IsOK(ecode2)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15613 }
15614 arg2 = static_cast< size_t >(val2);
15615 {
15616 PyThreadState* __tstate = wxPyBeginAllowThreads();
15617 (arg1)->SetItemCount(arg2);
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 resultobj = SWIG_Py_Void();
15622 return resultobj;
15623fail:
15624 return NULL;
d14a1e28
RD
15625}
15626
15627
0085ce49
RD
15628SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15629 PyObject *resultobj = 0;
15630 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15631 wxFileSystem *result = 0 ;
15632 void *argp1 = 0 ;
15633 int res1 = 0 ;
15634 PyObject *swig_obj[1] ;
15635
15636 if (!args) SWIG_fail;
15637 swig_obj[0] = args;
15638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15639 if (!SWIG_IsOK(res1)) {
15640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15641 }
15642 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 15645 {
0085ce49
RD
15646 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15647 result = (wxFileSystem *) &_result_ref;
994141e6 15648 }
0085ce49
RD
15649 wxPyEndAllowThreads(__tstate);
15650 if (PyErr_Occurred()) SWIG_fail;
15651 }
15652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15653 return resultobj;
15654fail:
15655 return NULL;
d14a1e28
RD
15656}
15657
15658
e9d6f3a4
RD
15659SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15660 PyObject *resultobj = 0;
15661 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15662 size_t arg2 ;
15663 wxHtmlLinkInfo *arg3 = 0 ;
15664 void *argp1 = 0 ;
15665 int res1 = 0 ;
15666 size_t val2 ;
15667 int ecode2 = 0 ;
15668 void *argp3 = 0 ;
15669 int res3 = 0 ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 PyObject * obj2 = 0 ;
15673 char * kwnames[] = {
15674 (char *) "self",(char *) "n",(char *) "link", NULL
15675 };
15676
15677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15679 if (!SWIG_IsOK(res1)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15681 }
15682 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15683 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15684 if (!SWIG_IsOK(ecode2)) {
15685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15686 }
15687 arg2 = static_cast< size_t >(val2);
15688 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15689 if (!SWIG_IsOK(res3)) {
15690 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15691 }
15692 if (!argp3) {
15693 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15694 }
15695 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 resultobj = SWIG_Py_Void();
15703 return resultobj;
15704fail:
15705 return NULL;
15706}
15707
15708
0085ce49
RD
15709SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15710 PyObject *obj;
15711 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15712 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15713 return SWIG_Py_Void();
d14a1e28
RD
15714}
15715
0085ce49
RD
15716SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15717 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
15718}
15719
0085ce49
RD
15720SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15721 PyObject *resultobj = 0;
15722 wxPyTaskBarIcon *result = 0 ;
15723
15724 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15725 {
15726 if (!wxPyCheckForApp()) SWIG_fail;
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15729 wxPyEndAllowThreads(__tstate);
15730 if (PyErr_Occurred()) SWIG_fail;
15731 }
15732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15733 return resultobj;
15734fail:
15735 return NULL;
d14a1e28
RD
15736}
15737
15738
0085ce49
RD
15739SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15740 PyObject *resultobj = 0;
15741 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15742 void *argp1 = 0 ;
15743 int res1 = 0 ;
15744 PyObject *swig_obj[1] ;
15745
15746 if (!args) SWIG_fail;
15747 swig_obj[0] = args;
15748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15749 if (!SWIG_IsOK(res1)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15751 }
15752 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 delete arg1;
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 resultobj = SWIG_Py_Void();
15761 return resultobj;
15762fail:
15763 return NULL;
15764}
15765
15766
15767SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj = 0;
15769 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15770 PyObject *arg2 = (PyObject *) 0 ;
15771 PyObject *arg3 = (PyObject *) 0 ;
15772 int arg4 ;
15773 void *argp1 = 0 ;
15774 int res1 = 0 ;
15775 int val4 ;
15776 int ecode4 = 0 ;
15777 PyObject * obj0 = 0 ;
15778 PyObject * obj1 = 0 ;
15779 PyObject * obj2 = 0 ;
15780 PyObject * obj3 = 0 ;
15781 char * kwnames[] = {
15782 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15783 };
15784
15785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15787 if (!SWIG_IsOK(res1)) {
15788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15789 }
15790 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15791 arg2 = obj1;
15792 arg3 = obj2;
15793 ecode4 = SWIG_AsVal_int(obj3, &val4);
15794 if (!SWIG_IsOK(ecode4)) {
15795 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15796 }
15797 arg4 = static_cast< int >(val4);
15798 {
15799 PyThreadState* __tstate = wxPyBeginAllowThreads();
15800 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 resultobj = SWIG_Py_Void();
15805 return resultobj;
15806fail:
15807 return NULL;
d14a1e28
RD
15808}
15809
15810
0085ce49
RD
15811SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15812 PyObject *resultobj = 0;
15813 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15814 void *argp1 = 0 ;
15815 int res1 = 0 ;
15816 PyObject *swig_obj[1] ;
15817
15818 if (!args) SWIG_fail;
15819 swig_obj[0] = args;
15820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15821 if (!SWIG_IsOK(res1)) {
15822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15823 }
15824 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15825 {
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 wxPyTaskBarIcon_Destroy(arg1);
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 resultobj = SWIG_Py_Void();
15832 return resultobj;
15833fail:
15834 return NULL;
d14a1e28
RD
15835}
15836
15837
0085ce49
RD
15838SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15839 PyObject *resultobj = 0;
15840 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15841 bool result;
15842 void *argp1 = 0 ;
15843 int res1 = 0 ;
15844 PyObject *swig_obj[1] ;
15845
15846 if (!args) SWIG_fail;
15847 swig_obj[0] = args;
15848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15849 if (!SWIG_IsOK(res1)) {
15850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15851 }
15852 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 {
15860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15861 }
15862 return resultobj;
15863fail:
15864 return NULL;
d14a1e28
RD
15865}
15866
15867
0085ce49
RD
15868SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15869 PyObject *resultobj = 0;
15870 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15871 bool result;
15872 void *argp1 = 0 ;
15873 int res1 = 0 ;
15874 PyObject *swig_obj[1] ;
15875
15876 if (!args) SWIG_fail;
15877 swig_obj[0] = args;
15878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15879 if (!SWIG_IsOK(res1)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15881 }
15882 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15883 {
15884 PyThreadState* __tstate = wxPyBeginAllowThreads();
15885 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15886 wxPyEndAllowThreads(__tstate);
15887 if (PyErr_Occurred()) SWIG_fail;
15888 }
15889 {
15890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15891 }
15892 return resultobj;
15893fail:
15894 return NULL;
15895}
15896
15897
15898SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15899 PyObject *resultobj = 0;
15900 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15901 wxIcon *arg2 = 0 ;
15902 wxString const &arg3_defvalue = wxPyEmptyString ;
15903 wxString *arg3 = (wxString *) &arg3_defvalue ;
15904 bool result;
15905 void *argp1 = 0 ;
15906 int res1 = 0 ;
15907 void *argp2 = 0 ;
15908 int res2 = 0 ;
15909 bool temp3 = false ;
15910 PyObject * obj0 = 0 ;
15911 PyObject * obj1 = 0 ;
15912 PyObject * obj2 = 0 ;
15913 char * kwnames[] = {
15914 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15915 };
15916
15917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15919 if (!SWIG_IsOK(res1)) {
15920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15921 }
15922 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15923 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15924 if (!SWIG_IsOK(res2)) {
15925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15926 }
15927 if (!argp2) {
15928 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15929 }
15930 arg2 = reinterpret_cast< wxIcon * >(argp2);
15931 if (obj2) {
093d3ff1 15932 {
0085ce49
RD
15933 arg3 = wxString_in_helper(obj2);
15934 if (arg3 == NULL) SWIG_fail;
15935 temp3 = true;
093d3ff1 15936 }
0085ce49
RD
15937 }
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15941 wxPyEndAllowThreads(__tstate);
15942 if (PyErr_Occurred()) SWIG_fail;
15943 }
15944 {
15945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15946 }
15947 {
15948 if (temp3)
15949 delete arg3;
15950 }
15951 return resultobj;
15952fail:
15953 {
15954 if (temp3)
15955 delete arg3;
15956 }
15957 return NULL;
d14a1e28
RD
15958}
15959
15960
0085ce49
RD
15961SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15962 PyObject *resultobj = 0;
15963 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15964 bool result;
15965 void *argp1 = 0 ;
15966 int res1 = 0 ;
15967 PyObject *swig_obj[1] ;
15968
15969 if (!args) SWIG_fail;
15970 swig_obj[0] = args;
15971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15972 if (!SWIG_IsOK(res1)) {
15973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15974 }
15975 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15976 {
15977 PyThreadState* __tstate = wxPyBeginAllowThreads();
15978 result = (bool)(arg1)->RemoveIcon();
15979 wxPyEndAllowThreads(__tstate);
15980 if (PyErr_Occurred()) SWIG_fail;
15981 }
15982 {
15983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15984 }
15985 return resultobj;
15986fail:
15987 return NULL;
15988}
15989
15990
15991SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15992 PyObject *resultobj = 0;
15993 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15994 wxMenu *arg2 = (wxMenu *) 0 ;
15995 bool result;
15996 void *argp1 = 0 ;
15997 int res1 = 0 ;
15998 void *argp2 = 0 ;
15999 int res2 = 0 ;
16000 PyObject * obj0 = 0 ;
16001 PyObject * obj1 = 0 ;
16002 char * kwnames[] = {
16003 (char *) "self",(char *) "menu", NULL
16004 };
16005
16006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16008 if (!SWIG_IsOK(res1)) {
16009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16010 }
16011 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16012 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16013 if (!SWIG_IsOK(res2)) {
16014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16015 }
16016 arg2 = reinterpret_cast< wxMenu * >(argp2);
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 result = (bool)(arg1)->PopupMenu(arg2);
16020 wxPyEndAllowThreads(__tstate);
16021 if (PyErr_Occurred()) SWIG_fail;
16022 }
16023 {
16024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16025 }
16026 return resultobj;
16027fail:
16028 return NULL;
d14a1e28
RD
16029}
16030
16031
0085ce49
RD
16032SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16033 PyObject *obj;
16034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16036 return SWIG_Py_Void();
d14a1e28
RD
16037}
16038
0085ce49
RD
16039SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16040 return SWIG_Python_InitShadowInstance(args);
16041}
d14a1e28 16042
0085ce49
RD
16043SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16044 PyObject *resultobj = 0;
16045 wxEventType arg1 ;
16046 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16047 wxTaskBarIconEvent *result = 0 ;
16048 int val1 ;
16049 int ecode1 = 0 ;
16050 void *argp2 = 0 ;
16051 int res2 = 0 ;
16052 PyObject * obj0 = 0 ;
16053 PyObject * obj1 = 0 ;
16054 char * kwnames[] = {
16055 (char *) "evtType",(char *) "tbIcon", NULL
16056 };
16057
16058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16059 ecode1 = SWIG_AsVal_int(obj0, &val1);
16060 if (!SWIG_IsOK(ecode1)) {
16061 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16062 }
16063 arg1 = static_cast< wxEventType >(val1);
16064 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16065 if (!SWIG_IsOK(res2)) {
16066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16067 }
16068 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16069 {
16070 PyThreadState* __tstate = wxPyBeginAllowThreads();
16071 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16072 wxPyEndAllowThreads(__tstate);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
16075 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16076 return resultobj;
16077fail:
16078 return NULL;
d14a1e28
RD
16079}
16080
16081
0085ce49
RD
16082SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16083 PyObject *obj;
16084 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16085 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16086 return SWIG_Py_Void();
d14a1e28
RD
16087}
16088
0085ce49
RD
16089SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16090 return SWIG_Python_InitShadowInstance(args);
16091}
d14a1e28 16092
0085ce49
RD
16093SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16094 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16095 return 1;
d14a1e28
RD
16096}
16097
16098
0085ce49
RD
16099SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16100 PyObject *pyobj = 0;
16101
16102 {
16103#if wxUSE_UNICODE
16104 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16105#else
16106 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16107#endif
16108 }
16109 return pyobj;
d14a1e28
RD
16110}
16111
16112
0085ce49
RD
16113SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16114 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16115 return 1;
d14a1e28
RD
16116}
16117
16118
0085ce49
RD
16119SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16120 PyObject *pyobj = 0;
16121
16122 {
16123#if wxUSE_UNICODE
16124 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16125#else
16126 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16127#endif
16128 }
16129 return pyobj;
d14a1e28
RD
16130}
16131
16132
0085ce49
RD
16133SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16134 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16135 return 1;
d14a1e28
RD
16136}
16137
16138
0085ce49
RD
16139SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16140 PyObject *pyobj = 0;
16141
16142 {
16143#if wxUSE_UNICODE
16144 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16145#else
16146 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16147#endif
16148 }
16149 return pyobj;
d14a1e28
RD
16150}
16151
16152
0085ce49
RD
16153SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16154 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16155 return 1;
d14a1e28
RD
16156}
16157
16158
0085ce49
RD
16159SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16160 PyObject *pyobj = 0;
16161
16162 {
16163#if wxUSE_UNICODE
16164 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16165#else
16166 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16167#endif
16168 }
16169 return pyobj;
d14a1e28
RD
16170}
16171
16172
0085ce49
RD
16173SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16174 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16175 return 1;
d14a1e28
RD
16176}
16177
16178
0085ce49
RD
16179SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16180 PyObject *pyobj = 0;
16181
16182 {
16183#if wxUSE_UNICODE
16184 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16185#else
16186 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16187#endif
16188 }
16189 return pyobj;
d14a1e28
RD
16190}
16191
16192
0085ce49
RD
16193SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16194 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16195 return 1;
d14a1e28
RD
16196}
16197
16198
0085ce49
RD
16199SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16200 PyObject *pyobj = 0;
16201
16202 {
16203#if wxUSE_UNICODE
16204 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16205#else
16206 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16207#endif
16208 }
16209 return pyobj;
d14a1e28
RD
16210}
16211
16212
0085ce49
RD
16213SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16214 PyObject *resultobj = 0;
16215 wxColourData *result = 0 ;
16216
16217 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16218 {
16219 PyThreadState* __tstate = wxPyBeginAllowThreads();
16220 result = (wxColourData *)new wxColourData();
16221 wxPyEndAllowThreads(__tstate);
16222 if (PyErr_Occurred()) SWIG_fail;
16223 }
16224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16225 return resultobj;
16226fail:
16227 return NULL;
d14a1e28
RD
16228}
16229
16230
0085ce49
RD
16231SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16232 PyObject *resultobj = 0;
16233 wxColourData *arg1 = (wxColourData *) 0 ;
16234 void *argp1 = 0 ;
16235 int res1 = 0 ;
16236 PyObject *swig_obj[1] ;
16237
16238 if (!args) SWIG_fail;
16239 swig_obj[0] = args;
16240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16241 if (!SWIG_IsOK(res1)) {
16242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16243 }
16244 arg1 = reinterpret_cast< wxColourData * >(argp1);
16245 {
16246 PyThreadState* __tstate = wxPyBeginAllowThreads();
16247 delete arg1;
d14a1e28 16248
0085ce49
RD
16249 wxPyEndAllowThreads(__tstate);
16250 if (PyErr_Occurred()) SWIG_fail;
16251 }
16252 resultobj = SWIG_Py_Void();
16253 return resultobj;
16254fail:
16255 return NULL;
d14a1e28
RD
16256}
16257
16258
0085ce49
RD
16259SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16260 PyObject *resultobj = 0;
16261 wxColourData *arg1 = (wxColourData *) 0 ;
16262 bool result;
16263 void *argp1 = 0 ;
16264 int res1 = 0 ;
16265 PyObject *swig_obj[1] ;
16266
16267 if (!args) SWIG_fail;
16268 swig_obj[0] = args;
16269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16270 if (!SWIG_IsOK(res1)) {
16271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16272 }
16273 arg1 = reinterpret_cast< wxColourData * >(argp1);
16274 {
16275 PyThreadState* __tstate = wxPyBeginAllowThreads();
16276 result = (bool)(arg1)->GetChooseFull();
16277 wxPyEndAllowThreads(__tstate);
16278 if (PyErr_Occurred()) SWIG_fail;
16279 }
16280 {
16281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16282 }
16283 return resultobj;
16284fail:
16285 return NULL;
d14a1e28
RD
16286}
16287
16288
0085ce49
RD
16289SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16290 PyObject *resultobj = 0;
16291 wxColourData *arg1 = (wxColourData *) 0 ;
16292 wxColour result;
16293 void *argp1 = 0 ;
16294 int res1 = 0 ;
16295 PyObject *swig_obj[1] ;
16296
16297 if (!args) SWIG_fail;
16298 swig_obj[0] = args;
16299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16300 if (!SWIG_IsOK(res1)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16302 }
16303 arg1 = reinterpret_cast< wxColourData * >(argp1);
16304 {
16305 PyThreadState* __tstate = wxPyBeginAllowThreads();
16306 result = (arg1)->GetColour();
16307 wxPyEndAllowThreads(__tstate);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16311 return resultobj;
16312fail:
16313 return NULL;
16314}
16315
16316
16317SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj = 0;
16319 wxColourData *arg1 = (wxColourData *) 0 ;
16320 int arg2 ;
16321 wxColour result;
16322 void *argp1 = 0 ;
16323 int res1 = 0 ;
16324 int val2 ;
16325 int ecode2 = 0 ;
16326 PyObject * obj0 = 0 ;
16327 PyObject * obj1 = 0 ;
16328 char * kwnames[] = {
16329 (char *) "self",(char *) "i", NULL
16330 };
16331
16332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16334 if (!SWIG_IsOK(res1)) {
16335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16336 }
16337 arg1 = reinterpret_cast< wxColourData * >(argp1);
16338 ecode2 = SWIG_AsVal_int(obj1, &val2);
16339 if (!SWIG_IsOK(ecode2)) {
16340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16341 }
16342 arg2 = static_cast< int >(val2);
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 result = (arg1)->GetCustomColour(arg2);
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16350 return resultobj;
16351fail:
16352 return NULL;
16353}
16354
16355
16356SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj = 0;
16358 wxColourData *arg1 = (wxColourData *) 0 ;
16359 int arg2 ;
16360 void *argp1 = 0 ;
16361 int res1 = 0 ;
16362 int val2 ;
16363 int ecode2 = 0 ;
16364 PyObject * obj0 = 0 ;
16365 PyObject * obj1 = 0 ;
16366 char * kwnames[] = {
16367 (char *) "self",(char *) "flag", NULL
16368 };
16369
16370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16372 if (!SWIG_IsOK(res1)) {
16373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16374 }
16375 arg1 = reinterpret_cast< wxColourData * >(argp1);
16376 ecode2 = SWIG_AsVal_int(obj1, &val2);
16377 if (!SWIG_IsOK(ecode2)) {
16378 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16379 }
16380 arg2 = static_cast< int >(val2);
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 (arg1)->SetChooseFull(arg2);
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 resultobj = SWIG_Py_Void();
16388 return resultobj;
16389fail:
16390 return NULL;
16391}
16392
16393
16394SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj = 0;
16396 wxColourData *arg1 = (wxColourData *) 0 ;
16397 wxColour *arg2 = 0 ;
16398 void *argp1 = 0 ;
16399 int res1 = 0 ;
16400 wxColour temp2 ;
16401 PyObject * obj0 = 0 ;
16402 PyObject * obj1 = 0 ;
16403 char * kwnames[] = {
16404 (char *) "self",(char *) "colour", NULL
16405 };
16406
16407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16409 if (!SWIG_IsOK(res1)) {
16410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16411 }
16412 arg1 = reinterpret_cast< wxColourData * >(argp1);
16413 {
16414 arg2 = &temp2;
16415 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16416 }
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 (arg1)->SetColour((wxColour const &)*arg2);
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 resultobj = SWIG_Py_Void();
16424 return resultobj;
16425fail:
16426 return NULL;
16427}
16428
16429
16430SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16431 PyObject *resultobj = 0;
16432 wxColourData *arg1 = (wxColourData *) 0 ;
16433 int arg2 ;
16434 wxColour *arg3 = 0 ;
16435 void *argp1 = 0 ;
16436 int res1 = 0 ;
16437 int val2 ;
16438 int ecode2 = 0 ;
16439 wxColour temp3 ;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 PyObject * obj2 = 0 ;
16443 char * kwnames[] = {
16444 (char *) "self",(char *) "i",(char *) "colour", NULL
16445 };
16446
16447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16449 if (!SWIG_IsOK(res1)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16451 }
16452 arg1 = reinterpret_cast< wxColourData * >(argp1);
16453 ecode2 = SWIG_AsVal_int(obj1, &val2);
16454 if (!SWIG_IsOK(ecode2)) {
16455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16456 }
16457 arg2 = static_cast< int >(val2);
16458 {
16459 arg3 = &temp3;
16460 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16461 }
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16465 wxPyEndAllowThreads(__tstate);
16466 if (PyErr_Occurred()) SWIG_fail;
16467 }
16468 resultobj = SWIG_Py_Void();
16469 return resultobj;
16470fail:
16471 return NULL;
d14a1e28
RD
16472}
16473
16474
0085ce49
RD
16475SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16476 PyObject *obj;
16477 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16478 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16479 return SWIG_Py_Void();
d14a1e28
RD
16480}
16481
0085ce49
RD
16482SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16483 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
16484}
16485
0085ce49
RD
16486SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16487 PyObject *resultobj = 0;
16488 wxWindow *arg1 = (wxWindow *) 0 ;
16489 wxColourData *arg2 = (wxColourData *) NULL ;
16490 wxColourDialog *result = 0 ;
16491 void *argp1 = 0 ;
16492 int res1 = 0 ;
16493 void *argp2 = 0 ;
16494 int res2 = 0 ;
16495 PyObject * obj0 = 0 ;
16496 PyObject * obj1 = 0 ;
16497 char * kwnames[] = {
16498 (char *) "parent",(char *) "data", NULL
16499 };
16500
16501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16503 if (!SWIG_IsOK(res1)) {
16504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16505 }
16506 arg1 = reinterpret_cast< wxWindow * >(argp1);
16507 if (obj1) {
16508 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16509 if (!SWIG_IsOK(res2)) {
16510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
093d3ff1 16511 }
0085ce49
RD
16512 arg2 = reinterpret_cast< wxColourData * >(argp2);
16513 }
16514 {
16515 if (!wxPyCheckForApp()) SWIG_fail;
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16522 return resultobj;
16523fail:
16524 return NULL;
d14a1e28
RD
16525}
16526
16527
0085ce49
RD
16528SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16529 PyObject *resultobj = 0;
16530 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16531 wxColourData *result = 0 ;
16532 void *argp1 = 0 ;
16533 int res1 = 0 ;
16534 PyObject *swig_obj[1] ;
16535
16536 if (!args) SWIG_fail;
16537 swig_obj[0] = args;
16538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16539 if (!SWIG_IsOK(res1)) {
16540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16541 }
16542 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16543 {
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 16545 {
0085ce49
RD
16546 wxColourData &_result_ref = (arg1)->GetColourData();
16547 result = (wxColourData *) &_result_ref;
d14a1e28 16548 }
0085ce49
RD
16549 wxPyEndAllowThreads(__tstate);
16550 if (PyErr_Occurred()) SWIG_fail;
16551 }
16552 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16553 return resultobj;
16554fail:
16555 return NULL;
16556}
16557
16558
16559SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16560 PyObject *obj;
16561 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16562 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16563 return SWIG_Py_Void();
16564}
16565
16566SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16567 return SWIG_Python_InitShadowInstance(args);
16568}
16569
16570SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16571 PyObject *resultobj = 0;
16572 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16573 wxColour const &arg2_defvalue = wxNullColour ;
16574 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16575 wxString const &arg3_defvalue = wxPyEmptyString ;
16576 wxString *arg3 = (wxString *) &arg3_defvalue ;
16577 wxColour result;
16578 void *argp1 = 0 ;
16579 int res1 = 0 ;
16580 wxColour temp2 ;
16581 bool temp3 = false ;
16582 PyObject * obj0 = 0 ;
16583 PyObject * obj1 = 0 ;
16584 PyObject * obj2 = 0 ;
16585 char * kwnames[] = {
16586 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16587 };
16588
16589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16590 if (obj0) {
16591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16592 if (!SWIG_IsOK(res1)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
093d3ff1 16594 }
0085ce49
RD
16595 arg1 = reinterpret_cast< wxWindow * >(argp1);
16596 }
16597 if (obj1) {
d14a1e28 16598 {
0085ce49
RD
16599 arg2 = &temp2;
16600 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16601 }
16602 }
16603 if (obj2) {
d14a1e28 16604 {
0085ce49
RD
16605 arg3 = wxString_in_helper(obj2);
16606 if (arg3 == NULL) SWIG_fail;
16607 temp3 = true;
d14a1e28 16608 }
0085ce49
RD
16609 }
16610 {
16611 PyThreadState* __tstate = wxPyBeginAllowThreads();
16612 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16613 wxPyEndAllowThreads(__tstate);
16614 if (PyErr_Occurred()) SWIG_fail;
16615 }
16616 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16617 {
16618 if (temp3)
16619 delete arg3;
16620 }
16621 return resultobj;
16622fail:
16623 {
16624 if (temp3)
16625 delete arg3;
16626 }
16627 return NULL;
16628}
16629
16630
16631SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16632 PyObject *resultobj = 0;
16633 wxWindow *arg1 = (wxWindow *) 0 ;
16634 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16635 wxString *arg2 = (wxString *) &arg2_defvalue ;
16636 wxString const &arg3_defvalue = wxPyEmptyString ;
16637 wxString *arg3 = (wxString *) &arg3_defvalue ;
16638 long arg4 = (long) 0 ;
16639 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16640 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16641 wxSize const &arg6_defvalue = wxDefaultSize ;
16642 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16643 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16644 wxString *arg7 = (wxString *) &arg7_defvalue ;
16645 wxDirDialog *result = 0 ;
16646 void *argp1 = 0 ;
16647 int res1 = 0 ;
16648 bool temp2 = false ;
16649 bool temp3 = false ;
16650 long val4 ;
16651 int ecode4 = 0 ;
16652 wxPoint temp5 ;
16653 wxSize temp6 ;
16654 bool temp7 = false ;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 PyObject * obj2 = 0 ;
16658 PyObject * obj3 = 0 ;
16659 PyObject * obj4 = 0 ;
16660 PyObject * obj5 = 0 ;
16661 PyObject * obj6 = 0 ;
16662 char * kwnames[] = {
16663 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16664 };
16665
16666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16668 if (!SWIG_IsOK(res1)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16670 }
16671 arg1 = reinterpret_cast< wxWindow * >(argp1);
16672 if (obj1) {
d14a1e28 16673 {
0085ce49
RD
16674 arg2 = wxString_in_helper(obj1);
16675 if (arg2 == NULL) SWIG_fail;
16676 temp2 = true;
d14a1e28 16677 }
0085ce49
RD
16678 }
16679 if (obj2) {
4f89f6a3 16680 {
0085ce49
RD
16681 arg3 = wxString_in_helper(obj2);
16682 if (arg3 == NULL) SWIG_fail;
16683 temp3 = true;
4f89f6a3 16684 }
0085ce49
RD
16685 }
16686 if (obj3) {
16687 ecode4 = SWIG_AsVal_long(obj3, &val4);
16688 if (!SWIG_IsOK(ecode4)) {
16689 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16690 }
16691 arg4 = static_cast< long >(val4);
16692 }
16693 if (obj4) {
16694 {
16695 arg5 = &temp5;
16696 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 16697 }
0085ce49
RD
16698 }
16699 if (obj5) {
d14a1e28 16700 {
0085ce49
RD
16701 arg6 = &temp6;
16702 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 16703 }
0085ce49
RD
16704 }
16705 if (obj6) {
4f89f6a3 16706 {
0085ce49
RD
16707 arg7 = wxString_in_helper(obj6);
16708 if (arg7 == NULL) SWIG_fail;
16709 temp7 = true;
4f89f6a3 16710 }
0085ce49
RD
16711 }
16712 {
16713 if (!wxPyCheckForApp()) SWIG_fail;
16714 PyThreadState* __tstate = wxPyBeginAllowThreads();
16715 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16720 {
16721 if (temp2)
16722 delete arg2;
16723 }
16724 {
16725 if (temp3)
16726 delete arg3;
16727 }
16728 {
16729 if (temp7)
16730 delete arg7;
16731 }
16732 return resultobj;
16733fail:
16734 {
16735 if (temp2)
16736 delete arg2;
16737 }
16738 {
16739 if (temp3)
16740 delete arg3;
16741 }
16742 {
16743 if (temp7)
16744 delete arg7;
16745 }
16746 return NULL;
d14a1e28
RD
16747}
16748
16749
01f6b6d3
RD
16750SWIGINTERN PyObject *_wrap_new_PreDirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16751 PyObject *resultobj = 0;
16752 wxDirDialog *result = 0 ;
16753
16754 if (!SWIG_Python_UnpackTuple(args,"new_PreDirDialog",0,0,0)) SWIG_fail;
16755 {
16756 if (!wxPyCheckForApp()) SWIG_fail;
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 result = (wxDirDialog *)new wxDirDialog();
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_OWN | 0 );
16763 return resultobj;
16764fail:
16765 return NULL;
16766}
16767
16768
16769SWIGINTERN PyObject *_wrap_DirDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
16770 PyObject *resultobj = 0;
16771 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
01f6b6d3
RD
16772 wxWindow *arg2 = (wxWindow *) 0 ;
16773 wxString const &arg3_defvalue = wxDirSelectorPromptStr ;
16774 wxString *arg3 = (wxString *) &arg3_defvalue ;
16775 wxString const &arg4_defvalue = wxEmptyString ;
16776 wxString *arg4 = (wxString *) &arg4_defvalue ;
16777 long arg5 = (long) wxDD_DEFAULT_STYLE ;
16778 wxPoint const &arg6_defvalue = wxDefaultPosition ;
16779 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
16780 wxSize const &arg7_defvalue = wxDefaultSize ;
16781 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
16782 wxString const &arg8_defvalue = wxPyDirDialogNameStr ;
16783 wxString *arg8 = (wxString *) &arg8_defvalue ;
16784 bool result;
0085ce49
RD
16785 void *argp1 = 0 ;
16786 int res1 = 0 ;
01f6b6d3
RD
16787 void *argp2 = 0 ;
16788 int res2 = 0 ;
16789 bool temp3 = false ;
16790 bool temp4 = false ;
16791 long val5 ;
16792 int ecode5 = 0 ;
16793 wxPoint temp6 ;
16794 wxSize temp7 ;
16795 bool temp8 = false ;
16796 PyObject * obj0 = 0 ;
16797 PyObject * obj1 = 0 ;
16798 PyObject * obj2 = 0 ;
16799 PyObject * obj3 = 0 ;
16800 PyObject * obj4 = 0 ;
16801 PyObject * obj5 = 0 ;
16802 PyObject * obj6 = 0 ;
16803 PyObject * obj7 = 0 ;
16804 char * kwnames[] = {
16805 (char *) "self",(char *) "parent",(char *) "title",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "sz",(char *) "name", NULL
16806 };
0085ce49 16807
01f6b6d3
RD
16808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:DirDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
16809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
0085ce49 16810 if (!SWIG_IsOK(res1)) {
01f6b6d3 16811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_Create" "', expected argument " "1"" of type '" "wxDirDialog *""'");
0085ce49
RD
16812 }
16813 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
01f6b6d3
RD
16814 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16815 if (!SWIG_IsOK(res2)) {
16816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DirDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16817 }
16818 arg2 = reinterpret_cast< wxWindow * >(argp2);
16819 if (obj2) {
16820 {
16821 arg3 = wxString_in_helper(obj2);
16822 if (arg3 == NULL) SWIG_fail;
16823 temp3 = true;
16824 }
16825 }
16826 if (obj3) {
16827 {
16828 arg4 = wxString_in_helper(obj3);
16829 if (arg4 == NULL) SWIG_fail;
16830 temp4 = true;
16831 }
16832 }
16833 if (obj4) {
16834 ecode5 = SWIG_AsVal_long(obj4, &val5);
16835 if (!SWIG_IsOK(ecode5)) {
16836 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "DirDialog_Create" "', expected argument " "5"" of type '" "long""'");
16837 }
16838 arg5 = static_cast< long >(val5);
16839 }
16840 if (obj5) {
16841 {
16842 arg6 = &temp6;
16843 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
16844 }
16845 }
16846 if (obj6) {
16847 {
16848 arg7 = &temp7;
16849 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
16850 }
16851 }
16852 if (obj7) {
16853 {
16854 arg8 = wxString_in_helper(obj7);
16855 if (arg8 == NULL) SWIG_fail;
16856 temp8 = true;
16857 }
16858 }
0085ce49
RD
16859 {
16860 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 16861 result = (bool)(arg1)->Create(arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,(wxString const &)*arg8);
0085ce49
RD
16862 wxPyEndAllowThreads(__tstate);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 }
16865 {
01f6b6d3
RD
16866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16867 }
16868 {
16869 if (temp3)
16870 delete arg3;
16871 }
16872 {
16873 if (temp4)
16874 delete arg4;
16875 }
16876 {
16877 if (temp8)
16878 delete arg8;
0085ce49
RD
16879 }
16880 return resultobj;
16881fail:
01f6b6d3
RD
16882 {
16883 if (temp3)
16884 delete arg3;
16885 }
16886 {
16887 if (temp4)
16888 delete arg4;
16889 }
16890 {
16891 if (temp8)
16892 delete arg8;
16893 }
0085ce49 16894 return NULL;
d14a1e28
RD
16895}
16896
16897
01f6b6d3 16898SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
16899 PyObject *resultobj = 0;
16900 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16901 wxString result;
16902 void *argp1 = 0 ;
16903 int res1 = 0 ;
16904 PyObject *swig_obj[1] ;
16905
16906 if (!args) SWIG_fail;
16907 swig_obj[0] = args;
16908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16909 if (!SWIG_IsOK(res1)) {
01f6b6d3 16910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
0085ce49
RD
16911 }
16912 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16913 {
16914 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 16915 result = (arg1)->GetPath();
0085ce49
RD
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 {
16920#if wxUSE_UNICODE
16921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16922#else
16923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16924#endif
16925 }
16926 return resultobj;
16927fail:
16928 return NULL;
d14a1e28
RD
16929}
16930
16931
01f6b6d3 16932SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
16933 PyObject *resultobj = 0;
16934 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
01f6b6d3 16935 wxString result;
0085ce49
RD
16936 void *argp1 = 0 ;
16937 int res1 = 0 ;
16938 PyObject *swig_obj[1] ;
16939
16940 if (!args) SWIG_fail;
16941 swig_obj[0] = args;
16942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16943 if (!SWIG_IsOK(res1)) {
01f6b6d3 16944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
0085ce49
RD
16945 }
16946 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16947 {
16948 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 16949 result = (arg1)->GetMessage();
0085ce49
RD
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
01f6b6d3
RD
16953 {
16954#if wxUSE_UNICODE
16955 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16956#else
16957 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16958#endif
16959 }
0085ce49
RD
16960 return resultobj;
16961fail:
16962 return NULL;
16963}
16964
16965
16966SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16967 PyObject *resultobj = 0;
16968 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16969 wxString *arg2 = 0 ;
16970 void *argp1 = 0 ;
16971 int res1 = 0 ;
16972 bool temp2 = false ;
16973 PyObject * obj0 = 0 ;
16974 PyObject * obj1 = 0 ;
16975 char * kwnames[] = {
16976 (char *) "self",(char *) "message", NULL
16977 };
16978
16979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16981 if (!SWIG_IsOK(res1)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16983 }
16984 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16985 {
16986 arg2 = wxString_in_helper(obj1);
16987 if (arg2 == NULL) SWIG_fail;
16988 temp2 = true;
16989 }
16990 {
16991 PyThreadState* __tstate = wxPyBeginAllowThreads();
16992 (arg1)->SetMessage((wxString const &)*arg2);
16993 wxPyEndAllowThreads(__tstate);
16994 if (PyErr_Occurred()) SWIG_fail;
16995 }
16996 resultobj = SWIG_Py_Void();
16997 {
16998 if (temp2)
16999 delete arg2;
17000 }
17001 return resultobj;
17002fail:
17003 {
17004 if (temp2)
17005 delete arg2;
17006 }
17007 return NULL;
d14a1e28
RD
17008}
17009
17010
0085ce49
RD
17011SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj = 0;
17013 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17014 wxString *arg2 = 0 ;
17015 void *argp1 = 0 ;
17016 int res1 = 0 ;
17017 bool temp2 = false ;
17018 PyObject * obj0 = 0 ;
17019 PyObject * obj1 = 0 ;
17020 char * kwnames[] = {
17021 (char *) "self",(char *) "path", NULL
17022 };
17023
17024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17026 if (!SWIG_IsOK(res1)) {
17027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17028 }
17029 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17030 {
17031 arg2 = wxString_in_helper(obj1);
17032 if (arg2 == NULL) SWIG_fail;
17033 temp2 = true;
17034 }
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 (arg1)->SetPath((wxString const &)*arg2);
17038 wxPyEndAllowThreads(__tstate);
17039 if (PyErr_Occurred()) SWIG_fail;
17040 }
17041 resultobj = SWIG_Py_Void();
17042 {
17043 if (temp2)
17044 delete arg2;
17045 }
17046 return resultobj;
17047fail:
17048 {
17049 if (temp2)
17050 delete arg2;
17051 }
17052 return NULL;
17053}
17054
17055
17056SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17057 PyObject *obj;
17058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17059 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17060 return SWIG_Py_Void();
17061}
17062
17063SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17064 return SWIG_Python_InitShadowInstance(args);
17065}
17066
17067SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj = 0;
17069 wxWindow *arg1 = (wxWindow *) 0 ;
17070 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17071 wxString *arg2 = (wxString *) &arg2_defvalue ;
17072 wxString const &arg3_defvalue = wxPyEmptyString ;
17073 wxString *arg3 = (wxString *) &arg3_defvalue ;
17074 wxString const &arg4_defvalue = wxPyEmptyString ;
17075 wxString *arg4 = (wxString *) &arg4_defvalue ;
17076 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17077 wxString *arg5 = (wxString *) &arg5_defvalue ;
17078 long arg6 = (long) 0 ;
17079 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17080 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17081 wxFileDialog *result = 0 ;
17082 void *argp1 = 0 ;
17083 int res1 = 0 ;
17084 bool temp2 = false ;
17085 bool temp3 = false ;
17086 bool temp4 = false ;
17087 bool temp5 = false ;
17088 long val6 ;
17089 int ecode6 = 0 ;
17090 wxPoint temp7 ;
17091 PyObject * obj0 = 0 ;
17092 PyObject * obj1 = 0 ;
17093 PyObject * obj2 = 0 ;
17094 PyObject * obj3 = 0 ;
17095 PyObject * obj4 = 0 ;
17096 PyObject * obj5 = 0 ;
17097 PyObject * obj6 = 0 ;
17098 char * kwnames[] = {
17099 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17100 };
17101
17102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17104 if (!SWIG_IsOK(res1)) {
17105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17106 }
17107 arg1 = reinterpret_cast< wxWindow * >(argp1);
17108 if (obj1) {
d14a1e28 17109 {
0085ce49
RD
17110 arg2 = wxString_in_helper(obj1);
17111 if (arg2 == NULL) SWIG_fail;
17112 temp2 = true;
d14a1e28 17113 }
0085ce49
RD
17114 }
17115 if (obj2) {
4f89f6a3 17116 {
0085ce49
RD
17117 arg3 = wxString_in_helper(obj2);
17118 if (arg3 == NULL) SWIG_fail;
17119 temp3 = true;
4f89f6a3 17120 }
0085ce49
RD
17121 }
17122 if (obj3) {
d14a1e28 17123 {
0085ce49
RD
17124 arg4 = wxString_in_helper(obj3);
17125 if (arg4 == NULL) SWIG_fail;
17126 temp4 = true;
d14a1e28 17127 }
0085ce49
RD
17128 }
17129 if (obj4) {
d14a1e28 17130 {
0085ce49
RD
17131 arg5 = wxString_in_helper(obj4);
17132 if (arg5 == NULL) SWIG_fail;
17133 temp5 = true;
d14a1e28 17134 }
0085ce49
RD
17135 }
17136 if (obj5) {
17137 ecode6 = SWIG_AsVal_long(obj5, &val6);
17138 if (!SWIG_IsOK(ecode6)) {
17139 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17140 }
17141 arg6 = static_cast< long >(val6);
17142 }
17143 if (obj6) {
d14a1e28 17144 {
0085ce49
RD
17145 arg7 = &temp7;
17146 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
994141e6 17147 }
0085ce49
RD
17148 }
17149 {
17150 if (!wxPyCheckForApp()) SWIG_fail;
17151 PyThreadState* __tstate = wxPyBeginAllowThreads();
17152 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17157 {
17158 if (temp2)
17159 delete arg2;
17160 }
17161 {
17162 if (temp3)
17163 delete arg3;
17164 }
17165 {
17166 if (temp4)
17167 delete arg4;
17168 }
17169 {
17170 if (temp5)
17171 delete arg5;
17172 }
17173 return resultobj;
17174fail:
17175 {
17176 if (temp2)
17177 delete arg2;
17178 }
17179 {
17180 if (temp3)
17181 delete arg3;
17182 }
17183 {
17184 if (temp4)
17185 delete arg4;
17186 }
17187 {
17188 if (temp5)
17189 delete arg5;
17190 }
17191 return NULL;
d14a1e28
RD
17192}
17193
17194
0085ce49
RD
17195SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj = 0;
17197 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17198 wxString *arg2 = 0 ;
17199 void *argp1 = 0 ;
17200 int res1 = 0 ;
17201 bool temp2 = false ;
17202 PyObject * obj0 = 0 ;
17203 PyObject * obj1 = 0 ;
17204 char * kwnames[] = {
17205 (char *) "self",(char *) "message", NULL
17206 };
17207
17208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17210 if (!SWIG_IsOK(res1)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17212 }
17213 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17214 {
17215 arg2 = wxString_in_helper(obj1);
17216 if (arg2 == NULL) SWIG_fail;
17217 temp2 = true;
17218 }
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 (arg1)->SetMessage((wxString const &)*arg2);
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 resultobj = SWIG_Py_Void();
17226 {
17227 if (temp2)
17228 delete arg2;
17229 }
17230 return resultobj;
17231fail:
17232 {
17233 if (temp2)
17234 delete arg2;
17235 }
17236 return NULL;
d14a1e28
RD
17237}
17238
17239
0085ce49
RD
17240SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17241 PyObject *resultobj = 0;
17242 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17243 wxString *arg2 = 0 ;
17244 void *argp1 = 0 ;
17245 int res1 = 0 ;
17246 bool temp2 = false ;
17247 PyObject * obj0 = 0 ;
17248 PyObject * obj1 = 0 ;
17249 char * kwnames[] = {
17250 (char *) "self",(char *) "path", NULL
17251 };
17252
17253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17255 if (!SWIG_IsOK(res1)) {
17256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17257 }
17258 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17259 {
17260 arg2 = wxString_in_helper(obj1);
17261 if (arg2 == NULL) SWIG_fail;
17262 temp2 = true;
17263 }
17264 {
17265 PyThreadState* __tstate = wxPyBeginAllowThreads();
17266 (arg1)->SetPath((wxString const &)*arg2);
17267 wxPyEndAllowThreads(__tstate);
17268 if (PyErr_Occurred()) SWIG_fail;
17269 }
17270 resultobj = SWIG_Py_Void();
17271 {
17272 if (temp2)
17273 delete arg2;
17274 }
17275 return resultobj;
17276fail:
17277 {
17278 if (temp2)
17279 delete arg2;
17280 }
17281 return NULL;
d14a1e28
RD
17282}
17283
17284
0085ce49
RD
17285SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj = 0;
17287 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17288 wxString *arg2 = 0 ;
17289 void *argp1 = 0 ;
17290 int res1 = 0 ;
17291 bool temp2 = false ;
17292 PyObject * obj0 = 0 ;
17293 PyObject * obj1 = 0 ;
17294 char * kwnames[] = {
17295 (char *) "self",(char *) "dir", NULL
17296 };
17297
17298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17300 if (!SWIG_IsOK(res1)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17302 }
17303 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17304 {
17305 arg2 = wxString_in_helper(obj1);
17306 if (arg2 == NULL) SWIG_fail;
17307 temp2 = true;
17308 }
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 (arg1)->SetDirectory((wxString const &)*arg2);
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 resultobj = SWIG_Py_Void();
17316 {
17317 if (temp2)
17318 delete arg2;
17319 }
17320 return resultobj;
17321fail:
17322 {
17323 if (temp2)
17324 delete arg2;
17325 }
17326 return NULL;
d14a1e28
RD
17327}
17328
17329
0085ce49
RD
17330SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj = 0;
17332 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17333 wxString *arg2 = 0 ;
17334 void *argp1 = 0 ;
17335 int res1 = 0 ;
17336 bool temp2 = false ;
17337 PyObject * obj0 = 0 ;
17338 PyObject * obj1 = 0 ;
17339 char * kwnames[] = {
17340 (char *) "self",(char *) "name", NULL
17341 };
17342
17343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17345 if (!SWIG_IsOK(res1)) {
17346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17347 }
17348 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17349 {
17350 arg2 = wxString_in_helper(obj1);
17351 if (arg2 == NULL) SWIG_fail;
17352 temp2 = true;
17353 }
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 (arg1)->SetFilename((wxString const &)*arg2);
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 resultobj = SWIG_Py_Void();
17361 {
17362 if (temp2)
17363 delete arg2;
17364 }
17365 return resultobj;
17366fail:
17367 {
17368 if (temp2)
17369 delete arg2;
17370 }
17371 return NULL;
d14a1e28
RD
17372}
17373
17374
0085ce49
RD
17375SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17376 PyObject *resultobj = 0;
17377 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17378 wxString *arg2 = 0 ;
17379 void *argp1 = 0 ;
17380 int res1 = 0 ;
17381 bool temp2 = false ;
17382 PyObject * obj0 = 0 ;
17383 PyObject * obj1 = 0 ;
17384 char * kwnames[] = {
17385 (char *) "self",(char *) "wildCard", NULL
17386 };
17387
17388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17390 if (!SWIG_IsOK(res1)) {
17391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17392 }
17393 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17394 {
17395 arg2 = wxString_in_helper(obj1);
17396 if (arg2 == NULL) SWIG_fail;
17397 temp2 = true;
17398 }
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 (arg1)->SetWildcard((wxString const &)*arg2);
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 resultobj = SWIG_Py_Void();
17406 {
17407 if (temp2)
17408 delete arg2;
17409 }
17410 return resultobj;
17411fail:
17412 {
17413 if (temp2)
17414 delete arg2;
17415 }
17416 return NULL;
17417}
17418
17419
17420SWIGINTERN PyObject *_wrap_FileDialog_SetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17421 PyObject *resultobj = 0;
17422 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17423 long arg2 ;
17424 void *argp1 = 0 ;
17425 int res1 = 0 ;
17426 long val2 ;
17427 int ecode2 = 0 ;
17428 PyObject * obj0 = 0 ;
17429 PyObject * obj1 = 0 ;
17430 char * kwnames[] = {
17431 (char *) "self",(char *) "style", NULL
17432 };
17433
17434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) SWIG_fail;
17435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17436 if (!SWIG_IsOK(res1)) {
17437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17438 }
17439 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17440 ecode2 = SWIG_AsVal_long(obj1, &val2);
17441 if (!SWIG_IsOK(ecode2)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17443 }
17444 arg2 = static_cast< long >(val2);
17445 {
17446 PyThreadState* __tstate = wxPyBeginAllowThreads();
17447 (arg1)->SetStyle(arg2);
17448 wxPyEndAllowThreads(__tstate);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 }
17451 resultobj = SWIG_Py_Void();
17452 return resultobj;
17453fail:
17454 return NULL;
17455}
17456
17457
17458SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17459 PyObject *resultobj = 0;
17460 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17461 int arg2 ;
17462 void *argp1 = 0 ;
17463 int res1 = 0 ;
17464 int val2 ;
17465 int ecode2 = 0 ;
17466 PyObject * obj0 = 0 ;
17467 PyObject * obj1 = 0 ;
17468 char * kwnames[] = {
17469 (char *) "self",(char *) "filterIndex", NULL
17470 };
17471
17472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17474 if (!SWIG_IsOK(res1)) {
17475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17476 }
17477 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17478 ecode2 = SWIG_AsVal_int(obj1, &val2);
17479 if (!SWIG_IsOK(ecode2)) {
17480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17481 }
17482 arg2 = static_cast< int >(val2);
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 (arg1)->SetFilterIndex(arg2);
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 resultobj = SWIG_Py_Void();
17490 return resultobj;
17491fail:
17492 return NULL;
d14a1e28
RD
17493}
17494
17495
0085ce49
RD
17496SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17497 PyObject *resultobj = 0;
17498 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17499 wxString result;
17500 void *argp1 = 0 ;
17501 int res1 = 0 ;
17502 PyObject *swig_obj[1] ;
17503
17504 if (!args) SWIG_fail;
17505 swig_obj[0] = args;
17506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17507 if (!SWIG_IsOK(res1)) {
17508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17509 }
17510 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17511 {
17512 PyThreadState* __tstate = wxPyBeginAllowThreads();
17513 result = ((wxFileDialog const *)arg1)->GetMessage();
17514 wxPyEndAllowThreads(__tstate);
17515 if (PyErr_Occurred()) SWIG_fail;
17516 }
17517 {
17518#if wxUSE_UNICODE
17519 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17520#else
17521 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17522#endif
17523 }
17524 return resultobj;
17525fail:
17526 return NULL;
d14a1e28
RD
17527}
17528
17529
0085ce49
RD
17530SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17531 PyObject *resultobj = 0;
17532 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17533 wxString result;
17534 void *argp1 = 0 ;
17535 int res1 = 0 ;
17536 PyObject *swig_obj[1] ;
17537
17538 if (!args) SWIG_fail;
17539 swig_obj[0] = args;
17540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17541 if (!SWIG_IsOK(res1)) {
17542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17543 }
17544 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 result = ((wxFileDialog const *)arg1)->GetPath();
17548 wxPyEndAllowThreads(__tstate);
17549 if (PyErr_Occurred()) SWIG_fail;
17550 }
17551 {
17552#if wxUSE_UNICODE
17553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17554#else
17555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17556#endif
17557 }
17558 return resultobj;
17559fail:
17560 return NULL;
d14a1e28
RD
17561}
17562
17563
0085ce49
RD
17564SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17565 PyObject *resultobj = 0;
17566 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17567 wxString result;
17568 void *argp1 = 0 ;
17569 int res1 = 0 ;
17570 PyObject *swig_obj[1] ;
17571
17572 if (!args) SWIG_fail;
17573 swig_obj[0] = args;
17574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17575 if (!SWIG_IsOK(res1)) {
17576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17577 }
17578 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17579 {
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 result = ((wxFileDialog const *)arg1)->GetDirectory();
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 {
17586#if wxUSE_UNICODE
17587 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17588#else
17589 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17590#endif
17591 }
17592 return resultobj;
17593fail:
17594 return NULL;
d14a1e28
RD
17595}
17596
17597
0085ce49
RD
17598SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17599 PyObject *resultobj = 0;
17600 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17601 wxString result;
17602 void *argp1 = 0 ;
17603 int res1 = 0 ;
17604 PyObject *swig_obj[1] ;
17605
17606 if (!args) SWIG_fail;
17607 swig_obj[0] = args;
17608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17609 if (!SWIG_IsOK(res1)) {
17610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17611 }
17612 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17613 {
17614 PyThreadState* __tstate = wxPyBeginAllowThreads();
17615 result = ((wxFileDialog const *)arg1)->GetFilename();
17616 wxPyEndAllowThreads(__tstate);
17617 if (PyErr_Occurred()) SWIG_fail;
17618 }
17619 {
17620#if wxUSE_UNICODE
17621 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17622#else
17623 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17624#endif
17625 }
17626 return resultobj;
17627fail:
17628 return NULL;
d14a1e28
RD
17629}
17630
17631
0085ce49
RD
17632SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17633 PyObject *resultobj = 0;
17634 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17635 wxString result;
17636 void *argp1 = 0 ;
17637 int res1 = 0 ;
17638 PyObject *swig_obj[1] ;
17639
17640 if (!args) SWIG_fail;
17641 swig_obj[0] = args;
17642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17643 if (!SWIG_IsOK(res1)) {
17644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17645 }
17646 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17647 {
17648 PyThreadState* __tstate = wxPyBeginAllowThreads();
17649 result = ((wxFileDialog const *)arg1)->GetWildcard();
17650 wxPyEndAllowThreads(__tstate);
17651 if (PyErr_Occurred()) SWIG_fail;
17652 }
17653 {
17654#if wxUSE_UNICODE
17655 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17656#else
17657 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17658#endif
17659 }
17660 return resultobj;
17661fail:
17662 return NULL;
d14a1e28
RD
17663}
17664
17665
0085ce49
RD
17666SWIGINTERN PyObject *_wrap_FileDialog_GetStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17667 PyObject *resultobj = 0;
17668 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17669 long result;
17670 void *argp1 = 0 ;
17671 int res1 = 0 ;
17672 PyObject *swig_obj[1] ;
17673
17674 if (!args) SWIG_fail;
17675 swig_obj[0] = args;
17676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17677 if (!SWIG_IsOK(res1)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17679 }
17680 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17681 {
17682 PyThreadState* __tstate = wxPyBeginAllowThreads();
17683 result = (long)((wxFileDialog const *)arg1)->GetStyle();
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 resultobj = SWIG_From_long(static_cast< long >(result));
17688 return resultobj;
17689fail:
17690 return NULL;
d14a1e28
RD
17691}
17692
17693
0085ce49
RD
17694SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17695 PyObject *resultobj = 0;
17696 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17697 int result;
17698 void *argp1 = 0 ;
17699 int res1 = 0 ;
17700 PyObject *swig_obj[1] ;
17701
17702 if (!args) SWIG_fail;
17703 swig_obj[0] = args;
17704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17705 if (!SWIG_IsOK(res1)) {
17706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17707 }
17708 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17709 {
17710 PyThreadState* __tstate = wxPyBeginAllowThreads();
17711 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 resultobj = SWIG_From_int(static_cast< int >(result));
17716 return resultobj;
17717fail:
17718 return NULL;
d14a1e28
RD
17719}
17720
17721
0085ce49
RD
17722SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17723 PyObject *resultobj = 0;
17724 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17725 PyObject *result = 0 ;
17726 void *argp1 = 0 ;
17727 int res1 = 0 ;
17728 PyObject *swig_obj[1] ;
17729
17730 if (!args) SWIG_fail;
17731 swig_obj[0] = args;
17732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17733 if (!SWIG_IsOK(res1)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17735 }
17736 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17737 {
17738 PyThreadState* __tstate = wxPyBeginAllowThreads();
17739 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17740 wxPyEndAllowThreads(__tstate);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 }
17743 resultobj = result;
17744 return resultobj;
17745fail:
17746 return NULL;
d14a1e28
RD
17747}
17748
17749
0085ce49
RD
17750SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17751 PyObject *resultobj = 0;
17752 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17753 PyObject *result = 0 ;
17754 void *argp1 = 0 ;
17755 int res1 = 0 ;
17756 PyObject *swig_obj[1] ;
17757
17758 if (!args) SWIG_fail;
17759 swig_obj[0] = args;
17760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17761 if (!SWIG_IsOK(res1)) {
17762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17763 }
17764 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17765 {
17766 PyThreadState* __tstate = wxPyBeginAllowThreads();
17767 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17768 wxPyEndAllowThreads(__tstate);
17769 if (PyErr_Occurred()) SWIG_fail;
17770 }
17771 resultobj = result;
17772 return resultobj;
17773fail:
17774 return NULL;
17775}
17776
17777
17778SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17779 PyObject *obj;
17780 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17781 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17782 return SWIG_Py_Void();
17783}
17784
17785SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17786 return SWIG_Python_InitShadowInstance(args);
17787}
17788
17789SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17790 PyObject *resultobj = 0;
17791 wxWindow *arg1 = (wxWindow *) 0 ;
17792 wxString *arg2 = 0 ;
17793 wxString *arg3 = 0 ;
17794 int arg4 = (int) 0 ;
17795 wxString *arg5 = (wxString *) NULL ;
17796 long arg6 = (long) wxCHOICEDLG_STYLE ;
17797 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17798 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17799 wxMultiChoiceDialog *result = 0 ;
17800 void *argp1 = 0 ;
17801 int res1 = 0 ;
17802 bool temp2 = false ;
17803 bool temp3 = false ;
17804 long val6 ;
17805 int ecode6 = 0 ;
17806 wxPoint temp7 ;
17807 PyObject * obj0 = 0 ;
17808 PyObject * obj1 = 0 ;
17809 PyObject * obj2 = 0 ;
17810 PyObject * obj3 = 0 ;
17811 PyObject * obj4 = 0 ;
17812 PyObject * obj5 = 0 ;
17813 char * kwnames[] = {
17814 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17815 };
17816
17817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17819 if (!SWIG_IsOK(res1)) {
17820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17821 }
17822 arg1 = reinterpret_cast< wxWindow * >(argp1);
17823 {
17824 arg2 = wxString_in_helper(obj1);
17825 if (arg2 == NULL) SWIG_fail;
17826 temp2 = true;
17827 }
17828 {
17829 arg3 = wxString_in_helper(obj2);
17830 if (arg3 == NULL) SWIG_fail;
17831 temp3 = true;
17832 }
17833 if (obj3) {
d14a1e28 17834 {
0085ce49
RD
17835 arg4 = PyList_Size(obj3);
17836 arg5 = wxString_LIST_helper(obj3);
17837 if (arg5 == NULL) SWIG_fail;
d14a1e28 17838 }
0085ce49
RD
17839 }
17840 if (obj4) {
17841 ecode6 = SWIG_AsVal_long(obj4, &val6);
17842 if (!SWIG_IsOK(ecode6)) {
17843 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17844 }
17845 arg6 = static_cast< long >(val6);
17846 }
17847 if (obj5) {
4f89f6a3 17848 {
0085ce49
RD
17849 arg7 = &temp7;
17850 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
4f89f6a3 17851 }
0085ce49
RD
17852 }
17853 {
17854 if (!wxPyCheckForApp()) SWIG_fail;
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17861 {
17862 if (temp2)
17863 delete arg2;
17864 }
17865 {
17866 if (temp3)
17867 delete arg3;
17868 }
17869 {
17870 if (arg5) delete [] arg5;
17871 }
17872 return resultobj;
17873fail:
17874 {
17875 if (temp2)
17876 delete arg2;
17877 }
17878 {
17879 if (temp3)
17880 delete arg3;
17881 }
17882 {
17883 if (arg5) delete [] arg5;
17884 }
17885 return NULL;
d14a1e28
RD
17886}
17887
17888
0085ce49
RD
17889SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17890 PyObject *resultobj = 0;
17891 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17892 wxArrayInt *arg2 = 0 ;
17893 void *argp1 = 0 ;
17894 int res1 = 0 ;
17895 bool temp2 = false ;
17896 PyObject * obj0 = 0 ;
17897 PyObject * obj1 = 0 ;
17898 char * kwnames[] = {
17899 (char *) "self",(char *) "selections", NULL
17900 };
17901
17902 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17903 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17904 if (!SWIG_IsOK(res1)) {
17905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17906 }
17907 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17908 {
17909 if (! PySequence_Check(obj1)) {
17910 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17911 SWIG_fail;
17912 }
17913 arg2 = new wxArrayInt;
17914 temp2 = true;
17915 int i, len=PySequence_Length(obj1);
17916 for (i=0; i<len; i++) {
17917 PyObject* item = PySequence_GetItem(obj1, i);
17918 PyObject* number = PyNumber_Int(item);
17919 arg2->Add(PyInt_AS_LONG(number));
17920 Py_DECREF(item);
17921 Py_DECREF(number);
093d3ff1 17922 }
0085ce49
RD
17923 }
17924 {
17925 PyThreadState* __tstate = wxPyBeginAllowThreads();
17926 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 resultobj = SWIG_Py_Void();
17931 {
17932 if (temp2) delete arg2;
17933 }
17934 return resultobj;
17935fail:
17936 {
17937 if (temp2) delete arg2;
17938 }
17939 return NULL;
d14a1e28
RD
17940}
17941
17942
0085ce49
RD
17943SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17944 PyObject *resultobj = 0;
17945 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17946 PyObject *result = 0 ;
17947 void *argp1 = 0 ;
17948 int res1 = 0 ;
17949 PyObject *swig_obj[1] ;
17950
17951 if (!args) SWIG_fail;
17952 swig_obj[0] = args;
17953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17954 if (!SWIG_IsOK(res1)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17956 }
17957 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17958 {
17959 PyThreadState* __tstate = wxPyBeginAllowThreads();
17960 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17961 wxPyEndAllowThreads(__tstate);
17962 if (PyErr_Occurred()) SWIG_fail;
17963 }
17964 resultobj = result;
17965 return resultobj;
17966fail:
17967 return NULL;
17968}
17969
17970
17971SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17972 PyObject *obj;
17973 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17974 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17975 return SWIG_Py_Void();
17976}
17977
17978SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17979 return SWIG_Python_InitShadowInstance(args);
17980}
17981
17982SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17983 PyObject *resultobj = 0;
17984 wxWindow *arg1 = (wxWindow *) 0 ;
17985 wxString *arg2 = 0 ;
17986 wxString *arg3 = 0 ;
17987 int arg4 ;
17988 wxString *arg5 = (wxString *) 0 ;
17989 long arg6 = (long) wxCHOICEDLG_STYLE ;
17990 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17991 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17992 wxSingleChoiceDialog *result = 0 ;
17993 void *argp1 = 0 ;
17994 int res1 = 0 ;
17995 bool temp2 = false ;
17996 bool temp3 = false ;
17997 long val6 ;
17998 int ecode6 = 0 ;
17999 wxPoint temp7 ;
18000 PyObject * obj0 = 0 ;
18001 PyObject * obj1 = 0 ;
18002 PyObject * obj2 = 0 ;
18003 PyObject * obj3 = 0 ;
18004 PyObject * obj4 = 0 ;
18005 PyObject * obj5 = 0 ;
18006 char * kwnames[] = {
18007 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18008 };
18009
18010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18012 if (!SWIG_IsOK(res1)) {
18013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18014 }
18015 arg1 = reinterpret_cast< wxWindow * >(argp1);
18016 {
18017 arg2 = wxString_in_helper(obj1);
18018 if (arg2 == NULL) SWIG_fail;
18019 temp2 = true;
18020 }
18021 {
18022 arg3 = wxString_in_helper(obj2);
18023 if (arg3 == NULL) SWIG_fail;
18024 temp3 = true;
18025 }
18026 {
18027 arg4 = PyList_Size(obj3);
18028 arg5 = wxString_LIST_helper(obj3);
18029 if (arg5 == NULL) SWIG_fail;
18030 }
18031 if (obj4) {
18032 ecode6 = SWIG_AsVal_long(obj4, &val6);
18033 if (!SWIG_IsOK(ecode6)) {
18034 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18035 }
18036 arg6 = static_cast< long >(val6);
18037 }
18038 if (obj5) {
093d3ff1 18039 {
0085ce49
RD
18040 arg7 = &temp7;
18041 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
093d3ff1 18042 }
0085ce49
RD
18043 }
18044 {
18045 if (!wxPyCheckForApp()) SWIG_fail;
18046 PyThreadState* __tstate = wxPyBeginAllowThreads();
18047 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18048 wxPyEndAllowThreads(__tstate);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 }
18051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18052 {
18053 if (temp2)
18054 delete arg2;
18055 }
18056 {
18057 if (temp3)
18058 delete arg3;
18059 }
18060 {
18061 if (arg5) delete [] arg5;
18062 }
18063 return resultobj;
18064fail:
18065 {
18066 if (temp2)
18067 delete arg2;
18068 }
18069 {
18070 if (temp3)
18071 delete arg3;
18072 }
18073 {
18074 if (arg5) delete [] arg5;
18075 }
18076 return NULL;
d14a1e28
RD
18077}
18078
18079
0085ce49
RD
18080SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18081 PyObject *resultobj = 0;
18082 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18083 int result;
18084 void *argp1 = 0 ;
18085 int res1 = 0 ;
18086 PyObject *swig_obj[1] ;
18087
18088 if (!args) SWIG_fail;
18089 swig_obj[0] = args;
18090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18091 if (!SWIG_IsOK(res1)) {
18092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18093 }
18094 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18095 {
18096 PyThreadState* __tstate = wxPyBeginAllowThreads();
18097 result = (int)(arg1)->GetSelection();
18098 wxPyEndAllowThreads(__tstate);
18099 if (PyErr_Occurred()) SWIG_fail;
18100 }
18101 resultobj = SWIG_From_int(static_cast< int >(result));
18102 return resultobj;
18103fail:
18104 return NULL;
d14a1e28
RD
18105}
18106
18107
0085ce49
RD
18108SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18109 PyObject *resultobj = 0;
18110 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18111 wxString result;
18112 void *argp1 = 0 ;
18113 int res1 = 0 ;
18114 PyObject *swig_obj[1] ;
18115
18116 if (!args) SWIG_fail;
18117 swig_obj[0] = args;
18118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18119 if (!SWIG_IsOK(res1)) {
18120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18121 }
18122 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18123 {
18124 PyThreadState* __tstate = wxPyBeginAllowThreads();
18125 result = (arg1)->GetStringSelection();
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 {
18130#if wxUSE_UNICODE
18131 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18132#else
18133 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18134#endif
18135 }
18136 return resultobj;
18137fail:
18138 return NULL;
18139}
18140
18141
18142SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18143 PyObject *resultobj = 0;
18144 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18145 int arg2 ;
18146 void *argp1 = 0 ;
18147 int res1 = 0 ;
18148 int val2 ;
18149 int ecode2 = 0 ;
18150 PyObject * obj0 = 0 ;
18151 PyObject * obj1 = 0 ;
18152 char * kwnames[] = {
18153 (char *) "self",(char *) "sel", NULL
18154 };
18155
18156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18158 if (!SWIG_IsOK(res1)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18160 }
18161 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18162 ecode2 = SWIG_AsVal_int(obj1, &val2);
18163 if (!SWIG_IsOK(ecode2)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18165 }
18166 arg2 = static_cast< int >(val2);
18167 {
18168 PyThreadState* __tstate = wxPyBeginAllowThreads();
18169 (arg1)->SetSelection(arg2);
18170 wxPyEndAllowThreads(__tstate);
18171 if (PyErr_Occurred()) SWIG_fail;
18172 }
18173 resultobj = SWIG_Py_Void();
18174 return resultobj;
18175fail:
18176 return NULL;
18177}
18178
18179
18180SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18181 PyObject *obj;
18182 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18183 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18184 return SWIG_Py_Void();
18185}
18186
18187SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18188 return SWIG_Python_InitShadowInstance(args);
18189}
18190
18191SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj = 0;
18193 wxWindow *arg1 = (wxWindow *) 0 ;
18194 wxString *arg2 = 0 ;
18195 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18196 wxString *arg3 = (wxString *) &arg3_defvalue ;
18197 wxString const &arg4_defvalue = wxPyEmptyString ;
18198 wxString *arg4 = (wxString *) &arg4_defvalue ;
18199 long arg5 = (long) wxTextEntryDialogStyle ;
18200 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18201 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18202 wxTextEntryDialog *result = 0 ;
18203 void *argp1 = 0 ;
18204 int res1 = 0 ;
18205 bool temp2 = false ;
18206 bool temp3 = false ;
18207 bool temp4 = false ;
18208 long val5 ;
18209 int ecode5 = 0 ;
18210 wxPoint temp6 ;
18211 PyObject * obj0 = 0 ;
18212 PyObject * obj1 = 0 ;
18213 PyObject * obj2 = 0 ;
18214 PyObject * obj3 = 0 ;
18215 PyObject * obj4 = 0 ;
18216 PyObject * obj5 = 0 ;
18217 char * kwnames[] = {
18218 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18219 };
18220
18221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18223 if (!SWIG_IsOK(res1)) {
18224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18225 }
18226 arg1 = reinterpret_cast< wxWindow * >(argp1);
18227 {
18228 arg2 = wxString_in_helper(obj1);
18229 if (arg2 == NULL) SWIG_fail;
18230 temp2 = true;
18231 }
18232 if (obj2) {
d14a1e28 18233 {
0085ce49
RD
18234 arg3 = wxString_in_helper(obj2);
18235 if (arg3 == NULL) SWIG_fail;
18236 temp3 = true;
d14a1e28 18237 }
0085ce49
RD
18238 }
18239 if (obj3) {
d14a1e28 18240 {
0085ce49
RD
18241 arg4 = wxString_in_helper(obj3);
18242 if (arg4 == NULL) SWIG_fail;
18243 temp4 = true;
d14a1e28 18244 }
0085ce49
RD
18245 }
18246 if (obj4) {
18247 ecode5 = SWIG_AsVal_long(obj4, &val5);
18248 if (!SWIG_IsOK(ecode5)) {
18249 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18250 }
18251 arg5 = static_cast< long >(val5);
18252 }
18253 if (obj5) {
093d3ff1 18254 {
0085ce49
RD
18255 arg6 = &temp6;
18256 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
093d3ff1 18257 }
0085ce49
RD
18258 }
18259 {
18260 if (!wxPyCheckForApp()) SWIG_fail;
18261 PyThreadState* __tstate = wxPyBeginAllowThreads();
18262 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18267 {
18268 if (temp2)
18269 delete arg2;
18270 }
18271 {
18272 if (temp3)
18273 delete arg3;
18274 }
18275 {
18276 if (temp4)
18277 delete arg4;
18278 }
18279 return resultobj;
18280fail:
18281 {
18282 if (temp2)
18283 delete arg2;
18284 }
18285 {
18286 if (temp3)
18287 delete arg3;
18288 }
18289 {
18290 if (temp4)
18291 delete arg4;
18292 }
18293 return NULL;
d14a1e28
RD
18294}
18295
18296
0085ce49
RD
18297SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18298 PyObject *resultobj = 0;
18299 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18300 wxString result;
18301 void *argp1 = 0 ;
18302 int res1 = 0 ;
18303 PyObject *swig_obj[1] ;
18304
18305 if (!args) SWIG_fail;
18306 swig_obj[0] = args;
18307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18308 if (!SWIG_IsOK(res1)) {
18309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18310 }
18311 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 result = (arg1)->GetValue();
18315 wxPyEndAllowThreads(__tstate);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 }
18318 {
18319#if wxUSE_UNICODE
18320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18321#else
18322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18323#endif
18324 }
18325 return resultobj;
18326fail:
18327 return NULL;
18328}
18329
18330
18331SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18332 PyObject *resultobj = 0;
18333 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18334 wxString *arg2 = 0 ;
18335 void *argp1 = 0 ;
18336 int res1 = 0 ;
18337 bool temp2 = false ;
18338 PyObject * obj0 = 0 ;
18339 PyObject * obj1 = 0 ;
18340 char * kwnames[] = {
18341 (char *) "self",(char *) "value", NULL
18342 };
18343
18344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18346 if (!SWIG_IsOK(res1)) {
18347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18348 }
18349 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18350 {
18351 arg2 = wxString_in_helper(obj1);
18352 if (arg2 == NULL) SWIG_fail;
18353 temp2 = true;
18354 }
18355 {
18356 PyThreadState* __tstate = wxPyBeginAllowThreads();
18357 (arg1)->SetValue((wxString const &)*arg2);
18358 wxPyEndAllowThreads(__tstate);
18359 if (PyErr_Occurred()) SWIG_fail;
18360 }
18361 resultobj = SWIG_Py_Void();
18362 {
18363 if (temp2)
18364 delete arg2;
18365 }
18366 return resultobj;
18367fail:
18368 {
18369 if (temp2)
18370 delete arg2;
18371 }
18372 return NULL;
d14a1e28
RD
18373}
18374
18375
0085ce49
RD
18376SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18377 PyObject *obj;
18378 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18379 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18380 return SWIG_Py_Void();
d14a1e28
RD
18381}
18382
0085ce49
RD
18383SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18384 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
18385}
18386
0085ce49
RD
18387SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18388 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18389 return 1;
d14a1e28
RD
18390}
18391
18392
0085ce49
RD
18393SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18394 PyObject *pyobj = 0;
18395
18396 {
18397#if wxUSE_UNICODE
18398 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18399#else
18400 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18401#endif
18402 }
18403 return pyobj;
18404}
18405
18406
18407SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18408 PyObject *resultobj = 0;
18409 wxWindow *arg1 = (wxWindow *) 0 ;
18410 wxString *arg2 = 0 ;
18411 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18412 wxString *arg3 = (wxString *) &arg3_defvalue ;
18413 wxString const &arg4_defvalue = wxPyEmptyString ;
18414 wxString *arg4 = (wxString *) &arg4_defvalue ;
18415 long arg5 = (long) wxTextEntryDialogStyle ;
18416 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18417 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18418 wxPasswordEntryDialog *result = 0 ;
18419 void *argp1 = 0 ;
18420 int res1 = 0 ;
18421 bool temp2 = false ;
18422 bool temp3 = false ;
18423 bool temp4 = false ;
18424 long val5 ;
18425 int ecode5 = 0 ;
18426 wxPoint temp6 ;
18427 PyObject * obj0 = 0 ;
18428 PyObject * obj1 = 0 ;
18429 PyObject * obj2 = 0 ;
18430 PyObject * obj3 = 0 ;
18431 PyObject * obj4 = 0 ;
18432 PyObject * obj5 = 0 ;
18433 char * kwnames[] = {
18434 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18435 };
18436
18437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18439 if (!SWIG_IsOK(res1)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18441 }
18442 arg1 = reinterpret_cast< wxWindow * >(argp1);
18443 {
18444 arg2 = wxString_in_helper(obj1);
18445 if (arg2 == NULL) SWIG_fail;
18446 temp2 = true;
18447 }
18448 if (obj2) {
093d3ff1 18449 {
0085ce49
RD
18450 arg3 = wxString_in_helper(obj2);
18451 if (arg3 == NULL) SWIG_fail;
18452 temp3 = true;
093d3ff1 18453 }
0085ce49
RD
18454 }
18455 if (obj3) {
d14a1e28 18456 {
0085ce49
RD
18457 arg4 = wxString_in_helper(obj3);
18458 if (arg4 == NULL) SWIG_fail;
18459 temp4 = true;
d14a1e28 18460 }
0085ce49
RD
18461 }
18462 if (obj4) {
18463 ecode5 = SWIG_AsVal_long(obj4, &val5);
18464 if (!SWIG_IsOK(ecode5)) {
18465 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18466 }
18467 arg5 = static_cast< long >(val5);
18468 }
18469 if (obj5) {
4f89f6a3 18470 {
0085ce49
RD
18471 arg6 = &temp6;
18472 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4f89f6a3 18473 }
0085ce49
RD
18474 }
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18482 {
18483 if (temp2)
18484 delete arg2;
18485 }
18486 {
18487 if (temp3)
18488 delete arg3;
18489 }
18490 {
18491 if (temp4)
18492 delete arg4;
18493 }
18494 return resultobj;
18495fail:
18496 {
18497 if (temp2)
18498 delete arg2;
18499 }
18500 {
18501 if (temp3)
18502 delete arg3;
18503 }
18504 {
18505 if (temp4)
18506 delete arg4;
18507 }
18508 return NULL;
d14a1e28
RD
18509}
18510
18511
0085ce49
RD
18512SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18513 PyObject *obj;
18514 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18515 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18516 return SWIG_Py_Void();
70b7a5fe
RD
18517}
18518
0085ce49
RD
18519SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18520 return SWIG_Python_InitShadowInstance(args);
18521}
70b7a5fe 18522
0085ce49
RD
18523SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18524 PyObject *resultobj = 0;
18525 wxFontData *result = 0 ;
18526
18527 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 result = (wxFontData *)new wxFontData();
18531 wxPyEndAllowThreads(__tstate);
18532 if (PyErr_Occurred()) SWIG_fail;
18533 }
18534 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18535 return resultobj;
18536fail:
18537 return NULL;
70b7a5fe
RD
18538}
18539
18540
0085ce49
RD
18541SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18542 PyObject *resultobj = 0;
18543 wxFontData *arg1 = (wxFontData *) 0 ;
18544 void *argp1 = 0 ;
18545 int res1 = 0 ;
18546 PyObject *swig_obj[1] ;
18547
18548 if (!args) SWIG_fail;
18549 swig_obj[0] = args;
18550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18551 if (!SWIG_IsOK(res1)) {
18552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18553 }
18554 arg1 = reinterpret_cast< wxFontData * >(argp1);
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 delete arg1;
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 resultobj = SWIG_Py_Void();
18563 return resultobj;
18564fail:
18565 return NULL;
18566}
18567
18568
18569SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj = 0;
18571 wxFontData *arg1 = (wxFontData *) 0 ;
18572 bool arg2 ;
18573 void *argp1 = 0 ;
18574 int res1 = 0 ;
18575 bool val2 ;
18576 int ecode2 = 0 ;
18577 PyObject * obj0 = 0 ;
18578 PyObject * obj1 = 0 ;
18579 char * kwnames[] = {
18580 (char *) "self",(char *) "enable", NULL
18581 };
18582
18583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18585 if (!SWIG_IsOK(res1)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18587 }
18588 arg1 = reinterpret_cast< wxFontData * >(argp1);
18589 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18590 if (!SWIG_IsOK(ecode2)) {
18591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18592 }
18593 arg2 = static_cast< bool >(val2);
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 (arg1)->EnableEffects(arg2);
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
18600 resultobj = SWIG_Py_Void();
18601 return resultobj;
18602fail:
18603 return NULL;
b2dc1044
RD
18604}
18605
18606
0085ce49
RD
18607SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18608 PyObject *resultobj = 0;
18609 wxFontData *arg1 = (wxFontData *) 0 ;
18610 bool result;
18611 void *argp1 = 0 ;
18612 int res1 = 0 ;
18613 PyObject *swig_obj[1] ;
18614
18615 if (!args) SWIG_fail;
18616 swig_obj[0] = args;
18617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18618 if (!SWIG_IsOK(res1)) {
18619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18620 }
18621 arg1 = reinterpret_cast< wxFontData * >(argp1);
18622 {
18623 PyThreadState* __tstate = wxPyBeginAllowThreads();
18624 result = (bool)(arg1)->GetAllowSymbols();
18625 wxPyEndAllowThreads(__tstate);
18626 if (PyErr_Occurred()) SWIG_fail;
18627 }
18628 {
18629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18630 }
18631 return resultobj;
18632fail:
18633 return NULL;
d14a1e28
RD
18634}
18635
18636
0085ce49
RD
18637SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18638 PyObject *resultobj = 0;
18639 wxFontData *arg1 = (wxFontData *) 0 ;
18640 wxColour result;
18641 void *argp1 = 0 ;
18642 int res1 = 0 ;
18643 PyObject *swig_obj[1] ;
18644
18645 if (!args) SWIG_fail;
18646 swig_obj[0] = args;
18647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18648 if (!SWIG_IsOK(res1)) {
18649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18650 }
18651 arg1 = reinterpret_cast< wxFontData * >(argp1);
18652 {
18653 PyThreadState* __tstate = wxPyBeginAllowThreads();
18654 result = (arg1)->GetColour();
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18659 return resultobj;
18660fail:
18661 return NULL;
d14a1e28
RD
18662}
18663
18664
0085ce49
RD
18665SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18666 PyObject *resultobj = 0;
18667 wxFontData *arg1 = (wxFontData *) 0 ;
18668 wxFont result;
18669 void *argp1 = 0 ;
18670 int res1 = 0 ;
18671 PyObject *swig_obj[1] ;
18672
18673 if (!args) SWIG_fail;
18674 swig_obj[0] = args;
18675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18676 if (!SWIG_IsOK(res1)) {
18677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18678 }
18679 arg1 = reinterpret_cast< wxFontData * >(argp1);
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 result = (arg1)->GetChosenFont();
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18687 return resultobj;
18688fail:
18689 return NULL;
d14a1e28
RD
18690}
18691
18692
0085ce49
RD
18693SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18694 PyObject *resultobj = 0;
18695 wxFontData *arg1 = (wxFontData *) 0 ;
18696 bool result;
18697 void *argp1 = 0 ;
18698 int res1 = 0 ;
18699 PyObject *swig_obj[1] ;
18700
18701 if (!args) SWIG_fail;
18702 swig_obj[0] = args;
18703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18704 if (!SWIG_IsOK(res1)) {
18705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18706 }
18707 arg1 = reinterpret_cast< wxFontData * >(argp1);
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 result = (bool)(arg1)->GetEnableEffects();
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 {
18715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18716 }
18717 return resultobj;
18718fail:
18719 return NULL;
d14a1e28
RD
18720}
18721
18722
0085ce49
RD
18723SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18724 PyObject *resultobj = 0;
18725 wxFontData *arg1 = (wxFontData *) 0 ;
18726 wxFont result;
18727 void *argp1 = 0 ;
18728 int res1 = 0 ;
18729 PyObject *swig_obj[1] ;
18730
18731 if (!args) SWIG_fail;
18732 swig_obj[0] = args;
18733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18734 if (!SWIG_IsOK(res1)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18736 }
18737 arg1 = reinterpret_cast< wxFontData * >(argp1);
18738 {
18739 PyThreadState* __tstate = wxPyBeginAllowThreads();
18740 result = (arg1)->GetInitialFont();
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18745 return resultobj;
18746fail:
18747 return NULL;
d14a1e28
RD
18748}
18749
18750
0085ce49
RD
18751SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18752 PyObject *resultobj = 0;
18753 wxFontData *arg1 = (wxFontData *) 0 ;
18754 bool result;
18755 void *argp1 = 0 ;
18756 int res1 = 0 ;
18757 PyObject *swig_obj[1] ;
18758
18759 if (!args) SWIG_fail;
18760 swig_obj[0] = args;
18761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18762 if (!SWIG_IsOK(res1)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18764 }
18765 arg1 = reinterpret_cast< wxFontData * >(argp1);
18766 {
18767 PyThreadState* __tstate = wxPyBeginAllowThreads();
18768 result = (bool)(arg1)->GetShowHelp();
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 {
18773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18774 }
18775 return resultobj;
18776fail:
18777 return NULL;
18778}
18779
18780
18781SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18782 PyObject *resultobj = 0;
18783 wxFontData *arg1 = (wxFontData *) 0 ;
18784 bool arg2 ;
18785 void *argp1 = 0 ;
18786 int res1 = 0 ;
18787 bool val2 ;
18788 int ecode2 = 0 ;
18789 PyObject * obj0 = 0 ;
18790 PyObject * obj1 = 0 ;
18791 char * kwnames[] = {
18792 (char *) "self",(char *) "allowSymbols", NULL
18793 };
18794
18795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18797 if (!SWIG_IsOK(res1)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18799 }
18800 arg1 = reinterpret_cast< wxFontData * >(argp1);
18801 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18802 if (!SWIG_IsOK(ecode2)) {
18803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18804 }
18805 arg2 = static_cast< bool >(val2);
18806 {
18807 PyThreadState* __tstate = wxPyBeginAllowThreads();
18808 (arg1)->SetAllowSymbols(arg2);
18809 wxPyEndAllowThreads(__tstate);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 resultobj = SWIG_Py_Void();
18813 return resultobj;
18814fail:
18815 return NULL;
18816}
18817
18818
18819SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18820 PyObject *resultobj = 0;
18821 wxFontData *arg1 = (wxFontData *) 0 ;
18822 wxFont *arg2 = 0 ;
18823 void *argp1 = 0 ;
18824 int res1 = 0 ;
18825 void *argp2 = 0 ;
18826 int res2 = 0 ;
18827 PyObject * obj0 = 0 ;
18828 PyObject * obj1 = 0 ;
18829 char * kwnames[] = {
18830 (char *) "self",(char *) "font", NULL
18831 };
18832
18833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18835 if (!SWIG_IsOK(res1)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18837 }
18838 arg1 = reinterpret_cast< wxFontData * >(argp1);
18839 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18840 if (!SWIG_IsOK(res2)) {
18841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18842 }
18843 if (!argp2) {
18844 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18845 }
18846 arg2 = reinterpret_cast< wxFont * >(argp2);
18847 {
18848 PyThreadState* __tstate = wxPyBeginAllowThreads();
18849 (arg1)->SetChosenFont((wxFont const &)*arg2);
18850 wxPyEndAllowThreads(__tstate);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
18853 resultobj = SWIG_Py_Void();
18854 return resultobj;
18855fail:
18856 return NULL;
18857}
18858
18859
18860SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj = 0;
18862 wxFontData *arg1 = (wxFontData *) 0 ;
18863 wxColour *arg2 = 0 ;
18864 void *argp1 = 0 ;
18865 int res1 = 0 ;
18866 wxColour temp2 ;
18867 PyObject * obj0 = 0 ;
18868 PyObject * obj1 = 0 ;
18869 char * kwnames[] = {
18870 (char *) "self",(char *) "colour", NULL
18871 };
18872
18873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18875 if (!SWIG_IsOK(res1)) {
18876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18877 }
18878 arg1 = reinterpret_cast< wxFontData * >(argp1);
18879 {
18880 arg2 = &temp2;
18881 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18882 }
18883 {
18884 PyThreadState* __tstate = wxPyBeginAllowThreads();
18885 (arg1)->SetColour((wxColour const &)*arg2);
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 resultobj = SWIG_Py_Void();
18890 return resultobj;
18891fail:
18892 return NULL;
18893}
18894
18895
18896SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj = 0;
18898 wxFontData *arg1 = (wxFontData *) 0 ;
18899 wxFont *arg2 = 0 ;
18900 void *argp1 = 0 ;
18901 int res1 = 0 ;
18902 void *argp2 = 0 ;
18903 int res2 = 0 ;
18904 PyObject * obj0 = 0 ;
18905 PyObject * obj1 = 0 ;
18906 char * kwnames[] = {
18907 (char *) "self",(char *) "font", NULL
18908 };
18909
18910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18912 if (!SWIG_IsOK(res1)) {
18913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18914 }
18915 arg1 = reinterpret_cast< wxFontData * >(argp1);
18916 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18917 if (!SWIG_IsOK(res2)) {
18918 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18919 }
18920 if (!argp2) {
18921 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18922 }
18923 arg2 = reinterpret_cast< wxFont * >(argp2);
18924 {
18925 PyThreadState* __tstate = wxPyBeginAllowThreads();
18926 (arg1)->SetInitialFont((wxFont const &)*arg2);
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 resultobj = SWIG_Py_Void();
18931 return resultobj;
18932fail:
18933 return NULL;
18934}
18935
18936
18937SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18938 PyObject *resultobj = 0;
18939 wxFontData *arg1 = (wxFontData *) 0 ;
18940 int arg2 ;
18941 int arg3 ;
18942 void *argp1 = 0 ;
18943 int res1 = 0 ;
18944 int val2 ;
18945 int ecode2 = 0 ;
18946 int val3 ;
18947 int ecode3 = 0 ;
18948 PyObject * obj0 = 0 ;
18949 PyObject * obj1 = 0 ;
18950 PyObject * obj2 = 0 ;
18951 char * kwnames[] = {
18952 (char *) "self",(char *) "min",(char *) "max", NULL
18953 };
18954
18955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18957 if (!SWIG_IsOK(res1)) {
18958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18959 }
18960 arg1 = reinterpret_cast< wxFontData * >(argp1);
18961 ecode2 = SWIG_AsVal_int(obj1, &val2);
18962 if (!SWIG_IsOK(ecode2)) {
18963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18964 }
18965 arg2 = static_cast< int >(val2);
18966 ecode3 = SWIG_AsVal_int(obj2, &val3);
18967 if (!SWIG_IsOK(ecode3)) {
18968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18969 }
18970 arg3 = static_cast< int >(val3);
18971 {
18972 PyThreadState* __tstate = wxPyBeginAllowThreads();
18973 (arg1)->SetRange(arg2,arg3);
18974 wxPyEndAllowThreads(__tstate);
18975 if (PyErr_Occurred()) SWIG_fail;
18976 }
18977 resultobj = SWIG_Py_Void();
18978 return resultobj;
18979fail:
18980 return NULL;
18981}
18982
18983
18984SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18985 PyObject *resultobj = 0;
18986 wxFontData *arg1 = (wxFontData *) 0 ;
18987 bool arg2 ;
18988 void *argp1 = 0 ;
18989 int res1 = 0 ;
18990 bool val2 ;
18991 int ecode2 = 0 ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char * kwnames[] = {
18995 (char *) "self",(char *) "showHelp", NULL
18996 };
18997
18998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19000 if (!SWIG_IsOK(res1)) {
19001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19002 }
19003 arg1 = reinterpret_cast< wxFontData * >(argp1);
19004 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19005 if (!SWIG_IsOK(ecode2)) {
19006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19007 }
19008 arg2 = static_cast< bool >(val2);
19009 {
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 (arg1)->SetShowHelp(arg2);
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 resultobj = SWIG_Py_Void();
19016 return resultobj;
19017fail:
19018 return NULL;
d14a1e28
RD
19019}
19020
19021
0085ce49
RD
19022SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19023 PyObject *obj;
19024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19025 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19026 return SWIG_Py_Void();
d14a1e28
RD
19027}
19028
0085ce49
RD
19029SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19030 return SWIG_Python_InitShadowInstance(args);
19031}
d14a1e28 19032
0085ce49
RD
19033SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj = 0;
19035 wxWindow *arg1 = (wxWindow *) 0 ;
19036 wxFontData *arg2 = 0 ;
19037 wxFontDialog *result = 0 ;
19038 void *argp1 = 0 ;
19039 int res1 = 0 ;
19040 void *argp2 = 0 ;
19041 int res2 = 0 ;
19042 PyObject * obj0 = 0 ;
19043 PyObject * obj1 = 0 ;
19044 char * kwnames[] = {
19045 (char *) "parent",(char *) "data", NULL
19046 };
19047
19048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19050 if (!SWIG_IsOK(res1)) {
19051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19052 }
19053 arg1 = reinterpret_cast< wxWindow * >(argp1);
19054 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19055 if (!SWIG_IsOK(res2)) {
19056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19057 }
19058 if (!argp2) {
19059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19060 }
19061 arg2 = reinterpret_cast< wxFontData * >(argp2);
19062 {
19063 if (!wxPyCheckForApp()) SWIG_fail;
19064 PyThreadState* __tstate = wxPyBeginAllowThreads();
19065 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19066 wxPyEndAllowThreads(__tstate);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19070 return resultobj;
19071fail:
19072 return NULL;
19073}
19074
19075
19076SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19077 PyObject *resultobj = 0;
19078 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19079 wxFontData *result = 0 ;
19080 void *argp1 = 0 ;
19081 int res1 = 0 ;
19082 PyObject *swig_obj[1] ;
19083
19084 if (!args) SWIG_fail;
19085 swig_obj[0] = args;
19086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19087 if (!SWIG_IsOK(res1)) {
19088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19089 }
19090 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19091 {
19092 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19093 {
0085ce49
RD
19094 wxFontData &_result_ref = (arg1)->GetFontData();
19095 result = (wxFontData *) &_result_ref;
093d3ff1 19096 }
0085ce49
RD
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19101 return resultobj;
19102fail:
19103 return NULL;
19104}
19105
19106
19107SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19108 PyObject *obj;
19109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19110 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19111 return SWIG_Py_Void();
19112}
19113
19114SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19115 return SWIG_Python_InitShadowInstance(args);
19116}
19117
19118SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19119 PyObject *resultobj = 0;
19120 wxWindow *arg1 = (wxWindow *) NULL ;
19121 wxFont const &arg2_defvalue = wxNullFont ;
19122 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19123 wxString const &arg3_defvalue = wxPyEmptyString ;
19124 wxString *arg3 = (wxString *) &arg3_defvalue ;
19125 wxFont result;
19126 void *argp1 = 0 ;
19127 int res1 = 0 ;
19128 void *argp2 = 0 ;
19129 int res2 = 0 ;
19130 bool temp3 = false ;
19131 PyObject * obj0 = 0 ;
19132 PyObject * obj1 = 0 ;
19133 PyObject * obj2 = 0 ;
19134 char * kwnames[] = {
19135 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19136 };
19137
19138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19139 if (obj0) {
19140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19141 if (!SWIG_IsOK(res1)) {
19142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19143 }
19144 arg1 = reinterpret_cast< wxWindow * >(argp1);
19145 }
19146 if (obj1) {
19147 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19148 if (!SWIG_IsOK(res2)) {
19149 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19150 }
19151 if (!argp2) {
19152 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d14a1e28 19153 }
0085ce49
RD
19154 arg2 = reinterpret_cast< wxFont * >(argp2);
19155 }
19156 if (obj2) {
4f89f6a3 19157 {
0085ce49
RD
19158 arg3 = wxString_in_helper(obj2);
19159 if (arg3 == NULL) SWIG_fail;
19160 temp3 = true;
4f89f6a3 19161 }
0085ce49
RD
19162 }
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19166 wxPyEndAllowThreads(__tstate);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
19169 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19170 {
19171 if (temp3)
19172 delete arg3;
19173 }
19174 return resultobj;
19175fail:
19176 {
19177 if (temp3)
19178 delete arg3;
19179 }
19180 return NULL;
19181}
19182
19183
19184SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19185 PyObject *resultobj = 0;
19186 wxWindow *arg1 = (wxWindow *) 0 ;
19187 wxString *arg2 = 0 ;
19188 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19189 wxString *arg3 = (wxString *) &arg3_defvalue ;
19190 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19191 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19192 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19193 wxMessageDialog *result = 0 ;
19194 void *argp1 = 0 ;
19195 int res1 = 0 ;
19196 bool temp2 = false ;
19197 bool temp3 = false ;
19198 long val4 ;
19199 int ecode4 = 0 ;
19200 wxPoint temp5 ;
19201 PyObject * obj0 = 0 ;
19202 PyObject * obj1 = 0 ;
19203 PyObject * obj2 = 0 ;
19204 PyObject * obj3 = 0 ;
19205 PyObject * obj4 = 0 ;
19206 char * kwnames[] = {
19207 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19208 };
19209
19210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19212 if (!SWIG_IsOK(res1)) {
19213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19214 }
19215 arg1 = reinterpret_cast< wxWindow * >(argp1);
19216 {
19217 arg2 = wxString_in_helper(obj1);
19218 if (arg2 == NULL) SWIG_fail;
19219 temp2 = true;
19220 }
19221 if (obj2) {
093d3ff1 19222 {
0085ce49
RD
19223 arg3 = wxString_in_helper(obj2);
19224 if (arg3 == NULL) SWIG_fail;
19225 temp3 = true;
093d3ff1 19226 }
0085ce49
RD
19227 }
19228 if (obj3) {
19229 ecode4 = SWIG_AsVal_long(obj3, &val4);
19230 if (!SWIG_IsOK(ecode4)) {
19231 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19232 }
19233 arg4 = static_cast< long >(val4);
19234 }
19235 if (obj4) {
d14a1e28 19236 {
0085ce49
RD
19237 arg5 = &temp5;
19238 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19239 }
19240 }
19241 {
19242 if (!wxPyCheckForApp()) SWIG_fail;
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19245 wxPyEndAllowThreads(__tstate);
19246 if (PyErr_Occurred()) SWIG_fail;
19247 }
19248 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19249 {
19250 if (temp2)
19251 delete arg2;
19252 }
19253 {
19254 if (temp3)
19255 delete arg3;
19256 }
19257 return resultobj;
19258fail:
19259 {
19260 if (temp2)
19261 delete arg2;
19262 }
19263 {
19264 if (temp3)
19265 delete arg3;
19266 }
19267 return NULL;
19268}
19269
19270
19271SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19272 PyObject *obj;
19273 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19274 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19275 return SWIG_Py_Void();
19276}
19277
19278SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19279 return SWIG_Python_InitShadowInstance(args);
19280}
19281
19282SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj = 0;
19284 wxString *arg1 = 0 ;
19285 wxString *arg2 = 0 ;
19286 int arg3 = (int) 100 ;
19287 wxWindow *arg4 = (wxWindow *) NULL ;
19288 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19289 wxProgressDialog *result = 0 ;
19290 bool temp1 = false ;
19291 bool temp2 = false ;
19292 int val3 ;
19293 int ecode3 = 0 ;
19294 void *argp4 = 0 ;
19295 int res4 = 0 ;
19296 int val5 ;
19297 int ecode5 = 0 ;
19298 PyObject * obj0 = 0 ;
19299 PyObject * obj1 = 0 ;
19300 PyObject * obj2 = 0 ;
19301 PyObject * obj3 = 0 ;
19302 PyObject * obj4 = 0 ;
19303 char * kwnames[] = {
19304 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19305 };
19306
19307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19308 {
19309 arg1 = wxString_in_helper(obj0);
19310 if (arg1 == NULL) SWIG_fail;
19311 temp1 = true;
19312 }
19313 {
19314 arg2 = wxString_in_helper(obj1);
19315 if (arg2 == NULL) SWIG_fail;
19316 temp2 = true;
19317 }
19318 if (obj2) {
19319 ecode3 = SWIG_AsVal_int(obj2, &val3);
19320 if (!SWIG_IsOK(ecode3)) {
19321 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19322 }
19323 arg3 = static_cast< int >(val3);
19324 }
19325 if (obj3) {
19326 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19327 if (!SWIG_IsOK(res4)) {
19328 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d14a1e28 19329 }
0085ce49
RD
19330 arg4 = reinterpret_cast< wxWindow * >(argp4);
19331 }
19332 if (obj4) {
19333 ecode5 = SWIG_AsVal_int(obj4, &val5);
19334 if (!SWIG_IsOK(ecode5)) {
19335 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19336 }
19337 arg5 = static_cast< int >(val5);
19338 }
19339 {
19340 if (!wxPyCheckForApp()) SWIG_fail;
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19347 {
19348 if (temp1)
19349 delete arg1;
19350 }
19351 {
19352 if (temp2)
19353 delete arg2;
19354 }
19355 return resultobj;
19356fail:
19357 {
19358 if (temp1)
19359 delete arg1;
19360 }
19361 {
19362 if (temp2)
19363 delete arg2;
19364 }
19365 return NULL;
19366}
19367
19368
19369SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19370 PyObject *resultobj = 0;
19371 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19372 int arg2 ;
19373 wxString const &arg3_defvalue = wxPyEmptyString ;
19374 wxString *arg3 = (wxString *) &arg3_defvalue ;
01f6b6d3 19375 bool *arg4 = (bool *) 0 ;
0085ce49
RD
19376 bool result;
19377 void *argp1 = 0 ;
19378 int res1 = 0 ;
19379 int val2 ;
19380 int ecode2 = 0 ;
19381 bool temp3 = false ;
01f6b6d3
RD
19382 bool temp4 ;
19383 int res4 = SWIG_TMPOBJ ;
0085ce49
RD
19384 PyObject * obj0 = 0 ;
19385 PyObject * obj1 = 0 ;
19386 PyObject * obj2 = 0 ;
19387 char * kwnames[] = {
19388 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19389 };
19390
01f6b6d3 19391 arg4 = &temp4;
0085ce49
RD
19392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19394 if (!SWIG_IsOK(res1)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19396 }
19397 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19398 ecode2 = SWIG_AsVal_int(obj1, &val2);
19399 if (!SWIG_IsOK(ecode2)) {
19400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19401 }
19402 arg2 = static_cast< int >(val2);
19403 if (obj2) {
4f89f6a3 19404 {
0085ce49
RD
19405 arg3 = wxString_in_helper(obj2);
19406 if (arg3 == NULL) SWIG_fail;
19407 temp3 = true;
4f89f6a3 19408 }
0085ce49
RD
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
01f6b6d3 19412 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
0085ce49
RD
19413 wxPyEndAllowThreads(__tstate);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 }
19416 {
19417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19418 }
01f6b6d3
RD
19419 if (SWIG_IsTmpObj(res4)) {
19420 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19421 } else {
19422 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19423 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19424 }
0085ce49
RD
19425 {
19426 if (temp3)
19427 delete arg3;
19428 }
19429 return resultobj;
19430fail:
19431 {
19432 if (temp3)
19433 delete arg3;
19434 }
19435 return NULL;
d14a1e28
RD
19436}
19437
19438
0085ce49
RD
19439SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19440 PyObject *resultobj = 0;
19441 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19442 void *argp1 = 0 ;
19443 int res1 = 0 ;
19444 PyObject *swig_obj[1] ;
19445
19446 if (!args) SWIG_fail;
19447 swig_obj[0] = args;
19448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19449 if (!SWIG_IsOK(res1)) {
19450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19451 }
19452 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 (arg1)->Resume();
19456 wxPyEndAllowThreads(__tstate);
19457 if (PyErr_Occurred()) SWIG_fail;
19458 }
19459 resultobj = SWIG_Py_Void();
19460 return resultobj;
19461fail:
19462 return NULL;
d14a1e28
RD
19463}
19464
19465
0085ce49
RD
19466SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19467 PyObject *obj;
19468 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19469 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19470 return SWIG_Py_Void();
d14a1e28
RD
19471}
19472
0085ce49
RD
19473SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19474 return SWIG_Python_InitShadowInstance(args);
19475}
d14a1e28 19476
0085ce49
RD
19477SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19478 PyObject *resultobj = 0;
19479 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19480 int arg2 = (int) 0 ;
19481 wxFindDialogEvent *result = 0 ;
19482 int val1 ;
19483 int ecode1 = 0 ;
19484 int val2 ;
19485 int ecode2 = 0 ;
19486 PyObject * obj0 = 0 ;
19487 PyObject * obj1 = 0 ;
19488 char * kwnames[] = {
19489 (char *) "commandType",(char *) "id", NULL
19490 };
19491
19492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19493 if (obj0) {
19494 ecode1 = SWIG_AsVal_int(obj0, &val1);
19495 if (!SWIG_IsOK(ecode1)) {
19496 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19497 }
19498 arg1 = static_cast< wxEventType >(val1);
19499 }
19500 if (obj1) {
19501 ecode2 = SWIG_AsVal_int(obj1, &val2);
19502 if (!SWIG_IsOK(ecode2)) {
19503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19504 }
19505 arg2 = static_cast< int >(val2);
19506 }
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19514 return resultobj;
19515fail:
19516 return NULL;
d14a1e28
RD
19517}
19518
19519
0085ce49
RD
19520SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19521 PyObject *resultobj = 0;
19522 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19523 int result;
19524 void *argp1 = 0 ;
19525 int res1 = 0 ;
19526 PyObject *swig_obj[1] ;
19527
19528 if (!args) SWIG_fail;
19529 swig_obj[0] = args;
19530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19531 if (!SWIG_IsOK(res1)) {
19532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19533 }
19534 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 result = (int)(arg1)->GetFlags();
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
19541 resultobj = SWIG_From_int(static_cast< int >(result));
19542 return resultobj;
19543fail:
19544 return NULL;
d14a1e28
RD
19545}
19546
19547
0085ce49
RD
19548SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19549 PyObject *resultobj = 0;
19550 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19551 wxString *result = 0 ;
19552 void *argp1 = 0 ;
19553 int res1 = 0 ;
19554 PyObject *swig_obj[1] ;
19555
19556 if (!args) SWIG_fail;
19557 swig_obj[0] = args;
19558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19559 if (!SWIG_IsOK(res1)) {
19560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19561 }
19562 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19563 {
19564 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 19565 {
0085ce49
RD
19566 wxString const &_result_ref = (arg1)->GetFindString();
19567 result = (wxString *) &_result_ref;
d14a1e28 19568 }
0085ce49
RD
19569 wxPyEndAllowThreads(__tstate);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
19572 {
19573#if wxUSE_UNICODE
19574 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19575#else
19576 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19577#endif
19578 }
19579 return resultobj;
19580fail:
19581 return NULL;
d14a1e28
RD
19582}
19583
19584
0085ce49
RD
19585SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19586 PyObject *resultobj = 0;
19587 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19588 wxString *result = 0 ;
19589 void *argp1 = 0 ;
19590 int res1 = 0 ;
19591 PyObject *swig_obj[1] ;
19592
19593 if (!args) SWIG_fail;
19594 swig_obj[0] = args;
19595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19596 if (!SWIG_IsOK(res1)) {
19597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19598 }
19599 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 19602 {
0085ce49
RD
19603 wxString const &_result_ref = (arg1)->GetReplaceString();
19604 result = (wxString *) &_result_ref;
093d3ff1 19605 }
0085ce49
RD
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 {
19610#if wxUSE_UNICODE
19611 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19612#else
19613 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19614#endif
19615 }
19616 return resultobj;
19617fail:
19618 return NULL;
d14a1e28
RD
19619}
19620
19621
0085ce49
RD
19622SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19623 PyObject *resultobj = 0;
19624 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19625 wxFindReplaceDialog *result = 0 ;
19626 void *argp1 = 0 ;
19627 int res1 = 0 ;
19628 PyObject *swig_obj[1] ;
19629
19630 if (!args) SWIG_fail;
19631 swig_obj[0] = args;
19632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19633 if (!SWIG_IsOK(res1)) {
19634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19635 }
19636 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19637 {
19638 PyThreadState* __tstate = wxPyBeginAllowThreads();
19639 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
19643 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19644 return resultobj;
19645fail:
19646 return NULL;
19647}
19648
19649
19650SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19651 PyObject *resultobj = 0;
19652 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19653 int arg2 ;
19654 void *argp1 = 0 ;
19655 int res1 = 0 ;
19656 int val2 ;
19657 int ecode2 = 0 ;
19658 PyObject * obj0 = 0 ;
19659 PyObject * obj1 = 0 ;
19660 char * kwnames[] = {
19661 (char *) "self",(char *) "flags", NULL
19662 };
19663
19664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19666 if (!SWIG_IsOK(res1)) {
19667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19668 }
19669 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19670 ecode2 = SWIG_AsVal_int(obj1, &val2);
19671 if (!SWIG_IsOK(ecode2)) {
19672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19673 }
19674 arg2 = static_cast< int >(val2);
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 (arg1)->SetFlags(arg2);
19678 wxPyEndAllowThreads(__tstate);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 }
19681 resultobj = SWIG_Py_Void();
19682 return resultobj;
19683fail:
19684 return NULL;
19685}
19686
19687
19688SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19689 PyObject *resultobj = 0;
19690 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19691 wxString *arg2 = 0 ;
19692 void *argp1 = 0 ;
19693 int res1 = 0 ;
19694 bool temp2 = false ;
19695 PyObject * obj0 = 0 ;
19696 PyObject * obj1 = 0 ;
19697 char * kwnames[] = {
19698 (char *) "self",(char *) "str", NULL
19699 };
19700
19701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19703 if (!SWIG_IsOK(res1)) {
19704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19705 }
19706 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19707 {
19708 arg2 = wxString_in_helper(obj1);
19709 if (arg2 == NULL) SWIG_fail;
19710 temp2 = true;
19711 }
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 (arg1)->SetFindString((wxString const &)*arg2);
19715 wxPyEndAllowThreads(__tstate);
19716 if (PyErr_Occurred()) SWIG_fail;
19717 }
19718 resultobj = SWIG_Py_Void();
19719 {
19720 if (temp2)
19721 delete arg2;
19722 }
19723 return resultobj;
19724fail:
19725 {
19726 if (temp2)
19727 delete arg2;
19728 }
19729 return NULL;
d14a1e28
RD
19730}
19731
19732
0085ce49
RD
19733SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19734 PyObject *resultobj = 0;
19735 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19736 wxString *arg2 = 0 ;
19737 void *argp1 = 0 ;
19738 int res1 = 0 ;
19739 bool temp2 = false ;
19740 PyObject * obj0 = 0 ;
19741 PyObject * obj1 = 0 ;
19742 char * kwnames[] = {
19743 (char *) "self",(char *) "str", NULL
19744 };
19745
19746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19748 if (!SWIG_IsOK(res1)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19750 }
19751 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19752 {
19753 arg2 = wxString_in_helper(obj1);
19754 if (arg2 == NULL) SWIG_fail;
19755 temp2 = true;
19756 }
19757 {
19758 PyThreadState* __tstate = wxPyBeginAllowThreads();
19759 (arg1)->SetReplaceString((wxString const &)*arg2);
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
19763 resultobj = SWIG_Py_Void();
19764 {
19765 if (temp2)
19766 delete arg2;
19767 }
19768 return resultobj;
19769fail:
19770 {
19771 if (temp2)
19772 delete arg2;
19773 }
19774 return NULL;
d14a1e28
RD
19775}
19776
19777
0085ce49
RD
19778SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19779 PyObject *obj;
19780 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19781 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19782 return SWIG_Py_Void();
d14a1e28
RD
19783}
19784
0085ce49
RD
19785SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19786 return SWIG_Python_InitShadowInstance(args);
19787}
d14a1e28 19788
0085ce49
RD
19789SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19790 PyObject *resultobj = 0;
19791 int arg1 = (int) 0 ;
19792 wxFindReplaceData *result = 0 ;
19793 int val1 ;
19794 int ecode1 = 0 ;
19795 PyObject * obj0 = 0 ;
19796 char * kwnames[] = {
19797 (char *) "flags", NULL
19798 };
19799
19800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19801 if (obj0) {
19802 ecode1 = SWIG_AsVal_int(obj0, &val1);
19803 if (!SWIG_IsOK(ecode1)) {
19804 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19805 }
19806 arg1 = static_cast< int >(val1);
19807 }
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19811 wxPyEndAllowThreads(__tstate);
19812 if (PyErr_Occurred()) SWIG_fail;
19813 }
19814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19815 return resultobj;
19816fail:
19817 return NULL;
d14a1e28
RD
19818}
19819
19820
0085ce49
RD
19821SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19822 PyObject *resultobj = 0;
19823 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19824 void *argp1 = 0 ;
19825 int res1 = 0 ;
19826 PyObject *swig_obj[1] ;
19827
19828 if (!args) SWIG_fail;
19829 swig_obj[0] = args;
19830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19831 if (!SWIG_IsOK(res1)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19833 }
19834 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 delete arg1;
d14a1e28 19838
0085ce49
RD
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 resultobj = SWIG_Py_Void();
19843 return resultobj;
19844fail:
19845 return NULL;
d14a1e28
RD
19846}
19847
19848
0085ce49
RD
19849SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19850 PyObject *resultobj = 0;
19851 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19852 wxString *result = 0 ;
19853 void *argp1 = 0 ;
19854 int res1 = 0 ;
19855 PyObject *swig_obj[1] ;
19856
19857 if (!args) SWIG_fail;
19858 swig_obj[0] = args;
19859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19860 if (!SWIG_IsOK(res1)) {
19861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19862 }
19863 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 19866 {
0085ce49
RD
19867 wxString const &_result_ref = (arg1)->GetFindString();
19868 result = (wxString *) &_result_ref;
4f89f6a3 19869 }
0085ce49
RD
19870 wxPyEndAllowThreads(__tstate);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 }
19873 {
19874#if wxUSE_UNICODE
19875 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19876#else
19877 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19878#endif
19879 }
19880 return resultobj;
19881fail:
19882 return NULL;
d14a1e28
RD
19883}
19884
19885
0085ce49
RD
19886SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19887 PyObject *resultobj = 0;
19888 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19889 wxString *result = 0 ;
19890 void *argp1 = 0 ;
19891 int res1 = 0 ;
19892 PyObject *swig_obj[1] ;
19893
19894 if (!args) SWIG_fail;
19895 swig_obj[0] = args;
19896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19897 if (!SWIG_IsOK(res1)) {
19898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19899 }
19900 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 19903 {
0085ce49
RD
19904 wxString const &_result_ref = (arg1)->GetReplaceString();
19905 result = (wxString *) &_result_ref;
4f89f6a3 19906 }
0085ce49
RD
19907 wxPyEndAllowThreads(__tstate);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 }
19910 {
19911#if wxUSE_UNICODE
19912 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19913#else
19914 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19915#endif
19916 }
19917 return resultobj;
19918fail:
19919 return NULL;
d14a1e28
RD
19920}
19921
19922
0085ce49
RD
19923SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19924 PyObject *resultobj = 0;
19925 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19926 int result;
19927 void *argp1 = 0 ;
19928 int res1 = 0 ;
19929 PyObject *swig_obj[1] ;
19930
19931 if (!args) SWIG_fail;
19932 swig_obj[0] = args;
19933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19934 if (!SWIG_IsOK(res1)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19936 }
19937 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 result = (int)(arg1)->GetFlags();
19941 wxPyEndAllowThreads(__tstate);
19942 if (PyErr_Occurred()) SWIG_fail;
19943 }
19944 resultobj = SWIG_From_int(static_cast< int >(result));
19945 return resultobj;
19946fail:
19947 return NULL;
19948}
19949
19950
19951SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj = 0;
19953 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19954 int arg2 ;
19955 void *argp1 = 0 ;
19956 int res1 = 0 ;
19957 int val2 ;
19958 int ecode2 = 0 ;
19959 PyObject * obj0 = 0 ;
19960 PyObject * obj1 = 0 ;
19961 char * kwnames[] = {
19962 (char *) "self",(char *) "flags", NULL
19963 };
19964
19965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19967 if (!SWIG_IsOK(res1)) {
19968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19969 }
19970 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19971 ecode2 = SWIG_AsVal_int(obj1, &val2);
19972 if (!SWIG_IsOK(ecode2)) {
19973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19974 }
19975 arg2 = static_cast< int >(val2);
19976 {
19977 PyThreadState* __tstate = wxPyBeginAllowThreads();
19978 (arg1)->SetFlags(arg2);
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 resultobj = SWIG_Py_Void();
19983 return resultobj;
19984fail:
19985 return NULL;
19986}
19987
19988
19989SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19990 PyObject *resultobj = 0;
19991 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19992 wxString *arg2 = 0 ;
19993 void *argp1 = 0 ;
19994 int res1 = 0 ;
19995 bool temp2 = false ;
19996 PyObject * obj0 = 0 ;
19997 PyObject * obj1 = 0 ;
19998 char * kwnames[] = {
19999 (char *) "self",(char *) "str", NULL
20000 };
20001
20002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20004 if (!SWIG_IsOK(res1)) {
20005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20006 }
20007 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20008 {
20009 arg2 = wxString_in_helper(obj1);
20010 if (arg2 == NULL) SWIG_fail;
20011 temp2 = true;
20012 }
20013 {
20014 PyThreadState* __tstate = wxPyBeginAllowThreads();
20015 (arg1)->SetFindString((wxString const &)*arg2);
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 resultobj = SWIG_Py_Void();
20020 {
20021 if (temp2)
20022 delete arg2;
20023 }
20024 return resultobj;
20025fail:
20026 {
20027 if (temp2)
20028 delete arg2;
20029 }
20030 return NULL;
d14a1e28
RD
20031}
20032
20033
0085ce49
RD
20034SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj = 0;
20036 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20037 wxString *arg2 = 0 ;
20038 void *argp1 = 0 ;
20039 int res1 = 0 ;
20040 bool temp2 = false ;
20041 PyObject * obj0 = 0 ;
20042 PyObject * obj1 = 0 ;
20043 char * kwnames[] = {
20044 (char *) "self",(char *) "str", NULL
20045 };
20046
20047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20049 if (!SWIG_IsOK(res1)) {
20050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20051 }
20052 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20053 {
20054 arg2 = wxString_in_helper(obj1);
20055 if (arg2 == NULL) SWIG_fail;
20056 temp2 = true;
20057 }
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 (arg1)->SetReplaceString((wxString const &)*arg2);
20061 wxPyEndAllowThreads(__tstate);
20062 if (PyErr_Occurred()) SWIG_fail;
20063 }
20064 resultobj = SWIG_Py_Void();
20065 {
20066 if (temp2)
20067 delete arg2;
20068 }
20069 return resultobj;
20070fail:
20071 {
20072 if (temp2)
20073 delete arg2;
20074 }
20075 return NULL;
20076}
20077
20078
20079SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20080 PyObject *obj;
20081 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20082 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20083 return SWIG_Py_Void();
20084}
20085
20086SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20087 return SWIG_Python_InitShadowInstance(args);
20088}
20089
20090SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20091 PyObject *resultobj = 0;
20092 wxWindow *arg1 = (wxWindow *) 0 ;
20093 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20094 wxString *arg3 = 0 ;
20095 int arg4 = (int) 0 ;
20096 wxFindReplaceDialog *result = 0 ;
20097 void *argp1 = 0 ;
20098 int res1 = 0 ;
20099 void *argp2 = 0 ;
20100 int res2 = 0 ;
20101 bool temp3 = false ;
20102 int val4 ;
20103 int ecode4 = 0 ;
20104 PyObject * obj0 = 0 ;
20105 PyObject * obj1 = 0 ;
20106 PyObject * obj2 = 0 ;
20107 PyObject * obj3 = 0 ;
20108 char * kwnames[] = {
20109 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20110 };
20111
20112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20114 if (!SWIG_IsOK(res1)) {
20115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20116 }
20117 arg1 = reinterpret_cast< wxWindow * >(argp1);
20118 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20119 if (!SWIG_IsOK(res2)) {
20120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20121 }
20122 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20123 {
20124 arg3 = wxString_in_helper(obj2);
20125 if (arg3 == NULL) SWIG_fail;
20126 temp3 = true;
20127 }
20128 if (obj3) {
20129 ecode4 = SWIG_AsVal_int(obj3, &val4);
20130 if (!SWIG_IsOK(ecode4)) {
20131 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20132 }
20133 arg4 = static_cast< int >(val4);
20134 }
20135 {
20136 if (!wxPyCheckForApp()) SWIG_fail;
20137 PyThreadState* __tstate = wxPyBeginAllowThreads();
20138 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20139 wxPyEndAllowThreads(__tstate);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 }
20142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20143 {
20144 if (temp3)
20145 delete arg3;
20146 }
20147 return resultobj;
20148fail:
20149 {
20150 if (temp3)
20151 delete arg3;
20152 }
20153 return NULL;
d14a1e28
RD
20154}
20155
20156
0085ce49
RD
20157SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20158 PyObject *resultobj = 0;
20159 wxFindReplaceDialog *result = 0 ;
20160
20161 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20162 {
20163 if (!wxPyCheckForApp()) SWIG_fail;
20164 PyThreadState* __tstate = wxPyBeginAllowThreads();
20165 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20166 wxPyEndAllowThreads(__tstate);
20167 if (PyErr_Occurred()) SWIG_fail;
20168 }
20169 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20170 return resultobj;
20171fail:
20172 return NULL;
20173}
20174
20175
20176SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj = 0;
20178 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20179 wxWindow *arg2 = (wxWindow *) 0 ;
20180 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20181 wxString *arg4 = 0 ;
20182 int arg5 = (int) 0 ;
20183 bool result;
20184 void *argp1 = 0 ;
20185 int res1 = 0 ;
20186 void *argp2 = 0 ;
20187 int res2 = 0 ;
20188 void *argp3 = 0 ;
20189 int res3 = 0 ;
20190 bool temp4 = false ;
20191 int val5 ;
20192 int ecode5 = 0 ;
20193 PyObject * obj0 = 0 ;
20194 PyObject * obj1 = 0 ;
20195 PyObject * obj2 = 0 ;
20196 PyObject * obj3 = 0 ;
20197 PyObject * obj4 = 0 ;
20198 char * kwnames[] = {
20199 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20200 };
20201
20202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20204 if (!SWIG_IsOK(res1)) {
20205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20206 }
20207 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20208 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20209 if (!SWIG_IsOK(res2)) {
20210 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20211 }
20212 arg2 = reinterpret_cast< wxWindow * >(argp2);
20213 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20214 if (!SWIG_IsOK(res3)) {
20215 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20216 }
20217 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20218 {
20219 arg4 = wxString_in_helper(obj3);
20220 if (arg4 == NULL) SWIG_fail;
20221 temp4 = true;
20222 }
20223 if (obj4) {
20224 ecode5 = SWIG_AsVal_int(obj4, &val5);
20225 if (!SWIG_IsOK(ecode5)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20227 }
20228 arg5 = static_cast< int >(val5);
20229 }
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 {
20237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20238 }
20239 {
20240 if (temp4)
20241 delete arg4;
20242 }
20243 return resultobj;
20244fail:
20245 {
20246 if (temp4)
20247 delete arg4;
20248 }
20249 return NULL;
d14a1e28
RD
20250}
20251
20252
0085ce49
RD
20253SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20254 PyObject *resultobj = 0;
20255 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20256 wxFindReplaceData *result = 0 ;
20257 void *argp1 = 0 ;
20258 int res1 = 0 ;
20259 PyObject *swig_obj[1] ;
20260
20261 if (!args) SWIG_fail;
20262 swig_obj[0] = args;
20263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20264 if (!SWIG_IsOK(res1)) {
20265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20266 }
20267 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20268 {
20269 PyThreadState* __tstate = wxPyBeginAllowThreads();
20270 result = (wxFindReplaceData *)(arg1)->GetData();
20271 wxPyEndAllowThreads(__tstate);
20272 if (PyErr_Occurred()) SWIG_fail;
20273 }
20274 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20275 return resultobj;
20276fail:
20277 return NULL;
20278}
20279
20280
20281SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20282 PyObject *resultobj = 0;
20283 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20284 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20285 void *argp1 = 0 ;
20286 int res1 = 0 ;
20287 void *argp2 = 0 ;
20288 int res2 = 0 ;
20289 PyObject * obj0 = 0 ;
20290 PyObject * obj1 = 0 ;
20291 char * kwnames[] = {
20292 (char *) "self",(char *) "data", NULL
20293 };
20294
20295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20297 if (!SWIG_IsOK(res1)) {
20298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20299 }
20300 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20301 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20302 if (!SWIG_IsOK(res2)) {
20303 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20304 }
20305 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 (arg1)->SetData(arg2);
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 resultobj = SWIG_Py_Void();
20313 return resultobj;
20314fail:
20315 return NULL;
20316}
20317
20318
20319SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20320 PyObject *obj;
20321 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20322 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20323 return SWIG_Py_Void();
20324}
20325
20326SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20327 return SWIG_Python_InitShadowInstance(args);
20328}
20329
20330SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20331 PyObject *resultobj = 0;
20332 wxWindow *arg1 = (wxWindow *) 0 ;
20333 int arg2 = (int) (int)-1 ;
20334 wxString const &arg3_defvalue = wxPyEmptyString ;
20335 wxString *arg3 = (wxString *) &arg3_defvalue ;
20336 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20337 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20338 wxSize const &arg5_defvalue = wxDefaultSize ;
20339 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20340 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20341 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20342 wxString *arg7 = (wxString *) &arg7_defvalue ;
20343 wxMDIParentFrame *result = 0 ;
20344 void *argp1 = 0 ;
20345 int res1 = 0 ;
20346 int val2 ;
20347 int ecode2 = 0 ;
20348 bool temp3 = false ;
20349 wxPoint temp4 ;
20350 wxSize temp5 ;
20351 long val6 ;
20352 int ecode6 = 0 ;
20353 bool temp7 = false ;
20354 PyObject * obj0 = 0 ;
20355 PyObject * obj1 = 0 ;
20356 PyObject * obj2 = 0 ;
20357 PyObject * obj3 = 0 ;
20358 PyObject * obj4 = 0 ;
20359 PyObject * obj5 = 0 ;
20360 PyObject * obj6 = 0 ;
20361 char * kwnames[] = {
20362 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20363 };
20364
20365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20367 if (!SWIG_IsOK(res1)) {
20368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20369 }
20370 arg1 = reinterpret_cast< wxWindow * >(argp1);
20371 if (obj1) {
20372 ecode2 = SWIG_AsVal_int(obj1, &val2);
20373 if (!SWIG_IsOK(ecode2)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20375 }
20376 arg2 = static_cast< int >(val2);
20377 }
20378 if (obj2) {
d14a1e28 20379 {
0085ce49
RD
20380 arg3 = wxString_in_helper(obj2);
20381 if (arg3 == NULL) SWIG_fail;
20382 temp3 = true;
d14a1e28 20383 }
0085ce49
RD
20384 }
20385 if (obj3) {
d14a1e28 20386 {
0085ce49
RD
20387 arg4 = &temp4;
20388 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 20389 }
0085ce49
RD
20390 }
20391 if (obj4) {
d14a1e28 20392 {
0085ce49
RD
20393 arg5 = &temp5;
20394 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20395 }
20396 }
20397 if (obj5) {
20398 ecode6 = SWIG_AsVal_long(obj5, &val6);
20399 if (!SWIG_IsOK(ecode6)) {
20400 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20401 }
20402 arg6 = static_cast< long >(val6);
20403 }
20404 if (obj6) {
d14a1e28 20405 {
0085ce49
RD
20406 arg7 = wxString_in_helper(obj6);
20407 if (arg7 == NULL) SWIG_fail;
20408 temp7 = true;
20409 }
20410 }
20411 {
20412 if (!wxPyCheckForApp()) SWIG_fail;
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20415 wxPyEndAllowThreads(__tstate);
20416 if (PyErr_Occurred()) SWIG_fail;
20417 }
20418 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20419 {
20420 if (temp3)
20421 delete arg3;
20422 }
20423 {
20424 if (temp7)
20425 delete arg7;
20426 }
20427 return resultobj;
20428fail:
20429 {
20430 if (temp3)
20431 delete arg3;
20432 }
20433 {
20434 if (temp7)
20435 delete arg7;
20436 }
20437 return NULL;
d14a1e28
RD
20438}
20439
20440
0085ce49
RD
20441SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20442 PyObject *resultobj = 0;
20443 wxMDIParentFrame *result = 0 ;
20444
20445 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20446 {
20447 if (!wxPyCheckForApp()) SWIG_fail;
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20454 return resultobj;
20455fail:
20456 return NULL;
20457}
20458
20459
20460SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj = 0;
20462 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20463 wxWindow *arg2 = (wxWindow *) 0 ;
20464 int arg3 = (int) (int)-1 ;
20465 wxString const &arg4_defvalue = wxPyEmptyString ;
20466 wxString *arg4 = (wxString *) &arg4_defvalue ;
20467 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20468 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20469 wxSize const &arg6_defvalue = wxDefaultSize ;
20470 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20471 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20472 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20473 wxString *arg8 = (wxString *) &arg8_defvalue ;
20474 bool result;
20475 void *argp1 = 0 ;
20476 int res1 = 0 ;
20477 void *argp2 = 0 ;
20478 int res2 = 0 ;
20479 int val3 ;
20480 int ecode3 = 0 ;
20481 bool temp4 = false ;
20482 wxPoint temp5 ;
20483 wxSize temp6 ;
20484 long val7 ;
20485 int ecode7 = 0 ;
20486 bool temp8 = false ;
20487 PyObject * obj0 = 0 ;
20488 PyObject * obj1 = 0 ;
20489 PyObject * obj2 = 0 ;
20490 PyObject * obj3 = 0 ;
20491 PyObject * obj4 = 0 ;
20492 PyObject * obj5 = 0 ;
20493 PyObject * obj6 = 0 ;
20494 PyObject * obj7 = 0 ;
20495 char * kwnames[] = {
20496 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20497 };
20498
20499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20501 if (!SWIG_IsOK(res1)) {
20502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20503 }
20504 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20505 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20506 if (!SWIG_IsOK(res2)) {
20507 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20508 }
20509 arg2 = reinterpret_cast< wxWindow * >(argp2);
20510 if (obj2) {
20511 ecode3 = SWIG_AsVal_int(obj2, &val3);
20512 if (!SWIG_IsOK(ecode3)) {
20513 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20514 }
20515 arg3 = static_cast< int >(val3);
20516 }
20517 if (obj3) {
d14a1e28 20518 {
0085ce49
RD
20519 arg4 = wxString_in_helper(obj3);
20520 if (arg4 == NULL) SWIG_fail;
20521 temp4 = true;
d14a1e28 20522 }
0085ce49
RD
20523 }
20524 if (obj4) {
4f89f6a3 20525 {
0085ce49
RD
20526 arg5 = &temp5;
20527 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 20528 }
0085ce49
RD
20529 }
20530 if (obj5) {
d14a1e28 20531 {
0085ce49
RD
20532 arg6 = &temp6;
20533 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 20534 }
0085ce49
RD
20535 }
20536 if (obj6) {
20537 ecode7 = SWIG_AsVal_long(obj6, &val7);
20538 if (!SWIG_IsOK(ecode7)) {
20539 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20540 }
20541 arg7 = static_cast< long >(val7);
20542 }
20543 if (obj7) {
d14a1e28 20544 {
0085ce49
RD
20545 arg8 = wxString_in_helper(obj7);
20546 if (arg8 == NULL) SWIG_fail;
20547 temp8 = true;
d14a1e28 20548 }
0085ce49
RD
20549 }
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20553 wxPyEndAllowThreads(__tstate);
20554 if (PyErr_Occurred()) SWIG_fail;
20555 }
20556 {
20557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20558 }
20559 {
20560 if (temp4)
20561 delete arg4;
20562 }
20563 {
20564 if (temp8)
20565 delete arg8;
20566 }
20567 return resultobj;
20568fail:
20569 {
20570 if (temp4)
20571 delete arg4;
20572 }
20573 {
20574 if (temp8)
20575 delete arg8;
20576 }
20577 return NULL;
d14a1e28
RD
20578}
20579
20580
0085ce49
RD
20581SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20582 PyObject *resultobj = 0;
20583 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20584 void *argp1 = 0 ;
20585 int res1 = 0 ;
20586 PyObject *swig_obj[1] ;
20587
20588 if (!args) SWIG_fail;
20589 swig_obj[0] = args;
20590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20591 if (!SWIG_IsOK(res1)) {
20592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20593 }
20594 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20595 {
20596 PyThreadState* __tstate = wxPyBeginAllowThreads();
20597 (arg1)->ActivateNext();
20598 wxPyEndAllowThreads(__tstate);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 }
20601 resultobj = SWIG_Py_Void();
20602 return resultobj;
20603fail:
20604 return NULL;
d14a1e28
RD
20605}
20606
20607
0085ce49
RD
20608SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20609 PyObject *resultobj = 0;
20610 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20611 void *argp1 = 0 ;
20612 int res1 = 0 ;
20613 PyObject *swig_obj[1] ;
20614
20615 if (!args) SWIG_fail;
20616 swig_obj[0] = args;
20617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20618 if (!SWIG_IsOK(res1)) {
20619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20620 }
20621 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20622 {
20623 PyThreadState* __tstate = wxPyBeginAllowThreads();
20624 (arg1)->ActivatePrevious();
20625 wxPyEndAllowThreads(__tstate);
20626 if (PyErr_Occurred()) SWIG_fail;
20627 }
20628 resultobj = SWIG_Py_Void();
20629 return resultobj;
20630fail:
20631 return NULL;
d14a1e28
RD
20632}
20633
20634
0085ce49
RD
20635SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20636 PyObject *resultobj = 0;
20637 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20638 void *argp1 = 0 ;
20639 int res1 = 0 ;
20640 PyObject *swig_obj[1] ;
20641
20642 if (!args) SWIG_fail;
20643 swig_obj[0] = args;
20644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20645 if (!SWIG_IsOK(res1)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20647 }
20648 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 (arg1)->ArrangeIcons();
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 resultobj = SWIG_Py_Void();
20656 return resultobj;
20657fail:
20658 return NULL;
7fdaaabe
RD
20659}
20660
20661
0085ce49
RD
20662SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20663 PyObject *resultobj = 0;
20664 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20665 void *argp1 = 0 ;
20666 int res1 = 0 ;
20667 PyObject *swig_obj[1] ;
20668
20669 if (!args) SWIG_fail;
20670 swig_obj[0] = args;
20671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20672 if (!SWIG_IsOK(res1)) {
20673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20674 }
20675 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->Cascade();
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 resultobj = SWIG_Py_Void();
20683 return resultobj;
20684fail:
20685 return NULL;
d14a1e28
RD
20686}
20687
20688
0085ce49
RD
20689SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20690 PyObject *resultobj = 0;
20691 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20692 wxMDIChildFrame *result = 0 ;
20693 void *argp1 = 0 ;
20694 int res1 = 0 ;
20695 PyObject *swig_obj[1] ;
20696
20697 if (!args) SWIG_fail;
20698 swig_obj[0] = args;
20699 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20700 if (!SWIG_IsOK(res1)) {
20701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20702 }
20703 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20704 {
20705 PyThreadState* __tstate = wxPyBeginAllowThreads();
20706 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20707 wxPyEndAllowThreads(__tstate);
20708 if (PyErr_Occurred()) SWIG_fail;
20709 }
20710 {
20711 resultobj = wxPyMake_wxObject(result, (bool)0);
20712 }
20713 return resultobj;
20714fail:
20715 return NULL;
d14a1e28
RD
20716}
20717
20718
0085ce49
RD
20719SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20720 PyObject *resultobj = 0;
20721 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20722 wxMDIClientWindow *result = 0 ;
20723 void *argp1 = 0 ;
20724 int res1 = 0 ;
20725 PyObject *swig_obj[1] ;
20726
20727 if (!args) SWIG_fail;
20728 swig_obj[0] = args;
20729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20730 if (!SWIG_IsOK(res1)) {
20731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20732 }
20733 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 {
20741 resultobj = wxPyMake_wxObject(result, (bool)0);
20742 }
20743 return resultobj;
20744fail:
20745 return NULL;
74a57fcd
RD
20746}
20747
20748
0085ce49
RD
20749SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20750 PyObject *resultobj = 0;
20751 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20752 wxWindow *result = 0 ;
20753 void *argp1 = 0 ;
20754 int res1 = 0 ;
20755 PyObject *swig_obj[1] ;
20756
20757 if (!args) SWIG_fail;
20758 swig_obj[0] = args;
20759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20760 if (!SWIG_IsOK(res1)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20762 }
20763 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (wxWindow *)(arg1)->GetToolBar();
20767 wxPyEndAllowThreads(__tstate);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 {
20771 resultobj = wxPyMake_wxObject(result, 0);
20772 }
20773 return resultobj;
20774fail:
20775 return NULL;
20776}
20777
20778
20779SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20780 PyObject *resultobj = 0;
20781 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20782 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20783 void *argp1 = 0 ;
20784 int res1 = 0 ;
20785 int val2 ;
20786 int ecode2 = 0 ;
20787 PyObject * obj0 = 0 ;
20788 PyObject * obj1 = 0 ;
20789 char * kwnames[] = {
20790 (char *) "self",(char *) "orient", NULL
20791 };
20792
20793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20795 if (!SWIG_IsOK(res1)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20797 }
20798 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20799 if (obj1) {
20800 ecode2 = SWIG_AsVal_int(obj1, &val2);
20801 if (!SWIG_IsOK(ecode2)) {
20802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20803 }
20804 arg2 = static_cast< wxOrientation >(val2);
20805 }
20806 {
20807 PyThreadState* __tstate = wxPyBeginAllowThreads();
20808 (arg1)->Tile(arg2);
20809 wxPyEndAllowThreads(__tstate);
20810 if (PyErr_Occurred()) SWIG_fail;
20811 }
20812 resultobj = SWIG_Py_Void();
20813 return resultobj;
20814fail:
20815 return NULL;
20816}
20817
20818
20819SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20820 PyObject *obj;
20821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20822 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20823 return SWIG_Py_Void();
20824}
20825
20826SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20827 return SWIG_Python_InitShadowInstance(args);
20828}
20829
20830SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj = 0;
20832 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20833 int arg2 = (int) (int)-1 ;
20834 wxString const &arg3_defvalue = wxPyEmptyString ;
20835 wxString *arg3 = (wxString *) &arg3_defvalue ;
20836 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20837 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20838 wxSize const &arg5_defvalue = wxDefaultSize ;
20839 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20840 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20841 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20842 wxString *arg7 = (wxString *) &arg7_defvalue ;
20843 wxMDIChildFrame *result = 0 ;
20844 void *argp1 = 0 ;
20845 int res1 = 0 ;
20846 int val2 ;
20847 int ecode2 = 0 ;
20848 bool temp3 = false ;
20849 wxPoint temp4 ;
20850 wxSize temp5 ;
20851 long val6 ;
20852 int ecode6 = 0 ;
20853 bool temp7 = false ;
20854 PyObject * obj0 = 0 ;
20855 PyObject * obj1 = 0 ;
20856 PyObject * obj2 = 0 ;
20857 PyObject * obj3 = 0 ;
20858 PyObject * obj4 = 0 ;
20859 PyObject * obj5 = 0 ;
20860 PyObject * obj6 = 0 ;
20861 char * kwnames[] = {
20862 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20863 };
20864
20865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20867 if (!SWIG_IsOK(res1)) {
20868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20869 }
20870 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20871 if (obj1) {
20872 ecode2 = SWIG_AsVal_int(obj1, &val2);
20873 if (!SWIG_IsOK(ecode2)) {
20874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20875 }
20876 arg2 = static_cast< int >(val2);
20877 }
20878 if (obj2) {
d14a1e28 20879 {
0085ce49
RD
20880 arg3 = wxString_in_helper(obj2);
20881 if (arg3 == NULL) SWIG_fail;
20882 temp3 = true;
d14a1e28 20883 }
0085ce49
RD
20884 }
20885 if (obj3) {
4f89f6a3 20886 {
0085ce49
RD
20887 arg4 = &temp4;
20888 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 20889 }
0085ce49
RD
20890 }
20891 if (obj4) {
d14a1e28 20892 {
0085ce49
RD
20893 arg5 = &temp5;
20894 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 20895 }
0085ce49
RD
20896 }
20897 if (obj5) {
20898 ecode6 = SWIG_AsVal_long(obj5, &val6);
20899 if (!SWIG_IsOK(ecode6)) {
20900 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20901 }
20902 arg6 = static_cast< long >(val6);
20903 }
20904 if (obj6) {
4f89f6a3 20905 {
0085ce49
RD
20906 arg7 = wxString_in_helper(obj6);
20907 if (arg7 == NULL) SWIG_fail;
20908 temp7 = true;
4f89f6a3 20909 }
0085ce49
RD
20910 }
20911 {
20912 if (!wxPyCheckForApp()) SWIG_fail;
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20919 {
20920 if (temp3)
20921 delete arg3;
20922 }
20923 {
20924 if (temp7)
20925 delete arg7;
20926 }
20927 return resultobj;
20928fail:
20929 {
20930 if (temp3)
20931 delete arg3;
20932 }
20933 {
20934 if (temp7)
20935 delete arg7;
20936 }
20937 return NULL;
d14a1e28
RD
20938}
20939
20940
0085ce49
RD
20941SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20942 PyObject *resultobj = 0;
20943 wxMDIChildFrame *result = 0 ;
20944
20945 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20946 {
20947 if (!wxPyCheckForApp()) SWIG_fail;
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20950 wxPyEndAllowThreads(__tstate);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 }
20953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20954 return resultobj;
20955fail:
20956 return NULL;
20957}
20958
20959
20960SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj = 0;
20962 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20963 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20964 int arg3 = (int) (int)-1 ;
20965 wxString const &arg4_defvalue = wxPyEmptyString ;
20966 wxString *arg4 = (wxString *) &arg4_defvalue ;
20967 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20968 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20969 wxSize const &arg6_defvalue = wxDefaultSize ;
20970 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20971 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20972 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20973 wxString *arg8 = (wxString *) &arg8_defvalue ;
20974 bool result;
20975 void *argp1 = 0 ;
20976 int res1 = 0 ;
20977 void *argp2 = 0 ;
20978 int res2 = 0 ;
20979 int val3 ;
20980 int ecode3 = 0 ;
20981 bool temp4 = false ;
20982 wxPoint temp5 ;
20983 wxSize temp6 ;
20984 long val7 ;
20985 int ecode7 = 0 ;
20986 bool temp8 = false ;
20987 PyObject * obj0 = 0 ;
20988 PyObject * obj1 = 0 ;
20989 PyObject * obj2 = 0 ;
20990 PyObject * obj3 = 0 ;
20991 PyObject * obj4 = 0 ;
20992 PyObject * obj5 = 0 ;
20993 PyObject * obj6 = 0 ;
20994 PyObject * obj7 = 0 ;
20995 char * kwnames[] = {
20996 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20997 };
20998
20999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21001 if (!SWIG_IsOK(res1)) {
21002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21003 }
21004 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21005 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21006 if (!SWIG_IsOK(res2)) {
21007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21008 }
21009 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21010 if (obj2) {
21011 ecode3 = SWIG_AsVal_int(obj2, &val3);
21012 if (!SWIG_IsOK(ecode3)) {
21013 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21014 }
21015 arg3 = static_cast< int >(val3);
21016 }
21017 if (obj3) {
d14a1e28 21018 {
0085ce49
RD
21019 arg4 = wxString_in_helper(obj3);
21020 if (arg4 == NULL) SWIG_fail;
21021 temp4 = true;
d14a1e28 21022 }
0085ce49
RD
21023 }
21024 if (obj4) {
4f89f6a3 21025 {
0085ce49
RD
21026 arg5 = &temp5;
21027 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4f89f6a3 21028 }
0085ce49
RD
21029 }
21030 if (obj5) {
d14a1e28 21031 {
0085ce49
RD
21032 arg6 = &temp6;
21033 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d14a1e28 21034 }
0085ce49
RD
21035 }
21036 if (obj6) {
21037 ecode7 = SWIG_AsVal_long(obj6, &val7);
21038 if (!SWIG_IsOK(ecode7)) {
21039 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21040 }
21041 arg7 = static_cast< long >(val7);
21042 }
21043 if (obj7) {
d14a1e28 21044 {
0085ce49
RD
21045 arg8 = wxString_in_helper(obj7);
21046 if (arg8 == NULL) SWIG_fail;
21047 temp8 = true;
d14a1e28 21048 }
0085ce49
RD
21049 }
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21053 wxPyEndAllowThreads(__tstate);
21054 if (PyErr_Occurred()) SWIG_fail;
21055 }
21056 {
21057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21058 }
21059 {
21060 if (temp4)
21061 delete arg4;
21062 }
21063 {
21064 if (temp8)
21065 delete arg8;
21066 }
21067 return resultobj;
21068fail:
21069 {
21070 if (temp4)
21071 delete arg4;
21072 }
21073 {
21074 if (temp8)
21075 delete arg8;
21076 }
21077 return NULL;
d14a1e28
RD
21078}
21079
21080
0085ce49
RD
21081SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21082 PyObject *resultobj = 0;
21083 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21084 void *argp1 = 0 ;
21085 int res1 = 0 ;
21086 PyObject *swig_obj[1] ;
21087
21088 if (!args) SWIG_fail;
21089 swig_obj[0] = args;
21090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21091 if (!SWIG_IsOK(res1)) {
21092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21093 }
21094 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 (arg1)->Activate();
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 resultobj = SWIG_Py_Void();
21102 return resultobj;
21103fail:
21104 return NULL;
d14a1e28
RD
21105}
21106
21107
0085ce49
RD
21108SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21109 PyObject *obj;
21110 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21111 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21112 return SWIG_Py_Void();
d14a1e28
RD
21113}
21114
0085ce49
RD
21115SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21116 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
21117}
21118
0085ce49
RD
21119SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21120 PyObject *resultobj = 0;
21121 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21122 long arg2 = (long) 0 ;
21123 wxMDIClientWindow *result = 0 ;
21124 void *argp1 = 0 ;
21125 int res1 = 0 ;
21126 long val2 ;
21127 int ecode2 = 0 ;
21128 PyObject * obj0 = 0 ;
21129 PyObject * obj1 = 0 ;
21130 char * kwnames[] = {
21131 (char *) "parent",(char *) "style", NULL
21132 };
21133
21134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21136 if (!SWIG_IsOK(res1)) {
21137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21138 }
21139 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21140 if (obj1) {
21141 ecode2 = SWIG_AsVal_long(obj1, &val2);
21142 if (!SWIG_IsOK(ecode2)) {
21143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21144 }
21145 arg2 = static_cast< long >(val2);
21146 }
21147 {
21148 if (!wxPyCheckForApp()) SWIG_fail;
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21151 wxPyEndAllowThreads(__tstate);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
21154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21155 return resultobj;
21156fail:
21157 return NULL;
b2dc1044
RD
21158}
21159
21160
0085ce49
RD
21161SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21162 PyObject *resultobj = 0;
21163 wxMDIClientWindow *result = 0 ;
21164
21165 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21166 {
21167 if (!wxPyCheckForApp()) SWIG_fail;
21168 PyThreadState* __tstate = wxPyBeginAllowThreads();
21169 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21170 wxPyEndAllowThreads(__tstate);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21174 return resultobj;
21175fail:
21176 return NULL;
21177}
21178
21179
21180SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21181 PyObject *resultobj = 0;
21182 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21183 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21184 long arg3 = (long) 0 ;
21185 bool result;
21186 void *argp1 = 0 ;
21187 int res1 = 0 ;
21188 void *argp2 = 0 ;
21189 int res2 = 0 ;
21190 long val3 ;
21191 int ecode3 = 0 ;
21192 PyObject * obj0 = 0 ;
21193 PyObject * obj1 = 0 ;
21194 PyObject * obj2 = 0 ;
21195 char * kwnames[] = {
21196 (char *) "self",(char *) "parent",(char *) "style", NULL
21197 };
21198
21199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21201 if (!SWIG_IsOK(res1)) {
21202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21203 }
21204 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21205 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21206 if (!SWIG_IsOK(res2)) {
21207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21208 }
21209 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21210 if (obj2) {
21211 ecode3 = SWIG_AsVal_long(obj2, &val3);
21212 if (!SWIG_IsOK(ecode3)) {
21213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21214 }
21215 arg3 = static_cast< long >(val3);
21216 }
21217 {
21218 PyThreadState* __tstate = wxPyBeginAllowThreads();
21219 result = (bool)(arg1)->Create(arg2,arg3);
21220 wxPyEndAllowThreads(__tstate);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 {
21224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21225 }
21226 return resultobj;
21227fail:
21228 return NULL;
21229}
21230
21231
21232SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21233 PyObject *obj;
21234 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21235 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21236 return SWIG_Py_Void();
21237}
21238
21239SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21240 return SWIG_Python_InitShadowInstance(args);
21241}
21242
21243SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21244 PyObject *resultobj = 0;
21245 wxWindow *arg1 = (wxWindow *) 0 ;
21246 int arg2 = (int) (int)-1 ;
21247 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21248 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21249 wxSize const &arg4_defvalue = wxDefaultSize ;
21250 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21251 long arg5 = (long) 0 ;
21252 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21253 wxString *arg6 = (wxString *) &arg6_defvalue ;
21254 wxPyWindow *result = 0 ;
21255 void *argp1 = 0 ;
21256 int res1 = 0 ;
21257 int val2 ;
21258 int ecode2 = 0 ;
21259 wxPoint temp3 ;
21260 wxSize temp4 ;
21261 long val5 ;
21262 int ecode5 = 0 ;
21263 bool temp6 = false ;
21264 PyObject * obj0 = 0 ;
21265 PyObject * obj1 = 0 ;
21266 PyObject * obj2 = 0 ;
21267 PyObject * obj3 = 0 ;
21268 PyObject * obj4 = 0 ;
21269 PyObject * obj5 = 0 ;
21270 char * kwnames[] = {
21271 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21272 };
21273
21274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21276 if (!SWIG_IsOK(res1)) {
21277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21278 }
21279 arg1 = reinterpret_cast< wxWindow * >(argp1);
21280 if (obj1) {
21281 ecode2 = SWIG_AsVal_int(obj1, &val2);
21282 if (!SWIG_IsOK(ecode2)) {
21283 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21284 }
21285 arg2 = static_cast< int >(val2);
21286 }
21287 if (obj2) {
b2dc1044 21288 {
0085ce49
RD
21289 arg3 = &temp3;
21290 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21291 }
21292 }
21293 if (obj3) {
21294 {
21295 arg4 = &temp4;
21296 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21297 }
21298 }
21299 if (obj4) {
21300 ecode5 = SWIG_AsVal_long(obj4, &val5);
21301 if (!SWIG_IsOK(ecode5)) {
21302 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21303 }
21304 arg5 = static_cast< long >(val5);
21305 }
21306 if (obj5) {
21307 {
21308 arg6 = wxString_in_helper(obj5);
21309 if (arg6 == NULL) SWIG_fail;
21310 temp6 = true;
b2dc1044 21311 }
0085ce49
RD
21312 }
21313 {
21314 if (!wxPyCheckForApp()) SWIG_fail;
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21317 wxPyEndAllowThreads(__tstate);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 }
21320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21321 {
21322 if (temp6)
21323 delete arg6;
21324 }
21325 return resultobj;
21326fail:
21327 {
21328 if (temp6)
21329 delete arg6;
21330 }
21331 return NULL;
b2dc1044
RD
21332}
21333
21334
0085ce49
RD
21335SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21336 PyObject *resultobj = 0;
21337 wxPyWindow *result = 0 ;
21338
21339 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21340 {
21341 if (!wxPyCheckForApp()) SWIG_fail;
21342 PyThreadState* __tstate = wxPyBeginAllowThreads();
21343 result = (wxPyWindow *)new wxPyWindow();
21344 wxPyEndAllowThreads(__tstate);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21348 return resultobj;
21349fail:
21350 return NULL;
21351}
21352
21353
21354SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21355 PyObject *resultobj = 0;
21356 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21357 PyObject *arg2 = (PyObject *) 0 ;
21358 PyObject *arg3 = (PyObject *) 0 ;
21359 void *argp1 = 0 ;
21360 int res1 = 0 ;
21361 PyObject * obj0 = 0 ;
21362 PyObject * obj1 = 0 ;
21363 PyObject * obj2 = 0 ;
21364 char * kwnames[] = {
21365 (char *) "self",(char *) "self",(char *) "_class", NULL
21366 };
21367
21368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21370 if (!SWIG_IsOK(res1)) {
21371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21372 }
21373 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21374 arg2 = obj1;
21375 arg3 = obj2;
21376 {
21377 PyThreadState* __tstate = wxPyBeginAllowThreads();
21378 (arg1)->_setCallbackInfo(arg2,arg3);
21379 wxPyEndAllowThreads(__tstate);
21380 if (PyErr_Occurred()) SWIG_fail;
21381 }
21382 resultobj = SWIG_Py_Void();
21383 return resultobj;
21384fail:
21385 return NULL;
21386}
21387
21388
21389SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21390 PyObject *resultobj = 0;
21391 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21392 wxSize *arg2 = 0 ;
21393 void *argp1 = 0 ;
21394 int res1 = 0 ;
21395 wxSize temp2 ;
21396 PyObject * obj0 = 0 ;
21397 PyObject * obj1 = 0 ;
21398 char * kwnames[] = {
21399 (char *) "self",(char *) "size", NULL
21400 };
21401
21402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21404 if (!SWIG_IsOK(res1)) {
21405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21406 }
21407 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21408 {
21409 arg2 = &temp2;
21410 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21411 }
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 (arg1)->SetBestSize((wxSize const &)*arg2);
21415 wxPyEndAllowThreads(__tstate);
21416 if (PyErr_Occurred()) SWIG_fail;
21417 }
21418 resultobj = SWIG_Py_Void();
21419 return resultobj;
21420fail:
21421 return NULL;
21422}
21423
21424
21425SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21426 PyObject *resultobj = 0;
21427 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21428 wxDC *arg2 = (wxDC *) 0 ;
21429 bool result;
21430 void *argp1 = 0 ;
21431 int res1 = 0 ;
21432 void *argp2 = 0 ;
21433 int res2 = 0 ;
21434 PyObject * obj0 = 0 ;
21435 PyObject * obj1 = 0 ;
21436 char * kwnames[] = {
21437 (char *) "self",(char *) "dc", NULL
21438 };
21439
21440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21442 if (!SWIG_IsOK(res1)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21444 }
21445 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21447 if (!SWIG_IsOK(res2)) {
21448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21449 }
21450 arg2 = reinterpret_cast< wxDC * >(argp2);
21451 {
21452 PyThreadState* __tstate = wxPyBeginAllowThreads();
21453 result = (bool)(arg1)->DoEraseBackground(arg2);
21454 wxPyEndAllowThreads(__tstate);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 }
21457 {
21458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21459 }
21460 return resultobj;
21461fail:
21462 return NULL;
21463}
21464
21465
21466SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21467 PyObject *resultobj = 0;
21468 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21469 int arg2 ;
21470 int arg3 ;
21471 int arg4 ;
21472 int arg5 ;
21473 void *argp1 = 0 ;
21474 int res1 = 0 ;
21475 int val2 ;
21476 int ecode2 = 0 ;
21477 int val3 ;
21478 int ecode3 = 0 ;
21479 int val4 ;
21480 int ecode4 = 0 ;
21481 int val5 ;
21482 int ecode5 = 0 ;
21483 PyObject * obj0 = 0 ;
21484 PyObject * obj1 = 0 ;
21485 PyObject * obj2 = 0 ;
21486 PyObject * obj3 = 0 ;
21487 PyObject * obj4 = 0 ;
21488 char * kwnames[] = {
21489 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21490 };
21491
21492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21494 if (!SWIG_IsOK(res1)) {
21495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21496 }
21497 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21498 ecode2 = SWIG_AsVal_int(obj1, &val2);
21499 if (!SWIG_IsOK(ecode2)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21501 }
21502 arg2 = static_cast< int >(val2);
21503 ecode3 = SWIG_AsVal_int(obj2, &val3);
21504 if (!SWIG_IsOK(ecode3)) {
21505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21506 }
21507 arg3 = static_cast< int >(val3);
21508 ecode4 = SWIG_AsVal_int(obj3, &val4);
21509 if (!SWIG_IsOK(ecode4)) {
21510 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21511 }
21512 arg4 = static_cast< int >(val4);
21513 ecode5 = SWIG_AsVal_int(obj4, &val5);
21514 if (!SWIG_IsOK(ecode5)) {
21515 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21516 }
21517 arg5 = static_cast< int >(val5);
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 resultobj = SWIG_Py_Void();
21525 return resultobj;
21526fail:
21527 return NULL;
21528}
21529
21530
21531SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21532 PyObject *resultobj = 0;
21533 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21534 int arg2 ;
21535 int arg3 ;
21536 int arg4 ;
21537 int arg5 ;
21538 int arg6 = (int) wxSIZE_AUTO ;
21539 void *argp1 = 0 ;
21540 int res1 = 0 ;
21541 int val2 ;
21542 int ecode2 = 0 ;
21543 int val3 ;
21544 int ecode3 = 0 ;
21545 int val4 ;
21546 int ecode4 = 0 ;
21547 int val5 ;
21548 int ecode5 = 0 ;
21549 int val6 ;
21550 int ecode6 = 0 ;
21551 PyObject * obj0 = 0 ;
21552 PyObject * obj1 = 0 ;
21553 PyObject * obj2 = 0 ;
21554 PyObject * obj3 = 0 ;
21555 PyObject * obj4 = 0 ;
21556 PyObject * obj5 = 0 ;
21557 char * kwnames[] = {
21558 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21559 };
21560
21561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21563 if (!SWIG_IsOK(res1)) {
21564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21565 }
21566 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21567 ecode2 = SWIG_AsVal_int(obj1, &val2);
21568 if (!SWIG_IsOK(ecode2)) {
21569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21570 }
21571 arg2 = static_cast< int >(val2);
21572 ecode3 = SWIG_AsVal_int(obj2, &val3);
21573 if (!SWIG_IsOK(ecode3)) {
21574 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21575 }
21576 arg3 = static_cast< int >(val3);
21577 ecode4 = SWIG_AsVal_int(obj3, &val4);
21578 if (!SWIG_IsOK(ecode4)) {
21579 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21580 }
21581 arg4 = static_cast< int >(val4);
21582 ecode5 = SWIG_AsVal_int(obj4, &val5);
21583 if (!SWIG_IsOK(ecode5)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21585 }
21586 arg5 = static_cast< int >(val5);
21587 if (obj5) {
21588 ecode6 = SWIG_AsVal_int(obj5, &val6);
21589 if (!SWIG_IsOK(ecode6)) {
21590 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21591 }
21592 arg6 = static_cast< int >(val6);
21593 }
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
21596 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 resultobj = SWIG_Py_Void();
21601 return resultobj;
21602fail:
21603 return NULL;
21604}
21605
21606
21607SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj = 0;
21609 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21610 int arg2 ;
21611 int arg3 ;
21612 void *argp1 = 0 ;
21613 int res1 = 0 ;
21614 int val2 ;
21615 int ecode2 = 0 ;
21616 int val3 ;
21617 int ecode3 = 0 ;
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 PyObject * obj2 = 0 ;
21621 char * kwnames[] = {
21622 (char *) "self",(char *) "width",(char *) "height", NULL
21623 };
21624
21625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21627 if (!SWIG_IsOK(res1)) {
21628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21629 }
21630 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21631 ecode2 = SWIG_AsVal_int(obj1, &val2);
21632 if (!SWIG_IsOK(ecode2)) {
21633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21634 }
21635 arg2 = static_cast< int >(val2);
21636 ecode3 = SWIG_AsVal_int(obj2, &val3);
21637 if (!SWIG_IsOK(ecode3)) {
21638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21639 }
21640 arg3 = static_cast< int >(val3);
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 (arg1)->DoSetClientSize(arg2,arg3);
21644 wxPyEndAllowThreads(__tstate);
21645 if (PyErr_Occurred()) SWIG_fail;
21646 }
21647 resultobj = SWIG_Py_Void();
21648 return resultobj;
21649fail:
21650 return NULL;
21651}
21652
21653
21654SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21655 PyObject *resultobj = 0;
21656 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21657 int arg2 ;
21658 int arg3 ;
21659 void *argp1 = 0 ;
21660 int res1 = 0 ;
21661 int val2 ;
21662 int ecode2 = 0 ;
21663 int val3 ;
21664 int ecode3 = 0 ;
21665 PyObject * obj0 = 0 ;
21666 PyObject * obj1 = 0 ;
21667 PyObject * obj2 = 0 ;
21668 char * kwnames[] = {
21669 (char *) "self",(char *) "x",(char *) "y", NULL
21670 };
21671
21672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21674 if (!SWIG_IsOK(res1)) {
21675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21676 }
21677 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21678 ecode2 = SWIG_AsVal_int(obj1, &val2);
21679 if (!SWIG_IsOK(ecode2)) {
21680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21681 }
21682 arg2 = static_cast< int >(val2);
21683 ecode3 = SWIG_AsVal_int(obj2, &val3);
21684 if (!SWIG_IsOK(ecode3)) {
21685 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21686 }
21687 arg3 = static_cast< int >(val3);
21688 {
21689 PyThreadState* __tstate = wxPyBeginAllowThreads();
21690 (arg1)->DoSetVirtualSize(arg2,arg3);
21691 wxPyEndAllowThreads(__tstate);
21692 if (PyErr_Occurred()) SWIG_fail;
21693 }
21694 resultobj = SWIG_Py_Void();
21695 return resultobj;
21696fail:
21697 return NULL;
21698}
21699
21700
21701SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21702 PyObject *resultobj = 0;
21703 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21704 int *arg2 = (int *) 0 ;
21705 int *arg3 = (int *) 0 ;
21706 void *argp1 = 0 ;
21707 int res1 = 0 ;
21708 int temp2 ;
21709 int res2 = SWIG_TMPOBJ ;
21710 int temp3 ;
21711 int res3 = SWIG_TMPOBJ ;
21712 PyObject *swig_obj[1] ;
21713
21714 arg2 = &temp2;
21715 arg3 = &temp3;
21716 if (!args) SWIG_fail;
21717 swig_obj[0] = args;
21718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21719 if (!SWIG_IsOK(res1)) {
21720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21721 }
21722 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21723 {
21724 PyThreadState* __tstate = wxPyBeginAllowThreads();
21725 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 resultobj = SWIG_Py_Void();
21730 if (SWIG_IsTmpObj(res2)) {
21731 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21732 } else {
21733 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21734 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21735 }
21736 if (SWIG_IsTmpObj(res3)) {
21737 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21738 } else {
21739 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21740 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21741 }
21742 return resultobj;
21743fail:
21744 return NULL;
21745}
21746
21747
21748SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21749 PyObject *resultobj = 0;
21750 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21751 int *arg2 = (int *) 0 ;
21752 int *arg3 = (int *) 0 ;
21753 void *argp1 = 0 ;
21754 int res1 = 0 ;
21755 int temp2 ;
21756 int res2 = SWIG_TMPOBJ ;
21757 int temp3 ;
21758 int res3 = SWIG_TMPOBJ ;
21759 PyObject *swig_obj[1] ;
21760
21761 arg2 = &temp2;
21762 arg3 = &temp3;
21763 if (!args) SWIG_fail;
21764 swig_obj[0] = args;
21765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21766 if (!SWIG_IsOK(res1)) {
21767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21768 }
21769 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21773 wxPyEndAllowThreads(__tstate);
21774 if (PyErr_Occurred()) SWIG_fail;
21775 }
21776 resultobj = SWIG_Py_Void();
21777 if (SWIG_IsTmpObj(res2)) {
21778 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21779 } else {
21780 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21781 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21782 }
21783 if (SWIG_IsTmpObj(res3)) {
21784 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21785 } else {
21786 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21787 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21788 }
21789 return resultobj;
21790fail:
21791 return NULL;
21792}
21793
21794
21795SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21796 PyObject *resultobj = 0;
21797 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21798 int *arg2 = (int *) 0 ;
21799 int *arg3 = (int *) 0 ;
21800 void *argp1 = 0 ;
21801 int res1 = 0 ;
21802 int temp2 ;
21803 int res2 = SWIG_TMPOBJ ;
21804 int temp3 ;
21805 int res3 = SWIG_TMPOBJ ;
21806 PyObject *swig_obj[1] ;
21807
21808 arg2 = &temp2;
21809 arg3 = &temp3;
21810 if (!args) SWIG_fail;
21811 swig_obj[0] = args;
21812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21813 if (!SWIG_IsOK(res1)) {
21814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21815 }
21816 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21817 {
21818 PyThreadState* __tstate = wxPyBeginAllowThreads();
21819 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21820 wxPyEndAllowThreads(__tstate);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 }
21823 resultobj = SWIG_Py_Void();
21824 if (SWIG_IsTmpObj(res2)) {
21825 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21826 } else {
21827 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21828 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21829 }
21830 if (SWIG_IsTmpObj(res3)) {
21831 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21832 } else {
21833 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21834 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21835 }
21836 return resultobj;
21837fail:
21838 return NULL;
b2dc1044
RD
21839}
21840
21841
0085ce49
RD
21842SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21843 PyObject *resultobj = 0;
21844 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21845 wxSize result;
21846 void *argp1 = 0 ;
21847 int res1 = 0 ;
21848 PyObject *swig_obj[1] ;
21849
21850 if (!args) SWIG_fail;
21851 swig_obj[0] = args;
21852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21853 if (!SWIG_IsOK(res1)) {
21854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21855 }
21856 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21857 {
21858 PyThreadState* __tstate = wxPyBeginAllowThreads();
21859 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21860 wxPyEndAllowThreads(__tstate);
21861 if (PyErr_Occurred()) SWIG_fail;
21862 }
21863 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21864 return resultobj;
21865fail:
21866 return NULL;
b2dc1044
RD
21867}
21868
21869
0085ce49
RD
21870SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21871 PyObject *resultobj = 0;
21872 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21873 wxSize result;
21874 void *argp1 = 0 ;
21875 int res1 = 0 ;
21876 PyObject *swig_obj[1] ;
21877
21878 if (!args) SWIG_fail;
21879 swig_obj[0] = args;
21880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21881 if (!SWIG_IsOK(res1)) {
21882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21883 }
21884 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21885 {
21886 PyThreadState* __tstate = wxPyBeginAllowThreads();
21887 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21888 wxPyEndAllowThreads(__tstate);
21889 if (PyErr_Occurred()) SWIG_fail;
21890 }
21891 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21892 return resultobj;
21893fail:
21894 return NULL;
b2dc1044
RD
21895}
21896
21897
0085ce49
RD
21898SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21899 PyObject *resultobj = 0;
21900 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21901 SwigValueWrapper<wxVisualAttributes > result;
21902 void *argp1 = 0 ;
21903 int res1 = 0 ;
21904 PyObject *swig_obj[1] ;
21905
21906 if (!args) SWIG_fail;
21907 swig_obj[0] = args;
21908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21909 if (!SWIG_IsOK(res1)) {
21910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21911 }
21912 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21913 {
21914 PyThreadState* __tstate = wxPyBeginAllowThreads();
21915 result = (arg1)->GetDefaultAttributes();
21916 wxPyEndAllowThreads(__tstate);
21917 if (PyErr_Occurred()) SWIG_fail;
21918 }
21919 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21920 return resultobj;
21921fail:
21922 return NULL;
d14a1e28
RD
21923}
21924
21925
0085ce49
RD
21926SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21927 PyObject *resultobj = 0;
21928 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21929 void *argp1 = 0 ;
21930 int res1 = 0 ;
21931 PyObject *swig_obj[1] ;
21932
21933 if (!args) SWIG_fail;
21934 swig_obj[0] = args;
21935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21936 if (!SWIG_IsOK(res1)) {
21937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21938 }
21939 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21940 {
21941 PyThreadState* __tstate = wxPyBeginAllowThreads();
21942 (arg1)->OnInternalIdle();
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 resultobj = SWIG_Py_Void();
21947 return resultobj;
21948fail:
21949 return NULL;
21950}
21951
21952
21953SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21954 PyObject *obj;
21955 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21956 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21957 return SWIG_Py_Void();
21958}
21959
21960SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21961 return SWIG_Python_InitShadowInstance(args);
21962}
21963
21964SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21965 PyObject *resultobj = 0;
21966 wxWindow *arg1 = (wxWindow *) 0 ;
21967 int arg2 = (int) (int)-1 ;
21968 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21969 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21970 wxSize const &arg4_defvalue = wxDefaultSize ;
21971 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21972 long arg5 = (long) 0 ;
21973 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21974 wxString *arg6 = (wxString *) &arg6_defvalue ;
21975 wxPyPanel *result = 0 ;
21976 void *argp1 = 0 ;
21977 int res1 = 0 ;
21978 int val2 ;
21979 int ecode2 = 0 ;
21980 wxPoint temp3 ;
21981 wxSize temp4 ;
21982 long val5 ;
21983 int ecode5 = 0 ;
21984 bool temp6 = false ;
21985 PyObject * obj0 = 0 ;
21986 PyObject * obj1 = 0 ;
21987 PyObject * obj2 = 0 ;
21988 PyObject * obj3 = 0 ;
21989 PyObject * obj4 = 0 ;
21990 PyObject * obj5 = 0 ;
21991 char * kwnames[] = {
21992 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21993 };
21994
21995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21997 if (!SWIG_IsOK(res1)) {
21998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21999 }
22000 arg1 = reinterpret_cast< wxWindow * >(argp1);
22001 if (obj1) {
22002 ecode2 = SWIG_AsVal_int(obj1, &val2);
22003 if (!SWIG_IsOK(ecode2)) {
22004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22005 }
22006 arg2 = static_cast< int >(val2);
22007 }
22008 if (obj2) {
d14a1e28 22009 {
0085ce49
RD
22010 arg3 = &temp3;
22011 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d14a1e28 22012 }
0085ce49
RD
22013 }
22014 if (obj3) {
d14a1e28 22015 {
0085ce49
RD
22016 arg4 = &temp4;
22017 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 22018 }
0085ce49
RD
22019 }
22020 if (obj4) {
22021 ecode5 = SWIG_AsVal_long(obj4, &val5);
22022 if (!SWIG_IsOK(ecode5)) {
22023 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22024 }
22025 arg5 = static_cast< long >(val5);
22026 }
22027 if (obj5) {
093d3ff1 22028 {
0085ce49
RD
22029 arg6 = wxString_in_helper(obj5);
22030 if (arg6 == NULL) SWIG_fail;
22031 temp6 = true;
093d3ff1 22032 }
0085ce49
RD
22033 }
22034 {
22035 if (!wxPyCheckForApp()) SWIG_fail;
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22038 wxPyEndAllowThreads(__tstate);
22039 if (PyErr_Occurred()) SWIG_fail;
22040 }
22041 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22042 {
22043 if (temp6)
22044 delete arg6;
22045 }
22046 return resultobj;
22047fail:
22048 {
22049 if (temp6)
22050 delete arg6;
22051 }
22052 return NULL;
d14a1e28
RD
22053}
22054
22055
0085ce49
RD
22056SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22057 PyObject *resultobj = 0;
22058 wxPyPanel *result = 0 ;
22059
22060 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22061 {
22062 if (!wxPyCheckForApp()) SWIG_fail;
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 result = (wxPyPanel *)new wxPyPanel();
22065 wxPyEndAllowThreads(__tstate);
22066 if (PyErr_Occurred()) SWIG_fail;
22067 }
22068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22069 return resultobj;
22070fail:
22071 return NULL;
22072}
22073
22074
22075SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22076 PyObject *resultobj = 0;
22077 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22078 PyObject *arg2 = (PyObject *) 0 ;
22079 PyObject *arg3 = (PyObject *) 0 ;
22080 void *argp1 = 0 ;
22081 int res1 = 0 ;
22082 PyObject * obj0 = 0 ;
22083 PyObject * obj1 = 0 ;
22084 PyObject * obj2 = 0 ;
22085 char * kwnames[] = {
22086 (char *) "self",(char *) "self",(char *) "_class", NULL
22087 };
22088
22089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22091 if (!SWIG_IsOK(res1)) {
22092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22093 }
22094 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22095 arg2 = obj1;
22096 arg3 = obj2;
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
22099 (arg1)->_setCallbackInfo(arg2,arg3);
22100 wxPyEndAllowThreads(__tstate);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
22103 resultobj = SWIG_Py_Void();
22104 return resultobj;
22105fail:
22106 return NULL;
22107}
22108
22109
22110SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22111 PyObject *resultobj = 0;
22112 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22113 wxSize *arg2 = 0 ;
22114 void *argp1 = 0 ;
22115 int res1 = 0 ;
22116 wxSize temp2 ;
22117 PyObject * obj0 = 0 ;
22118 PyObject * obj1 = 0 ;
22119 char * kwnames[] = {
22120 (char *) "self",(char *) "size", NULL
22121 };
22122
22123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22125 if (!SWIG_IsOK(res1)) {
22126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22127 }
22128 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22129 {
22130 arg2 = &temp2;
22131 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22132 }
22133 {
22134 PyThreadState* __tstate = wxPyBeginAllowThreads();
22135 (arg1)->SetBestSize((wxSize const &)*arg2);
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 resultobj = SWIG_Py_Void();
22140 return resultobj;
22141fail:
22142 return NULL;
22143}
22144
22145
22146SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22147 PyObject *resultobj = 0;
22148 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22149 wxDC *arg2 = (wxDC *) 0 ;
22150 bool result;
22151 void *argp1 = 0 ;
22152 int res1 = 0 ;
22153 void *argp2 = 0 ;
22154 int res2 = 0 ;
22155 PyObject * obj0 = 0 ;
22156 PyObject * obj1 = 0 ;
22157 char * kwnames[] = {
22158 (char *) "self",(char *) "dc", NULL
22159 };
22160
22161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22163 if (!SWIG_IsOK(res1)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22165 }
22166 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22167 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22168 if (!SWIG_IsOK(res2)) {
22169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22170 }
22171 arg2 = reinterpret_cast< wxDC * >(argp2);
22172 {
22173 PyThreadState* __tstate = wxPyBeginAllowThreads();
22174 result = (bool)(arg1)->DoEraseBackground(arg2);
22175 wxPyEndAllowThreads(__tstate);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 }
22178 {
22179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22180 }
22181 return resultobj;
22182fail:
22183 return NULL;
22184}
22185
22186
22187SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22188 PyObject *resultobj = 0;
22189 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22190 int arg2 ;
22191 int arg3 ;
22192 int arg4 ;
22193 int arg5 ;
22194 void *argp1 = 0 ;
22195 int res1 = 0 ;
22196 int val2 ;
22197 int ecode2 = 0 ;
22198 int val3 ;
22199 int ecode3 = 0 ;
22200 int val4 ;
22201 int ecode4 = 0 ;
22202 int val5 ;
22203 int ecode5 = 0 ;
22204 PyObject * obj0 = 0 ;
22205 PyObject * obj1 = 0 ;
22206 PyObject * obj2 = 0 ;
22207 PyObject * obj3 = 0 ;
22208 PyObject * obj4 = 0 ;
22209 char * kwnames[] = {
22210 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22211 };
22212
22213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22215 if (!SWIG_IsOK(res1)) {
22216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22217 }
22218 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22219 ecode2 = SWIG_AsVal_int(obj1, &val2);
22220 if (!SWIG_IsOK(ecode2)) {
22221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22222 }
22223 arg2 = static_cast< int >(val2);
22224 ecode3 = SWIG_AsVal_int(obj2, &val3);
22225 if (!SWIG_IsOK(ecode3)) {
22226 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22227 }
22228 arg3 = static_cast< int >(val3);
22229 ecode4 = SWIG_AsVal_int(obj3, &val4);
22230 if (!SWIG_IsOK(ecode4)) {
22231 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22232 }
22233 arg4 = static_cast< int >(val4);
22234 ecode5 = SWIG_AsVal_int(obj4, &val5);
22235 if (!SWIG_IsOK(ecode5)) {
22236 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22237 }
22238 arg5 = static_cast< int >(val5);
22239 {
22240 PyThreadState* __tstate = wxPyBeginAllowThreads();
22241 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22242 wxPyEndAllowThreads(__tstate);
22243 if (PyErr_Occurred()) SWIG_fail;
22244 }
22245 resultobj = SWIG_Py_Void();
22246 return resultobj;
22247fail:
22248 return NULL;
22249}
22250
22251
22252SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22253 PyObject *resultobj = 0;
22254 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22255 int arg2 ;
22256 int arg3 ;
22257 int arg4 ;
22258 int arg5 ;
22259 int arg6 = (int) wxSIZE_AUTO ;
22260 void *argp1 = 0 ;
22261 int res1 = 0 ;
22262 int val2 ;
22263 int ecode2 = 0 ;
22264 int val3 ;
22265 int ecode3 = 0 ;
22266 int val4 ;
22267 int ecode4 = 0 ;
22268 int val5 ;
22269 int ecode5 = 0 ;
22270 int val6 ;
22271 int ecode6 = 0 ;
22272 PyObject * obj0 = 0 ;
22273 PyObject * obj1 = 0 ;
22274 PyObject * obj2 = 0 ;
22275 PyObject * obj3 = 0 ;
22276 PyObject * obj4 = 0 ;
22277 PyObject * obj5 = 0 ;
22278 char * kwnames[] = {
22279 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22280 };
22281
22282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22284 if (!SWIG_IsOK(res1)) {
22285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22286 }
22287 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22288 ecode2 = SWIG_AsVal_int(obj1, &val2);
22289 if (!SWIG_IsOK(ecode2)) {
22290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22291 }
22292 arg2 = static_cast< int >(val2);
22293 ecode3 = SWIG_AsVal_int(obj2, &val3);
22294 if (!SWIG_IsOK(ecode3)) {
22295 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22296 }
22297 arg3 = static_cast< int >(val3);
22298 ecode4 = SWIG_AsVal_int(obj3, &val4);
22299 if (!SWIG_IsOK(ecode4)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22301 }
22302 arg4 = static_cast< int >(val4);
22303 ecode5 = SWIG_AsVal_int(obj4, &val5);
22304 if (!SWIG_IsOK(ecode5)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22306 }
22307 arg5 = static_cast< int >(val5);
22308 if (obj5) {
22309 ecode6 = SWIG_AsVal_int(obj5, &val6);
22310 if (!SWIG_IsOK(ecode6)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22312 }
22313 arg6 = static_cast< int >(val6);
22314 }
22315 {
22316 PyThreadState* __tstate = wxPyBeginAllowThreads();
22317 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 resultobj = SWIG_Py_Void();
22322 return resultobj;
22323fail:
22324 return NULL;
22325}
22326
22327
22328SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj = 0;
22330 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22331 int arg2 ;
22332 int arg3 ;
22333 void *argp1 = 0 ;
22334 int res1 = 0 ;
22335 int val2 ;
22336 int ecode2 = 0 ;
22337 int val3 ;
22338 int ecode3 = 0 ;
22339 PyObject * obj0 = 0 ;
22340 PyObject * obj1 = 0 ;
22341 PyObject * obj2 = 0 ;
22342 char * kwnames[] = {
22343 (char *) "self",(char *) "width",(char *) "height", NULL
22344 };
22345
22346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22348 if (!SWIG_IsOK(res1)) {
22349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22350 }
22351 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22352 ecode2 = SWIG_AsVal_int(obj1, &val2);
22353 if (!SWIG_IsOK(ecode2)) {
22354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22355 }
22356 arg2 = static_cast< int >(val2);
22357 ecode3 = SWIG_AsVal_int(obj2, &val3);
22358 if (!SWIG_IsOK(ecode3)) {
22359 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22360 }
22361 arg3 = static_cast< int >(val3);
22362 {
22363 PyThreadState* __tstate = wxPyBeginAllowThreads();
22364 (arg1)->DoSetClientSize(arg2,arg3);
22365 wxPyEndAllowThreads(__tstate);
22366 if (PyErr_Occurred()) SWIG_fail;
22367 }
22368 resultobj = SWIG_Py_Void();
22369 return resultobj;
22370fail:
22371 return NULL;
22372}
22373
22374
22375SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22376 PyObject *resultobj = 0;
22377 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22378 int arg2 ;
22379 int arg3 ;
22380 void *argp1 = 0 ;
22381 int res1 = 0 ;
22382 int val2 ;
22383 int ecode2 = 0 ;
22384 int val3 ;
22385 int ecode3 = 0 ;
22386 PyObject * obj0 = 0 ;
22387 PyObject * obj1 = 0 ;
22388 PyObject * obj2 = 0 ;
22389 char * kwnames[] = {
22390 (char *) "self",(char *) "x",(char *) "y", NULL
22391 };
22392
22393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22395 if (!SWIG_IsOK(res1)) {
22396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22397 }
22398 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22399 ecode2 = SWIG_AsVal_int(obj1, &val2);
22400 if (!SWIG_IsOK(ecode2)) {
22401 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22402 }
22403 arg2 = static_cast< int >(val2);
22404 ecode3 = SWIG_AsVal_int(obj2, &val3);
22405 if (!SWIG_IsOK(ecode3)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22407 }
22408 arg3 = static_cast< int >(val3);
22409 {
22410 PyThreadState* __tstate = wxPyBeginAllowThreads();
22411 (arg1)->DoSetVirtualSize(arg2,arg3);
22412 wxPyEndAllowThreads(__tstate);
22413 if (PyErr_Occurred()) SWIG_fail;
22414 }
22415 resultobj = SWIG_Py_Void();
22416 return resultobj;
22417fail:
22418 return NULL;
22419}
22420
22421
22422SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22423 PyObject *resultobj = 0;
22424 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22425 int *arg2 = (int *) 0 ;
22426 int *arg3 = (int *) 0 ;
22427 void *argp1 = 0 ;
22428 int res1 = 0 ;
22429 int temp2 ;
22430 int res2 = SWIG_TMPOBJ ;
22431 int temp3 ;
22432 int res3 = SWIG_TMPOBJ ;
22433 PyObject *swig_obj[1] ;
22434
22435 arg2 = &temp2;
22436 arg3 = &temp3;
22437 if (!args) SWIG_fail;
22438 swig_obj[0] = args;
22439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22440 if (!SWIG_IsOK(res1)) {
22441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22442 }
22443 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 resultobj = SWIG_Py_Void();
22451 if (SWIG_IsTmpObj(res2)) {
22452 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22453 } else {
22454 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22455 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22456 }
22457 if (SWIG_IsTmpObj(res3)) {
22458 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22459 } else {
22460 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22461 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22462 }
22463 return resultobj;
22464fail:
22465 return NULL;
22466}
22467
22468
22469SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22470 PyObject *resultobj = 0;
22471 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22472 int *arg2 = (int *) 0 ;
22473 int *arg3 = (int *) 0 ;
22474 void *argp1 = 0 ;
22475 int res1 = 0 ;
22476 int temp2 ;
22477 int res2 = SWIG_TMPOBJ ;
22478 int temp3 ;
22479 int res3 = SWIG_TMPOBJ ;
22480 PyObject *swig_obj[1] ;
22481
22482 arg2 = &temp2;
22483 arg3 = &temp3;
22484 if (!args) SWIG_fail;
22485 swig_obj[0] = args;
22486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22487 if (!SWIG_IsOK(res1)) {
22488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22489 }
22490 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22491 {
22492 PyThreadState* __tstate = wxPyBeginAllowThreads();
22493 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 resultobj = SWIG_Py_Void();
22498 if (SWIG_IsTmpObj(res2)) {
22499 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22500 } else {
22501 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22502 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22503 }
22504 if (SWIG_IsTmpObj(res3)) {
22505 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22506 } else {
22507 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22508 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22509 }
22510 return resultobj;
22511fail:
22512 return NULL;
22513}
22514
22515
22516SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22517 PyObject *resultobj = 0;
22518 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22519 int *arg2 = (int *) 0 ;
22520 int *arg3 = (int *) 0 ;
22521 void *argp1 = 0 ;
22522 int res1 = 0 ;
22523 int temp2 ;
22524 int res2 = SWIG_TMPOBJ ;
22525 int temp3 ;
22526 int res3 = SWIG_TMPOBJ ;
22527 PyObject *swig_obj[1] ;
22528
22529 arg2 = &temp2;
22530 arg3 = &temp3;
22531 if (!args) SWIG_fail;
22532 swig_obj[0] = args;
22533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22534 if (!SWIG_IsOK(res1)) {
22535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22536 }
22537 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22538 {
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22541 wxPyEndAllowThreads(__tstate);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
22544 resultobj = SWIG_Py_Void();
22545 if (SWIG_IsTmpObj(res2)) {
22546 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22547 } else {
22548 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22549 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22550 }
22551 if (SWIG_IsTmpObj(res3)) {
22552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22553 } else {
22554 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22556 }
22557 return resultobj;
22558fail:
22559 return NULL;
d14a1e28
RD
22560}
22561
22562
0085ce49
RD
22563SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22564 PyObject *resultobj = 0;
22565 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22566 wxSize result;
22567 void *argp1 = 0 ;
22568 int res1 = 0 ;
22569 PyObject *swig_obj[1] ;
22570
22571 if (!args) SWIG_fail;
22572 swig_obj[0] = args;
22573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22574 if (!SWIG_IsOK(res1)) {
22575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22576 }
22577 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22578 {
22579 PyThreadState* __tstate = wxPyBeginAllowThreads();
22580 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22581 wxPyEndAllowThreads(__tstate);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 }
22584 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22585 return resultobj;
22586fail:
22587 return NULL;
d14a1e28
RD
22588}
22589
22590
0085ce49
RD
22591SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22592 PyObject *resultobj = 0;
22593 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22594 wxSize result;
22595 void *argp1 = 0 ;
22596 int res1 = 0 ;
22597 PyObject *swig_obj[1] ;
22598
22599 if (!args) SWIG_fail;
22600 swig_obj[0] = args;
22601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22602 if (!SWIG_IsOK(res1)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22604 }
22605 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22613 return resultobj;
22614fail:
22615 return NULL;
d14a1e28
RD
22616}
22617
22618
0085ce49
RD
22619SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22620 PyObject *resultobj = 0;
22621 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22622 SwigValueWrapper<wxVisualAttributes > result;
22623 void *argp1 = 0 ;
22624 int res1 = 0 ;
22625 PyObject *swig_obj[1] ;
22626
22627 if (!args) SWIG_fail;
22628 swig_obj[0] = args;
22629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22630 if (!SWIG_IsOK(res1)) {
22631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22632 }
22633 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22634 {
22635 PyThreadState* __tstate = wxPyBeginAllowThreads();
22636 result = (arg1)->GetDefaultAttributes();
22637 wxPyEndAllowThreads(__tstate);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 }
22640 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22641 return resultobj;
22642fail:
22643 return NULL;
d14a1e28
RD
22644}
22645
22646
0085ce49
RD
22647SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22648 PyObject *resultobj = 0;
22649 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22650 void *argp1 = 0 ;
22651 int res1 = 0 ;
22652 PyObject *swig_obj[1] ;
22653
22654 if (!args) SWIG_fail;
22655 swig_obj[0] = args;
22656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22657 if (!SWIG_IsOK(res1)) {
22658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22659 }
22660 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 (arg1)->OnInternalIdle();
22664 wxPyEndAllowThreads(__tstate);
22665 if (PyErr_Occurred()) SWIG_fail;
22666 }
22667 resultobj = SWIG_Py_Void();
22668 return resultobj;
22669fail:
22670 return NULL;
22671}
22672
22673
22674SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22675 PyObject *obj;
22676 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22677 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22678 return SWIG_Py_Void();
22679}
22680
22681SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22682 return SWIG_Python_InitShadowInstance(args);
22683}
22684
22685SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22686 PyObject *resultobj = 0;
22687 wxWindow *arg1 = (wxWindow *) 0 ;
22688 int arg2 = (int) (int)-1 ;
22689 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22690 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22691 wxSize const &arg4_defvalue = wxDefaultSize ;
22692 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22693 long arg5 = (long) 0 ;
22694 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22695 wxString *arg6 = (wxString *) &arg6_defvalue ;
22696 wxPyScrolledWindow *result = 0 ;
22697 void *argp1 = 0 ;
22698 int res1 = 0 ;
22699 int val2 ;
22700 int ecode2 = 0 ;
22701 wxPoint temp3 ;
22702 wxSize temp4 ;
22703 long val5 ;
22704 int ecode5 = 0 ;
22705 bool temp6 = false ;
22706 PyObject * obj0 = 0 ;
22707 PyObject * obj1 = 0 ;
22708 PyObject * obj2 = 0 ;
22709 PyObject * obj3 = 0 ;
22710 PyObject * obj4 = 0 ;
22711 PyObject * obj5 = 0 ;
22712 char * kwnames[] = {
22713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22714 };
22715
22716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22718 if (!SWIG_IsOK(res1)) {
22719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22720 }
22721 arg1 = reinterpret_cast< wxWindow * >(argp1);
22722 if (obj1) {
22723 ecode2 = SWIG_AsVal_int(obj1, &val2);
22724 if (!SWIG_IsOK(ecode2)) {
22725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22726 }
22727 arg2 = static_cast< int >(val2);
22728 }
22729 if (obj2) {
32fe5131 22730 {
0085ce49
RD
22731 arg3 = &temp3;
22732 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 22733 }
0085ce49
RD
22734 }
22735 if (obj3) {
32fe5131 22736 {
0085ce49
RD
22737 arg4 = &temp4;
22738 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 22739 }
0085ce49
RD
22740 }
22741 if (obj4) {
22742 ecode5 = SWIG_AsVal_long(obj4, &val5);
22743 if (!SWIG_IsOK(ecode5)) {
22744 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22745 }
22746 arg5 = static_cast< long >(val5);
22747 }
22748 if (obj5) {
32fe5131 22749 {
0085ce49
RD
22750 arg6 = wxString_in_helper(obj5);
22751 if (arg6 == NULL) SWIG_fail;
22752 temp6 = true;
32fe5131 22753 }
0085ce49
RD
22754 }
22755 {
22756 if (!wxPyCheckForApp()) SWIG_fail;
22757 PyThreadState* __tstate = wxPyBeginAllowThreads();
22758 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22759 wxPyEndAllowThreads(__tstate);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 }
22762 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22763 {
22764 if (temp6)
22765 delete arg6;
22766 }
22767 return resultobj;
22768fail:
22769 {
22770 if (temp6)
22771 delete arg6;
22772 }
22773 return NULL;
32fe5131
RD
22774}
22775
22776
0085ce49
RD
22777SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22778 PyObject *resultobj = 0;
22779 wxPyScrolledWindow *result = 0 ;
22780
22781 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22782 {
22783 if (!wxPyCheckForApp()) SWIG_fail;
22784 PyThreadState* __tstate = wxPyBeginAllowThreads();
22785 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
22789 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22790 return resultobj;
22791fail:
22792 return NULL;
22793}
22794
22795
22796SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22797 PyObject *resultobj = 0;
22798 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22799 PyObject *arg2 = (PyObject *) 0 ;
22800 PyObject *arg3 = (PyObject *) 0 ;
22801 void *argp1 = 0 ;
22802 int res1 = 0 ;
22803 PyObject * obj0 = 0 ;
22804 PyObject * obj1 = 0 ;
22805 PyObject * obj2 = 0 ;
22806 char * kwnames[] = {
22807 (char *) "self",(char *) "self",(char *) "_class", NULL
22808 };
22809
22810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22812 if (!SWIG_IsOK(res1)) {
22813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22814 }
22815 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22816 arg2 = obj1;
22817 arg3 = obj2;
22818 {
22819 PyThreadState* __tstate = wxPyBeginAllowThreads();
22820 (arg1)->_setCallbackInfo(arg2,arg3);
22821 wxPyEndAllowThreads(__tstate);
22822 if (PyErr_Occurred()) SWIG_fail;
22823 }
22824 resultobj = SWIG_Py_Void();
22825 return resultobj;
22826fail:
22827 return NULL;
22828}
22829
22830
22831SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22832 PyObject *resultobj = 0;
22833 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22834 wxSize *arg2 = 0 ;
22835 void *argp1 = 0 ;
22836 int res1 = 0 ;
22837 wxSize temp2 ;
22838 PyObject * obj0 = 0 ;
22839 PyObject * obj1 = 0 ;
22840 char * kwnames[] = {
22841 (char *) "self",(char *) "size", NULL
22842 };
22843
22844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22845 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22846 if (!SWIG_IsOK(res1)) {
22847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22848 }
22849 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22850 {
22851 arg2 = &temp2;
22852 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22853 }
22854 {
22855 PyThreadState* __tstate = wxPyBeginAllowThreads();
22856 (arg1)->SetBestSize((wxSize const &)*arg2);
22857 wxPyEndAllowThreads(__tstate);
22858 if (PyErr_Occurred()) SWIG_fail;
22859 }
22860 resultobj = SWIG_Py_Void();
22861 return resultobj;
22862fail:
22863 return NULL;
22864}
22865
22866
22867SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22868 PyObject *resultobj = 0;
22869 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22870 wxDC *arg2 = (wxDC *) 0 ;
22871 bool result;
22872 void *argp1 = 0 ;
22873 int res1 = 0 ;
22874 void *argp2 = 0 ;
22875 int res2 = 0 ;
22876 PyObject * obj0 = 0 ;
22877 PyObject * obj1 = 0 ;
22878 char * kwnames[] = {
22879 (char *) "self",(char *) "dc", NULL
22880 };
22881
22882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22884 if (!SWIG_IsOK(res1)) {
22885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22886 }
22887 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22888 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22889 if (!SWIG_IsOK(res2)) {
22890 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22891 }
22892 arg2 = reinterpret_cast< wxDC * >(argp2);
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 result = (bool)(arg1)->DoEraseBackground(arg2);
22896 wxPyEndAllowThreads(__tstate);
22897 if (PyErr_Occurred()) SWIG_fail;
22898 }
22899 {
22900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22901 }
22902 return resultobj;
22903fail:
22904 return NULL;
22905}
22906
22907
22908SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22909 PyObject *resultobj = 0;
22910 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22911 int arg2 ;
22912 int arg3 ;
22913 int arg4 ;
22914 int arg5 ;
22915 void *argp1 = 0 ;
22916 int res1 = 0 ;
22917 int val2 ;
22918 int ecode2 = 0 ;
22919 int val3 ;
22920 int ecode3 = 0 ;
22921 int val4 ;
22922 int ecode4 = 0 ;
22923 int val5 ;
22924 int ecode5 = 0 ;
22925 PyObject * obj0 = 0 ;
22926 PyObject * obj1 = 0 ;
22927 PyObject * obj2 = 0 ;
22928 PyObject * obj3 = 0 ;
22929 PyObject * obj4 = 0 ;
22930 char * kwnames[] = {
22931 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22932 };
22933
22934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22936 if (!SWIG_IsOK(res1)) {
22937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22938 }
22939 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22940 ecode2 = SWIG_AsVal_int(obj1, &val2);
22941 if (!SWIG_IsOK(ecode2)) {
22942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22943 }
22944 arg2 = static_cast< int >(val2);
22945 ecode3 = SWIG_AsVal_int(obj2, &val3);
22946 if (!SWIG_IsOK(ecode3)) {
22947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22948 }
22949 arg3 = static_cast< int >(val3);
22950 ecode4 = SWIG_AsVal_int(obj3, &val4);
22951 if (!SWIG_IsOK(ecode4)) {
22952 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22953 }
22954 arg4 = static_cast< int >(val4);
22955 ecode5 = SWIG_AsVal_int(obj4, &val5);
22956 if (!SWIG_IsOK(ecode5)) {
22957 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22958 }
22959 arg5 = static_cast< int >(val5);
22960 {
22961 PyThreadState* __tstate = wxPyBeginAllowThreads();
22962 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22963 wxPyEndAllowThreads(__tstate);
22964 if (PyErr_Occurred()) SWIG_fail;
22965 }
22966 resultobj = SWIG_Py_Void();
22967 return resultobj;
22968fail:
22969 return NULL;
22970}
22971
22972
22973SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22974 PyObject *resultobj = 0;
22975 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22976 int arg2 ;
22977 int arg3 ;
22978 int arg4 ;
22979 int arg5 ;
22980 int arg6 = (int) wxSIZE_AUTO ;
22981 void *argp1 = 0 ;
22982 int res1 = 0 ;
22983 int val2 ;
22984 int ecode2 = 0 ;
22985 int val3 ;
22986 int ecode3 = 0 ;
22987 int val4 ;
22988 int ecode4 = 0 ;
22989 int val5 ;
22990 int ecode5 = 0 ;
22991 int val6 ;
22992 int ecode6 = 0 ;
22993 PyObject * obj0 = 0 ;
22994 PyObject * obj1 = 0 ;
22995 PyObject * obj2 = 0 ;
22996 PyObject * obj3 = 0 ;
22997 PyObject * obj4 = 0 ;
22998 PyObject * obj5 = 0 ;
22999 char * kwnames[] = {
23000 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23001 };
23002
23003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23005 if (!SWIG_IsOK(res1)) {
23006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23007 }
23008 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23009 ecode2 = SWIG_AsVal_int(obj1, &val2);
23010 if (!SWIG_IsOK(ecode2)) {
23011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23012 }
23013 arg2 = static_cast< int >(val2);
23014 ecode3 = SWIG_AsVal_int(obj2, &val3);
23015 if (!SWIG_IsOK(ecode3)) {
23016 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23017 }
23018 arg3 = static_cast< int >(val3);
23019 ecode4 = SWIG_AsVal_int(obj3, &val4);
23020 if (!SWIG_IsOK(ecode4)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23022 }
23023 arg4 = static_cast< int >(val4);
23024 ecode5 = SWIG_AsVal_int(obj4, &val5);
23025 if (!SWIG_IsOK(ecode5)) {
23026 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23027 }
23028 arg5 = static_cast< int >(val5);
23029 if (obj5) {
23030 ecode6 = SWIG_AsVal_int(obj5, &val6);
23031 if (!SWIG_IsOK(ecode6)) {
23032 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23033 }
23034 arg6 = static_cast< int >(val6);
23035 }
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 resultobj = SWIG_Py_Void();
23043 return resultobj;
23044fail:
23045 return NULL;
23046}
23047
23048
23049SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23050 PyObject *resultobj = 0;
23051 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23052 int arg2 ;
23053 int arg3 ;
23054 void *argp1 = 0 ;
23055 int res1 = 0 ;
23056 int val2 ;
23057 int ecode2 = 0 ;
23058 int val3 ;
23059 int ecode3 = 0 ;
23060 PyObject * obj0 = 0 ;
23061 PyObject * obj1 = 0 ;
23062 PyObject * obj2 = 0 ;
23063 char * kwnames[] = {
23064 (char *) "self",(char *) "width",(char *) "height", NULL
23065 };
23066
23067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23069 if (!SWIG_IsOK(res1)) {
23070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23071 }
23072 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23073 ecode2 = SWIG_AsVal_int(obj1, &val2);
23074 if (!SWIG_IsOK(ecode2)) {
23075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23076 }
23077 arg2 = static_cast< int >(val2);
23078 ecode3 = SWIG_AsVal_int(obj2, &val3);
23079 if (!SWIG_IsOK(ecode3)) {
23080 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23081 }
23082 arg3 = static_cast< int >(val3);
23083 {
23084 PyThreadState* __tstate = wxPyBeginAllowThreads();
23085 (arg1)->DoSetClientSize(arg2,arg3);
23086 wxPyEndAllowThreads(__tstate);
23087 if (PyErr_Occurred()) SWIG_fail;
23088 }
23089 resultobj = SWIG_Py_Void();
23090 return resultobj;
23091fail:
23092 return NULL;
23093}
23094
23095
23096SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23097 PyObject *resultobj = 0;
23098 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23099 int arg2 ;
23100 int arg3 ;
23101 void *argp1 = 0 ;
23102 int res1 = 0 ;
23103 int val2 ;
23104 int ecode2 = 0 ;
23105 int val3 ;
23106 int ecode3 = 0 ;
23107 PyObject * obj0 = 0 ;
23108 PyObject * obj1 = 0 ;
23109 PyObject * obj2 = 0 ;
23110 char * kwnames[] = {
23111 (char *) "self",(char *) "x",(char *) "y", NULL
23112 };
23113
23114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23116 if (!SWIG_IsOK(res1)) {
23117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23118 }
23119 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23120 ecode2 = SWIG_AsVal_int(obj1, &val2);
23121 if (!SWIG_IsOK(ecode2)) {
23122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23123 }
23124 arg2 = static_cast< int >(val2);
23125 ecode3 = SWIG_AsVal_int(obj2, &val3);
23126 if (!SWIG_IsOK(ecode3)) {
23127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23128 }
23129 arg3 = static_cast< int >(val3);
23130 {
23131 PyThreadState* __tstate = wxPyBeginAllowThreads();
23132 (arg1)->DoSetVirtualSize(arg2,arg3);
23133 wxPyEndAllowThreads(__tstate);
23134 if (PyErr_Occurred()) SWIG_fail;
23135 }
23136 resultobj = SWIG_Py_Void();
23137 return resultobj;
23138fail:
23139 return NULL;
23140}
23141
23142
23143SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23144 PyObject *resultobj = 0;
23145 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23146 int *arg2 = (int *) 0 ;
23147 int *arg3 = (int *) 0 ;
23148 void *argp1 = 0 ;
23149 int res1 = 0 ;
23150 int temp2 ;
23151 int res2 = SWIG_TMPOBJ ;
23152 int temp3 ;
23153 int res3 = SWIG_TMPOBJ ;
23154 PyObject *swig_obj[1] ;
23155
23156 arg2 = &temp2;
23157 arg3 = &temp3;
23158 if (!args) SWIG_fail;
23159 swig_obj[0] = args;
23160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23161 if (!SWIG_IsOK(res1)) {
23162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23163 }
23164 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23165 {
23166 PyThreadState* __tstate = wxPyBeginAllowThreads();
23167 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23168 wxPyEndAllowThreads(__tstate);
23169 if (PyErr_Occurred()) SWIG_fail;
23170 }
23171 resultobj = SWIG_Py_Void();
23172 if (SWIG_IsTmpObj(res2)) {
23173 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23174 } else {
23175 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23176 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23177 }
23178 if (SWIG_IsTmpObj(res3)) {
23179 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23180 } else {
23181 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23182 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23183 }
23184 return resultobj;
23185fail:
23186 return NULL;
23187}
23188
23189
23190SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23191 PyObject *resultobj = 0;
23192 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23193 int *arg2 = (int *) 0 ;
23194 int *arg3 = (int *) 0 ;
23195 void *argp1 = 0 ;
23196 int res1 = 0 ;
23197 int temp2 ;
23198 int res2 = SWIG_TMPOBJ ;
23199 int temp3 ;
23200 int res3 = SWIG_TMPOBJ ;
23201 PyObject *swig_obj[1] ;
23202
23203 arg2 = &temp2;
23204 arg3 = &temp3;
23205 if (!args) SWIG_fail;
23206 swig_obj[0] = args;
23207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23208 if (!SWIG_IsOK(res1)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23210 }
23211 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23215 wxPyEndAllowThreads(__tstate);
23216 if (PyErr_Occurred()) SWIG_fail;
23217 }
23218 resultobj = SWIG_Py_Void();
23219 if (SWIG_IsTmpObj(res2)) {
23220 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23221 } else {
23222 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23224 }
23225 if (SWIG_IsTmpObj(res3)) {
23226 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23227 } else {
23228 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23230 }
23231 return resultobj;
23232fail:
23233 return NULL;
23234}
23235
23236
23237SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23238 PyObject *resultobj = 0;
23239 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23240 int *arg2 = (int *) 0 ;
23241 int *arg3 = (int *) 0 ;
23242 void *argp1 = 0 ;
23243 int res1 = 0 ;
23244 int temp2 ;
23245 int res2 = SWIG_TMPOBJ ;
23246 int temp3 ;
23247 int res3 = SWIG_TMPOBJ ;
23248 PyObject *swig_obj[1] ;
23249
23250 arg2 = &temp2;
23251 arg3 = &temp3;
23252 if (!args) SWIG_fail;
23253 swig_obj[0] = args;
23254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23255 if (!SWIG_IsOK(res1)) {
23256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23257 }
23258 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23259 {
23260 PyThreadState* __tstate = wxPyBeginAllowThreads();
23261 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 resultobj = SWIG_Py_Void();
23266 if (SWIG_IsTmpObj(res2)) {
23267 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23268 } else {
23269 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23270 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23271 }
23272 if (SWIG_IsTmpObj(res3)) {
23273 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23274 } else {
23275 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23276 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23277 }
23278 return resultobj;
23279fail:
23280 return NULL;
d14a1e28
RD
23281}
23282
23283
0085ce49
RD
23284SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23285 PyObject *resultobj = 0;
23286 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23287 wxSize result;
23288 void *argp1 = 0 ;
23289 int res1 = 0 ;
23290 PyObject *swig_obj[1] ;
23291
23292 if (!args) SWIG_fail;
23293 swig_obj[0] = args;
23294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23295 if (!SWIG_IsOK(res1)) {
23296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23297 }
23298 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23299 {
23300 PyThreadState* __tstate = wxPyBeginAllowThreads();
23301 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23302 wxPyEndAllowThreads(__tstate);
23303 if (PyErr_Occurred()) SWIG_fail;
23304 }
23305 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23306 return resultobj;
23307fail:
23308 return NULL;
d14a1e28
RD
23309}
23310
23311
0085ce49
RD
23312SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23313 PyObject *resultobj = 0;
23314 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23315 wxSize result;
23316 void *argp1 = 0 ;
23317 int res1 = 0 ;
23318 PyObject *swig_obj[1] ;
23319
23320 if (!args) SWIG_fail;
23321 swig_obj[0] = args;
23322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23323 if (!SWIG_IsOK(res1)) {
23324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23325 }
23326 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23327 {
23328 PyThreadState* __tstate = wxPyBeginAllowThreads();
23329 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23330 wxPyEndAllowThreads(__tstate);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 }
23333 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23334 return resultobj;
23335fail:
23336 return NULL;
d14a1e28
RD
23337}
23338
23339
0085ce49
RD
23340SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23341 PyObject *resultobj = 0;
23342 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23343 SwigValueWrapper<wxVisualAttributes > result;
23344 void *argp1 = 0 ;
23345 int res1 = 0 ;
23346 PyObject *swig_obj[1] ;
23347
23348 if (!args) SWIG_fail;
23349 swig_obj[0] = args;
23350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23351 if (!SWIG_IsOK(res1)) {
23352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23353 }
23354 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 result = (arg1)->GetDefaultAttributes();
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23362 return resultobj;
23363fail:
23364 return NULL;
d14a1e28
RD
23365}
23366
23367
0085ce49
RD
23368SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23369 PyObject *resultobj = 0;
23370 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23371 void *argp1 = 0 ;
23372 int res1 = 0 ;
23373 PyObject *swig_obj[1] ;
23374
23375 if (!args) SWIG_fail;
23376 swig_obj[0] = args;
23377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23378 if (!SWIG_IsOK(res1)) {
23379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23380 }
23381 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 (arg1)->OnInternalIdle();
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
23388 resultobj = SWIG_Py_Void();
23389 return resultobj;
23390fail:
23391 return NULL;
d14a1e28
RD
23392}
23393
23394
0085ce49
RD
23395SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23396 PyObject *obj;
23397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23398 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23399 return SWIG_Py_Void();
d14a1e28
RD
23400}
23401
0085ce49
RD
23402SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23403 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
23404}
23405
0085ce49
RD
23406SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23407 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23408 return 1;
d14a1e28
RD
23409}
23410
23411
0085ce49
RD
23412SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23413 PyObject *pyobj = 0;
23414
23415 {
23416#if wxUSE_UNICODE
23417 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23418#else
23419 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23420#endif
23421 }
23422 return pyobj;
d14a1e28
RD
23423}
23424
23425
0085ce49
RD
23426SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23427 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23428 return 1;
d14a1e28
RD
23429}
23430
23431
0085ce49
RD
23432SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23433 PyObject *pyobj = 0;
23434
23435 {
23436#if wxUSE_UNICODE
23437 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23438#else
23439 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23440#endif
23441 }
23442 return pyobj;
d14a1e28
RD
23443}
23444
23445
0085ce49
RD
23446SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23447 PyObject *resultobj = 0;
23448 wxPrintData *result = 0 ;
23449
23450 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23451 {
23452 PyThreadState* __tstate = wxPyBeginAllowThreads();
23453 result = (wxPrintData *)new wxPrintData();
23454 wxPyEndAllowThreads(__tstate);
23455 if (PyErr_Occurred()) SWIG_fail;
23456 }
23457 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23458 return resultobj;
23459fail:
23460 return NULL;
d14a1e28
RD
23461}
23462
23463
0085ce49
RD
23464SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23465 PyObject *resultobj = 0;
23466 wxPrintData *arg1 = 0 ;
23467 wxPrintData *result = 0 ;
23468 void *argp1 = 0 ;
23469 int res1 = 0 ;
23470
23471 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23473 if (!SWIG_IsOK(res1)) {
23474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23475 }
23476 if (!argp1) {
23477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23478 }
23479 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23480 {
23481 PyThreadState* __tstate = wxPyBeginAllowThreads();
23482 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23487 return resultobj;
23488fail:
23489 return NULL;
d14a1e28
RD
23490}
23491
23492
0085ce49
RD
23493SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23494 int argc;
23495 PyObject *argv[2];
23496
23497 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23498 --argc;
23499 if (argc == 0) {
23500 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23501 }
23502 if (argc == 1) {
23503 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23504 }
23505
23506fail:
23507 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23508 return NULL;
d14a1e28
RD
23509}
23510
23511
0085ce49
RD
23512SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23513 PyObject *resultobj = 0;
23514 wxPrintData *arg1 = (wxPrintData *) 0 ;
23515 void *argp1 = 0 ;
23516 int res1 = 0 ;
23517 PyObject *swig_obj[1] ;
23518
23519 if (!args) SWIG_fail;
23520 swig_obj[0] = args;
23521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23522 if (!SWIG_IsOK(res1)) {
23523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23524 }
23525 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 delete arg1;
d14a1e28 23529
0085ce49
RD
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 resultobj = SWIG_Py_Void();
23534 return resultobj;
23535fail:
23536 return NULL;
d14a1e28
RD
23537}
23538
23539
0085ce49
RD
23540SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23541 PyObject *resultobj = 0;
23542 wxPrintData *arg1 = (wxPrintData *) 0 ;
23543 int result;
23544 void *argp1 = 0 ;
23545 int res1 = 0 ;
23546 PyObject *swig_obj[1] ;
23547
23548 if (!args) SWIG_fail;
23549 swig_obj[0] = args;
23550 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23551 if (!SWIG_IsOK(res1)) {
23552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23553 }
23554 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 result = (int)(arg1)->GetNoCopies();
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 resultobj = SWIG_From_int(static_cast< int >(result));
23562 return resultobj;
23563fail:
23564 return NULL;
d14a1e28
RD
23565}
23566
23567
0085ce49
RD
23568SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23569 PyObject *resultobj = 0;
23570 wxPrintData *arg1 = (wxPrintData *) 0 ;
23571 bool result;
23572 void *argp1 = 0 ;
23573 int res1 = 0 ;
23574 PyObject *swig_obj[1] ;
23575
23576 if (!args) SWIG_fail;
23577 swig_obj[0] = args;
23578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23579 if (!SWIG_IsOK(res1)) {
23580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23581 }
23582 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23583 {
23584 PyThreadState* __tstate = wxPyBeginAllowThreads();
23585 result = (bool)(arg1)->GetCollate();
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 {
23590 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23591 }
23592 return resultobj;
23593fail:
23594 return NULL;
d14a1e28
RD
23595}
23596
23597
0085ce49
RD
23598SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23599 PyObject *resultobj = 0;
23600 wxPrintData *arg1 = (wxPrintData *) 0 ;
23601 int result;
23602 void *argp1 = 0 ;
23603 int res1 = 0 ;
23604 PyObject *swig_obj[1] ;
23605
23606 if (!args) SWIG_fail;
23607 swig_obj[0] = args;
23608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23609 if (!SWIG_IsOK(res1)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23611 }
23612 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 result = (int)(arg1)->GetOrientation();
23616 wxPyEndAllowThreads(__tstate);
23617 if (PyErr_Occurred()) SWIG_fail;
23618 }
23619 resultobj = SWIG_From_int(static_cast< int >(result));
23620 return resultobj;
23621fail:
23622 return NULL;
d14a1e28
RD
23623}
23624
23625
0085ce49
RD
23626SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23627 PyObject *resultobj = 0;
23628 wxPrintData *arg1 = (wxPrintData *) 0 ;
23629 bool result;
23630 void *argp1 = 0 ;
23631 int res1 = 0 ;
23632 PyObject *swig_obj[1] ;
23633
23634 if (!args) SWIG_fail;
23635 swig_obj[0] = args;
23636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23637 if (!SWIG_IsOK(res1)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23639 }
23640 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = (bool)(arg1)->Ok();
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 {
23648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23649 }
23650 return resultobj;
23651fail:
23652 return NULL;
23653}
23654
23655
23656SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23657 PyObject *resultobj = 0;
23658 wxPrintData *arg1 = (wxPrintData *) 0 ;
23659 wxString *result = 0 ;
23660 void *argp1 = 0 ;
23661 int res1 = 0 ;
23662 PyObject *swig_obj[1] ;
23663
23664 if (!args) SWIG_fail;
23665 swig_obj[0] = args;
23666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23667 if (!SWIG_IsOK(res1)) {
23668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23669 }
23670 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 23673 {
0085ce49
RD
23674 wxString const &_result_ref = (arg1)->GetPrinterName();
23675 result = (wxString *) &_result_ref;
d14a1e28 23676 }
0085ce49
RD
23677 wxPyEndAllowThreads(__tstate);
23678 if (PyErr_Occurred()) SWIG_fail;
23679 }
23680 {
d14a1e28 23681#if wxUSE_UNICODE
0085ce49 23682 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 23683#else
0085ce49 23684 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28 23685#endif
0085ce49
RD
23686 }
23687 return resultobj;
23688fail:
23689 return NULL;
d14a1e28
RD
23690}
23691
23692
0085ce49
RD
23693SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23694 PyObject *resultobj = 0;
23695 wxPrintData *arg1 = (wxPrintData *) 0 ;
23696 bool result;
23697 void *argp1 = 0 ;
23698 int res1 = 0 ;
23699 PyObject *swig_obj[1] ;
23700
23701 if (!args) SWIG_fail;
23702 swig_obj[0] = args;
23703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23704 if (!SWIG_IsOK(res1)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23706 }
23707 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 result = (bool)(arg1)->GetColour();
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 {
23715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23716 }
23717 return resultobj;
23718fail:
23719 return NULL;
d14a1e28
RD
23720}
23721
23722
0085ce49
RD
23723SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23724 PyObject *resultobj = 0;
23725 wxPrintData *arg1 = (wxPrintData *) 0 ;
23726 wxDuplexMode result;
23727 void *argp1 = 0 ;
23728 int res1 = 0 ;
23729 PyObject *swig_obj[1] ;
23730
23731 if (!args) SWIG_fail;
23732 swig_obj[0] = args;
23733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23734 if (!SWIG_IsOK(res1)) {
23735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23736 }
23737 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23738 {
23739 PyThreadState* __tstate = wxPyBeginAllowThreads();
23740 result = (wxDuplexMode)(arg1)->GetDuplex();
23741 wxPyEndAllowThreads(__tstate);
23742 if (PyErr_Occurred()) SWIG_fail;
23743 }
23744 resultobj = SWIG_From_int(static_cast< int >(result));
23745 return resultobj;
23746fail:
23747 return NULL;
d14a1e28
RD
23748}
23749
23750
0085ce49
RD
23751SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23752 PyObject *resultobj = 0;
23753 wxPrintData *arg1 = (wxPrintData *) 0 ;
23754 wxPaperSize result;
23755 void *argp1 = 0 ;
23756 int res1 = 0 ;
23757 PyObject *swig_obj[1] ;
23758
23759 if (!args) SWIG_fail;
23760 swig_obj[0] = args;
23761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23762 if (!SWIG_IsOK(res1)) {
23763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23764 }
23765 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23766 {
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 result = (wxPaperSize)(arg1)->GetPaperId();
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 resultobj = SWIG_From_int(static_cast< int >(result));
23773 return resultobj;
23774fail:
23775 return NULL;
d14a1e28
RD
23776}
23777
23778
0085ce49
RD
23779SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23780 PyObject *resultobj = 0;
23781 wxPrintData *arg1 = (wxPrintData *) 0 ;
23782 wxSize *result = 0 ;
23783 void *argp1 = 0 ;
23784 int res1 = 0 ;
23785 PyObject *swig_obj[1] ;
23786
23787 if (!args) SWIG_fail;
23788 swig_obj[0] = args;
23789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23790 if (!SWIG_IsOK(res1)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23792 }
23793 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 23796 {
0085ce49
RD
23797 wxSize const &_result_ref = (arg1)->GetPaperSize();
23798 result = (wxSize *) &_result_ref;
23799 }
23800 wxPyEndAllowThreads(__tstate);
23801 if (PyErr_Occurred()) SWIG_fail;
23802 }
23803 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23804 return resultobj;
23805fail:
23806 return NULL;
d14a1e28
RD
23807}
23808
23809
0085ce49
RD
23810SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23811 PyObject *resultobj = 0;
23812 wxPrintData *arg1 = (wxPrintData *) 0 ;
23813 int result;
23814 void *argp1 = 0 ;
23815 int res1 = 0 ;
23816 PyObject *swig_obj[1] ;
23817
23818 if (!args) SWIG_fail;
23819 swig_obj[0] = args;
23820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23821 if (!SWIG_IsOK(res1)) {
23822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23823 }
23824 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23825 {
23826 PyThreadState* __tstate = wxPyBeginAllowThreads();
23827 result = (int)(arg1)->GetQuality();
23828 wxPyEndAllowThreads(__tstate);
23829 if (PyErr_Occurred()) SWIG_fail;
23830 }
23831 resultobj = SWIG_From_int(static_cast< int >(result));
23832 return resultobj;
23833fail:
23834 return NULL;
d14a1e28
RD
23835}
23836
23837
0085ce49
RD
23838SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23839 PyObject *resultobj = 0;
23840 wxPrintData *arg1 = (wxPrintData *) 0 ;
23841 wxPrintBin result;
23842 void *argp1 = 0 ;
23843 int res1 = 0 ;
23844 PyObject *swig_obj[1] ;
23845
23846 if (!args) SWIG_fail;
23847 swig_obj[0] = args;
23848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23849 if (!SWIG_IsOK(res1)) {
23850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23851 }
23852 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23853 {
23854 PyThreadState* __tstate = wxPyBeginAllowThreads();
23855 result = (wxPrintBin)(arg1)->GetBin();
23856 wxPyEndAllowThreads(__tstate);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
23859 resultobj = SWIG_From_int(static_cast< int >(result));
23860 return resultobj;
23861fail:
23862 return NULL;
d14a1e28
RD
23863}
23864
23865
0085ce49
RD
23866SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23867 PyObject *resultobj = 0;
23868 wxPrintData *arg1 = (wxPrintData *) 0 ;
23869 wxPrintMode result;
23870 void *argp1 = 0 ;
23871 int res1 = 0 ;
23872 PyObject *swig_obj[1] ;
23873
23874 if (!args) SWIG_fail;
23875 swig_obj[0] = args;
23876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23877 if (!SWIG_IsOK(res1)) {
23878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23879 }
23880 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23881 {
23882 PyThreadState* __tstate = wxPyBeginAllowThreads();
23883 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23884 wxPyEndAllowThreads(__tstate);
23885 if (PyErr_Occurred()) SWIG_fail;
23886 }
23887 resultobj = SWIG_From_int(static_cast< int >(result));
23888 return resultobj;
23889fail:
23890 return NULL;
23891}
23892
23893
23894SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23895 PyObject *resultobj = 0;
23896 wxPrintData *arg1 = (wxPrintData *) 0 ;
23897 int arg2 ;
23898 void *argp1 = 0 ;
23899 int res1 = 0 ;
23900 int val2 ;
23901 int ecode2 = 0 ;
23902 PyObject * obj0 = 0 ;
23903 PyObject * obj1 = 0 ;
23904 char * kwnames[] = {
23905 (char *) "self",(char *) "v", NULL
23906 };
23907
23908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23910 if (!SWIG_IsOK(res1)) {
23911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23912 }
23913 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23914 ecode2 = SWIG_AsVal_int(obj1, &val2);
23915 if (!SWIG_IsOK(ecode2)) {
23916 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23917 }
23918 arg2 = static_cast< int >(val2);
23919 {
23920 PyThreadState* __tstate = wxPyBeginAllowThreads();
23921 (arg1)->SetNoCopies(arg2);
23922 wxPyEndAllowThreads(__tstate);
23923 if (PyErr_Occurred()) SWIG_fail;
23924 }
23925 resultobj = SWIG_Py_Void();
23926 return resultobj;
23927fail:
23928 return NULL;
23929}
23930
23931
23932SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23933 PyObject *resultobj = 0;
23934 wxPrintData *arg1 = (wxPrintData *) 0 ;
23935 bool arg2 ;
23936 void *argp1 = 0 ;
23937 int res1 = 0 ;
23938 bool val2 ;
23939 int ecode2 = 0 ;
23940 PyObject * obj0 = 0 ;
23941 PyObject * obj1 = 0 ;
23942 char * kwnames[] = {
23943 (char *) "self",(char *) "flag", NULL
23944 };
23945
23946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23948 if (!SWIG_IsOK(res1)) {
23949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23950 }
23951 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23952 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23953 if (!SWIG_IsOK(ecode2)) {
23954 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23955 }
23956 arg2 = static_cast< bool >(val2);
23957 {
23958 PyThreadState* __tstate = wxPyBeginAllowThreads();
23959 (arg1)->SetCollate(arg2);
23960 wxPyEndAllowThreads(__tstate);
23961 if (PyErr_Occurred()) SWIG_fail;
23962 }
23963 resultobj = SWIG_Py_Void();
23964 return resultobj;
23965fail:
23966 return NULL;
23967}
23968
23969
23970SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23971 PyObject *resultobj = 0;
23972 wxPrintData *arg1 = (wxPrintData *) 0 ;
23973 int arg2 ;
23974 void *argp1 = 0 ;
23975 int res1 = 0 ;
23976 int val2 ;
23977 int ecode2 = 0 ;
23978 PyObject * obj0 = 0 ;
23979 PyObject * obj1 = 0 ;
23980 char * kwnames[] = {
23981 (char *) "self",(char *) "orient", NULL
23982 };
23983
23984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23986 if (!SWIG_IsOK(res1)) {
23987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23988 }
23989 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23990 ecode2 = SWIG_AsVal_int(obj1, &val2);
23991 if (!SWIG_IsOK(ecode2)) {
23992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23993 }
23994 arg2 = static_cast< int >(val2);
23995 {
23996 PyThreadState* __tstate = wxPyBeginAllowThreads();
23997 (arg1)->SetOrientation(arg2);
23998 wxPyEndAllowThreads(__tstate);
23999 if (PyErr_Occurred()) SWIG_fail;
24000 }
24001 resultobj = SWIG_Py_Void();
24002 return resultobj;
24003fail:
24004 return NULL;
24005}
24006
24007
24008SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24009 PyObject *resultobj = 0;
24010 wxPrintData *arg1 = (wxPrintData *) 0 ;
24011 wxString *arg2 = 0 ;
24012 void *argp1 = 0 ;
24013 int res1 = 0 ;
24014 bool temp2 = false ;
24015 PyObject * obj0 = 0 ;
24016 PyObject * obj1 = 0 ;
24017 char * kwnames[] = {
24018 (char *) "self",(char *) "name", NULL
24019 };
24020
24021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24023 if (!SWIG_IsOK(res1)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24025 }
24026 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24027 {
24028 arg2 = wxString_in_helper(obj1);
24029 if (arg2 == NULL) SWIG_fail;
24030 temp2 = true;
24031 }
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 (arg1)->SetPrinterName((wxString const &)*arg2);
24035 wxPyEndAllowThreads(__tstate);
24036 if (PyErr_Occurred()) SWIG_fail;
24037 }
24038 resultobj = SWIG_Py_Void();
24039 {
24040 if (temp2)
24041 delete arg2;
24042 }
24043 return resultobj;
24044fail:
24045 {
24046 if (temp2)
24047 delete arg2;
24048 }
24049 return NULL;
24050}
24051
24052
24053SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24054 PyObject *resultobj = 0;
24055 wxPrintData *arg1 = (wxPrintData *) 0 ;
24056 bool arg2 ;
24057 void *argp1 = 0 ;
24058 int res1 = 0 ;
24059 bool val2 ;
24060 int ecode2 = 0 ;
24061 PyObject * obj0 = 0 ;
24062 PyObject * obj1 = 0 ;
24063 char * kwnames[] = {
24064 (char *) "self",(char *) "colour", NULL
24065 };
24066
24067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24069 if (!SWIG_IsOK(res1)) {
24070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24071 }
24072 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24073 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24074 if (!SWIG_IsOK(ecode2)) {
24075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24076 }
24077 arg2 = static_cast< bool >(val2);
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 (arg1)->SetColour(arg2);
24081 wxPyEndAllowThreads(__tstate);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 }
24084 resultobj = SWIG_Py_Void();
24085 return resultobj;
24086fail:
24087 return NULL;
24088}
24089
24090
24091SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24092 PyObject *resultobj = 0;
24093 wxPrintData *arg1 = (wxPrintData *) 0 ;
24094 wxDuplexMode arg2 ;
24095 void *argp1 = 0 ;
24096 int res1 = 0 ;
24097 int val2 ;
24098 int ecode2 = 0 ;
24099 PyObject * obj0 = 0 ;
24100 PyObject * obj1 = 0 ;
24101 char * kwnames[] = {
24102 (char *) "self",(char *) "duplex", NULL
24103 };
24104
24105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24107 if (!SWIG_IsOK(res1)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24109 }
24110 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24111 ecode2 = SWIG_AsVal_int(obj1, &val2);
24112 if (!SWIG_IsOK(ecode2)) {
24113 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24114 }
24115 arg2 = static_cast< wxDuplexMode >(val2);
24116 {
24117 PyThreadState* __tstate = wxPyBeginAllowThreads();
24118 (arg1)->SetDuplex(arg2);
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 resultobj = SWIG_Py_Void();
24123 return resultobj;
24124fail:
24125 return NULL;
24126}
24127
24128
24129SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj = 0;
24131 wxPrintData *arg1 = (wxPrintData *) 0 ;
24132 wxPaperSize arg2 ;
24133 void *argp1 = 0 ;
24134 int res1 = 0 ;
24135 int val2 ;
24136 int ecode2 = 0 ;
24137 PyObject * obj0 = 0 ;
24138 PyObject * obj1 = 0 ;
24139 char * kwnames[] = {
24140 (char *) "self",(char *) "sizeId", NULL
24141 };
24142
24143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24145 if (!SWIG_IsOK(res1)) {
24146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24147 }
24148 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24149 ecode2 = SWIG_AsVal_int(obj1, &val2);
24150 if (!SWIG_IsOK(ecode2)) {
24151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24152 }
24153 arg2 = static_cast< wxPaperSize >(val2);
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 (arg1)->SetPaperId(arg2);
24157 wxPyEndAllowThreads(__tstate);
24158 if (PyErr_Occurred()) SWIG_fail;
24159 }
24160 resultobj = SWIG_Py_Void();
24161 return resultobj;
24162fail:
24163 return NULL;
24164}
24165
24166
24167SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24168 PyObject *resultobj = 0;
24169 wxPrintData *arg1 = (wxPrintData *) 0 ;
24170 wxSize *arg2 = 0 ;
24171 void *argp1 = 0 ;
24172 int res1 = 0 ;
24173 wxSize temp2 ;
24174 PyObject * obj0 = 0 ;
24175 PyObject * obj1 = 0 ;
24176 char * kwnames[] = {
24177 (char *) "self",(char *) "sz", NULL
24178 };
24179
24180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24182 if (!SWIG_IsOK(res1)) {
24183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24184 }
24185 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24186 {
24187 arg2 = &temp2;
24188 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24189 }
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 (arg1)->SetPaperSize((wxSize const &)*arg2);
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 resultobj = SWIG_Py_Void();
24197 return resultobj;
24198fail:
24199 return NULL;
24200}
24201
24202
24203SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24204 PyObject *resultobj = 0;
24205 wxPrintData *arg1 = (wxPrintData *) 0 ;
24206 int arg2 ;
24207 void *argp1 = 0 ;
24208 int res1 = 0 ;
24209 int val2 ;
24210 int ecode2 = 0 ;
24211 PyObject * obj0 = 0 ;
24212 PyObject * obj1 = 0 ;
24213 char * kwnames[] = {
24214 (char *) "self",(char *) "quality", NULL
24215 };
24216
24217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24219 if (!SWIG_IsOK(res1)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24221 }
24222 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24223 ecode2 = SWIG_AsVal_int(obj1, &val2);
24224 if (!SWIG_IsOK(ecode2)) {
24225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24226 }
24227 arg2 = static_cast< int >(val2);
24228 {
24229 PyThreadState* __tstate = wxPyBeginAllowThreads();
24230 (arg1)->SetQuality(arg2);
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 resultobj = SWIG_Py_Void();
24235 return resultobj;
24236fail:
24237 return NULL;
24238}
24239
24240
24241SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24242 PyObject *resultobj = 0;
24243 wxPrintData *arg1 = (wxPrintData *) 0 ;
24244 wxPrintBin arg2 ;
24245 void *argp1 = 0 ;
24246 int res1 = 0 ;
24247 int val2 ;
24248 int ecode2 = 0 ;
24249 PyObject * obj0 = 0 ;
24250 PyObject * obj1 = 0 ;
24251 char * kwnames[] = {
24252 (char *) "self",(char *) "bin", NULL
24253 };
24254
24255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24257 if (!SWIG_IsOK(res1)) {
24258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24259 }
24260 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24261 ecode2 = SWIG_AsVal_int(obj1, &val2);
24262 if (!SWIG_IsOK(ecode2)) {
24263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24264 }
24265 arg2 = static_cast< wxPrintBin >(val2);
24266 {
24267 PyThreadState* __tstate = wxPyBeginAllowThreads();
24268 (arg1)->SetBin(arg2);
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 resultobj = SWIG_Py_Void();
24273 return resultobj;
24274fail:
24275 return NULL;
24276}
24277
24278
24279SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj = 0;
24281 wxPrintData *arg1 = (wxPrintData *) 0 ;
24282 wxPrintMode arg2 ;
24283 void *argp1 = 0 ;
24284 int res1 = 0 ;
24285 int val2 ;
24286 int ecode2 = 0 ;
24287 PyObject * obj0 = 0 ;
24288 PyObject * obj1 = 0 ;
24289 char * kwnames[] = {
24290 (char *) "self",(char *) "printMode", NULL
24291 };
24292
24293 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24294 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24295 if (!SWIG_IsOK(res1)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24297 }
24298 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24299 ecode2 = SWIG_AsVal_int(obj1, &val2);
24300 if (!SWIG_IsOK(ecode2)) {
24301 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24302 }
24303 arg2 = static_cast< wxPrintMode >(val2);
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 (arg1)->SetPrintMode(arg2);
24307 wxPyEndAllowThreads(__tstate);
24308 if (PyErr_Occurred()) SWIG_fail;
24309 }
24310 resultobj = SWIG_Py_Void();
24311 return resultobj;
24312fail:
24313 return NULL;
d14a1e28
RD
24314}
24315
24316
0085ce49
RD
24317SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24318 PyObject *resultobj = 0;
24319 wxPrintData *arg1 = (wxPrintData *) 0 ;
24320 wxString result;
24321 void *argp1 = 0 ;
24322 int res1 = 0 ;
24323 PyObject *swig_obj[1] ;
24324
24325 if (!args) SWIG_fail;
24326 swig_obj[0] = args;
24327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24328 if (!SWIG_IsOK(res1)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24330 }
24331 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24332 {
24333 PyThreadState* __tstate = wxPyBeginAllowThreads();
24334 result = ((wxPrintData const *)arg1)->GetFilename();
24335 wxPyEndAllowThreads(__tstate);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 {
d14a1e28 24339#if wxUSE_UNICODE
0085ce49 24340 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d14a1e28 24341#else
0085ce49 24342 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d14a1e28 24343#endif
0085ce49
RD
24344 }
24345 return resultobj;
24346fail:
24347 return NULL;
24348}
24349
24350
24351SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj = 0;
24353 wxPrintData *arg1 = (wxPrintData *) 0 ;
24354 wxString *arg2 = 0 ;
24355 void *argp1 = 0 ;
24356 int res1 = 0 ;
24357 bool temp2 = false ;
24358 PyObject * obj0 = 0 ;
24359 PyObject * obj1 = 0 ;
24360 char * kwnames[] = {
24361 (char *) "self",(char *) "filename", NULL
24362 };
24363
24364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24366 if (!SWIG_IsOK(res1)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24368 }
24369 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24370 {
24371 arg2 = wxString_in_helper(obj1);
24372 if (arg2 == NULL) SWIG_fail;
24373 temp2 = true;
24374 }
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 (arg1)->SetFilename((wxString const &)*arg2);
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 resultobj = SWIG_Py_Void();
24382 {
24383 if (temp2)
24384 delete arg2;
24385 }
24386 return resultobj;
24387fail:
24388 {
24389 if (temp2)
24390 delete arg2;
24391 }
24392 return NULL;
d14a1e28
RD
24393}
24394
24395
0085ce49
RD
24396SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24397 PyObject *resultobj = 0;
24398 wxPrintData *arg1 = (wxPrintData *) 0 ;
24399 PyObject *result = 0 ;
24400 void *argp1 = 0 ;
24401 int res1 = 0 ;
24402 PyObject *swig_obj[1] ;
24403
24404 if (!args) SWIG_fail;
24405 swig_obj[0] = args;
24406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24407 if (!SWIG_IsOK(res1)) {
24408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24409 }
24410 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24414 wxPyEndAllowThreads(__tstate);
24415 if (PyErr_Occurred()) SWIG_fail;
24416 }
24417 resultobj = result;
24418 return resultobj;
24419fail:
24420 return NULL;
24421}
24422
24423
24424SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj = 0;
24426 wxPrintData *arg1 = (wxPrintData *) 0 ;
24427 PyObject *arg2 = (PyObject *) 0 ;
24428 void *argp1 = 0 ;
24429 int res1 = 0 ;
24430 PyObject * obj0 = 0 ;
24431 PyObject * obj1 = 0 ;
24432 char * kwnames[] = {
24433 (char *) "self",(char *) "data", NULL
24434 };
24435
24436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24438 if (!SWIG_IsOK(res1)) {
24439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24440 }
24441 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24442 arg2 = obj1;
24443 {
24444 PyThreadState* __tstate = wxPyBeginAllowThreads();
24445 wxPrintData_SetPrivData(arg1,arg2);
24446 wxPyEndAllowThreads(__tstate);
24447 if (PyErr_Occurred()) SWIG_fail;
24448 }
24449 resultobj = SWIG_Py_Void();
24450 return resultobj;
24451fail:
24452 return NULL;
d14a1e28
RD
24453}
24454
24455
0085ce49
RD
24456SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24457 PyObject *obj;
24458 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24459 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24460 return SWIG_Py_Void();
d14a1e28
RD
24461}
24462
0085ce49
RD
24463SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24464 return SWIG_Python_InitShadowInstance(args);
24465}
d14a1e28 24466
0085ce49
RD
24467SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24468 PyObject *resultobj = 0;
24469 wxPageSetupDialogData *result = 0 ;
24470
24471 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24472 {
24473 PyThreadState* __tstate = wxPyBeginAllowThreads();
24474 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24475 wxPyEndAllowThreads(__tstate);
24476 if (PyErr_Occurred()) SWIG_fail;
24477 }
24478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24479 return resultobj;
24480fail:
24481 return NULL;
d14a1e28
RD
24482}
24483
24484
0085ce49
RD
24485SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24486 PyObject *resultobj = 0;
24487 wxPageSetupDialogData *arg1 = 0 ;
24488 wxPageSetupDialogData *result = 0 ;
24489 void *argp1 = 0 ;
24490 int res1 = 0 ;
24491
24492 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24494 if (!SWIG_IsOK(res1)) {
24495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24496 }
24497 if (!argp1) {
24498 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24499 }
24500 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24501 {
24502 PyThreadState* __tstate = wxPyBeginAllowThreads();
24503 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24504 wxPyEndAllowThreads(__tstate);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 }
24507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24508 return resultobj;
24509fail:
24510 return NULL;
d14a1e28
RD
24511}
24512
24513
0085ce49
RD
24514SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24515 PyObject *resultobj = 0;
24516 wxPrintData *arg1 = 0 ;
24517 wxPageSetupDialogData *result = 0 ;
24518 void *argp1 = 0 ;
24519 int res1 = 0 ;
24520
24521 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24523 if (!SWIG_IsOK(res1)) {
24524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24525 }
24526 if (!argp1) {
24527 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24528 }
24529 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24530 {
24531 PyThreadState* __tstate = wxPyBeginAllowThreads();
24532 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24537 return resultobj;
24538fail:
24539 return NULL;
d3b6e4ff
RD
24540}
24541
24542
0085ce49
RD
24543SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24544 int argc;
24545 PyObject *argv[2];
24546
24547 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24548 --argc;
24549 if (argc == 0) {
24550 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24551 }
24552 if (argc == 1) {
24553 int _v = 0;
d3b6e4ff 24554 {
0085ce49
RD
24555 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24556 _v = SWIG_CheckState(res);
d3b6e4ff 24557 }
0085ce49
RD
24558 if (!_v) goto check_2;
24559 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24560 }
24561check_2:
24562
24563 if (argc == 1) {
24564 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24565 }
24566
24567fail:
24568 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24569 return NULL;
d3b6e4ff
RD
24570}
24571
24572
0085ce49
RD
24573SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24574 PyObject *resultobj = 0;
24575 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24576 void *argp1 = 0 ;
24577 int res1 = 0 ;
24578 PyObject *swig_obj[1] ;
24579
24580 if (!args) SWIG_fail;
24581 swig_obj[0] = args;
24582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24583 if (!SWIG_IsOK(res1)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24585 }
24586 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 delete arg1;
d14a1e28 24590
0085ce49
RD
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 resultobj = SWIG_Py_Void();
24595 return resultobj;
24596fail:
24597 return NULL;
24598}
24599
24600
24601SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24602 PyObject *resultobj = 0;
24603 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24604 bool arg2 ;
24605 void *argp1 = 0 ;
24606 int res1 = 0 ;
24607 bool val2 ;
24608 int ecode2 = 0 ;
24609 PyObject * obj0 = 0 ;
24610 PyObject * obj1 = 0 ;
24611 char * kwnames[] = {
24612 (char *) "self",(char *) "flag", NULL
24613 };
24614
24615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24617 if (!SWIG_IsOK(res1)) {
24618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24619 }
24620 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24621 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24622 if (!SWIG_IsOK(ecode2)) {
24623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24624 }
24625 arg2 = static_cast< bool >(val2);
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 (arg1)->EnableHelp(arg2);
24629 wxPyEndAllowThreads(__tstate);
24630 if (PyErr_Occurred()) SWIG_fail;
24631 }
24632 resultobj = SWIG_Py_Void();
24633 return resultobj;
24634fail:
24635 return NULL;
24636}
24637
24638
24639SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24640 PyObject *resultobj = 0;
24641 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24642 bool arg2 ;
24643 void *argp1 = 0 ;
24644 int res1 = 0 ;
24645 bool val2 ;
24646 int ecode2 = 0 ;
24647 PyObject * obj0 = 0 ;
24648 PyObject * obj1 = 0 ;
24649 char * kwnames[] = {
24650 (char *) "self",(char *) "flag", NULL
24651 };
24652
24653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24655 if (!SWIG_IsOK(res1)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24657 }
24658 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24659 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24660 if (!SWIG_IsOK(ecode2)) {
24661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24662 }
24663 arg2 = static_cast< bool >(val2);
24664 {
24665 PyThreadState* __tstate = wxPyBeginAllowThreads();
24666 (arg1)->EnableMargins(arg2);
24667 wxPyEndAllowThreads(__tstate);
24668 if (PyErr_Occurred()) SWIG_fail;
24669 }
24670 resultobj = SWIG_Py_Void();
24671 return resultobj;
24672fail:
24673 return NULL;
24674}
24675
24676
24677SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24678 PyObject *resultobj = 0;
24679 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24680 bool arg2 ;
24681 void *argp1 = 0 ;
24682 int res1 = 0 ;
24683 bool val2 ;
24684 int ecode2 = 0 ;
24685 PyObject * obj0 = 0 ;
24686 PyObject * obj1 = 0 ;
24687 char * kwnames[] = {
24688 (char *) "self",(char *) "flag", NULL
24689 };
24690
24691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24693 if (!SWIG_IsOK(res1)) {
24694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24695 }
24696 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24697 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24698 if (!SWIG_IsOK(ecode2)) {
24699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24700 }
24701 arg2 = static_cast< bool >(val2);
24702 {
24703 PyThreadState* __tstate = wxPyBeginAllowThreads();
24704 (arg1)->EnableOrientation(arg2);
24705 wxPyEndAllowThreads(__tstate);
24706 if (PyErr_Occurred()) SWIG_fail;
24707 }
24708 resultobj = SWIG_Py_Void();
24709 return resultobj;
24710fail:
24711 return NULL;
24712}
24713
24714
24715SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24716 PyObject *resultobj = 0;
24717 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24718 bool arg2 ;
24719 void *argp1 = 0 ;
24720 int res1 = 0 ;
24721 bool val2 ;
24722 int ecode2 = 0 ;
24723 PyObject * obj0 = 0 ;
24724 PyObject * obj1 = 0 ;
24725 char * kwnames[] = {
24726 (char *) "self",(char *) "flag", NULL
24727 };
24728
24729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24731 if (!SWIG_IsOK(res1)) {
24732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24733 }
24734 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24735 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24736 if (!SWIG_IsOK(ecode2)) {
24737 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24738 }
24739 arg2 = static_cast< bool >(val2);
24740 {
24741 PyThreadState* __tstate = wxPyBeginAllowThreads();
24742 (arg1)->EnablePaper(arg2);
24743 wxPyEndAllowThreads(__tstate);
24744 if (PyErr_Occurred()) SWIG_fail;
24745 }
24746 resultobj = SWIG_Py_Void();
24747 return resultobj;
24748fail:
24749 return NULL;
24750}
24751
24752
24753SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj = 0;
24755 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24756 bool arg2 ;
24757 void *argp1 = 0 ;
24758 int res1 = 0 ;
24759 bool val2 ;
24760 int ecode2 = 0 ;
24761 PyObject * obj0 = 0 ;
24762 PyObject * obj1 = 0 ;
24763 char * kwnames[] = {
24764 (char *) "self",(char *) "flag", NULL
24765 };
24766
24767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24769 if (!SWIG_IsOK(res1)) {
24770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24771 }
24772 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24773 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24774 if (!SWIG_IsOK(ecode2)) {
24775 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24776 }
24777 arg2 = static_cast< bool >(val2);
24778 {
24779 PyThreadState* __tstate = wxPyBeginAllowThreads();
24780 (arg1)->EnablePrinter(arg2);
24781 wxPyEndAllowThreads(__tstate);
24782 if (PyErr_Occurred()) SWIG_fail;
24783 }
24784 resultobj = SWIG_Py_Void();
24785 return resultobj;
24786fail:
24787 return NULL;
d14a1e28
RD
24788}
24789
24790
0085ce49
RD
24791SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24792 PyObject *resultobj = 0;
24793 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24794 bool result;
24795 void *argp1 = 0 ;
24796 int res1 = 0 ;
24797 PyObject *swig_obj[1] ;
24798
24799 if (!args) SWIG_fail;
24800 swig_obj[0] = args;
24801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24802 if (!SWIG_IsOK(res1)) {
24803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24804 }
24805 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24806 {
24807 PyThreadState* __tstate = wxPyBeginAllowThreads();
24808 result = (bool)(arg1)->GetDefaultMinMargins();
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 {
24813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24814 }
24815 return resultobj;
24816fail:
24817 return NULL;
d14a1e28
RD
24818}
24819
24820
0085ce49
RD
24821SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24822 PyObject *resultobj = 0;
24823 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24824 bool result;
24825 void *argp1 = 0 ;
24826 int res1 = 0 ;
24827 PyObject *swig_obj[1] ;
24828
24829 if (!args) SWIG_fail;
24830 swig_obj[0] = args;
24831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24832 if (!SWIG_IsOK(res1)) {
24833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24834 }
24835 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24836 {
24837 PyThreadState* __tstate = wxPyBeginAllowThreads();
24838 result = (bool)(arg1)->GetEnableMargins();
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 {
24843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24844 }
24845 return resultobj;
24846fail:
24847 return NULL;
d14a1e28
RD
24848}
24849
24850
0085ce49
RD
24851SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24852 PyObject *resultobj = 0;
24853 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24854 bool result;
24855 void *argp1 = 0 ;
24856 int res1 = 0 ;
24857 PyObject *swig_obj[1] ;
24858
24859 if (!args) SWIG_fail;
24860 swig_obj[0] = args;
24861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24862 if (!SWIG_IsOK(res1)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24864 }
24865 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24866 {
24867 PyThreadState* __tstate = wxPyBeginAllowThreads();
24868 result = (bool)(arg1)->GetEnableOrientation();
24869 wxPyEndAllowThreads(__tstate);
24870 if (PyErr_Occurred()) SWIG_fail;
24871 }
24872 {
24873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24874 }
24875 return resultobj;
24876fail:
24877 return NULL;
d14a1e28
RD
24878}
24879
24880
0085ce49
RD
24881SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24882 PyObject *resultobj = 0;
24883 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24884 bool result;
24885 void *argp1 = 0 ;
24886 int res1 = 0 ;
24887 PyObject *swig_obj[1] ;
24888
24889 if (!args) SWIG_fail;
24890 swig_obj[0] = args;
24891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24892 if (!SWIG_IsOK(res1)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24894 }
24895 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24896 {
24897 PyThreadState* __tstate = wxPyBeginAllowThreads();
24898 result = (bool)(arg1)->GetEnablePaper();
24899 wxPyEndAllowThreads(__tstate);
24900 if (PyErr_Occurred()) SWIG_fail;
24901 }
24902 {
24903 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24904 }
24905 return resultobj;
24906fail:
24907 return NULL;
d14a1e28
RD
24908}
24909
24910
0085ce49
RD
24911SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24912 PyObject *resultobj = 0;
24913 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24914 bool result;
24915 void *argp1 = 0 ;
24916 int res1 = 0 ;
24917 PyObject *swig_obj[1] ;
24918
24919 if (!args) SWIG_fail;
24920 swig_obj[0] = args;
24921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24922 if (!SWIG_IsOK(res1)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24924 }
24925 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24926 {
24927 PyThreadState* __tstate = wxPyBeginAllowThreads();
24928 result = (bool)(arg1)->GetEnablePrinter();
24929 wxPyEndAllowThreads(__tstate);
24930 if (PyErr_Occurred()) SWIG_fail;
24931 }
24932 {
24933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24934 }
24935 return resultobj;
24936fail:
24937 return NULL;
d14a1e28
RD
24938}
24939
24940
0085ce49
RD
24941SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24942 PyObject *resultobj = 0;
24943 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24944 bool result;
24945 void *argp1 = 0 ;
24946 int res1 = 0 ;
24947 PyObject *swig_obj[1] ;
24948
24949 if (!args) SWIG_fail;
24950 swig_obj[0] = args;
24951 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24952 if (!SWIG_IsOK(res1)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24954 }
24955 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24956 {
24957 PyThreadState* __tstate = wxPyBeginAllowThreads();
24958 result = (bool)(arg1)->GetEnableHelp();
24959 wxPyEndAllowThreads(__tstate);
24960 if (PyErr_Occurred()) SWIG_fail;
24961 }
24962 {
24963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24964 }
24965 return resultobj;
24966fail:
24967 return NULL;
d14a1e28
RD
24968}
24969
24970
0085ce49
RD
24971SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24972 PyObject *resultobj = 0;
24973 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24974 bool result;
24975 void *argp1 = 0 ;
24976 int res1 = 0 ;
24977 PyObject *swig_obj[1] ;
24978
24979 if (!args) SWIG_fail;
24980 swig_obj[0] = args;
24981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24982 if (!SWIG_IsOK(res1)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24984 }
24985 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24986 {
24987 PyThreadState* __tstate = wxPyBeginAllowThreads();
24988 result = (bool)(arg1)->GetDefaultInfo();
24989 wxPyEndAllowThreads(__tstate);
24990 if (PyErr_Occurred()) SWIG_fail;
24991 }
24992 {
24993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24994 }
24995 return resultobj;
24996fail:
24997 return NULL;
d14a1e28
RD
24998}
24999
25000
0085ce49
RD
25001SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25002 PyObject *resultobj = 0;
25003 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25004 wxPoint result;
25005 void *argp1 = 0 ;
25006 int res1 = 0 ;
25007 PyObject *swig_obj[1] ;
25008
25009 if (!args) SWIG_fail;
25010 swig_obj[0] = args;
25011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25012 if (!SWIG_IsOK(res1)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25014 }
25015 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 result = (arg1)->GetMarginTopLeft();
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25023 return resultobj;
25024fail:
25025 return NULL;
d14a1e28
RD
25026}
25027
25028
0085ce49
RD
25029SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25030 PyObject *resultobj = 0;
25031 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25032 wxPoint result;
25033 void *argp1 = 0 ;
25034 int res1 = 0 ;
25035 PyObject *swig_obj[1] ;
25036
25037 if (!args) SWIG_fail;
25038 swig_obj[0] = args;
25039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25040 if (!SWIG_IsOK(res1)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25042 }
25043 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25044 {
25045 PyThreadState* __tstate = wxPyBeginAllowThreads();
25046 result = (arg1)->GetMarginBottomRight();
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25051 return resultobj;
25052fail:
25053 return NULL;
d14a1e28
RD
25054}
25055
25056
0085ce49
RD
25057SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25058 PyObject *resultobj = 0;
25059 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25060 wxPoint result;
25061 void *argp1 = 0 ;
25062 int res1 = 0 ;
25063 PyObject *swig_obj[1] ;
25064
25065 if (!args) SWIG_fail;
25066 swig_obj[0] = args;
25067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25068 if (!SWIG_IsOK(res1)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25070 }
25071 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25072 {
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 result = (arg1)->GetMinMarginTopLeft();
25075 wxPyEndAllowThreads(__tstate);
25076 if (PyErr_Occurred()) SWIG_fail;
25077 }
25078 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25079 return resultobj;
25080fail:
25081 return NULL;
d14a1e28
RD
25082}
25083
25084
0085ce49
RD
25085SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25086 PyObject *resultobj = 0;
25087 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25088 wxPoint result;
25089 void *argp1 = 0 ;
25090 int res1 = 0 ;
25091 PyObject *swig_obj[1] ;
25092
25093 if (!args) SWIG_fail;
25094 swig_obj[0] = args;
25095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25096 if (!SWIG_IsOK(res1)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25098 }
25099 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25100 {
25101 PyThreadState* __tstate = wxPyBeginAllowThreads();
25102 result = (arg1)->GetMinMarginBottomRight();
25103 wxPyEndAllowThreads(__tstate);
25104 if (PyErr_Occurred()) SWIG_fail;
25105 }
25106 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25107 return resultobj;
25108fail:
25109 return NULL;
d14a1e28
RD
25110}
25111
25112
0085ce49
RD
25113SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25114 PyObject *resultobj = 0;
25115 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25116 wxPaperSize result;
25117 void *argp1 = 0 ;
25118 int res1 = 0 ;
25119 PyObject *swig_obj[1] ;
25120
25121 if (!args) SWIG_fail;
25122 swig_obj[0] = args;
25123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25124 if (!SWIG_IsOK(res1)) {
25125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25126 }
25127 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25128 {
25129 PyThreadState* __tstate = wxPyBeginAllowThreads();
25130 result = (wxPaperSize)(arg1)->GetPaperId();
25131 wxPyEndAllowThreads(__tstate);
25132 if (PyErr_Occurred()) SWIG_fail;
25133 }
25134 resultobj = SWIG_From_int(static_cast< int >(result));
25135 return resultobj;
25136fail:
25137 return NULL;
d14a1e28
RD
25138}
25139
25140
0085ce49
RD
25141SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25142 PyObject *resultobj = 0;
25143 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25144 wxSize result;
25145 void *argp1 = 0 ;
25146 int res1 = 0 ;
25147 PyObject *swig_obj[1] ;
25148
25149 if (!args) SWIG_fail;
25150 swig_obj[0] = args;
25151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25152 if (!SWIG_IsOK(res1)) {
25153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25154 }
25155 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25156 {
25157 PyThreadState* __tstate = wxPyBeginAllowThreads();
25158 result = (arg1)->GetPaperSize();
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25163 return resultobj;
25164fail:
25165 return NULL;
d14a1e28
RD
25166}
25167
25168
0085ce49
RD
25169SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25170 PyObject *resultobj = 0;
25171 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25172 wxPrintData *result = 0 ;
25173 void *argp1 = 0 ;
25174 int res1 = 0 ;
25175 PyObject *swig_obj[1] ;
25176
25177 if (!args) SWIG_fail;
25178 swig_obj[0] = args;
25179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25180 if (!SWIG_IsOK(res1)) {
25181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25182 }
25183 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25184 {
25185 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 25186 {
0085ce49
RD
25187 wxPrintData &_result_ref = (arg1)->GetPrintData();
25188 result = (wxPrintData *) &_result_ref;
093d3ff1 25189 }
0085ce49
RD
25190 wxPyEndAllowThreads(__tstate);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 }
25193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25194 return resultobj;
25195fail:
25196 return NULL;
d14a1e28
RD
25197}
25198
25199
0085ce49
RD
25200SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25201 PyObject *resultobj = 0;
25202 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25203 bool result;
25204 void *argp1 = 0 ;
25205 int res1 = 0 ;
25206 PyObject *swig_obj[1] ;
25207
25208 if (!args) SWIG_fail;
25209 swig_obj[0] = args;
25210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25211 if (!SWIG_IsOK(res1)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25213 }
25214 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25215 {
25216 PyThreadState* __tstate = wxPyBeginAllowThreads();
25217 result = (bool)(arg1)->Ok();
25218 wxPyEndAllowThreads(__tstate);
25219 if (PyErr_Occurred()) SWIG_fail;
25220 }
25221 {
25222 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25223 }
25224 return resultobj;
25225fail:
25226 return NULL;
25227}
25228
25229
25230SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25231 PyObject *resultobj = 0;
25232 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25233 bool arg2 ;
25234 void *argp1 = 0 ;
25235 int res1 = 0 ;
25236 bool val2 ;
25237 int ecode2 = 0 ;
25238 PyObject * obj0 = 0 ;
25239 PyObject * obj1 = 0 ;
25240 char * kwnames[] = {
25241 (char *) "self",(char *) "flag", NULL
25242 };
25243
25244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25246 if (!SWIG_IsOK(res1)) {
25247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25248 }
25249 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25250 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25251 if (!SWIG_IsOK(ecode2)) {
25252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25253 }
25254 arg2 = static_cast< bool >(val2);
25255 {
25256 PyThreadState* __tstate = wxPyBeginAllowThreads();
25257 (arg1)->SetDefaultInfo(arg2);
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 resultobj = SWIG_Py_Void();
25262 return resultobj;
25263fail:
25264 return NULL;
25265}
25266
25267
25268SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25269 PyObject *resultobj = 0;
25270 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25271 bool arg2 ;
25272 void *argp1 = 0 ;
25273 int res1 = 0 ;
25274 bool val2 ;
25275 int ecode2 = 0 ;
25276 PyObject * obj0 = 0 ;
25277 PyObject * obj1 = 0 ;
25278 char * kwnames[] = {
25279 (char *) "self",(char *) "flag", NULL
25280 };
25281
25282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25284 if (!SWIG_IsOK(res1)) {
25285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25286 }
25287 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25288 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25289 if (!SWIG_IsOK(ecode2)) {
25290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25291 }
25292 arg2 = static_cast< bool >(val2);
25293 {
25294 PyThreadState* __tstate = wxPyBeginAllowThreads();
25295 (arg1)->SetDefaultMinMargins(arg2);
25296 wxPyEndAllowThreads(__tstate);
25297 if (PyErr_Occurred()) SWIG_fail;
25298 }
25299 resultobj = SWIG_Py_Void();
25300 return resultobj;
25301fail:
25302 return NULL;
25303}
25304
25305
25306SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25307 PyObject *resultobj = 0;
25308 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25309 wxPoint *arg2 = 0 ;
25310 void *argp1 = 0 ;
25311 int res1 = 0 ;
25312 wxPoint temp2 ;
25313 PyObject * obj0 = 0 ;
25314 PyObject * obj1 = 0 ;
25315 char * kwnames[] = {
25316 (char *) "self",(char *) "pt", NULL
25317 };
25318
25319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25321 if (!SWIG_IsOK(res1)) {
25322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25323 }
25324 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25325 {
25326 arg2 = &temp2;
25327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25328 }
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25332 wxPyEndAllowThreads(__tstate);
25333 if (PyErr_Occurred()) SWIG_fail;
25334 }
25335 resultobj = SWIG_Py_Void();
25336 return resultobj;
25337fail:
25338 return NULL;
25339}
25340
25341
25342SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25343 PyObject *resultobj = 0;
25344 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25345 wxPoint *arg2 = 0 ;
25346 void *argp1 = 0 ;
25347 int res1 = 0 ;
25348 wxPoint temp2 ;
25349 PyObject * obj0 = 0 ;
25350 PyObject * obj1 = 0 ;
25351 char * kwnames[] = {
25352 (char *) "self",(char *) "pt", NULL
25353 };
25354
25355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25357 if (!SWIG_IsOK(res1)) {
25358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25359 }
25360 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25361 {
25362 arg2 = &temp2;
25363 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25364 }
25365 {
25366 PyThreadState* __tstate = wxPyBeginAllowThreads();
25367 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25368 wxPyEndAllowThreads(__tstate);
25369 if (PyErr_Occurred()) SWIG_fail;
25370 }
25371 resultobj = SWIG_Py_Void();
25372 return resultobj;
25373fail:
25374 return NULL;
25375}
25376
25377
25378SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25379 PyObject *resultobj = 0;
25380 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25381 wxPoint *arg2 = 0 ;
25382 void *argp1 = 0 ;
25383 int res1 = 0 ;
25384 wxPoint temp2 ;
25385 PyObject * obj0 = 0 ;
25386 PyObject * obj1 = 0 ;
25387 char * kwnames[] = {
25388 (char *) "self",(char *) "pt", NULL
25389 };
25390
25391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25393 if (!SWIG_IsOK(res1)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 }
25396 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25397 {
25398 arg2 = &temp2;
25399 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25400 }
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25404 wxPyEndAllowThreads(__tstate);
25405 if (PyErr_Occurred()) SWIG_fail;
25406 }
25407 resultobj = SWIG_Py_Void();
25408 return resultobj;
25409fail:
25410 return NULL;
25411}
25412
25413
25414SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25415 PyObject *resultobj = 0;
25416 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25417 wxPoint *arg2 = 0 ;
25418 void *argp1 = 0 ;
25419 int res1 = 0 ;
25420 wxPoint temp2 ;
25421 PyObject * obj0 = 0 ;
25422 PyObject * obj1 = 0 ;
25423 char * kwnames[] = {
25424 (char *) "self",(char *) "pt", NULL
25425 };
25426
25427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25429 if (!SWIG_IsOK(res1)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25431 }
25432 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25433 {
25434 arg2 = &temp2;
25435 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25436 }
25437 {
25438 PyThreadState* __tstate = wxPyBeginAllowThreads();
25439 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 resultobj = SWIG_Py_Void();
25444 return resultobj;
25445fail:
25446 return NULL;
25447}
25448
25449
25450SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25451 PyObject *resultobj = 0;
25452 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25453 wxPaperSize arg2 ;
25454 void *argp1 = 0 ;
25455 int res1 = 0 ;
25456 int val2 ;
25457 int ecode2 = 0 ;
25458 PyObject * obj0 = 0 ;
25459 PyObject * obj1 = 0 ;
25460 char * kwnames[] = {
25461 (char *) "self",(char *) "id", NULL
25462 };
25463
25464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25466 if (!SWIG_IsOK(res1)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25468 }
25469 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25470 ecode2 = SWIG_AsVal_int(obj1, &val2);
25471 if (!SWIG_IsOK(ecode2)) {
25472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25473 }
25474 arg2 = static_cast< wxPaperSize >(val2);
25475 {
25476 PyThreadState* __tstate = wxPyBeginAllowThreads();
25477 (arg1)->SetPaperId(arg2);
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 resultobj = SWIG_Py_Void();
25482 return resultobj;
25483fail:
25484 return NULL;
25485}
25486
25487
25488SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25489 PyObject *resultobj = 0;
25490 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25491 wxSize *arg2 = 0 ;
25492 void *argp1 = 0 ;
25493 int res1 = 0 ;
25494 wxSize temp2 ;
25495 PyObject * obj0 = 0 ;
25496 PyObject * obj1 = 0 ;
25497 char * kwnames[] = {
25498 (char *) "self",(char *) "size", NULL
25499 };
25500
25501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25503 if (!SWIG_IsOK(res1)) {
25504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25505 }
25506 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25507 {
25508 arg2 = &temp2;
25509 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25510 }
25511 {
25512 PyThreadState* __tstate = wxPyBeginAllowThreads();
25513 (arg1)->SetPaperSize((wxSize const &)*arg2);
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 resultobj = SWIG_Py_Void();
25518 return resultobj;
25519fail:
25520 return NULL;
25521}
25522
25523
25524SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25525 PyObject *resultobj = 0;
25526 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25527 wxPrintData *arg2 = 0 ;
25528 void *argp1 = 0 ;
25529 int res1 = 0 ;
25530 void *argp2 = 0 ;
25531 int res2 = 0 ;
25532 PyObject * obj0 = 0 ;
25533 PyObject * obj1 = 0 ;
25534 char * kwnames[] = {
25535 (char *) "self",(char *) "printData", NULL
25536 };
25537
25538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25540 if (!SWIG_IsOK(res1)) {
25541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25542 }
25543 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25544 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25545 if (!SWIG_IsOK(res2)) {
25546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25547 }
25548 if (!argp2) {
25549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25550 }
25551 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25552 {
25553 PyThreadState* __tstate = wxPyBeginAllowThreads();
25554 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 resultobj = SWIG_Py_Void();
25559 return resultobj;
25560fail:
25561 return NULL;
d14a1e28
RD
25562}
25563
25564
0085ce49
RD
25565SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25566 PyObject *resultobj = 0;
25567 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25568 void *argp1 = 0 ;
25569 int res1 = 0 ;
25570 PyObject *swig_obj[1] ;
25571
25572 if (!args) SWIG_fail;
25573 swig_obj[0] = args;
25574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25575 if (!SWIG_IsOK(res1)) {
25576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25577 }
25578 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25579 {
25580 PyThreadState* __tstate = wxPyBeginAllowThreads();
25581 (arg1)->CalculateIdFromPaperSize();
25582 wxPyEndAllowThreads(__tstate);
25583 if (PyErr_Occurred()) SWIG_fail;
25584 }
25585 resultobj = SWIG_Py_Void();
25586 return resultobj;
25587fail:
25588 return NULL;
32fe5131
RD
25589}
25590
25591
0085ce49
RD
25592SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25593 PyObject *resultobj = 0;
25594 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25595 void *argp1 = 0 ;
25596 int res1 = 0 ;
25597 PyObject *swig_obj[1] ;
25598
25599 if (!args) SWIG_fail;
25600 swig_obj[0] = args;
25601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25602 if (!SWIG_IsOK(res1)) {
25603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25604 }
25605 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25606 {
25607 PyThreadState* __tstate = wxPyBeginAllowThreads();
25608 (arg1)->CalculatePaperSizeFromId();
25609 wxPyEndAllowThreads(__tstate);
25610 if (PyErr_Occurred()) SWIG_fail;
25611 }
25612 resultobj = SWIG_Py_Void();
25613 return resultobj;
25614fail:
25615 return NULL;
d14a1e28
RD
25616}
25617
25618
0085ce49
RD
25619SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25620 PyObject *obj;
25621 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25623 return SWIG_Py_Void();
d14a1e28
RD
25624}
25625
0085ce49
RD
25626SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25627 return SWIG_Python_InitShadowInstance(args);
25628}
d14a1e28 25629
0085ce49
RD
25630SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25631 PyObject *resultobj = 0;
25632 wxWindow *arg1 = (wxWindow *) 0 ;
25633 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25634 wxPageSetupDialog *result = 0 ;
25635 void *argp1 = 0 ;
25636 int res1 = 0 ;
25637 void *argp2 = 0 ;
25638 int res2 = 0 ;
25639 PyObject * obj0 = 0 ;
25640 PyObject * obj1 = 0 ;
25641 char * kwnames[] = {
25642 (char *) "parent",(char *) "data", NULL
25643 };
25644
25645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25647 if (!SWIG_IsOK(res1)) {
25648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25649 }
25650 arg1 = reinterpret_cast< wxWindow * >(argp1);
25651 if (obj1) {
25652 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25653 if (!SWIG_IsOK(res2)) {
25654 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
d14a1e28 25655 }
0085ce49
RD
25656 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25657 }
25658 {
25659 if (!wxPyCheckForApp()) SWIG_fail;
25660 PyThreadState* __tstate = wxPyBeginAllowThreads();
25661 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25662 wxPyEndAllowThreads(__tstate);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25666 return resultobj;
25667fail:
25668 return NULL;
d14a1e28
RD
25669}
25670
25671
0085ce49
RD
25672SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25673 PyObject *resultobj = 0;
25674 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25675 wxPageSetupDialogData *result = 0 ;
25676 void *argp1 = 0 ;
25677 int res1 = 0 ;
25678 PyObject *swig_obj[1] ;
25679
25680 if (!args) SWIG_fail;
25681 swig_obj[0] = args;
25682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25683 if (!SWIG_IsOK(res1)) {
25684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25685 }
25686 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25687 {
25688 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 25689 {
0085ce49
RD
25690 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25691 result = (wxPageSetupDialogData *) &_result_ref;
d14a1e28 25692 }
0085ce49
RD
25693 wxPyEndAllowThreads(__tstate);
25694 if (PyErr_Occurred()) SWIG_fail;
25695 }
25696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25697 return resultobj;
25698fail:
25699 return NULL;
25700}
25701
25702
25703SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25704 PyObject *resultobj = 0;
25705 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25706 wxPageSetupDialogData *result = 0 ;
25707 void *argp1 = 0 ;
25708 int res1 = 0 ;
25709 PyObject *swig_obj[1] ;
25710
25711 if (!args) SWIG_fail;
25712 swig_obj[0] = args;
25713 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25714 if (!SWIG_IsOK(res1)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25716 }
25717 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25718 {
25719 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 25720 {
0085ce49
RD
25721 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25722 result = (wxPageSetupDialogData *) &_result_ref;
d14a1e28 25723 }
0085ce49
RD
25724 wxPyEndAllowThreads(__tstate);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25728 return resultobj;
25729fail:
25730 return NULL;
d14a1e28
RD
25731}
25732
25733
0085ce49
RD
25734SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25735 PyObject *resultobj = 0;
25736 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25737 int result;
25738 void *argp1 = 0 ;
25739 int res1 = 0 ;
25740 PyObject *swig_obj[1] ;
25741
25742 if (!args) SWIG_fail;
25743 swig_obj[0] = args;
25744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25745 if (!SWIG_IsOK(res1)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25747 }
25748 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25749 {
25750 PyThreadState* __tstate = wxPyBeginAllowThreads();
25751 result = (int)(arg1)->ShowModal();
25752 wxPyEndAllowThreads(__tstate);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 }
25755 resultobj = SWIG_From_int(static_cast< int >(result));
25756 return resultobj;
25757fail:
25758 return NULL;
d14a1e28
RD
25759}
25760
25761
0085ce49
RD
25762SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25763 PyObject *obj;
25764 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25765 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25766 return SWIG_Py_Void();
d14a1e28
RD
25767}
25768
0085ce49
RD
25769SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25770 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
25771}
25772
0085ce49
RD
25773SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25774 PyObject *resultobj = 0;
25775 wxPrintDialogData *result = 0 ;
25776
25777 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25778 {
25779 PyThreadState* __tstate = wxPyBeginAllowThreads();
25780 result = (wxPrintDialogData *)new wxPrintDialogData();
25781 wxPyEndAllowThreads(__tstate);
25782 if (PyErr_Occurred()) SWIG_fail;
25783 }
25784 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25785 return resultobj;
25786fail:
25787 return NULL;
d14a1e28
RD
25788}
25789
25790
0085ce49
RD
25791SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25792 PyObject *resultobj = 0;
25793 wxPrintData *arg1 = 0 ;
25794 wxPrintDialogData *result = 0 ;
25795 void *argp1 = 0 ;
25796 int res1 = 0 ;
25797
25798 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25800 if (!SWIG_IsOK(res1)) {
25801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25802 }
25803 if (!argp1) {
25804 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25805 }
25806 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25807 {
25808 PyThreadState* __tstate = wxPyBeginAllowThreads();
25809 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25810 wxPyEndAllowThreads(__tstate);
25811 if (PyErr_Occurred()) SWIG_fail;
25812 }
25813 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25814 return resultobj;
25815fail:
25816 return NULL;
d14a1e28
RD
25817}
25818
25819
0085ce49
RD
25820SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25821 PyObject *resultobj = 0;
25822 wxPrintDialogData *arg1 = 0 ;
25823 wxPrintDialogData *result = 0 ;
25824 void *argp1 = 0 ;
25825 int res1 = 0 ;
25826
25827 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25829 if (!SWIG_IsOK(res1)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25831 }
25832 if (!argp1) {
25833 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25834 }
25835 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25836 {
25837 PyThreadState* __tstate = wxPyBeginAllowThreads();
25838 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25839 wxPyEndAllowThreads(__tstate);
25840 if (PyErr_Occurred()) SWIG_fail;
25841 }
25842 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25843 return resultobj;
25844fail:
25845 return NULL;
d14a1e28
RD
25846}
25847
25848
0085ce49
RD
25849SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25850 int argc;
25851 PyObject *argv[2];
25852
25853 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25854 --argc;
25855 if (argc == 0) {
25856 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25857 }
25858 if (argc == 1) {
25859 int _v = 0;
093d3ff1 25860 {
0085ce49
RD
25861 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25862 _v = SWIG_CheckState(res);
093d3ff1 25863 }
0085ce49
RD
25864 if (!_v) goto check_2;
25865 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25866 }
25867check_2:
25868
25869 if (argc == 1) {
25870 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25871 }
25872
25873fail:
25874 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25875 return NULL;
d14a1e28
RD
25876}
25877
25878
0085ce49
RD
25879SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25880 PyObject *resultobj = 0;
25881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25882 void *argp1 = 0 ;
25883 int res1 = 0 ;
25884 PyObject *swig_obj[1] ;
25885
25886 if (!args) SWIG_fail;
25887 swig_obj[0] = args;
25888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25889 if (!SWIG_IsOK(res1)) {
25890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25891 }
25892 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25893 {
25894 PyThreadState* __tstate = wxPyBeginAllowThreads();
25895 delete arg1;
d14a1e28 25896
0085ce49
RD
25897 wxPyEndAllowThreads(__tstate);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
25900 resultobj = SWIG_Py_Void();
25901 return resultobj;
25902fail:
25903 return NULL;
d14a1e28
RD
25904}
25905
25906
0085ce49
RD
25907SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25908 PyObject *resultobj = 0;
25909 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25910 int result;
25911 void *argp1 = 0 ;
25912 int res1 = 0 ;
25913 PyObject *swig_obj[1] ;
25914
25915 if (!args) SWIG_fail;
25916 swig_obj[0] = args;
25917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25918 if (!SWIG_IsOK(res1)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25920 }
25921 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25925 wxPyEndAllowThreads(__tstate);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
25928 resultobj = SWIG_From_int(static_cast< int >(result));
25929 return resultobj;
25930fail:
25931 return NULL;
d14a1e28
RD
25932}
25933
25934
0085ce49
RD
25935SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25936 PyObject *resultobj = 0;
25937 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25938 int result;
25939 void *argp1 = 0 ;
25940 int res1 = 0 ;
25941 PyObject *swig_obj[1] ;
25942
25943 if (!args) SWIG_fail;
25944 swig_obj[0] = args;
25945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25946 if (!SWIG_IsOK(res1)) {
25947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25948 }
25949 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25950 {
25951 PyThreadState* __tstate = wxPyBeginAllowThreads();
25952 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 resultobj = SWIG_From_int(static_cast< int >(result));
25957 return resultobj;
25958fail:
25959 return NULL;
d14a1e28 25960}
0085ce49
RD
25961
25962
25963SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25964 PyObject *resultobj = 0;
25965 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25966 int result;
25967 void *argp1 = 0 ;
25968 int res1 = 0 ;
25969 PyObject *swig_obj[1] ;
25970
25971 if (!args) SWIG_fail;
25972 swig_obj[0] = args;
25973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25974 if (!SWIG_IsOK(res1)) {
25975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25976 }
25977 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25981 wxPyEndAllowThreads(__tstate);
25982 if (PyErr_Occurred()) SWIG_fail;
25983 }
25984 resultobj = SWIG_From_int(static_cast< int >(result));
25985 return resultobj;
25986fail:
25987 return NULL;
d14a1e28
RD
25988}
25989
25990
0085ce49
RD
25991SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25992 PyObject *resultobj = 0;
25993 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25994 int result;
25995 void *argp1 = 0 ;
25996 int res1 = 0 ;
25997 PyObject *swig_obj[1] ;
25998
25999 if (!args) SWIG_fail;
26000 swig_obj[0] = args;
26001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26002 if (!SWIG_IsOK(res1)) {
26003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26004 }
26005 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26006 {
26007 PyThreadState* __tstate = wxPyBeginAllowThreads();
26008 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26009 wxPyEndAllowThreads(__tstate);
26010 if (PyErr_Occurred()) SWIG_fail;
26011 }
26012 resultobj = SWIG_From_int(static_cast< int >(result));
26013 return resultobj;
26014fail:
26015 return NULL;
d14a1e28
RD
26016}
26017
26018
0085ce49
RD
26019SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26020 PyObject *resultobj = 0;
26021 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26022 int result;
26023 void *argp1 = 0 ;
26024 int res1 = 0 ;
26025 PyObject *swig_obj[1] ;
26026
26027 if (!args) SWIG_fail;
26028 swig_obj[0] = args;
26029 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26030 if (!SWIG_IsOK(res1)) {
26031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26032 }
26033 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26037 wxPyEndAllowThreads(__tstate);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 resultobj = SWIG_From_int(static_cast< int >(result));
26041 return resultobj;
26042fail:
26043 return NULL;
d14a1e28
RD
26044}
26045
26046
0085ce49
RD
26047SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26048 PyObject *resultobj = 0;
26049 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26050 bool result;
26051 void *argp1 = 0 ;
26052 int res1 = 0 ;
26053 PyObject *swig_obj[1] ;
26054
26055 if (!args) SWIG_fail;
26056 swig_obj[0] = args;
26057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26058 if (!SWIG_IsOK(res1)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26060 }
26061 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26065 wxPyEndAllowThreads(__tstate);
26066 if (PyErr_Occurred()) SWIG_fail;
26067 }
26068 {
26069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26070 }
26071 return resultobj;
26072fail:
26073 return NULL;
d14a1e28
RD
26074}
26075
26076
0085ce49
RD
26077SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26078 PyObject *resultobj = 0;
26079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26080 bool result;
26081 void *argp1 = 0 ;
26082 int res1 = 0 ;
26083 PyObject *swig_obj[1] ;
26084
26085 if (!args) SWIG_fail;
26086 swig_obj[0] = args;
26087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26088 if (!SWIG_IsOK(res1)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26090 }
26091 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 {
26099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26100 }
26101 return resultobj;
26102fail:
26103 return NULL;
d14a1e28
RD
26104}
26105
26106
0085ce49
RD
26107SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26108 PyObject *resultobj = 0;
26109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26110 bool result;
26111 void *argp1 = 0 ;
26112 int res1 = 0 ;
26113 PyObject *swig_obj[1] ;
26114
26115 if (!args) SWIG_fail;
26116 swig_obj[0] = args;
26117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26118 if (!SWIG_IsOK(res1)) {
26119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26120 }
26121 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26122 {
26123 PyThreadState* __tstate = wxPyBeginAllowThreads();
26124 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 {
26129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26130 }
26131 return resultobj;
26132fail:
26133 return NULL;
d14a1e28
RD
26134}
26135
26136
0085ce49
RD
26137SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26138 PyObject *resultobj = 0;
26139 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26140 bool result;
26141 void *argp1 = 0 ;
26142 int res1 = 0 ;
26143 PyObject *swig_obj[1] ;
26144
26145 if (!args) SWIG_fail;
26146 swig_obj[0] = args;
26147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26148 if (!SWIG_IsOK(res1)) {
26149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26150 }
26151 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26152 {
26153 PyThreadState* __tstate = wxPyBeginAllowThreads();
26154 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
26158 {
26159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26160 }
26161 return resultobj;
26162fail:
26163 return NULL;
26164}
26165
26166
26167SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26168 PyObject *resultobj = 0;
26169 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26170 int arg2 ;
26171 void *argp1 = 0 ;
26172 int res1 = 0 ;
26173 int val2 ;
26174 int ecode2 = 0 ;
26175 PyObject * obj0 = 0 ;
26176 PyObject * obj1 = 0 ;
26177 char * kwnames[] = {
26178 (char *) "self",(char *) "v", NULL
26179 };
26180
26181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26183 if (!SWIG_IsOK(res1)) {
26184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26185 }
26186 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26187 ecode2 = SWIG_AsVal_int(obj1, &val2);
26188 if (!SWIG_IsOK(ecode2)) {
26189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26190 }
26191 arg2 = static_cast< int >(val2);
26192 {
26193 PyThreadState* __tstate = wxPyBeginAllowThreads();
26194 (arg1)->SetFromPage(arg2);
26195 wxPyEndAllowThreads(__tstate);
26196 if (PyErr_Occurred()) SWIG_fail;
26197 }
26198 resultobj = SWIG_Py_Void();
26199 return resultobj;
26200fail:
26201 return NULL;
26202}
26203
26204
26205SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26206 PyObject *resultobj = 0;
26207 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26208 int arg2 ;
26209 void *argp1 = 0 ;
26210 int res1 = 0 ;
26211 int val2 ;
26212 int ecode2 = 0 ;
26213 PyObject * obj0 = 0 ;
26214 PyObject * obj1 = 0 ;
26215 char * kwnames[] = {
26216 (char *) "self",(char *) "v", NULL
26217 };
26218
26219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26221 if (!SWIG_IsOK(res1)) {
26222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26223 }
26224 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26225 ecode2 = SWIG_AsVal_int(obj1, &val2);
26226 if (!SWIG_IsOK(ecode2)) {
26227 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26228 }
26229 arg2 = static_cast< int >(val2);
26230 {
26231 PyThreadState* __tstate = wxPyBeginAllowThreads();
26232 (arg1)->SetToPage(arg2);
26233 wxPyEndAllowThreads(__tstate);
26234 if (PyErr_Occurred()) SWIG_fail;
26235 }
26236 resultobj = SWIG_Py_Void();
26237 return resultobj;
26238fail:
26239 return NULL;
26240}
26241
26242
26243SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26244 PyObject *resultobj = 0;
26245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26246 int arg2 ;
26247 void *argp1 = 0 ;
26248 int res1 = 0 ;
26249 int val2 ;
26250 int ecode2 = 0 ;
26251 PyObject * obj0 = 0 ;
26252 PyObject * obj1 = 0 ;
26253 char * kwnames[] = {
26254 (char *) "self",(char *) "v", NULL
26255 };
26256
26257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26259 if (!SWIG_IsOK(res1)) {
26260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26261 }
26262 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26263 ecode2 = SWIG_AsVal_int(obj1, &val2);
26264 if (!SWIG_IsOK(ecode2)) {
26265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26266 }
26267 arg2 = static_cast< int >(val2);
26268 {
26269 PyThreadState* __tstate = wxPyBeginAllowThreads();
26270 (arg1)->SetMinPage(arg2);
26271 wxPyEndAllowThreads(__tstate);
26272 if (PyErr_Occurred()) SWIG_fail;
26273 }
26274 resultobj = SWIG_Py_Void();
26275 return resultobj;
26276fail:
26277 return NULL;
26278}
26279
26280
26281SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26282 PyObject *resultobj = 0;
26283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26284 int arg2 ;
26285 void *argp1 = 0 ;
26286 int res1 = 0 ;
26287 int val2 ;
26288 int ecode2 = 0 ;
26289 PyObject * obj0 = 0 ;
26290 PyObject * obj1 = 0 ;
26291 char * kwnames[] = {
26292 (char *) "self",(char *) "v", NULL
26293 };
26294
26295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26297 if (!SWIG_IsOK(res1)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26299 }
26300 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26301 ecode2 = SWIG_AsVal_int(obj1, &val2);
26302 if (!SWIG_IsOK(ecode2)) {
26303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26304 }
26305 arg2 = static_cast< int >(val2);
26306 {
26307 PyThreadState* __tstate = wxPyBeginAllowThreads();
26308 (arg1)->SetMaxPage(arg2);
26309 wxPyEndAllowThreads(__tstate);
26310 if (PyErr_Occurred()) SWIG_fail;
26311 }
26312 resultobj = SWIG_Py_Void();
26313 return resultobj;
26314fail:
26315 return NULL;
26316}
26317
26318
26319SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26320 PyObject *resultobj = 0;
26321 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26322 int arg2 ;
26323 void *argp1 = 0 ;
26324 int res1 = 0 ;
26325 int val2 ;
26326 int ecode2 = 0 ;
26327 PyObject * obj0 = 0 ;
26328 PyObject * obj1 = 0 ;
26329 char * kwnames[] = {
26330 (char *) "self",(char *) "v", NULL
26331 };
26332
26333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26335 if (!SWIG_IsOK(res1)) {
26336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26337 }
26338 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26339 ecode2 = SWIG_AsVal_int(obj1, &val2);
26340 if (!SWIG_IsOK(ecode2)) {
26341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26342 }
26343 arg2 = static_cast< int >(val2);
26344 {
26345 PyThreadState* __tstate = wxPyBeginAllowThreads();
26346 (arg1)->SetNoCopies(arg2);
26347 wxPyEndAllowThreads(__tstate);
26348 if (PyErr_Occurred()) SWIG_fail;
26349 }
26350 resultobj = SWIG_Py_Void();
26351 return resultobj;
26352fail:
26353 return NULL;
26354}
26355
26356
26357SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26358 PyObject *resultobj = 0;
26359 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26360 bool arg2 ;
26361 void *argp1 = 0 ;
26362 int res1 = 0 ;
26363 bool val2 ;
26364 int ecode2 = 0 ;
26365 PyObject * obj0 = 0 ;
26366 PyObject * obj1 = 0 ;
26367 char * kwnames[] = {
26368 (char *) "self",(char *) "flag", NULL
26369 };
26370
26371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26373 if (!SWIG_IsOK(res1)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26375 }
26376 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26377 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26378 if (!SWIG_IsOK(ecode2)) {
26379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26380 }
26381 arg2 = static_cast< bool >(val2);
26382 {
26383 PyThreadState* __tstate = wxPyBeginAllowThreads();
26384 (arg1)->SetAllPages(arg2);
26385 wxPyEndAllowThreads(__tstate);
26386 if (PyErr_Occurred()) SWIG_fail;
26387 }
26388 resultobj = SWIG_Py_Void();
26389 return resultobj;
26390fail:
26391 return NULL;
26392}
26393
26394
26395SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26396 PyObject *resultobj = 0;
26397 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26398 bool arg2 ;
26399 void *argp1 = 0 ;
26400 int res1 = 0 ;
26401 bool val2 ;
26402 int ecode2 = 0 ;
26403 PyObject * obj0 = 0 ;
26404 PyObject * obj1 = 0 ;
26405 char * kwnames[] = {
26406 (char *) "self",(char *) "flag", NULL
26407 };
26408
26409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26411 if (!SWIG_IsOK(res1)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26413 }
26414 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26415 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26416 if (!SWIG_IsOK(ecode2)) {
26417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26418 }
26419 arg2 = static_cast< bool >(val2);
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 (arg1)->SetSelection(arg2);
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 resultobj = SWIG_Py_Void();
26427 return resultobj;
26428fail:
26429 return NULL;
26430}
26431
26432
26433SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26434 PyObject *resultobj = 0;
26435 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26436 bool arg2 ;
26437 void *argp1 = 0 ;
26438 int res1 = 0 ;
26439 bool val2 ;
26440 int ecode2 = 0 ;
26441 PyObject * obj0 = 0 ;
26442 PyObject * obj1 = 0 ;
26443 char * kwnames[] = {
26444 (char *) "self",(char *) "flag", NULL
26445 };
26446
26447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26449 if (!SWIG_IsOK(res1)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26451 }
26452 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26453 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26454 if (!SWIG_IsOK(ecode2)) {
26455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26456 }
26457 arg2 = static_cast< bool >(val2);
26458 {
26459 PyThreadState* __tstate = wxPyBeginAllowThreads();
26460 (arg1)->SetCollate(arg2);
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 resultobj = SWIG_Py_Void();
26465 return resultobj;
26466fail:
26467 return NULL;
26468}
26469
26470
26471SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26472 PyObject *resultobj = 0;
26473 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26474 bool arg2 ;
26475 void *argp1 = 0 ;
26476 int res1 = 0 ;
26477 bool val2 ;
26478 int ecode2 = 0 ;
26479 PyObject * obj0 = 0 ;
26480 PyObject * obj1 = 0 ;
26481 char * kwnames[] = {
26482 (char *) "self",(char *) "flag", NULL
26483 };
26484
26485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26487 if (!SWIG_IsOK(res1)) {
26488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26489 }
26490 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26491 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26492 if (!SWIG_IsOK(ecode2)) {
26493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26494 }
26495 arg2 = static_cast< bool >(val2);
26496 {
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 (arg1)->SetPrintToFile(arg2);
26499 wxPyEndAllowThreads(__tstate);
26500 if (PyErr_Occurred()) SWIG_fail;
26501 }
26502 resultobj = SWIG_Py_Void();
26503 return resultobj;
26504fail:
26505 return NULL;
26506}
26507
26508
26509SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26510 PyObject *resultobj = 0;
26511 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26512 bool arg2 ;
26513 void *argp1 = 0 ;
26514 int res1 = 0 ;
26515 bool val2 ;
26516 int ecode2 = 0 ;
26517 PyObject * obj0 = 0 ;
26518 PyObject * obj1 = 0 ;
26519 char * kwnames[] = {
26520 (char *) "self",(char *) "flag", NULL
26521 };
26522
26523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26525 if (!SWIG_IsOK(res1)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26527 }
26528 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26529 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26530 if (!SWIG_IsOK(ecode2)) {
26531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26532 }
26533 arg2 = static_cast< bool >(val2);
26534 {
26535 PyThreadState* __tstate = wxPyBeginAllowThreads();
26536 (arg1)->EnablePrintToFile(arg2);
26537 wxPyEndAllowThreads(__tstate);
26538 if (PyErr_Occurred()) SWIG_fail;
26539 }
26540 resultobj = SWIG_Py_Void();
26541 return resultobj;
26542fail:
26543 return NULL;
26544}
26545
26546
26547SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26548 PyObject *resultobj = 0;
26549 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26550 bool arg2 ;
26551 void *argp1 = 0 ;
26552 int res1 = 0 ;
26553 bool val2 ;
26554 int ecode2 = 0 ;
26555 PyObject * obj0 = 0 ;
26556 PyObject * obj1 = 0 ;
26557 char * kwnames[] = {
26558 (char *) "self",(char *) "flag", NULL
26559 };
26560
26561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26563 if (!SWIG_IsOK(res1)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26565 }
26566 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26567 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26568 if (!SWIG_IsOK(ecode2)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26570 }
26571 arg2 = static_cast< bool >(val2);
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 (arg1)->EnableSelection(arg2);
26575 wxPyEndAllowThreads(__tstate);
26576 if (PyErr_Occurred()) SWIG_fail;
26577 }
26578 resultobj = SWIG_Py_Void();
26579 return resultobj;
26580fail:
26581 return NULL;
26582}
26583
26584
26585SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26586 PyObject *resultobj = 0;
26587 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26588 bool arg2 ;
26589 void *argp1 = 0 ;
26590 int res1 = 0 ;
26591 bool val2 ;
26592 int ecode2 = 0 ;
26593 PyObject * obj0 = 0 ;
26594 PyObject * obj1 = 0 ;
26595 char * kwnames[] = {
26596 (char *) "self",(char *) "flag", NULL
26597 };
26598
26599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26601 if (!SWIG_IsOK(res1)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26603 }
26604 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26605 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26606 if (!SWIG_IsOK(ecode2)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26608 }
26609 arg2 = static_cast< bool >(val2);
26610 {
26611 PyThreadState* __tstate = wxPyBeginAllowThreads();
26612 (arg1)->EnablePageNumbers(arg2);
26613 wxPyEndAllowThreads(__tstate);
26614 if (PyErr_Occurred()) SWIG_fail;
26615 }
26616 resultobj = SWIG_Py_Void();
26617 return resultobj;
26618fail:
26619 return NULL;
26620}
26621
26622
26623SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26624 PyObject *resultobj = 0;
26625 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26626 bool arg2 ;
26627 void *argp1 = 0 ;
26628 int res1 = 0 ;
26629 bool val2 ;
26630 int ecode2 = 0 ;
26631 PyObject * obj0 = 0 ;
26632 PyObject * obj1 = 0 ;
26633 char * kwnames[] = {
26634 (char *) "self",(char *) "flag", NULL
26635 };
26636
26637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26639 if (!SWIG_IsOK(res1)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26641 }
26642 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26643 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26644 if (!SWIG_IsOK(ecode2)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26646 }
26647 arg2 = static_cast< bool >(val2);
26648 {
26649 PyThreadState* __tstate = wxPyBeginAllowThreads();
26650 (arg1)->EnableHelp(arg2);
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 resultobj = SWIG_Py_Void();
26655 return resultobj;
26656fail:
26657 return NULL;
d14a1e28
RD
26658}
26659
26660
0085ce49
RD
26661SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26662 PyObject *resultobj = 0;
26663 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26664 bool result;
26665 void *argp1 = 0 ;
26666 int res1 = 0 ;
26667 PyObject *swig_obj[1] ;
26668
26669 if (!args) SWIG_fail;
26670 swig_obj[0] = args;
26671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26672 if (!SWIG_IsOK(res1)) {
26673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26674 }
26675 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26676 {
26677 PyThreadState* __tstate = wxPyBeginAllowThreads();
26678 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26679 wxPyEndAllowThreads(__tstate);
26680 if (PyErr_Occurred()) SWIG_fail;
26681 }
26682 {
26683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26684 }
26685 return resultobj;
26686fail:
26687 return NULL;
d14a1e28
RD
26688}
26689
26690
0085ce49
RD
26691SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26692 PyObject *resultobj = 0;
26693 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26694 bool result;
26695 void *argp1 = 0 ;
26696 int res1 = 0 ;
26697 PyObject *swig_obj[1] ;
26698
26699 if (!args) SWIG_fail;
26700 swig_obj[0] = args;
26701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26702 if (!SWIG_IsOK(res1)) {
26703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26704 }
26705 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26706 {
26707 PyThreadState* __tstate = wxPyBeginAllowThreads();
26708 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26709 wxPyEndAllowThreads(__tstate);
26710 if (PyErr_Occurred()) SWIG_fail;
26711 }
26712 {
26713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26714 }
26715 return resultobj;
26716fail:
26717 return NULL;
d14a1e28
RD
26718}
26719
26720
0085ce49
RD
26721SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26722 PyObject *resultobj = 0;
26723 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26724 bool result;
26725 void *argp1 = 0 ;
26726 int res1 = 0 ;
26727 PyObject *swig_obj[1] ;
26728
26729 if (!args) SWIG_fail;
26730 swig_obj[0] = args;
26731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26732 if (!SWIG_IsOK(res1)) {
26733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26734 }
26735 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26736 {
26737 PyThreadState* __tstate = wxPyBeginAllowThreads();
26738 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26739 wxPyEndAllowThreads(__tstate);
26740 if (PyErr_Occurred()) SWIG_fail;
26741 }
26742 {
26743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26744 }
26745 return resultobj;
26746fail:
26747 return NULL;
d14a1e28
RD
26748}
26749
26750
0085ce49
RD
26751SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26752 PyObject *resultobj = 0;
26753 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26754 bool result;
26755 void *argp1 = 0 ;
26756 int res1 = 0 ;
26757 PyObject *swig_obj[1] ;
26758
26759 if (!args) SWIG_fail;
26760 swig_obj[0] = args;
26761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26762 if (!SWIG_IsOK(res1)) {
26763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26764 }
26765 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26766 {
26767 PyThreadState* __tstate = wxPyBeginAllowThreads();
26768 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 {
26773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26774 }
26775 return resultobj;
26776fail:
26777 return NULL;
d14a1e28
RD
26778}
26779
26780
0085ce49
RD
26781SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26782 PyObject *resultobj = 0;
26783 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26784 bool result;
26785 void *argp1 = 0 ;
26786 int res1 = 0 ;
26787 PyObject *swig_obj[1] ;
26788
26789 if (!args) SWIG_fail;
26790 swig_obj[0] = args;
26791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26792 if (!SWIG_IsOK(res1)) {
26793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26794 }
26795 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26796 {
26797 PyThreadState* __tstate = wxPyBeginAllowThreads();
26798 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26799 wxPyEndAllowThreads(__tstate);
26800 if (PyErr_Occurred()) SWIG_fail;
26801 }
26802 {
26803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26804 }
26805 return resultobj;
26806fail:
26807 return NULL;
d14a1e28
RD
26808}
26809
26810
0085ce49
RD
26811SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26812 PyObject *resultobj = 0;
26813 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26814 wxPrintData *result = 0 ;
26815 void *argp1 = 0 ;
26816 int res1 = 0 ;
26817 PyObject *swig_obj[1] ;
26818
26819 if (!args) SWIG_fail;
26820 swig_obj[0] = args;
26821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26822 if (!SWIG_IsOK(res1)) {
26823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26824 }
26825 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26826 {
26827 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 26828 {
0085ce49
RD
26829 wxPrintData &_result_ref = (arg1)->GetPrintData();
26830 result = (wxPrintData *) &_result_ref;
d14a1e28 26831 }
0085ce49
RD
26832 wxPyEndAllowThreads(__tstate);
26833 if (PyErr_Occurred()) SWIG_fail;
26834 }
26835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26836 return resultobj;
26837fail:
26838 return NULL;
26839}
26840
26841
26842SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26843 PyObject *resultobj = 0;
26844 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26845 wxPrintData *arg2 = 0 ;
26846 void *argp1 = 0 ;
26847 int res1 = 0 ;
26848 void *argp2 = 0 ;
26849 int res2 = 0 ;
26850 PyObject * obj0 = 0 ;
26851 PyObject * obj1 = 0 ;
26852 char * kwnames[] = {
26853 (char *) "self",(char *) "printData", NULL
26854 };
26855
26856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26858 if (!SWIG_IsOK(res1)) {
26859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26860 }
26861 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26862 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26863 if (!SWIG_IsOK(res2)) {
26864 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26865 }
26866 if (!argp2) {
26867 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26868 }
26869 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26870 {
26871 PyThreadState* __tstate = wxPyBeginAllowThreads();
26872 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26873 wxPyEndAllowThreads(__tstate);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 resultobj = SWIG_Py_Void();
26877 return resultobj;
26878fail:
26879 return NULL;
d14a1e28
RD
26880}
26881
26882
0085ce49
RD
26883SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26884 PyObject *obj;
26885 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26886 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26887 return SWIG_Py_Void();
d14a1e28
RD
26888}
26889
0085ce49
RD
26890SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26891 return SWIG_Python_InitShadowInstance(args);
26892}
d14a1e28 26893
0085ce49
RD
26894SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26895 PyObject *resultobj = 0;
26896 wxWindow *arg1 = (wxWindow *) 0 ;
26897 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26898 wxPrintDialog *result = 0 ;
26899 void *argp1 = 0 ;
26900 int res1 = 0 ;
26901 void *argp2 = 0 ;
26902 int res2 = 0 ;
26903 PyObject * obj0 = 0 ;
26904 PyObject * obj1 = 0 ;
26905 char * kwnames[] = {
26906 (char *) "parent",(char *) "data", NULL
26907 };
26908
26909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26911 if (!SWIG_IsOK(res1)) {
26912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26913 }
26914 arg1 = reinterpret_cast< wxWindow * >(argp1);
26915 if (obj1) {
26916 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26917 if (!SWIG_IsOK(res2)) {
26918 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d14a1e28 26919 }
0085ce49
RD
26920 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26921 }
26922 {
26923 if (!wxPyCheckForApp()) SWIG_fail;
26924 PyThreadState* __tstate = wxPyBeginAllowThreads();
26925 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26926 wxPyEndAllowThreads(__tstate);
26927 if (PyErr_Occurred()) SWIG_fail;
26928 }
26929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26930 return resultobj;
26931fail:
26932 return NULL;
d14a1e28
RD
26933}
26934
26935
0085ce49
RD
26936SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26937 PyObject *resultobj = 0;
26938 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26939 int result;
26940 void *argp1 = 0 ;
26941 int res1 = 0 ;
26942 PyObject *swig_obj[1] ;
26943
26944 if (!args) SWIG_fail;
26945 swig_obj[0] = args;
26946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26947 if (!SWIG_IsOK(res1)) {
26948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26949 }
26950 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26951 {
26952 PyThreadState* __tstate = wxPyBeginAllowThreads();
26953 result = (int)(arg1)->ShowModal();
26954 wxPyEndAllowThreads(__tstate);
26955 if (PyErr_Occurred()) SWIG_fail;
26956 }
26957 resultobj = SWIG_From_int(static_cast< int >(result));
26958 return resultobj;
26959fail:
26960 return NULL;
d14a1e28
RD
26961}
26962
26963
0085ce49
RD
26964SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26965 PyObject *resultobj = 0;
26966 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26967 wxPrintDialogData *result = 0 ;
26968 void *argp1 = 0 ;
26969 int res1 = 0 ;
26970 PyObject *swig_obj[1] ;
26971
26972 if (!args) SWIG_fail;
26973 swig_obj[0] = args;
26974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26975 if (!SWIG_IsOK(res1)) {
26976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26977 }
26978 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26979 {
26980 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 26981 {
0085ce49
RD
26982 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26983 result = (wxPrintDialogData *) &_result_ref;
26984 }
26985 wxPyEndAllowThreads(__tstate);
26986 if (PyErr_Occurred()) SWIG_fail;
26987 }
26988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26989 return resultobj;
26990fail:
26991 return NULL;
d14a1e28
RD
26992}
26993
26994
0085ce49
RD
26995SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26996 PyObject *resultobj = 0;
26997 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26998 wxPrintData *result = 0 ;
26999 void *argp1 = 0 ;
27000 int res1 = 0 ;
27001 PyObject *swig_obj[1] ;
27002
27003 if (!args) SWIG_fail;
27004 swig_obj[0] = args;
27005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27006 if (!SWIG_IsOK(res1)) {
27007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27008 }
27009 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27010 {
27011 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 27012 {
0085ce49
RD
27013 wxPrintData &_result_ref = (arg1)->GetPrintData();
27014 result = (wxPrintData *) &_result_ref;
27015 }
27016 wxPyEndAllowThreads(__tstate);
27017 if (PyErr_Occurred()) SWIG_fail;
27018 }
27019 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27020 return resultobj;
27021fail:
27022 return NULL;
d14a1e28
RD
27023}
27024
27025
0085ce49
RD
27026SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27027 PyObject *resultobj = 0;
27028 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27029 wxDC *result = 0 ;
27030 void *argp1 = 0 ;
27031 int res1 = 0 ;
27032 PyObject *swig_obj[1] ;
27033
27034 if (!args) SWIG_fail;
27035 swig_obj[0] = args;
27036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27037 if (!SWIG_IsOK(res1)) {
27038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27039 }
27040 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27041 {
27042 PyThreadState* __tstate = wxPyBeginAllowThreads();
27043 result = (wxDC *)(arg1)->GetPrintDC();
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 {
27048 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27049 }
27050 return resultobj;
27051fail:
27052 return NULL;
d14a1e28
RD
27053}
27054
27055
0085ce49
RD
27056SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27057 PyObject *obj;
27058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27059 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27060 return SWIG_Py_Void();
d14a1e28
RD
27061}
27062
0085ce49
RD
27063SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27064 return SWIG_Python_InitShadowInstance(args);
27065}
d14a1e28 27066
0085ce49
RD
27067SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27068 PyObject *resultobj = 0;
27069 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27070 wxPrinter *result = 0 ;
27071 void *argp1 = 0 ;
27072 int res1 = 0 ;
27073 PyObject * obj0 = 0 ;
27074 char * kwnames[] = {
27075 (char *) "data", NULL
27076 };
27077
27078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27079 if (obj0) {
27080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27081 if (!SWIG_IsOK(res1)) {
27082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d14a1e28 27083 }
0085ce49
RD
27084 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27085 }
27086 {
27087 if (!wxPyCheckForApp()) SWIG_fail;
27088 PyThreadState* __tstate = wxPyBeginAllowThreads();
27089 result = (wxPrinter *)new wxPrinter(arg1);
27090 wxPyEndAllowThreads(__tstate);
27091 if (PyErr_Occurred()) SWIG_fail;
27092 }
27093 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27094 return resultobj;
27095fail:
27096 return NULL;
d14a1e28
RD
27097}
27098
27099
0085ce49
RD
27100SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27101 PyObject *resultobj = 0;
27102 wxPrinter *arg1 = (wxPrinter *) 0 ;
27103 void *argp1 = 0 ;
27104 int res1 = 0 ;
27105 PyObject *swig_obj[1] ;
27106
27107 if (!args) SWIG_fail;
27108 swig_obj[0] = args;
27109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27110 if (!SWIG_IsOK(res1)) {
27111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27112 }
27113 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27114 {
27115 PyThreadState* __tstate = wxPyBeginAllowThreads();
27116 delete arg1;
d14a1e28 27117
0085ce49
RD
27118 wxPyEndAllowThreads(__tstate);
27119 if (PyErr_Occurred()) SWIG_fail;
27120 }
27121 resultobj = SWIG_Py_Void();
27122 return resultobj;
27123fail:
27124 return NULL;
27125}
27126
27127
27128SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27129 PyObject *resultobj = 0;
27130 wxPrinter *arg1 = (wxPrinter *) 0 ;
27131 wxWindow *arg2 = (wxWindow *) 0 ;
27132 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27133 wxWindow *result = 0 ;
27134 void *argp1 = 0 ;
27135 int res1 = 0 ;
27136 void *argp2 = 0 ;
27137 int res2 = 0 ;
27138 void *argp3 = 0 ;
27139 int res3 = 0 ;
27140 PyObject * obj0 = 0 ;
27141 PyObject * obj1 = 0 ;
27142 PyObject * obj2 = 0 ;
27143 char * kwnames[] = {
27144 (char *) "self",(char *) "parent",(char *) "printout", NULL
27145 };
27146
27147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27149 if (!SWIG_IsOK(res1)) {
27150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27151 }
27152 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27153 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27154 if (!SWIG_IsOK(res2)) {
27155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27156 }
27157 arg2 = reinterpret_cast< wxWindow * >(argp2);
27158 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27159 if (!SWIG_IsOK(res3)) {
27160 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27161 }
27162 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27163 {
27164 PyThreadState* __tstate = wxPyBeginAllowThreads();
27165 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27166 wxPyEndAllowThreads(__tstate);
27167 if (PyErr_Occurred()) SWIG_fail;
27168 }
27169 {
27170 resultobj = wxPyMake_wxObject(result, 0);
27171 }
27172 return resultobj;
27173fail:
27174 return NULL;
27175}
27176
27177
27178SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27179 PyObject *resultobj = 0;
27180 wxPrinter *arg1 = (wxPrinter *) 0 ;
27181 wxWindow *arg2 = (wxWindow *) 0 ;
27182 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27183 wxString *arg4 = 0 ;
27184 void *argp1 = 0 ;
27185 int res1 = 0 ;
27186 void *argp2 = 0 ;
27187 int res2 = 0 ;
27188 void *argp3 = 0 ;
27189 int res3 = 0 ;
27190 bool temp4 = false ;
27191 PyObject * obj0 = 0 ;
27192 PyObject * obj1 = 0 ;
27193 PyObject * obj2 = 0 ;
27194 PyObject * obj3 = 0 ;
27195 char * kwnames[] = {
27196 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27197 };
27198
27199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27201 if (!SWIG_IsOK(res1)) {
27202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27203 }
27204 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27205 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27206 if (!SWIG_IsOK(res2)) {
27207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27208 }
27209 arg2 = reinterpret_cast< wxWindow * >(argp2);
27210 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27211 if (!SWIG_IsOK(res3)) {
27212 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27213 }
27214 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27215 {
27216 arg4 = wxString_in_helper(obj3);
27217 if (arg4 == NULL) SWIG_fail;
27218 temp4 = true;
27219 }
27220 {
27221 PyThreadState* __tstate = wxPyBeginAllowThreads();
27222 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27223 wxPyEndAllowThreads(__tstate);
27224 if (PyErr_Occurred()) SWIG_fail;
27225 }
27226 resultobj = SWIG_Py_Void();
27227 {
27228 if (temp4)
27229 delete arg4;
27230 }
27231 return resultobj;
27232fail:
27233 {
27234 if (temp4)
27235 delete arg4;
27236 }
27237 return NULL;
27238}
27239
27240
27241SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27242 PyObject *resultobj = 0;
27243 wxPrinter *arg1 = (wxPrinter *) 0 ;
27244 wxWindow *arg2 = (wxWindow *) 0 ;
27245 bool result;
27246 void *argp1 = 0 ;
27247 int res1 = 0 ;
27248 void *argp2 = 0 ;
27249 int res2 = 0 ;
27250 PyObject * obj0 = 0 ;
27251 PyObject * obj1 = 0 ;
27252 char * kwnames[] = {
27253 (char *) "self",(char *) "parent", NULL
27254 };
27255
27256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27258 if (!SWIG_IsOK(res1)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27260 }
27261 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27262 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27263 if (!SWIG_IsOK(res2)) {
27264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27265 }
27266 arg2 = reinterpret_cast< wxWindow * >(argp2);
27267 {
27268 PyThreadState* __tstate = wxPyBeginAllowThreads();
27269 result = (bool)(arg1)->Setup(arg2);
27270 wxPyEndAllowThreads(__tstate);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 {
27274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27275 }
27276 return resultobj;
27277fail:
27278 return NULL;
27279}
27280
27281
27282SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27283 PyObject *resultobj = 0;
27284 wxPrinter *arg1 = (wxPrinter *) 0 ;
27285 wxWindow *arg2 = (wxWindow *) 0 ;
27286 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27287 bool arg4 = (bool) true ;
27288 bool result;
27289 void *argp1 = 0 ;
27290 int res1 = 0 ;
27291 void *argp2 = 0 ;
27292 int res2 = 0 ;
27293 void *argp3 = 0 ;
27294 int res3 = 0 ;
27295 bool val4 ;
27296 int ecode4 = 0 ;
27297 PyObject * obj0 = 0 ;
27298 PyObject * obj1 = 0 ;
27299 PyObject * obj2 = 0 ;
27300 PyObject * obj3 = 0 ;
27301 char * kwnames[] = {
27302 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27303 };
27304
27305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27307 if (!SWIG_IsOK(res1)) {
27308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27309 }
27310 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27311 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27312 if (!SWIG_IsOK(res2)) {
27313 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27314 }
27315 arg2 = reinterpret_cast< wxWindow * >(argp2);
27316 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27317 if (!SWIG_IsOK(res3)) {
27318 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27319 }
27320 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27321 if (obj3) {
27322 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27323 if (!SWIG_IsOK(ecode4)) {
27324 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27325 }
27326 arg4 = static_cast< bool >(val4);
27327 }
27328 {
27329 PyThreadState* __tstate = wxPyBeginAllowThreads();
27330 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27331 wxPyEndAllowThreads(__tstate);
27332 if (PyErr_Occurred()) SWIG_fail;
27333 }
27334 {
27335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27336 }
27337 return resultobj;
27338fail:
27339 return NULL;
27340}
27341
27342
27343SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27344 PyObject *resultobj = 0;
27345 wxPrinter *arg1 = (wxPrinter *) 0 ;
27346 wxWindow *arg2 = (wxWindow *) 0 ;
27347 wxDC *result = 0 ;
27348 void *argp1 = 0 ;
27349 int res1 = 0 ;
27350 void *argp2 = 0 ;
27351 int res2 = 0 ;
27352 PyObject * obj0 = 0 ;
27353 PyObject * obj1 = 0 ;
27354 char * kwnames[] = {
27355 (char *) "self",(char *) "parent", NULL
27356 };
27357
27358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27360 if (!SWIG_IsOK(res1)) {
27361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27362 }
27363 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27364 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27365 if (!SWIG_IsOK(res2)) {
27366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27367 }
27368 arg2 = reinterpret_cast< wxWindow * >(argp2);
27369 {
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 result = (wxDC *)(arg1)->PrintDialog(arg2);
27372 wxPyEndAllowThreads(__tstate);
27373 if (PyErr_Occurred()) SWIG_fail;
27374 }
27375 {
27376 resultobj = wxPyMake_wxObject(result, (bool)0);
27377 }
27378 return resultobj;
27379fail:
27380 return NULL;
d14a1e28
RD
27381}
27382
27383
0085ce49
RD
27384SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27385 PyObject *resultobj = 0;
27386 wxPrinter *arg1 = (wxPrinter *) 0 ;
27387 wxPrintDialogData *result = 0 ;
27388 void *argp1 = 0 ;
27389 int res1 = 0 ;
27390 PyObject *swig_obj[1] ;
27391
27392 if (!args) SWIG_fail;
27393 swig_obj[0] = args;
27394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27395 if (!SWIG_IsOK(res1)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27397 }
27398 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27399 {
27400 PyThreadState* __tstate = wxPyBeginAllowThreads();
d14a1e28 27401 {
0085ce49
RD
27402 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27403 result = (wxPrintDialogData *) &_result_ref;
27404 }
27405 wxPyEndAllowThreads(__tstate);
27406 if (PyErr_Occurred()) SWIG_fail;
27407 }
27408 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27409 return resultobj;
27410fail:
27411 return NULL;
d14a1e28
RD
27412}
27413
27414
0085ce49
RD
27415SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27416 PyObject *resultobj = 0;
27417 wxPrinter *arg1 = (wxPrinter *) 0 ;
27418 bool result;
27419 void *argp1 = 0 ;
27420 int res1 = 0 ;
27421 PyObject *swig_obj[1] ;
27422
27423 if (!args) SWIG_fail;
27424 swig_obj[0] = args;
27425 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27426 if (!SWIG_IsOK(res1)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27428 }
27429 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27430 {
27431 PyThreadState* __tstate = wxPyBeginAllowThreads();
27432 result = (bool)(arg1)->GetAbort();
27433 wxPyEndAllowThreads(__tstate);
27434 if (PyErr_Occurred()) SWIG_fail;
27435 }
27436 {
27437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27438 }
27439 return resultobj;
27440fail:
27441 return NULL;
d14a1e28
RD
27442}
27443
27444
0085ce49
RD
27445SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27446 PyObject *resultobj = 0;
27447 wxPrinterError result;
27448
27449 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27450 {
27451 PyThreadState* __tstate = wxPyBeginAllowThreads();
27452 result = (wxPrinterError)wxPrinter::GetLastError();
27453 wxPyEndAllowThreads(__tstate);
27454 if (PyErr_Occurred()) SWIG_fail;
27455 }
27456 resultobj = SWIG_From_int(static_cast< int >(result));
27457 return resultobj;
27458fail:
27459 return NULL;
d14a1e28
RD
27460}
27461
27462
0085ce49
RD
27463SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27464 PyObject *obj;
27465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27466 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27467 return SWIG_Py_Void();
d14a1e28
RD
27468}
27469
0085ce49
RD
27470SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27471 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
27472}
27473
0085ce49
RD
27474SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27475 PyObject *resultobj = 0;
27476 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27477 wxString *arg1 = (wxString *) &arg1_defvalue ;
27478 wxPyPrintout *result = 0 ;
27479 bool temp1 = false ;
27480 PyObject * obj0 = 0 ;
27481 char * kwnames[] = {
27482 (char *) "title", NULL
27483 };
27484
27485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27486 if (obj0) {
d14a1e28 27487 {
0085ce49
RD
27488 arg1 = wxString_in_helper(obj0);
27489 if (arg1 == NULL) SWIG_fail;
27490 temp1 = true;
27491 }
27492 }
27493 {
27494 if (!wxPyCheckForApp()) SWIG_fail;
27495 PyThreadState* __tstate = wxPyBeginAllowThreads();
27496 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27497 wxPyEndAllowThreads(__tstate);
27498 if (PyErr_Occurred()) SWIG_fail;
27499 }
27500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27501 {
27502 if (temp1)
27503 delete arg1;
27504 }
27505 return resultobj;
27506fail:
27507 {
27508 if (temp1)
27509 delete arg1;
27510 }
27511 return NULL;
d14a1e28
RD
27512}
27513
27514
0085ce49
RD
27515SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27516 PyObject *resultobj = 0;
27517 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27518 void *argp1 = 0 ;
27519 int res1 = 0 ;
27520 PyObject *swig_obj[1] ;
27521
27522 if (!args) SWIG_fail;
27523 swig_obj[0] = args;
27524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27525 if (!SWIG_IsOK(res1)) {
27526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27527 }
27528 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27529 {
27530 PyThreadState* __tstate = wxPyBeginAllowThreads();
27531 delete arg1;
d14a1e28 27532
0085ce49
RD
27533 wxPyEndAllowThreads(__tstate);
27534 if (PyErr_Occurred()) SWIG_fail;
27535 }
27536 resultobj = SWIG_Py_Void();
27537 return resultobj;
27538fail:
27539 return NULL;
27540}
27541
27542
27543SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27544 PyObject *resultobj = 0;
27545 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27546 PyObject *arg2 = (PyObject *) 0 ;
27547 PyObject *arg3 = (PyObject *) 0 ;
27548 void *argp1 = 0 ;
27549 int res1 = 0 ;
27550 PyObject * obj0 = 0 ;
27551 PyObject * obj1 = 0 ;
27552 PyObject * obj2 = 0 ;
27553 char * kwnames[] = {
27554 (char *) "self",(char *) "self",(char *) "_class", NULL
27555 };
27556
27557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27559 if (!SWIG_IsOK(res1)) {
27560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27561 }
27562 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27563 arg2 = obj1;
27564 arg3 = obj2;
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
27567 (arg1)->_setCallbackInfo(arg2,arg3);
27568 wxPyEndAllowThreads(__tstate);
27569 if (PyErr_Occurred()) SWIG_fail;
27570 }
27571 resultobj = SWIG_Py_Void();
27572 return resultobj;
27573fail:
27574 return NULL;
d14a1e28
RD
27575}
27576
27577
0085ce49
RD
27578SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27579 PyObject *resultobj = 0;
27580 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27581 wxString result;
27582 void *argp1 = 0 ;
27583 int res1 = 0 ;
27584 PyObject *swig_obj[1] ;
27585
27586 if (!args) SWIG_fail;
27587 swig_obj[0] = args;
27588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27589 if (!SWIG_IsOK(res1)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27591 }
27592 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27593 {
27594 PyThreadState* __tstate = wxPyBeginAllowThreads();
27595 result = ((wxPyPrintout const *)arg1)->GetTitle();
27596 wxPyEndAllowThreads(__tstate);
27597 if (PyErr_Occurred()) SWIG_fail;
27598 }
27599 {
27600#if wxUSE_UNICODE
27601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27602#else
27603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27604#endif
27605 }
27606 return resultobj;
27607fail:
27608 return NULL;
d14a1e28
RD
27609}
27610
27611
0085ce49
RD
27612SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27613 PyObject *resultobj = 0;
27614 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27615 wxDC *result = 0 ;
27616 void *argp1 = 0 ;
27617 int res1 = 0 ;
27618 PyObject *swig_obj[1] ;
27619
27620 if (!args) SWIG_fail;
27621 swig_obj[0] = args;
27622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27623 if (!SWIG_IsOK(res1)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27625 }
27626 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27627 {
27628 PyThreadState* __tstate = wxPyBeginAllowThreads();
27629 result = (wxDC *)(arg1)->GetDC();
27630 wxPyEndAllowThreads(__tstate);
27631 if (PyErr_Occurred()) SWIG_fail;
27632 }
27633 {
27634 resultobj = wxPyMake_wxObject(result, (bool)0);
27635 }
27636 return resultobj;
27637fail:
27638 return NULL;
27639}
27640
27641
27642SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27643 PyObject *resultobj = 0;
27644 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27645 wxDC *arg2 = (wxDC *) 0 ;
27646 void *argp1 = 0 ;
27647 int res1 = 0 ;
27648 void *argp2 = 0 ;
27649 int res2 = 0 ;
27650 PyObject * obj0 = 0 ;
27651 PyObject * obj1 = 0 ;
27652 char * kwnames[] = {
27653 (char *) "self",(char *) "dc", NULL
27654 };
27655
27656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27658 if (!SWIG_IsOK(res1)) {
27659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27660 }
27661 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27662 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27663 if (!SWIG_IsOK(res2)) {
27664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27665 }
27666 arg2 = reinterpret_cast< wxDC * >(argp2);
27667 {
27668 PyThreadState* __tstate = wxPyBeginAllowThreads();
27669 (arg1)->SetDC(arg2);
27670 wxPyEndAllowThreads(__tstate);
27671 if (PyErr_Occurred()) SWIG_fail;
27672 }
27673 resultobj = SWIG_Py_Void();
27674 return resultobj;
27675fail:
27676 return NULL;
27677}
27678
27679
27680SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27681 PyObject *resultobj = 0;
27682 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27683 int arg2 ;
27684 int arg3 ;
27685 void *argp1 = 0 ;
27686 int res1 = 0 ;
27687 int val2 ;
27688 int ecode2 = 0 ;
27689 int val3 ;
27690 int ecode3 = 0 ;
27691 PyObject * obj0 = 0 ;
27692 PyObject * obj1 = 0 ;
27693 PyObject * obj2 = 0 ;
27694 char * kwnames[] = {
27695 (char *) "self",(char *) "w",(char *) "h", NULL
27696 };
27697
27698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27700 if (!SWIG_IsOK(res1)) {
27701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27702 }
27703 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27704 ecode2 = SWIG_AsVal_int(obj1, &val2);
27705 if (!SWIG_IsOK(ecode2)) {
27706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27707 }
27708 arg2 = static_cast< int >(val2);
27709 ecode3 = SWIG_AsVal_int(obj2, &val3);
27710 if (!SWIG_IsOK(ecode3)) {
27711 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27712 }
27713 arg3 = static_cast< int >(val3);
27714 {
27715 PyThreadState* __tstate = wxPyBeginAllowThreads();
27716 (arg1)->SetPageSizePixels(arg2,arg3);
27717 wxPyEndAllowThreads(__tstate);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 resultobj = SWIG_Py_Void();
27721 return resultobj;
27722fail:
27723 return NULL;
27724}
27725
27726
27727SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27728 PyObject *resultobj = 0;
27729 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27730 int *arg2 = (int *) 0 ;
27731 int *arg3 = (int *) 0 ;
27732 void *argp1 = 0 ;
27733 int res1 = 0 ;
27734 int temp2 ;
27735 int res2 = SWIG_TMPOBJ ;
27736 int temp3 ;
27737 int res3 = SWIG_TMPOBJ ;
27738 PyObject *swig_obj[1] ;
27739
27740 arg2 = &temp2;
27741 arg3 = &temp3;
27742 if (!args) SWIG_fail;
27743 swig_obj[0] = args;
27744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27745 if (!SWIG_IsOK(res1)) {
27746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27747 }
27748 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27749 {
27750 PyThreadState* __tstate = wxPyBeginAllowThreads();
27751 (arg1)->GetPageSizePixels(arg2,arg3);
27752 wxPyEndAllowThreads(__tstate);
27753 if (PyErr_Occurred()) SWIG_fail;
27754 }
27755 resultobj = SWIG_Py_Void();
27756 if (SWIG_IsTmpObj(res2)) {
27757 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27758 } else {
27759 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27760 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27761 }
27762 if (SWIG_IsTmpObj(res3)) {
27763 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27764 } else {
27765 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27766 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27767 }
27768 return resultobj;
27769fail:
27770 return NULL;
27771}
27772
27773
27774SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27775 PyObject *resultobj = 0;
27776 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27777 int arg2 ;
27778 int arg3 ;
27779 void *argp1 = 0 ;
27780 int res1 = 0 ;
27781 int val2 ;
27782 int ecode2 = 0 ;
27783 int val3 ;
27784 int ecode3 = 0 ;
27785 PyObject * obj0 = 0 ;
27786 PyObject * obj1 = 0 ;
27787 PyObject * obj2 = 0 ;
27788 char * kwnames[] = {
27789 (char *) "self",(char *) "w",(char *) "h", NULL
27790 };
27791
27792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27794 if (!SWIG_IsOK(res1)) {
27795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27796 }
27797 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27798 ecode2 = SWIG_AsVal_int(obj1, &val2);
27799 if (!SWIG_IsOK(ecode2)) {
27800 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27801 }
27802 arg2 = static_cast< int >(val2);
27803 ecode3 = SWIG_AsVal_int(obj2, &val3);
27804 if (!SWIG_IsOK(ecode3)) {
27805 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27806 }
27807 arg3 = static_cast< int >(val3);
27808 {
27809 PyThreadState* __tstate = wxPyBeginAllowThreads();
27810 (arg1)->SetPageSizeMM(arg2,arg3);
27811 wxPyEndAllowThreads(__tstate);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 }
27814 resultobj = SWIG_Py_Void();
27815 return resultobj;
27816fail:
27817 return NULL;
27818}
27819
27820
27821SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27822 PyObject *resultobj = 0;
27823 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27824 int *arg2 = (int *) 0 ;
27825 int *arg3 = (int *) 0 ;
27826 void *argp1 = 0 ;
27827 int res1 = 0 ;
27828 int temp2 ;
27829 int res2 = SWIG_TMPOBJ ;
27830 int temp3 ;
27831 int res3 = SWIG_TMPOBJ ;
27832 PyObject *swig_obj[1] ;
27833
27834 arg2 = &temp2;
27835 arg3 = &temp3;
27836 if (!args) SWIG_fail;
27837 swig_obj[0] = args;
27838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27839 if (!SWIG_IsOK(res1)) {
27840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27841 }
27842 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27843 {
27844 PyThreadState* __tstate = wxPyBeginAllowThreads();
27845 (arg1)->GetPageSizeMM(arg2,arg3);
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 resultobj = SWIG_Py_Void();
27850 if (SWIG_IsTmpObj(res2)) {
27851 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27852 } else {
27853 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27855 }
27856 if (SWIG_IsTmpObj(res3)) {
27857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27858 } else {
27859 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27861 }
27862 return resultobj;
27863fail:
27864 return NULL;
27865}
27866
27867
27868SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27869 PyObject *resultobj = 0;
27870 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27871 int arg2 ;
27872 int arg3 ;
27873 void *argp1 = 0 ;
27874 int res1 = 0 ;
27875 int val2 ;
27876 int ecode2 = 0 ;
27877 int val3 ;
27878 int ecode3 = 0 ;
27879 PyObject * obj0 = 0 ;
27880 PyObject * obj1 = 0 ;
27881 PyObject * obj2 = 0 ;
27882 char * kwnames[] = {
27883 (char *) "self",(char *) "x",(char *) "y", NULL
27884 };
27885
27886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27888 if (!SWIG_IsOK(res1)) {
27889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27890 }
27891 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27892 ecode2 = SWIG_AsVal_int(obj1, &val2);
27893 if (!SWIG_IsOK(ecode2)) {
27894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27895 }
27896 arg2 = static_cast< int >(val2);
27897 ecode3 = SWIG_AsVal_int(obj2, &val3);
27898 if (!SWIG_IsOK(ecode3)) {
27899 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27900 }
27901 arg3 = static_cast< int >(val3);
27902 {
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 (arg1)->SetPPIScreen(arg2,arg3);
27905 wxPyEndAllowThreads(__tstate);
27906 if (PyErr_Occurred()) SWIG_fail;
27907 }
27908 resultobj = SWIG_Py_Void();
27909 return resultobj;
27910fail:
27911 return NULL;
27912}
27913
27914
27915SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27916 PyObject *resultobj = 0;
27917 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27918 int *arg2 = (int *) 0 ;
27919 int *arg3 = (int *) 0 ;
27920 void *argp1 = 0 ;
27921 int res1 = 0 ;
27922 int temp2 ;
27923 int res2 = SWIG_TMPOBJ ;
27924 int temp3 ;
27925 int res3 = SWIG_TMPOBJ ;
27926 PyObject *swig_obj[1] ;
27927
27928 arg2 = &temp2;
27929 arg3 = &temp3;
27930 if (!args) SWIG_fail;
27931 swig_obj[0] = args;
27932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27933 if (!SWIG_IsOK(res1)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27935 }
27936 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27937 {
27938 PyThreadState* __tstate = wxPyBeginAllowThreads();
27939 (arg1)->GetPPIScreen(arg2,arg3);
27940 wxPyEndAllowThreads(__tstate);
27941 if (PyErr_Occurred()) SWIG_fail;
27942 }
27943 resultobj = SWIG_Py_Void();
27944 if (SWIG_IsTmpObj(res2)) {
27945 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27946 } else {
27947 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27948 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27949 }
27950 if (SWIG_IsTmpObj(res3)) {
27951 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27952 } else {
27953 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27954 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27955 }
27956 return resultobj;
27957fail:
27958 return NULL;
27959}
27960
27961
27962SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27963 PyObject *resultobj = 0;
27964 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27965 int arg2 ;
27966 int arg3 ;
27967 void *argp1 = 0 ;
27968 int res1 = 0 ;
27969 int val2 ;
27970 int ecode2 = 0 ;
27971 int val3 ;
27972 int ecode3 = 0 ;
27973 PyObject * obj0 = 0 ;
27974 PyObject * obj1 = 0 ;
27975 PyObject * obj2 = 0 ;
27976 char * kwnames[] = {
27977 (char *) "self",(char *) "x",(char *) "y", NULL
27978 };
27979
27980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27982 if (!SWIG_IsOK(res1)) {
27983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27984 }
27985 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27986 ecode2 = SWIG_AsVal_int(obj1, &val2);
27987 if (!SWIG_IsOK(ecode2)) {
27988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27989 }
27990 arg2 = static_cast< int >(val2);
27991 ecode3 = SWIG_AsVal_int(obj2, &val3);
27992 if (!SWIG_IsOK(ecode3)) {
27993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27994 }
27995 arg3 = static_cast< int >(val3);
27996 {
27997 PyThreadState* __tstate = wxPyBeginAllowThreads();
27998 (arg1)->SetPPIPrinter(arg2,arg3);
27999 wxPyEndAllowThreads(__tstate);
28000 if (PyErr_Occurred()) SWIG_fail;
28001 }
28002 resultobj = SWIG_Py_Void();
28003 return resultobj;
28004fail:
28005 return NULL;
28006}
28007
28008
28009SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28010 PyObject *resultobj = 0;
28011 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28012 int *arg2 = (int *) 0 ;
28013 int *arg3 = (int *) 0 ;
28014 void *argp1 = 0 ;
28015 int res1 = 0 ;
28016 int temp2 ;
28017 int res2 = SWIG_TMPOBJ ;
28018 int temp3 ;
28019 int res3 = SWIG_TMPOBJ ;
28020 PyObject *swig_obj[1] ;
28021
28022 arg2 = &temp2;
28023 arg3 = &temp3;
28024 if (!args) SWIG_fail;
28025 swig_obj[0] = args;
28026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28027 if (!SWIG_IsOK(res1)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28029 }
28030 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28031 {
28032 PyThreadState* __tstate = wxPyBeginAllowThreads();
28033 (arg1)->GetPPIPrinter(arg2,arg3);
28034 wxPyEndAllowThreads(__tstate);
28035 if (PyErr_Occurred()) SWIG_fail;
28036 }
28037 resultobj = SWIG_Py_Void();
28038 if (SWIG_IsTmpObj(res2)) {
28039 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28040 } else {
28041 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28042 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28043 }
28044 if (SWIG_IsTmpObj(res3)) {
28045 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28046 } else {
28047 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28048 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28049 }
28050 return resultobj;
28051fail:
28052 return NULL;
d14a1e28
RD
28053}
28054
28055
0085ce49
RD
28056SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28057 PyObject *resultobj = 0;
28058 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28059 bool result;
28060 void *argp1 = 0 ;
28061 int res1 = 0 ;
28062 PyObject *swig_obj[1] ;
28063
28064 if (!args) SWIG_fail;
28065 swig_obj[0] = args;
28066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28067 if (!SWIG_IsOK(res1)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28069 }
28070 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28071 {
28072 PyThreadState* __tstate = wxPyBeginAllowThreads();
28073 result = (bool)(arg1)->IsPreview();
28074 wxPyEndAllowThreads(__tstate);
28075 if (PyErr_Occurred()) SWIG_fail;
28076 }
28077 {
28078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28079 }
28080 return resultobj;
28081fail:
28082 return NULL;
28083}
28084
28085
28086SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28087 PyObject *resultobj = 0;
28088 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28089 bool arg2 ;
28090 void *argp1 = 0 ;
28091 int res1 = 0 ;
28092 bool val2 ;
28093 int ecode2 = 0 ;
28094 PyObject * obj0 = 0 ;
28095 PyObject * obj1 = 0 ;
28096 char * kwnames[] = {
28097 (char *) "self",(char *) "p", NULL
28098 };
28099
28100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28102 if (!SWIG_IsOK(res1)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28104 }
28105 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28106 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28107 if (!SWIG_IsOK(ecode2)) {
28108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28109 }
28110 arg2 = static_cast< bool >(val2);
28111 {
28112 PyThreadState* __tstate = wxPyBeginAllowThreads();
28113 (arg1)->SetIsPreview(arg2);
28114 wxPyEndAllowThreads(__tstate);
28115 if (PyErr_Occurred()) SWIG_fail;
28116 }
28117 resultobj = SWIG_Py_Void();
28118 return resultobj;
28119fail:
28120 return NULL;
28121}
28122
28123
28124SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28125 PyObject *resultobj = 0;
28126 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28127 int arg2 ;
28128 int arg3 ;
28129 bool result;
28130 void *argp1 = 0 ;
28131 int res1 = 0 ;
28132 int val2 ;
28133 int ecode2 = 0 ;
28134 int val3 ;
28135 int ecode3 = 0 ;
28136 PyObject * obj0 = 0 ;
28137 PyObject * obj1 = 0 ;
28138 PyObject * obj2 = 0 ;
28139 char * kwnames[] = {
28140 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28141 };
28142
28143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28145 if (!SWIG_IsOK(res1)) {
28146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28147 }
28148 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28149 ecode2 = SWIG_AsVal_int(obj1, &val2);
28150 if (!SWIG_IsOK(ecode2)) {
28151 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28152 }
28153 arg2 = static_cast< int >(val2);
28154 ecode3 = SWIG_AsVal_int(obj2, &val3);
28155 if (!SWIG_IsOK(ecode3)) {
28156 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28157 }
28158 arg3 = static_cast< int >(val3);
28159 {
28160 PyThreadState* __tstate = wxPyBeginAllowThreads();
28161 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28162 wxPyEndAllowThreads(__tstate);
28163 if (PyErr_Occurred()) SWIG_fail;
28164 }
28165 {
28166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28167 }
28168 return resultobj;
28169fail:
28170 return NULL;
d14a1e28
RD
28171}
28172
28173
0085ce49
RD
28174SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28175 PyObject *resultobj = 0;
28176 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28177 void *argp1 = 0 ;
28178 int res1 = 0 ;
28179 PyObject *swig_obj[1] ;
28180
28181 if (!args) SWIG_fail;
28182 swig_obj[0] = args;
28183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28184 if (!SWIG_IsOK(res1)) {
28185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28186 }
28187 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28188 {
28189 PyThreadState* __tstate = wxPyBeginAllowThreads();
28190 (arg1)->OnEndDocument();
28191 wxPyEndAllowThreads(__tstate);
28192 if (PyErr_Occurred()) SWIG_fail;
28193 }
28194 resultobj = SWIG_Py_Void();
28195 return resultobj;
28196fail:
28197 return NULL;
1cb4a8aa
RD
28198}
28199
28200
0085ce49
RD
28201SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28202 PyObject *resultobj = 0;
28203 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28204 void *argp1 = 0 ;
28205 int res1 = 0 ;
28206 PyObject *swig_obj[1] ;
28207
28208 if (!args) SWIG_fail;
28209 swig_obj[0] = args;
28210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28211 if (!SWIG_IsOK(res1)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28213 }
28214 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28215 {
28216 PyThreadState* __tstate = wxPyBeginAllowThreads();
28217 (arg1)->OnBeginPrinting();
28218 wxPyEndAllowThreads(__tstate);
28219 if (PyErr_Occurred()) SWIG_fail;
28220 }
28221 resultobj = SWIG_Py_Void();
28222 return resultobj;
28223fail:
28224 return NULL;
d14a1e28
RD
28225}
28226
28227
0085ce49
RD
28228SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28229 PyObject *resultobj = 0;
28230 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28231 void *argp1 = 0 ;
28232 int res1 = 0 ;
28233 PyObject *swig_obj[1] ;
28234
28235 if (!args) SWIG_fail;
28236 swig_obj[0] = args;
28237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28238 if (!SWIG_IsOK(res1)) {
28239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28240 }
28241 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28242 {
28243 PyThreadState* __tstate = wxPyBeginAllowThreads();
28244 (arg1)->OnEndPrinting();
28245 wxPyEndAllowThreads(__tstate);
28246 if (PyErr_Occurred()) SWIG_fail;
28247 }
28248 resultobj = SWIG_Py_Void();
28249 return resultobj;
28250fail:
28251 return NULL;
db3e571a
RD
28252}
28253
28254
0085ce49
RD
28255SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28256 PyObject *resultobj = 0;
28257 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28258 void *argp1 = 0 ;
28259 int res1 = 0 ;
28260 PyObject *swig_obj[1] ;
28261
28262 if (!args) SWIG_fail;
28263 swig_obj[0] = args;
28264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28265 if (!SWIG_IsOK(res1)) {
28266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28267 }
28268 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28269 {
28270 PyThreadState* __tstate = wxPyBeginAllowThreads();
28271 (arg1)->OnPreparePrinting();
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
28275 resultobj = SWIG_Py_Void();
28276 return resultobj;
28277fail:
28278 return NULL;
28279}
28280
28281
28282SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28283 PyObject *resultobj = 0;
28284 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28285 int arg2 ;
28286 bool result;
28287 void *argp1 = 0 ;
28288 int res1 = 0 ;
28289 int val2 ;
28290 int ecode2 = 0 ;
28291 PyObject * obj0 = 0 ;
28292 PyObject * obj1 = 0 ;
28293 char * kwnames[] = {
28294 (char *) "self",(char *) "page", NULL
28295 };
28296
28297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28299 if (!SWIG_IsOK(res1)) {
28300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28301 }
28302 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28303 ecode2 = SWIG_AsVal_int(obj1, &val2);
28304 if (!SWIG_IsOK(ecode2)) {
28305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28306 }
28307 arg2 = static_cast< int >(val2);
28308 {
28309 PyThreadState* __tstate = wxPyBeginAllowThreads();
28310 result = (bool)(arg1)->HasPage(arg2);
28311 wxPyEndAllowThreads(__tstate);
28312 if (PyErr_Occurred()) SWIG_fail;
28313 }
28314 {
28315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28316 }
28317 return resultobj;
28318fail:
28319 return NULL;
28320}
28321
28322
28323SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28324 PyObject *resultobj = 0;
28325 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28326 int *arg2 = (int *) 0 ;
28327 int *arg3 = (int *) 0 ;
28328 int *arg4 = (int *) 0 ;
28329 int *arg5 = (int *) 0 ;
28330 void *argp1 = 0 ;
28331 int res1 = 0 ;
28332 int temp2 ;
28333 int res2 = SWIG_TMPOBJ ;
28334 int temp3 ;
28335 int res3 = SWIG_TMPOBJ ;
28336 int temp4 ;
28337 int res4 = SWIG_TMPOBJ ;
28338 int temp5 ;
28339 int res5 = SWIG_TMPOBJ ;
28340 PyObject *swig_obj[1] ;
28341
28342 arg2 = &temp2;
28343 arg3 = &temp3;
28344 arg4 = &temp4;
28345 arg5 = &temp5;
28346 if (!args) SWIG_fail;
28347 swig_obj[0] = args;
28348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28349 if (!SWIG_IsOK(res1)) {
28350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28351 }
28352 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28353 {
28354 PyThreadState* __tstate = wxPyBeginAllowThreads();
28355 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28356 wxPyEndAllowThreads(__tstate);
28357 if (PyErr_Occurred()) SWIG_fail;
28358 }
28359 resultobj = SWIG_Py_Void();
28360 if (SWIG_IsTmpObj(res2)) {
28361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28362 } else {
28363 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28364 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28365 }
28366 if (SWIG_IsTmpObj(res3)) {
28367 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28368 } else {
28369 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28370 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28371 }
28372 if (SWIG_IsTmpObj(res4)) {
28373 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28374 } else {
28375 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28376 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28377 }
28378 if (SWIG_IsTmpObj(res5)) {
28379 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28380 } else {
28381 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28382 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28383 }
28384 return resultobj;
28385fail:
28386 return NULL;
28387}
28388
28389
28390SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28391 PyObject *obj;
28392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28393 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28394 return SWIG_Py_Void();
28395}
28396
28397SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28398 return SWIG_Python_InitShadowInstance(args);
28399}
28400
28401SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28402 PyObject *resultobj = 0;
28403 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28404 wxWindow *arg2 = (wxWindow *) 0 ;
28405 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28406 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28407 wxSize const &arg4_defvalue = wxDefaultSize ;
28408 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28409 long arg5 = (long) 0 ;
28410 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28411 wxString *arg6 = (wxString *) &arg6_defvalue ;
28412 wxPreviewCanvas *result = 0 ;
28413 void *argp1 = 0 ;
28414 int res1 = 0 ;
28415 void *argp2 = 0 ;
28416 int res2 = 0 ;
28417 wxPoint temp3 ;
28418 wxSize temp4 ;
28419 long val5 ;
28420 int ecode5 = 0 ;
28421 bool temp6 = false ;
28422 PyObject * obj0 = 0 ;
28423 PyObject * obj1 = 0 ;
28424 PyObject * obj2 = 0 ;
28425 PyObject * obj3 = 0 ;
28426 PyObject * obj4 = 0 ;
28427 PyObject * obj5 = 0 ;
28428 char * kwnames[] = {
28429 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28430 };
28431
28432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28434 if (!SWIG_IsOK(res1)) {
28435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28436 }
28437 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28438 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28439 if (!SWIG_IsOK(res2)) {
28440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28441 }
28442 arg2 = reinterpret_cast< wxWindow * >(argp2);
28443 if (obj2) {
093d3ff1 28444 {
0085ce49
RD
28445 arg3 = &temp3;
28446 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
093d3ff1 28447 }
0085ce49
RD
28448 }
28449 if (obj3) {
093d3ff1 28450 {
0085ce49
RD
28451 arg4 = &temp4;
28452 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
994141e6 28453 }
0085ce49
RD
28454 }
28455 if (obj4) {
28456 ecode5 = SWIG_AsVal_long(obj4, &val5);
28457 if (!SWIG_IsOK(ecode5)) {
28458 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28459 }
28460 arg5 = static_cast< long >(val5);
28461 }
28462 if (obj5) {
d14a1e28 28463 {
0085ce49
RD
28464 arg6 = wxString_in_helper(obj5);
28465 if (arg6 == NULL) SWIG_fail;
28466 temp6 = true;
093d3ff1 28467 }
0085ce49
RD
28468 }
28469 {
28470 if (!wxPyCheckForApp()) SWIG_fail;
28471 PyThreadState* __tstate = wxPyBeginAllowThreads();
28472 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28473 wxPyEndAllowThreads(__tstate);
28474 if (PyErr_Occurred()) SWIG_fail;
28475 }
28476 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28477 {
28478 if (temp6)
28479 delete arg6;
28480 }
28481 return resultobj;
28482fail:
28483 {
28484 if (temp6)
28485 delete arg6;
28486 }
28487 return NULL;
28488}
28489
28490
28491SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28492 PyObject *obj;
28493 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28494 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28495 return SWIG_Py_Void();
28496}
28497
28498SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28499 return SWIG_Python_InitShadowInstance(args);
28500}
28501
28502SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28503 PyObject *resultobj = 0;
28504 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28505 wxFrame *arg2 = (wxFrame *) 0 ;
28506 wxString *arg3 = 0 ;
28507 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28508 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28509 wxSize const &arg5_defvalue = wxDefaultSize ;
28510 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28511 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28512 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28513 wxString *arg7 = (wxString *) &arg7_defvalue ;
28514 wxPreviewFrame *result = 0 ;
28515 int res1 = 0 ;
28516 void *argp2 = 0 ;
28517 int res2 = 0 ;
28518 bool temp3 = false ;
28519 wxPoint temp4 ;
28520 wxSize temp5 ;
28521 long val6 ;
28522 int ecode6 = 0 ;
28523 bool temp7 = false ;
28524 PyObject * obj0 = 0 ;
28525 PyObject * obj1 = 0 ;
28526 PyObject * obj2 = 0 ;
28527 PyObject * obj3 = 0 ;
28528 PyObject * obj4 = 0 ;
28529 PyObject * obj5 = 0 ;
28530 PyObject * obj6 = 0 ;
28531 char * kwnames[] = {
28532 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28533 };
28534
28535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28536 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28537 if (!SWIG_IsOK(res1)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28539 }
28540 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28541 if (!SWIG_IsOK(res2)) {
28542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28543 }
28544 arg2 = reinterpret_cast< wxFrame * >(argp2);
28545 {
28546 arg3 = wxString_in_helper(obj2);
28547 if (arg3 == NULL) SWIG_fail;
28548 temp3 = true;
28549 }
28550 if (obj3) {
093d3ff1 28551 {
0085ce49
RD
28552 arg4 = &temp4;
28553 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 28554 }
0085ce49
RD
28555 }
28556 if (obj4) {
d14a1e28 28557 {
0085ce49
RD
28558 arg5 = &temp5;
28559 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 28560 }
0085ce49
RD
28561 }
28562 if (obj5) {
28563 ecode6 = SWIG_AsVal_long(obj5, &val6);
28564 if (!SWIG_IsOK(ecode6)) {
28565 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28566 }
28567 arg6 = static_cast< long >(val6);
28568 }
28569 if (obj6) {
093d3ff1 28570 {
0085ce49
RD
28571 arg7 = wxString_in_helper(obj6);
28572 if (arg7 == NULL) SWIG_fail;
28573 temp7 = true;
093d3ff1 28574 }
0085ce49
RD
28575 }
28576 {
28577 if (!wxPyCheckForApp()) SWIG_fail;
28578 PyThreadState* __tstate = wxPyBeginAllowThreads();
28579 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28580 wxPyEndAllowThreads(__tstate);
28581 if (PyErr_Occurred()) SWIG_fail;
28582 }
28583 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28584 {
28585 if (temp3)
28586 delete arg3;
28587 }
28588 {
28589 if (temp7)
28590 delete arg7;
28591 }
28592 return resultobj;
28593fail:
28594 {
28595 if (temp3)
28596 delete arg3;
28597 }
28598 {
28599 if (temp7)
28600 delete arg7;
28601 }
28602 return NULL;
d14a1e28
RD
28603}
28604
28605
0085ce49
RD
28606SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28607 PyObject *resultobj = 0;
28608 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28609 void *argp1 = 0 ;
28610 int res1 = 0 ;
28611 PyObject *swig_obj[1] ;
28612
28613 if (!args) SWIG_fail;
28614 swig_obj[0] = args;
28615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28616 if (!SWIG_IsOK(res1)) {
28617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28618 }
28619 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28620 {
28621 PyThreadState* __tstate = wxPyBeginAllowThreads();
28622 (arg1)->Initialize();
28623 wxPyEndAllowThreads(__tstate);
28624 if (PyErr_Occurred()) SWIG_fail;
28625 }
28626 resultobj = SWIG_Py_Void();
28627 return resultobj;
28628fail:
28629 return NULL;
d14a1e28
RD
28630}
28631
28632
0085ce49
RD
28633SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28634 PyObject *resultobj = 0;
28635 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28636 void *argp1 = 0 ;
28637 int res1 = 0 ;
28638 PyObject *swig_obj[1] ;
28639
28640 if (!args) SWIG_fail;
28641 swig_obj[0] = args;
28642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28643 if (!SWIG_IsOK(res1)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28645 }
28646 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28647 {
28648 PyThreadState* __tstate = wxPyBeginAllowThreads();
28649 (arg1)->CreateControlBar();
28650 wxPyEndAllowThreads(__tstate);
28651 if (PyErr_Occurred()) SWIG_fail;
28652 }
28653 resultobj = SWIG_Py_Void();
28654 return resultobj;
28655fail:
28656 return NULL;
d14a1e28
RD
28657}
28658
28659
0085ce49
RD
28660SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28661 PyObject *resultobj = 0;
28662 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28663 void *argp1 = 0 ;
28664 int res1 = 0 ;
28665 PyObject *swig_obj[1] ;
28666
28667 if (!args) SWIG_fail;
28668 swig_obj[0] = args;
28669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28670 if (!SWIG_IsOK(res1)) {
28671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28672 }
28673 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28674 {
28675 PyThreadState* __tstate = wxPyBeginAllowThreads();
28676 (arg1)->CreateCanvas();
28677 wxPyEndAllowThreads(__tstate);
28678 if (PyErr_Occurred()) SWIG_fail;
28679 }
28680 resultobj = SWIG_Py_Void();
28681 return resultobj;
28682fail:
28683 return NULL;
d14a1e28
RD
28684}
28685
28686
0085ce49
RD
28687SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28688 PyObject *resultobj = 0;
28689 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28690 wxPreviewControlBar *result = 0 ;
28691 void *argp1 = 0 ;
28692 int res1 = 0 ;
28693 PyObject *swig_obj[1] ;
28694
28695 if (!args) SWIG_fail;
28696 swig_obj[0] = args;
28697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28698 if (!SWIG_IsOK(res1)) {
28699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28700 }
28701 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28702 {
28703 PyThreadState* __tstate = wxPyBeginAllowThreads();
28704 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28705 wxPyEndAllowThreads(__tstate);
28706 if (PyErr_Occurred()) SWIG_fail;
28707 }
28708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28709 return resultobj;
28710fail:
28711 return NULL;
28712}
28713
28714
28715SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28716 PyObject *obj;
28717 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28718 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28719 return SWIG_Py_Void();
28720}
28721
28722SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28723 return SWIG_Python_InitShadowInstance(args);
28724}
28725
28726SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28727 PyObject *resultobj = 0;
28728 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28729 long arg2 ;
28730 wxWindow *arg3 = (wxWindow *) 0 ;
28731 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28732 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28733 wxSize const &arg5_defvalue = wxDefaultSize ;
28734 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28735 long arg6 = (long) wxTAB_TRAVERSAL ;
28736 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28737 wxString *arg7 = (wxString *) &arg7_defvalue ;
28738 wxPreviewControlBar *result = 0 ;
28739 void *argp1 = 0 ;
28740 int res1 = 0 ;
28741 long val2 ;
28742 int ecode2 = 0 ;
28743 void *argp3 = 0 ;
28744 int res3 = 0 ;
28745 wxPoint temp4 ;
28746 wxSize temp5 ;
28747 long val6 ;
28748 int ecode6 = 0 ;
28749 bool temp7 = false ;
28750 PyObject * obj0 = 0 ;
28751 PyObject * obj1 = 0 ;
28752 PyObject * obj2 = 0 ;
28753 PyObject * obj3 = 0 ;
28754 PyObject * obj4 = 0 ;
28755 PyObject * obj5 = 0 ;
28756 PyObject * obj6 = 0 ;
28757 char * kwnames[] = {
28758 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28759 };
28760
28761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28763 if (!SWIG_IsOK(res1)) {
28764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28765 }
28766 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28767 ecode2 = SWIG_AsVal_long(obj1, &val2);
28768 if (!SWIG_IsOK(ecode2)) {
28769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28770 }
28771 arg2 = static_cast< long >(val2);
28772 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28773 if (!SWIG_IsOK(res3)) {
28774 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28775 }
28776 arg3 = reinterpret_cast< wxWindow * >(argp3);
28777 if (obj3) {
d14a1e28 28778 {
0085ce49
RD
28779 arg4 = &temp4;
28780 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 28781 }
0085ce49
RD
28782 }
28783 if (obj4) {
d14a1e28 28784 {
0085ce49
RD
28785 arg5 = &temp5;
28786 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 28787 }
0085ce49
RD
28788 }
28789 if (obj5) {
28790 ecode6 = SWIG_AsVal_long(obj5, &val6);
28791 if (!SWIG_IsOK(ecode6)) {
28792 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28793 }
28794 arg6 = static_cast< long >(val6);
28795 }
28796 if (obj6) {
d14a1e28 28797 {
0085ce49
RD
28798 arg7 = wxString_in_helper(obj6);
28799 if (arg7 == NULL) SWIG_fail;
28800 temp7 = true;
d14a1e28 28801 }
0085ce49
RD
28802 }
28803 {
28804 if (!wxPyCheckForApp()) SWIG_fail;
28805 PyThreadState* __tstate = wxPyBeginAllowThreads();
28806 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28807 wxPyEndAllowThreads(__tstate);
28808 if (PyErr_Occurred()) SWIG_fail;
28809 }
28810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28811 {
28812 if (temp7)
28813 delete arg7;
28814 }
28815 return resultobj;
28816fail:
28817 {
28818 if (temp7)
28819 delete arg7;
28820 }
28821 return NULL;
d14a1e28
RD
28822}
28823
28824
0085ce49
RD
28825SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28826 PyObject *resultobj = 0;
28827 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28828 int result;
28829 void *argp1 = 0 ;
28830 int res1 = 0 ;
28831 PyObject *swig_obj[1] ;
28832
28833 if (!args) SWIG_fail;
28834 swig_obj[0] = args;
28835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28836 if (!SWIG_IsOK(res1)) {
28837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28838 }
28839 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28840 {
28841 PyThreadState* __tstate = wxPyBeginAllowThreads();
28842 result = (int)(arg1)->GetZoomControl();
28843 wxPyEndAllowThreads(__tstate);
28844 if (PyErr_Occurred()) SWIG_fail;
28845 }
28846 resultobj = SWIG_From_int(static_cast< int >(result));
28847 return resultobj;
28848fail:
28849 return NULL;
28850}
28851
28852
28853SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28854 PyObject *resultobj = 0;
28855 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28856 int arg2 ;
28857 void *argp1 = 0 ;
28858 int res1 = 0 ;
28859 int val2 ;
28860 int ecode2 = 0 ;
28861 PyObject * obj0 = 0 ;
28862 PyObject * obj1 = 0 ;
28863 char * kwnames[] = {
28864 (char *) "self",(char *) "zoom", NULL
28865 };
28866
28867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28869 if (!SWIG_IsOK(res1)) {
28870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28871 }
28872 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28873 ecode2 = SWIG_AsVal_int(obj1, &val2);
28874 if (!SWIG_IsOK(ecode2)) {
28875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28876 }
28877 arg2 = static_cast< int >(val2);
28878 {
28879 PyThreadState* __tstate = wxPyBeginAllowThreads();
28880 (arg1)->SetZoomControl(arg2);
28881 wxPyEndAllowThreads(__tstate);
28882 if (PyErr_Occurred()) SWIG_fail;
28883 }
28884 resultobj = SWIG_Py_Void();
28885 return resultobj;
28886fail:
28887 return NULL;
d14a1e28
RD
28888}
28889
28890
0085ce49
RD
28891SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28892 PyObject *resultobj = 0;
28893 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28894 wxPrintPreview *result = 0 ;
28895 void *argp1 = 0 ;
28896 int res1 = 0 ;
28897 PyObject *swig_obj[1] ;
28898
28899 if (!args) SWIG_fail;
28900 swig_obj[0] = args;
28901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28902 if (!SWIG_IsOK(res1)) {
28903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28904 }
28905 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28906 {
28907 PyThreadState* __tstate = wxPyBeginAllowThreads();
28908 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28909 wxPyEndAllowThreads(__tstate);
28910 if (PyErr_Occurred()) SWIG_fail;
28911 }
28912 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28913 return resultobj;
28914fail:
28915 return NULL;
d14a1e28
RD
28916}
28917
28918
0085ce49
RD
28919SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28920 PyObject *resultobj = 0;
28921 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28922 void *argp1 = 0 ;
28923 int res1 = 0 ;
28924 PyObject *swig_obj[1] ;
28925
28926 if (!args) SWIG_fail;
28927 swig_obj[0] = args;
28928 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28929 if (!SWIG_IsOK(res1)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28931 }
28932 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28933 {
28934 PyThreadState* __tstate = wxPyBeginAllowThreads();
28935 (arg1)->OnNext();
28936 wxPyEndAllowThreads(__tstate);
28937 if (PyErr_Occurred()) SWIG_fail;
28938 }
28939 resultobj = SWIG_Py_Void();
28940 return resultobj;
28941fail:
28942 return NULL;
d14a1e28
RD
28943}
28944
28945
0085ce49
RD
28946SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28947 PyObject *resultobj = 0;
28948 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28949 void *argp1 = 0 ;
28950 int res1 = 0 ;
28951 PyObject *swig_obj[1] ;
28952
28953 if (!args) SWIG_fail;
28954 swig_obj[0] = args;
28955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28956 if (!SWIG_IsOK(res1)) {
28957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28958 }
28959 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28960 {
28961 PyThreadState* __tstate = wxPyBeginAllowThreads();
28962 (arg1)->OnPrevious();
28963 wxPyEndAllowThreads(__tstate);
28964 if (PyErr_Occurred()) SWIG_fail;
28965 }
28966 resultobj = SWIG_Py_Void();
28967 return resultobj;
28968fail:
28969 return NULL;
d14a1e28
RD
28970}
28971
28972
0085ce49
RD
28973SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28974 PyObject *resultobj = 0;
28975 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28976 void *argp1 = 0 ;
28977 int res1 = 0 ;
28978 PyObject *swig_obj[1] ;
28979
28980 if (!args) SWIG_fail;
28981 swig_obj[0] = args;
28982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28983 if (!SWIG_IsOK(res1)) {
28984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28985 }
28986 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28987 {
28988 PyThreadState* __tstate = wxPyBeginAllowThreads();
28989 (arg1)->OnFirst();
28990 wxPyEndAllowThreads(__tstate);
28991 if (PyErr_Occurred()) SWIG_fail;
28992 }
28993 resultobj = SWIG_Py_Void();
28994 return resultobj;
28995fail:
28996 return NULL;
d14a1e28
RD
28997}
28998
28999
0085ce49
RD
29000SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29001 PyObject *resultobj = 0;
29002 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29003 void *argp1 = 0 ;
29004 int res1 = 0 ;
29005 PyObject *swig_obj[1] ;
29006
29007 if (!args) SWIG_fail;
29008 swig_obj[0] = args;
29009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29010 if (!SWIG_IsOK(res1)) {
29011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29012 }
29013 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29014 {
29015 PyThreadState* __tstate = wxPyBeginAllowThreads();
29016 (arg1)->OnLast();
29017 wxPyEndAllowThreads(__tstate);
29018 if (PyErr_Occurred()) SWIG_fail;
29019 }
29020 resultobj = SWIG_Py_Void();
29021 return resultobj;
29022fail:
29023 return NULL;
d14a1e28
RD
29024}
29025
29026
0085ce49
RD
29027SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29028 PyObject *resultobj = 0;
29029 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29030 void *argp1 = 0 ;
29031 int res1 = 0 ;
29032 PyObject *swig_obj[1] ;
29033
29034 if (!args) SWIG_fail;
29035 swig_obj[0] = args;
29036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29037 if (!SWIG_IsOK(res1)) {
29038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29039 }
29040 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29041 {
29042 PyThreadState* __tstate = wxPyBeginAllowThreads();
29043 (arg1)->OnGoto();
29044 wxPyEndAllowThreads(__tstate);
29045 if (PyErr_Occurred()) SWIG_fail;
29046 }
29047 resultobj = SWIG_Py_Void();
29048 return resultobj;
29049fail:
29050 return NULL;
d14a1e28
RD
29051}
29052
29053
0085ce49
RD
29054SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29055 PyObject *obj;
29056 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29057 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29058 return SWIG_Py_Void();
d14a1e28
RD
29059}
29060
0085ce49
RD
29061SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29062 return SWIG_Python_InitShadowInstance(args);
d14a1e28
RD
29063}
29064
0085ce49
RD
29065SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29066 PyObject *resultobj = 0;
29067 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29068 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29069 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29070 wxPrintPreview *result = 0 ;
29071 int res1 = 0 ;
29072 int res2 = 0 ;
29073 void *argp3 = 0 ;
29074 int res3 = 0 ;
29075
29076 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29077 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29078 if (!SWIG_IsOK(res1)) {
29079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29080 }
29081 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29082 if (!SWIG_IsOK(res2)) {
29083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29084 }
29085 if (swig_obj[2]) {
29086 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29087 if (!SWIG_IsOK(res3)) {
29088 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
1cb4a8aa 29089 }
0085ce49
RD
29090 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29091 }
29092 {
29093 if (!wxPyCheckForApp()) SWIG_fail;
29094 PyThreadState* __tstate = wxPyBeginAllowThreads();
29095 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29096 wxPyEndAllowThreads(__tstate);
29097 if (PyErr_Occurred()) SWIG_fail;
29098 }
29099 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29100 return resultobj;
29101fail:
29102 return NULL;
29103}
29104
29105
29106SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29107 PyObject *resultobj = 0;
29108 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29109 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29110 wxPrintData *arg3 = (wxPrintData *) 0 ;
29111 wxPrintPreview *result = 0 ;
29112 int res1 = 0 ;
29113 int res2 = 0 ;
29114 void *argp3 = 0 ;
29115 int res3 = 0 ;
29116
29117 if ((nobjs < 3) || (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 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29127 if (!SWIG_IsOK(res3)) {
29128 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29129 }
29130 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29131 {
29132 if (!wxPyCheckForApp()) SWIG_fail;
29133 PyThreadState* __tstate = wxPyBeginAllowThreads();
29134 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29135 wxPyEndAllowThreads(__tstate);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 }
29138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29139 return resultobj;
29140fail:
29141 return NULL;
1cb4a8aa
RD
29142}
29143
29144
0085ce49
RD
29145SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29146 int argc;
29147 PyObject *argv[4];
29148
29149 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29150 --argc;
29151 if ((argc >= 2) && (argc <= 3)) {
29152 int _v = 0;
29153 if (argc > 2) {
29154 {
29155 void *vptr = 0;
29156 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29157 _v = SWIG_CheckState(res);
29158 }
29159 if (!_v) goto check_1;
db3e571a 29160 }
0085ce49
RD
29161 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29162 }
29163check_1:
29164
29165 if (argc == 3) {
29166 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29167 }
29168
29169fail:
29170 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29171 return NULL;
db3e571a
RD
29172}
29173
29174
0085ce49
RD
29175SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29176 PyObject *resultobj = 0;
29177 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29178 void *argp1 = 0 ;
29179 int res1 = 0 ;
29180 PyObject *swig_obj[1] ;
29181
29182 if (!args) SWIG_fail;
29183 swig_obj[0] = args;
29184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29185 if (!SWIG_IsOK(res1)) {
29186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29187 }
29188 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29189 {
29190 PyThreadState* __tstate = wxPyBeginAllowThreads();
29191 delete arg1;
29192
29193 wxPyEndAllowThreads(__tstate);
29194 if (PyErr_Occurred()) SWIG_fail;
29195 }
29196 resultobj = SWIG_Py_Void();
29197 return resultobj;
29198fail:
29199 return NULL;
29200}
29201
29202
29203SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29204 PyObject *resultobj = 0;
29205 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29206 int arg2 ;
29207 bool result;
29208 void *argp1 = 0 ;
29209 int res1 = 0 ;
29210 int val2 ;
29211 int ecode2 = 0 ;
29212 PyObject * obj0 = 0 ;
29213 PyObject * obj1 = 0 ;
29214 char * kwnames[] = {
29215 (char *) "self",(char *) "pageNum", NULL
29216 };
29217
29218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29220 if (!SWIG_IsOK(res1)) {
29221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29222 }
29223 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29224 ecode2 = SWIG_AsVal_int(obj1, &val2);
29225 if (!SWIG_IsOK(ecode2)) {
29226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29227 }
29228 arg2 = static_cast< int >(val2);
29229 {
29230 PyThreadState* __tstate = wxPyBeginAllowThreads();
29231 result = (bool)(arg1)->SetCurrentPage(arg2);
29232 wxPyEndAllowThreads(__tstate);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 }
29235 {
29236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29237 }
29238 return resultobj;
29239fail:
29240 return NULL;
8d38bd1d
RD
29241}
29242
29243
0085ce49
RD
29244SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29245 PyObject *resultobj = 0;
29246 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29247 int result;
29248 void *argp1 = 0 ;
29249 int res1 = 0 ;
29250 PyObject *swig_obj[1] ;
29251
29252 if (!args) SWIG_fail;
29253 swig_obj[0] = args;
29254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29255 if (!SWIG_IsOK(res1)) {
29256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29257 }
29258 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29259 {
29260 PyThreadState* __tstate = wxPyBeginAllowThreads();
29261 result = (int)(arg1)->GetCurrentPage();
29262 wxPyEndAllowThreads(__tstate);
29263 if (PyErr_Occurred()) SWIG_fail;
29264 }
29265 resultobj = SWIG_From_int(static_cast< int >(result));
29266 return resultobj;
29267fail:
29268 return NULL;
29269}
29270
29271
29272SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29273 PyObject *resultobj = 0;
29274 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29275 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29276 void *argp1 = 0 ;
29277 int res1 = 0 ;
29278 int res2 = 0 ;
29279 PyObject * obj0 = 0 ;
29280 PyObject * obj1 = 0 ;
29281 char * kwnames[] = {
29282 (char *) "self",(char *) "printout", NULL
29283 };
29284
29285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29287 if (!SWIG_IsOK(res1)) {
29288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29289 }
29290 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29291 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29292 if (!SWIG_IsOK(res2)) {
29293 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29294 }
29295 {
29296 PyThreadState* __tstate = wxPyBeginAllowThreads();
29297 (arg1)->SetPrintout(arg2);
29298 wxPyEndAllowThreads(__tstate);
29299 if (PyErr_Occurred()) SWIG_fail;
29300 }
29301 resultobj = SWIG_Py_Void();
29302 return resultobj;
29303fail:
29304 return NULL;
d14a1e28
RD
29305}
29306
29307
0085ce49
RD
29308SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29309 PyObject *resultobj = 0;
29310 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29311 wxPyPrintout *result = 0 ;
29312 void *argp1 = 0 ;
29313 int res1 = 0 ;
29314 PyObject *swig_obj[1] ;
29315
29316 if (!args) SWIG_fail;
29317 swig_obj[0] = args;
29318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29319 if (!SWIG_IsOK(res1)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29321 }
29322 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29323 {
29324 PyThreadState* __tstate = wxPyBeginAllowThreads();
29325 result = (wxPyPrintout *)(arg1)->GetPrintout();
29326 wxPyEndAllowThreads(__tstate);
29327 if (PyErr_Occurred()) SWIG_fail;
29328 }
29329 {
29330 resultobj = wxPyMake_wxObject(result, 0);
29331 }
29332 return resultobj;
29333fail:
29334 return NULL;
1cb4a8aa
RD
29335}
29336
29337
0085ce49
RD
29338SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29339 PyObject *resultobj = 0;
29340 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29341 wxPyPrintout *result = 0 ;
29342 void *argp1 = 0 ;
29343 int res1 = 0 ;
29344 PyObject *swig_obj[1] ;
29345
29346 if (!args) SWIG_fail;
29347 swig_obj[0] = args;
29348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29349 if (!SWIG_IsOK(res1)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29351 }
29352 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29353 {
29354 PyThreadState* __tstate = wxPyBeginAllowThreads();
29355 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29356 wxPyEndAllowThreads(__tstate);
29357 if (PyErr_Occurred()) SWIG_fail;
29358 }
29359 {
29360 resultobj = wxPyMake_wxObject(result, 0);
29361 }
29362 return resultobj;
29363fail:
29364 return NULL;
29365}
29366
29367
29368SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29369 PyObject *resultobj = 0;
29370 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29371 wxFrame *arg2 = (wxFrame *) 0 ;
29372 void *argp1 = 0 ;
29373 int res1 = 0 ;
29374 void *argp2 = 0 ;
29375 int res2 = 0 ;
29376 PyObject * obj0 = 0 ;
29377 PyObject * obj1 = 0 ;
29378 char * kwnames[] = {
29379 (char *) "self",(char *) "frame", NULL
29380 };
29381
29382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29384 if (!SWIG_IsOK(res1)) {
29385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29386 }
29387 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29388 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29389 if (!SWIG_IsOK(res2)) {
29390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29391 }
29392 arg2 = reinterpret_cast< wxFrame * >(argp2);
29393 {
29394 PyThreadState* __tstate = wxPyBeginAllowThreads();
29395 (arg1)->SetFrame(arg2);
29396 wxPyEndAllowThreads(__tstate);
29397 if (PyErr_Occurred()) SWIG_fail;
29398 }
29399 resultobj = SWIG_Py_Void();
29400 return resultobj;
29401fail:
29402 return NULL;
29403}
29404
29405
29406SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29407 PyObject *resultobj = 0;
29408 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29409 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29410 void *argp1 = 0 ;
29411 int res1 = 0 ;
29412 void *argp2 = 0 ;
29413 int res2 = 0 ;
29414 PyObject * obj0 = 0 ;
29415 PyObject * obj1 = 0 ;
29416 char * kwnames[] = {
29417 (char *) "self",(char *) "canvas", NULL
29418 };
29419
29420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29422 if (!SWIG_IsOK(res1)) {
29423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29424 }
29425 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29426 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29427 if (!SWIG_IsOK(res2)) {
29428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29429 }
29430 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29431 {
29432 PyThreadState* __tstate = wxPyBeginAllowThreads();
29433 (arg1)->SetCanvas(arg2);
29434 wxPyEndAllowThreads(__tstate);
29435 if (PyErr_Occurred()) SWIG_fail;
29436 }
29437 resultobj = SWIG_Py_Void();
29438 return resultobj;
29439fail:
29440 return NULL;
d14a1e28
RD
29441}
29442
29443
0085ce49
RD
29444SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29445 PyObject *resultobj = 0;
29446 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29447 wxFrame *result = 0 ;
29448 void *argp1 = 0 ;
29449 int res1 = 0 ;
29450 PyObject *swig_obj[1] ;
29451
29452 if (!args) SWIG_fail;
29453 swig_obj[0] = args;
29454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29455 if (!SWIG_IsOK(res1)) {
29456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29457 }
29458 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29459 {
29460 PyThreadState* __tstate = wxPyBeginAllowThreads();
29461 result = (wxFrame *)(arg1)->GetFrame();
29462 wxPyEndAllowThreads(__tstate);
29463 if (PyErr_Occurred()) SWIG_fail;
29464 }
29465 {
29466 resultobj = wxPyMake_wxObject(result, 0);
29467 }
29468 return resultobj;
29469fail:
29470 return NULL;
db3e571a
RD
29471}
29472
29473
0085ce49
RD
29474SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29475 PyObject *resultobj = 0;
29476 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29477 wxPreviewCanvas *result = 0 ;
29478 void *argp1 = 0 ;
29479 int res1 = 0 ;
29480 PyObject *swig_obj[1] ;
29481
29482 if (!args) SWIG_fail;
29483 swig_obj[0] = args;
29484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29485 if (!SWIG_IsOK(res1)) {
29486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29487 }
29488 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29492 wxPyEndAllowThreads(__tstate);
29493 if (PyErr_Occurred()) SWIG_fail;
29494 }
29495 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29496 return resultobj;
29497fail:
29498 return NULL;
29499}
29500
29501
29502SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29503 PyObject *resultobj = 0;
29504 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29505 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29506 wxDC *arg3 = 0 ;
29507 bool result;
29508 void *argp1 = 0 ;
29509 int res1 = 0 ;
29510 void *argp2 = 0 ;
29511 int res2 = 0 ;
29512 void *argp3 = 0 ;
29513 int res3 = 0 ;
29514 PyObject * obj0 = 0 ;
29515 PyObject * obj1 = 0 ;
29516 PyObject * obj2 = 0 ;
29517 char * kwnames[] = {
29518 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29519 };
29520
29521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29523 if (!SWIG_IsOK(res1)) {
29524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29525 }
29526 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29527 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29528 if (!SWIG_IsOK(res2)) {
29529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29530 }
29531 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29532 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29533 if (!SWIG_IsOK(res3)) {
29534 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29535 }
29536 if (!argp3) {
29537 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29538 }
29539 arg3 = reinterpret_cast< wxDC * >(argp3);
29540 {
29541 PyThreadState* __tstate = wxPyBeginAllowThreads();
29542 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29543 wxPyEndAllowThreads(__tstate);
29544 if (PyErr_Occurred()) SWIG_fail;
29545 }
29546 {
29547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29548 }
29549 return resultobj;
29550fail:
29551 return NULL;
29552}
29553
29554
29555SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29556 PyObject *resultobj = 0;
29557 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29558 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29559 wxDC *arg3 = 0 ;
29560 bool result;
29561 void *argp1 = 0 ;
29562 int res1 = 0 ;
29563 void *argp2 = 0 ;
29564 int res2 = 0 ;
29565 void *argp3 = 0 ;
29566 int res3 = 0 ;
29567 PyObject * obj0 = 0 ;
29568 PyObject * obj1 = 0 ;
29569 PyObject * obj2 = 0 ;
29570 char * kwnames[] = {
29571 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29572 };
29573
29574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29576 if (!SWIG_IsOK(res1)) {
29577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29578 }
29579 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29581 if (!SWIG_IsOK(res2)) {
29582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29583 }
29584 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29585 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29586 if (!SWIG_IsOK(res3)) {
29587 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29588 }
29589 if (!argp3) {
29590 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29591 }
29592 arg3 = reinterpret_cast< wxDC * >(argp3);
29593 {
29594 PyThreadState* __tstate = wxPyBeginAllowThreads();
29595 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29596 wxPyEndAllowThreads(__tstate);
29597 if (PyErr_Occurred()) SWIG_fail;
29598 }
29599 {
29600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29601 }
29602 return resultobj;
29603fail:
29604 return NULL;
29605}
29606
29607
29608SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29609 PyObject *resultobj = 0;
29610 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29611 int arg2 ;
29612 bool result;
29613 void *argp1 = 0 ;
29614 int res1 = 0 ;
29615 int val2 ;
29616 int ecode2 = 0 ;
29617 PyObject * obj0 = 0 ;
29618 PyObject * obj1 = 0 ;
29619 char * kwnames[] = {
29620 (char *) "self",(char *) "pageNum", NULL
29621 };
29622
29623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29625 if (!SWIG_IsOK(res1)) {
29626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29627 }
29628 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29629 ecode2 = SWIG_AsVal_int(obj1, &val2);
29630 if (!SWIG_IsOK(ecode2)) {
29631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29632 }
29633 arg2 = static_cast< int >(val2);
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 result = (bool)(arg1)->RenderPage(arg2);
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_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29650 PyObject *resultobj = 0;
29651 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29652 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29653 void *argp1 = 0 ;
29654 int res1 = 0 ;
29655 void *argp2 = 0 ;
29656 int res2 = 0 ;
29657 PyObject * obj0 = 0 ;
29658 PyObject * obj1 = 0 ;
29659 char * kwnames[] = {
29660 (char *) "self",(char *) "canvas", NULL
29661 };
29662
29663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29665 if (!SWIG_IsOK(res1)) {
29666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29667 }
29668 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29669 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29670 if (!SWIG_IsOK(res2)) {
29671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29672 }
29673 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29674 {
29675 PyThreadState* __tstate = wxPyBeginAllowThreads();
29676 (arg1)->AdjustScrollbars(arg2);
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
29680 resultobj = SWIG_Py_Void();
29681 return resultobj;
29682fail:
29683 return NULL;
976dbff5
RD
29684}
29685
29686
0085ce49
RD
29687SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29688 PyObject *resultobj = 0;
29689 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29690 wxPrintDialogData *result = 0 ;
29691 void *argp1 = 0 ;
29692 int res1 = 0 ;
29693 PyObject *swig_obj[1] ;
29694
29695 if (!args) SWIG_fail;
29696 swig_obj[0] = args;
29697 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29698 if (!SWIG_IsOK(res1)) {
29699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29700 }
29701 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29702 {
29703 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 29704 {
0085ce49
RD
29705 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29706 result = (wxPrintDialogData *) &_result_ref;
093d3ff1 29707 }
0085ce49
RD
29708 wxPyEndAllowThreads(__tstate);
29709 if (PyErr_Occurred()) SWIG_fail;
29710 }
29711 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29712 return resultobj;
29713fail:
29714 return NULL;
29715}
29716
29717
29718SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29719 PyObject *resultobj = 0;
29720 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29721 int arg2 ;
29722 void *argp1 = 0 ;
29723 int res1 = 0 ;
29724 int val2 ;
29725 int ecode2 = 0 ;
29726 PyObject * obj0 = 0 ;
29727 PyObject * obj1 = 0 ;
29728 char * kwnames[] = {
29729 (char *) "self",(char *) "percent", NULL
29730 };
29731
29732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29734 if (!SWIG_IsOK(res1)) {
29735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29736 }
29737 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29738 ecode2 = SWIG_AsVal_int(obj1, &val2);
29739 if (!SWIG_IsOK(ecode2)) {
29740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29741 }
29742 arg2 = static_cast< int >(val2);
29743 {
29744 PyThreadState* __tstate = wxPyBeginAllowThreads();
29745 (arg1)->SetZoom(arg2);
29746 wxPyEndAllowThreads(__tstate);
29747 if (PyErr_Occurred()) SWIG_fail;
29748 }
29749 resultobj = SWIG_Py_Void();
29750 return resultobj;
29751fail:
29752 return NULL;
d14a1e28
RD
29753}
29754
29755
0085ce49
RD
29756SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29757 PyObject *resultobj = 0;
29758 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29759 int result;
29760 void *argp1 = 0 ;
29761 int res1 = 0 ;
29762 PyObject *swig_obj[1] ;
29763
29764 if (!args) SWIG_fail;
29765 swig_obj[0] = args;
29766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29767 if (!SWIG_IsOK(res1)) {
29768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29769 }
29770 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29771 {
29772 PyThreadState* __tstate = wxPyBeginAllowThreads();
29773 result = (int)(arg1)->GetZoom();
29774 wxPyEndAllowThreads(__tstate);
29775 if (PyErr_Occurred()) SWIG_fail;
29776 }
29777 resultobj = SWIG_From_int(static_cast< int >(result));
29778 return resultobj;
29779fail:
29780 return NULL;
d14a1e28
RD
29781}
29782
29783
0085ce49
RD
29784SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29785 PyObject *resultobj = 0;
29786 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29787 int result;
29788 void *argp1 = 0 ;
29789 int res1 = 0 ;
29790 PyObject *swig_obj[1] ;
29791
29792 if (!args) SWIG_fail;
29793 swig_obj[0] = args;
29794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29795 if (!SWIG_IsOK(res1)) {
29796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29797 }
29798 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29799 {
29800 PyThreadState* __tstate = wxPyBeginAllowThreads();
29801 result = (int)(arg1)->GetMaxPage();
29802 wxPyEndAllowThreads(__tstate);
29803 if (PyErr_Occurred()) SWIG_fail;
29804 }
29805 resultobj = SWIG_From_int(static_cast< int >(result));
29806 return resultobj;
29807fail:
29808 return NULL;
d14a1e28
RD
29809}
29810
29811
0085ce49
RD
29812SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29813 PyObject *resultobj = 0;
29814 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29815 int result;
29816 void *argp1 = 0 ;
29817 int res1 = 0 ;
29818 PyObject *swig_obj[1] ;
29819
29820 if (!args) SWIG_fail;
29821 swig_obj[0] = args;
29822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29823 if (!SWIG_IsOK(res1)) {
29824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29825 }
29826 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29827 {
29828 PyThreadState* __tstate = wxPyBeginAllowThreads();
29829 result = (int)(arg1)->GetMinPage();
29830 wxPyEndAllowThreads(__tstate);
29831 if (PyErr_Occurred()) SWIG_fail;
29832 }
29833 resultobj = SWIG_From_int(static_cast< int >(result));
29834 return resultobj;
29835fail:
29836 return NULL;
d14a1e28
RD
29837}
29838
29839
0085ce49
RD
29840SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29841 PyObject *resultobj = 0;
29842 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29843 bool result;
29844 void *argp1 = 0 ;
29845 int res1 = 0 ;
29846 PyObject *swig_obj[1] ;
29847
29848 if (!args) SWIG_fail;
29849 swig_obj[0] = args;
29850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29851 if (!SWIG_IsOK(res1)) {
29852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29853 }
29854 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29855 {
29856 PyThreadState* __tstate = wxPyBeginAllowThreads();
29857 result = (bool)(arg1)->Ok();
29858 wxPyEndAllowThreads(__tstate);
29859 if (PyErr_Occurred()) SWIG_fail;
29860 }
29861 {
29862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29863 }
29864 return resultobj;
29865fail:
29866 return NULL;
29867}
29868
29869
29870SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29871 PyObject *resultobj = 0;
29872 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29873 bool arg2 ;
29874 void *argp1 = 0 ;
29875 int res1 = 0 ;
29876 bool val2 ;
29877 int ecode2 = 0 ;
29878 PyObject * obj0 = 0 ;
29879 PyObject * obj1 = 0 ;
29880 char * kwnames[] = {
29881 (char *) "self",(char *) "ok", NULL
29882 };
29883
29884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29886 if (!SWIG_IsOK(res1)) {
29887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29888 }
29889 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29890 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29891 if (!SWIG_IsOK(ecode2)) {
29892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29893 }
29894 arg2 = static_cast< bool >(val2);
29895 {
29896 PyThreadState* __tstate = wxPyBeginAllowThreads();
29897 (arg1)->SetOk(arg2);
29898 wxPyEndAllowThreads(__tstate);
29899 if (PyErr_Occurred()) SWIG_fail;
29900 }
29901 resultobj = SWIG_Py_Void();
29902 return resultobj;
29903fail:
29904 return NULL;
29905}
29906
29907
29908SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29909 PyObject *resultobj = 0;
29910 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29911 bool arg2 ;
29912 bool result;
29913 void *argp1 = 0 ;
29914 int res1 = 0 ;
29915 bool val2 ;
29916 int ecode2 = 0 ;
29917 PyObject * obj0 = 0 ;
29918 PyObject * obj1 = 0 ;
29919 char * kwnames[] = {
29920 (char *) "self",(char *) "interactive", NULL
29921 };
29922
29923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29925 if (!SWIG_IsOK(res1)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29927 }
29928 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29929 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29930 if (!SWIG_IsOK(ecode2)) {
29931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29932 }
29933 arg2 = static_cast< bool >(val2);
29934 {
29935 PyThreadState* __tstate = wxPyBeginAllowThreads();
29936 result = (bool)(arg1)->Print(arg2);
29937 wxPyEndAllowThreads(__tstate);
29938 if (PyErr_Occurred()) SWIG_fail;
29939 }
29940 {
29941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29942 }
29943 return resultobj;
29944fail:
29945 return NULL;
d14a1e28
RD
29946}
29947
29948
0085ce49
RD
29949SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29950 PyObject *resultobj = 0;
29951 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29952 void *argp1 = 0 ;
29953 int res1 = 0 ;
29954 PyObject *swig_obj[1] ;
29955
29956 if (!args) SWIG_fail;
29957 swig_obj[0] = args;
29958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29959 if (!SWIG_IsOK(res1)) {
29960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29961 }
29962 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29963 {
29964 PyThreadState* __tstate = wxPyBeginAllowThreads();
29965 (arg1)->DetermineScaling();
29966 wxPyEndAllowThreads(__tstate);
29967 if (PyErr_Occurred()) SWIG_fail;
29968 }
29969 resultobj = SWIG_Py_Void();
29970 return resultobj;
29971fail:
29972 return NULL;
d14a1e28
RD
29973}
29974
29975
0085ce49
RD
29976SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29977 PyObject *obj;
29978 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29979 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29980 return SWIG_Py_Void();
d14a1e28
RD
29981}
29982
0085ce49
RD
29983SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29984 return SWIG_Python_InitShadowInstance(args);
29985}
d14a1e28 29986
0085ce49
RD
29987SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29988 PyObject *resultobj = 0;
29989 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29990 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29991 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29992 wxPyPrintPreview *result = 0 ;
29993 int res1 = 0 ;
29994 int res2 = 0 ;
29995 void *argp3 = 0 ;
29996 int res3 = 0 ;
29997
29998 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29999 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30000 if (!SWIG_IsOK(res1)) {
30001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30002 }
30003 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30004 if (!SWIG_IsOK(res2)) {
30005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30006 }
30007 if (swig_obj[2]) {
30008 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30009 if (!SWIG_IsOK(res3)) {
30010 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
d14a1e28 30011 }
0085ce49
RD
30012 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30013 }
30014 {
30015 if (!wxPyCheckForApp()) SWIG_fail;
30016 PyThreadState* __tstate = wxPyBeginAllowThreads();
30017 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30018 wxPyEndAllowThreads(__tstate);
30019 if (PyErr_Occurred()) SWIG_fail;
30020 }
30021 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30022 return resultobj;
30023fail:
30024 return NULL;
30025}
30026
30027
30028SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30029 PyObject *resultobj = 0;
30030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30031 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30032 wxPrintData *arg3 = (wxPrintData *) 0 ;
30033 wxPyPrintPreview *result = 0 ;
30034 int res1 = 0 ;
30035 int res2 = 0 ;
30036 void *argp3 = 0 ;
30037 int res3 = 0 ;
30038
30039 if ((nobjs < 3) || (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 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30049 if (!SWIG_IsOK(res3)) {
30050 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30051 }
30052 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30053 {
30054 if (!wxPyCheckForApp()) SWIG_fail;
30055 PyThreadState* __tstate = wxPyBeginAllowThreads();
30056 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30057 wxPyEndAllowThreads(__tstate);
30058 if (PyErr_Occurred()) SWIG_fail;
30059 }
30060 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30061 return resultobj;
30062fail:
30063 return NULL;
d14a1e28
RD
30064}
30065
30066
0085ce49
RD
30067SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30068 int argc;
30069 PyObject *argv[4];
30070
30071 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30072 --argc;
30073 if ((argc >= 2) && (argc <= 3)) {
30074 int _v = 0;
30075 if (argc > 2) {
30076 {
30077 void *vptr = 0;
30078 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30079 _v = SWIG_CheckState(res);
30080 }
30081 if (!_v) goto check_1;
30082 }
30083 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30084 }
30085check_1:
30086
30087 if (argc == 3) {
30088 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30089 }
30090
30091fail:
30092 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30093 return NULL;
30094}
30095
30096
30097SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30098 PyObject *resultobj = 0;
30099 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30100 PyObject *arg2 = (PyObject *) 0 ;
30101 PyObject *arg3 = (PyObject *) 0 ;
30102 void *argp1 = 0 ;
30103 int res1 = 0 ;
30104 PyObject * obj0 = 0 ;
30105 PyObject * obj1 = 0 ;
30106 PyObject * obj2 = 0 ;
30107 char * kwnames[] = {
30108 (char *) "self",(char *) "self",(char *) "_class", NULL
30109 };
30110
30111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30113 if (!SWIG_IsOK(res1)) {
30114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30115 }
30116 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30117 arg2 = obj1;
30118 arg3 = obj2;
30119 {
30120 PyThreadState* __tstate = wxPyBeginAllowThreads();
30121 (arg1)->_setCallbackInfo(arg2,arg3);
30122 wxPyEndAllowThreads(__tstate);
30123 if (PyErr_Occurred()) SWIG_fail;
30124 }
30125 resultobj = SWIG_Py_Void();
30126 return resultobj;
30127fail:
30128 return NULL;
30129}
30130
30131
30132SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30133 PyObject *obj;
30134 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30135 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30136 return SWIG_Py_Void();
30137}
30138
30139SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30140 return SWIG_Python_InitShadowInstance(args);
30141}
30142
30143SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30144 PyObject *resultobj = 0;
30145 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30146 wxFrame *arg2 = (wxFrame *) 0 ;
30147 wxString *arg3 = 0 ;
30148 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30149 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30150 wxSize const &arg5_defvalue = wxDefaultSize ;
30151 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30152 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30153 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30154 wxString *arg7 = (wxString *) &arg7_defvalue ;
30155 wxPyPreviewFrame *result = 0 ;
30156 void *argp1 = 0 ;
30157 int res1 = 0 ;
30158 void *argp2 = 0 ;
30159 int res2 = 0 ;
30160 bool temp3 = false ;
30161 wxPoint temp4 ;
30162 wxSize temp5 ;
30163 long val6 ;
30164 int ecode6 = 0 ;
30165 bool temp7 = false ;
30166 PyObject * obj0 = 0 ;
30167 PyObject * obj1 = 0 ;
30168 PyObject * obj2 = 0 ;
30169 PyObject * obj3 = 0 ;
30170 PyObject * obj4 = 0 ;
30171 PyObject * obj5 = 0 ;
30172 PyObject * obj6 = 0 ;
30173 char * kwnames[] = {
30174 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30175 };
30176
30177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30179 if (!SWIG_IsOK(res1)) {
30180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30181 }
30182 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30183 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30184 if (!SWIG_IsOK(res2)) {
30185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30186 }
30187 arg2 = reinterpret_cast< wxFrame * >(argp2);
30188 {
30189 arg3 = wxString_in_helper(obj2);
30190 if (arg3 == NULL) SWIG_fail;
30191 temp3 = true;
30192 }
30193 if (obj3) {
d14a1e28 30194 {
0085ce49
RD
30195 arg4 = &temp4;
30196 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d14a1e28 30197 }
0085ce49
RD
30198 }
30199 if (obj4) {
d14a1e28 30200 {
0085ce49
RD
30201 arg5 = &temp5;
30202 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d14a1e28 30203 }
0085ce49
RD
30204 }
30205 if (obj5) {
30206 ecode6 = SWIG_AsVal_long(obj5, &val6);
30207 if (!SWIG_IsOK(ecode6)) {
30208 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30209 }
30210 arg6 = static_cast< long >(val6);
30211 }
30212 if (obj6) {
db3e571a 30213 {
0085ce49
RD
30214 arg7 = wxString_in_helper(obj6);
30215 if (arg7 == NULL) SWIG_fail;
30216 temp7 = true;
db3e571a 30217 }
0085ce49
RD
30218 }
30219 {
30220 if (!wxPyCheckForApp()) SWIG_fail;
30221 PyThreadState* __tstate = wxPyBeginAllowThreads();
30222 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30223 wxPyEndAllowThreads(__tstate);
30224 if (PyErr_Occurred()) SWIG_fail;
30225 }
30226 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30227 {
30228 if (temp3)
30229 delete arg3;
30230 }
30231 {
30232 if (temp7)
30233 delete arg7;
30234 }
30235 return resultobj;
30236fail:
30237 {
30238 if (temp3)
30239 delete arg3;
30240 }
30241 {
30242 if (temp7)
30243 delete arg7;
30244 }
30245 return NULL;
30246}
30247
30248
30249SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30250 PyObject *resultobj = 0;
30251 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30252 PyObject *arg2 = (PyObject *) 0 ;
30253 PyObject *arg3 = (PyObject *) 0 ;
30254 void *argp1 = 0 ;
30255 int res1 = 0 ;
30256 PyObject * obj0 = 0 ;
30257 PyObject * obj1 = 0 ;
30258 PyObject * obj2 = 0 ;
30259 char * kwnames[] = {
30260 (char *) "self",(char *) "self",(char *) "_class", NULL
30261 };
30262
30263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30265 if (!SWIG_IsOK(res1)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30267 }
30268 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30269 arg2 = obj1;
30270 arg3 = obj2;
30271 {
30272 PyThreadState* __tstate = wxPyBeginAllowThreads();
30273 (arg1)->_setCallbackInfo(arg2,arg3);
30274 wxPyEndAllowThreads(__tstate);
30275 if (PyErr_Occurred()) SWIG_fail;
30276 }
30277 resultobj = SWIG_Py_Void();
30278 return resultobj;
30279fail:
30280 return NULL;
30281}
30282
30283
30284SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30285 PyObject *resultobj = 0;
30286 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30287 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30288 void *argp1 = 0 ;
30289 int res1 = 0 ;
30290 void *argp2 = 0 ;
30291 int res2 = 0 ;
30292 PyObject * obj0 = 0 ;
30293 PyObject * obj1 = 0 ;
30294 char * kwnames[] = {
30295 (char *) "self",(char *) "canvas", NULL
30296 };
30297
30298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30300 if (!SWIG_IsOK(res1)) {
30301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30302 }
30303 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30304 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30305 if (!SWIG_IsOK(res2)) {
30306 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30307 }
30308 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30309 {
30310 PyThreadState* __tstate = wxPyBeginAllowThreads();
30311 (arg1)->SetPreviewCanvas(arg2);
30312 wxPyEndAllowThreads(__tstate);
30313 if (PyErr_Occurred()) SWIG_fail;
30314 }
30315 resultobj = SWIG_Py_Void();
30316 return resultobj;
30317fail:
30318 return NULL;
30319}
30320
30321
30322SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30323 PyObject *resultobj = 0;
30324 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30325 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30326 void *argp1 = 0 ;
30327 int res1 = 0 ;
30328 void *argp2 = 0 ;
30329 int res2 = 0 ;
30330 PyObject * obj0 = 0 ;
30331 PyObject * obj1 = 0 ;
30332 char * kwnames[] = {
30333 (char *) "self",(char *) "bar", NULL
30334 };
30335
30336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30338 if (!SWIG_IsOK(res1)) {
30339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30340 }
30341 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30342 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30343 if (!SWIG_IsOK(res2)) {
30344 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30345 }
30346 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30347 {
30348 PyThreadState* __tstate = wxPyBeginAllowThreads();
30349 (arg1)->SetControlBar(arg2);
30350 wxPyEndAllowThreads(__tstate);
30351 if (PyErr_Occurred()) SWIG_fail;
30352 }
30353 resultobj = SWIG_Py_Void();
30354 return resultobj;
30355fail:
30356 return NULL;
db3e571a
RD
30357}
30358
30359
0085ce49
RD
30360SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30361 PyObject *resultobj = 0;
30362 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30363 void *argp1 = 0 ;
30364 int res1 = 0 ;
30365 PyObject *swig_obj[1] ;
30366
30367 if (!args) SWIG_fail;
30368 swig_obj[0] = args;
30369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30370 if (!SWIG_IsOK(res1)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30372 }
30373 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30374 {
30375 PyThreadState* __tstate = wxPyBeginAllowThreads();
30376 (arg1)->Initialize();
30377 wxPyEndAllowThreads(__tstate);
30378 if (PyErr_Occurred()) SWIG_fail;
30379 }
30380 resultobj = SWIG_Py_Void();
30381 return resultobj;
30382fail:
30383 return NULL;
976dbff5
RD
30384}
30385
30386
0085ce49
RD
30387SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30388 PyObject *resultobj = 0;
30389 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30390 void *argp1 = 0 ;
30391 int res1 = 0 ;
30392 PyObject *swig_obj[1] ;
30393
30394 if (!args) SWIG_fail;
30395 swig_obj[0] = args;
30396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30397 if (!SWIG_IsOK(res1)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30399 }
30400 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30401 {
30402 PyThreadState* __tstate = wxPyBeginAllowThreads();
30403 (arg1)->CreateCanvas();
30404 wxPyEndAllowThreads(__tstate);
30405 if (PyErr_Occurred()) SWIG_fail;
30406 }
30407 resultobj = SWIG_Py_Void();
30408 return resultobj;
30409fail:
30410 return NULL;
1cb4a8aa
RD
30411}
30412
30413
0085ce49
RD
30414SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30415 PyObject *resultobj = 0;
30416 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30417 void *argp1 = 0 ;
30418 int res1 = 0 ;
30419 PyObject *swig_obj[1] ;
30420
30421 if (!args) SWIG_fail;
30422 swig_obj[0] = args;
30423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30424 if (!SWIG_IsOK(res1)) {
30425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30426 }
30427 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30428 {
30429 PyThreadState* __tstate = wxPyBeginAllowThreads();
30430 (arg1)->CreateControlBar();
30431 wxPyEndAllowThreads(__tstate);
30432 if (PyErr_Occurred()) SWIG_fail;
30433 }
30434 resultobj = SWIG_Py_Void();
30435 return resultobj;
30436fail:
30437 return NULL;
30438}
30439
30440
30441SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30442 PyObject *obj;
30443 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30444 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30445 return SWIG_Py_Void();
30446}
30447
30448SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30449 return SWIG_Python_InitShadowInstance(args);
30450}
30451
30452SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30453 PyObject *resultobj = 0;
30454 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30455 long arg2 ;
30456 wxWindow *arg3 = (wxWindow *) 0 ;
30457 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30458 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30459 wxSize const &arg5_defvalue = wxDefaultSize ;
30460 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30461 long arg6 = (long) 0 ;
30462 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30463 wxString *arg7 = (wxString *) &arg7_defvalue ;
30464 wxPyPreviewControlBar *result = 0 ;
30465 void *argp1 = 0 ;
30466 int res1 = 0 ;
30467 long val2 ;
30468 int ecode2 = 0 ;
30469 void *argp3 = 0 ;
30470 int res3 = 0 ;
30471 wxPoint temp4 ;
30472 wxSize temp5 ;
30473 long val6 ;
30474 int ecode6 = 0 ;
30475 bool temp7 = false ;
30476 PyObject * obj0 = 0 ;
30477 PyObject * obj1 = 0 ;
30478 PyObject * obj2 = 0 ;
30479 PyObject * obj3 = 0 ;
30480 PyObject * obj4 = 0 ;
30481 PyObject * obj5 = 0 ;
30482 PyObject * obj6 = 0 ;
30483 char * kwnames[] = {
30484 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30485 };
30486
30487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30489 if (!SWIG_IsOK(res1)) {
30490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30491 }
30492 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30493 ecode2 = SWIG_AsVal_long(obj1, &val2);
30494 if (!SWIG_IsOK(ecode2)) {
30495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30496 }
30497 arg2 = static_cast< long >(val2);
30498 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30499 if (!SWIG_IsOK(res3)) {
30500 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30501 }
30502 arg3 = reinterpret_cast< wxWindow * >(argp3);
30503 if (obj3) {
093d3ff1 30504 {
0085ce49
RD
30505 arg4 = &temp4;
30506 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
093d3ff1 30507 }
0085ce49
RD
30508 }
30509 if (obj4) {
093d3ff1 30510 {
0085ce49
RD
30511 arg5 = &temp5;
30512 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
093d3ff1 30513 }
0085ce49
RD
30514 }
30515 if (obj5) {
30516 ecode6 = SWIG_AsVal_long(obj5, &val6);
30517 if (!SWIG_IsOK(ecode6)) {
30518 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30519 }
30520 arg6 = static_cast< long >(val6);
30521 }
30522 if (obj6) {
093d3ff1 30523 {
0085ce49
RD
30524 arg7 = wxString_in_helper(obj6);
30525 if (arg7 == NULL) SWIG_fail;
30526 temp7 = true;
093d3ff1 30527 }
0085ce49
RD
30528 }
30529 {
30530 if (!wxPyCheckForApp()) SWIG_fail;
30531 PyThreadState* __tstate = wxPyBeginAllowThreads();
30532 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30533 wxPyEndAllowThreads(__tstate);
30534 if (PyErr_Occurred()) SWIG_fail;
30535 }
30536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30537 {
30538 if (temp7)
30539 delete arg7;
30540 }
30541 return resultobj;
30542fail:
30543 {
30544 if (temp7)
30545 delete arg7;
30546 }
30547 return NULL;
30548}
30549
30550
30551SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30552 PyObject *resultobj = 0;
30553 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30554 PyObject *arg2 = (PyObject *) 0 ;
30555 PyObject *arg3 = (PyObject *) 0 ;
30556 void *argp1 = 0 ;
30557 int res1 = 0 ;
30558 PyObject * obj0 = 0 ;
30559 PyObject * obj1 = 0 ;
30560 PyObject * obj2 = 0 ;
30561 char * kwnames[] = {
30562 (char *) "self",(char *) "self",(char *) "_class", NULL
30563 };
30564
30565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30567 if (!SWIG_IsOK(res1)) {
30568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30569 }
30570 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30571 arg2 = obj1;
30572 arg3 = obj2;
30573 {
30574 PyThreadState* __tstate = wxPyBeginAllowThreads();
30575 (arg1)->_setCallbackInfo(arg2,arg3);
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 resultobj = SWIG_Py_Void();
30580 return resultobj;
30581fail:
30582 return NULL;
30583}
30584
30585
30586SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30587 PyObject *resultobj = 0;
30588 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30589 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30590 void *argp1 = 0 ;
30591 int res1 = 0 ;
30592 void *argp2 = 0 ;
30593 int res2 = 0 ;
30594 PyObject * obj0 = 0 ;
30595 PyObject * obj1 = 0 ;
30596 char * kwnames[] = {
30597 (char *) "self",(char *) "preview", NULL
30598 };
30599
30600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30602 if (!SWIG_IsOK(res1)) {
30603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30604 }
30605 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30606 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30607 if (!SWIG_IsOK(res2)) {
30608 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30609 }
30610 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30611 {
30612 PyThreadState* __tstate = wxPyBeginAllowThreads();
30613 (arg1)->SetPrintPreview(arg2);
30614 wxPyEndAllowThreads(__tstate);
30615 if (PyErr_Occurred()) SWIG_fail;
30616 }
30617 resultobj = SWIG_Py_Void();
30618 return resultobj;
30619fail:
30620 return NULL;
1cb4a8aa
RD
30621}
30622
30623
0085ce49
RD
30624SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30625 PyObject *resultobj = 0;
30626 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30627 void *argp1 = 0 ;
30628 int res1 = 0 ;
30629 PyObject *swig_obj[1] ;
30630
30631 if (!args) SWIG_fail;
30632 swig_obj[0] = args;
30633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30634 if (!SWIG_IsOK(res1)) {
30635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30636 }
30637 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30638 {
30639 PyThreadState* __tstate = wxPyBeginAllowThreads();
30640 (arg1)->CreateButtons();
30641 wxPyEndAllowThreads(__tstate);
30642 if (PyErr_Occurred()) SWIG_fail;
30643 }
30644 resultobj = SWIG_Py_Void();
30645 return resultobj;
30646fail:
30647 return NULL;
30648}
30649
30650
30651SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30652 PyObject *resultobj = 0;
30653 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30654 int arg2 ;
30655 void *argp1 = 0 ;
30656 int res1 = 0 ;
30657 int val2 ;
30658 int ecode2 = 0 ;
30659 PyObject * obj0 = 0 ;
30660 PyObject * obj1 = 0 ;
30661 char * kwnames[] = {
30662 (char *) "self",(char *) "zoom", NULL
30663 };
30664
30665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30667 if (!SWIG_IsOK(res1)) {
30668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30669 }
30670 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30671 ecode2 = SWIG_AsVal_int(obj1, &val2);
30672 if (!SWIG_IsOK(ecode2)) {
30673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30674 }
30675 arg2 = static_cast< int >(val2);
30676 {
30677 PyThreadState* __tstate = wxPyBeginAllowThreads();
30678 (arg1)->SetZoomControl(arg2);
30679 wxPyEndAllowThreads(__tstate);
30680 if (PyErr_Occurred()) SWIG_fail;
30681 }
30682 resultobj = SWIG_Py_Void();
30683 return resultobj;
30684fail:
30685 return NULL;
1cb4a8aa
RD
30686}
30687
30688
0085ce49
RD
30689SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30690 PyObject *obj;
30691 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30692 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30693 return SWIG_Py_Void();
1cb4a8aa
RD
30694}
30695
0085ce49
RD
30696SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30697 return SWIG_Python_InitShadowInstance(args);
1cb4a8aa
RD
30698}
30699
d3b6e4ff 30700static PyMethodDef SwigMethods[] = {
093d3ff1 30701 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30702 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
093d3ff1 30703 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30704 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
093d3ff1
RD
30705 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30706 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
0085ce49 30707 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
093d3ff1 30708 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30709 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
30710 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30712 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30713 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30714 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30715 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30716 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
093d3ff1 30717 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30718 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
093d3ff1 30719 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30720 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30721 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
093d3ff1
RD
30722 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30723 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
0085ce49 30724 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
093d3ff1
RD
30725 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30726 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30727 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
093d3ff1
RD
30728 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30729 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30730 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30731 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30732 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30733 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
093d3ff1 30734 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30735 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
01f6b6d3 30736 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
0085ce49
RD
30737 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30738 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
093d3ff1
RD
30739 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30740 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30741 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30742 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
093d3ff1 30743 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30744 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
093d3ff1
RD
30745 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30747 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
093d3ff1 30748 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30749 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 30750 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
30751 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30752 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30753 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
093d3ff1 30754 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30755 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
093d3ff1 30756 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30757 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
093d3ff1
RD
30758 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30759 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30760 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
093d3ff1
RD
30761 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30762 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30763 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30764 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30765 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30766 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30767 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
093d3ff1 30768 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30769 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
093d3ff1
RD
30770 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30771 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30772 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30773 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30774 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
0085ce49 30775 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
093d3ff1 30776 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30777 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
093d3ff1
RD
30778 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30779 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30780 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 30781 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30782 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 30783 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30784 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
093d3ff1
RD
30785 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30786 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
e505d15e 30787 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30788 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30789 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
093d3ff1
RD
30790 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30791 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30792 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
0085ce49 30793 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
093d3ff1 30794 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30795 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
093d3ff1
RD
30796 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30797 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
0085ce49 30798 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30799 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30800 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30801 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
093d3ff1 30802 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30803 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30804 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30805 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30806 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30807 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
093d3ff1 30808 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
0085ce49 30809 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
093d3ff1 30810 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30811 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
093d3ff1
RD
30812 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30813 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30814 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
093d3ff1
RD
30815 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30816 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30817 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30818 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30819 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30820 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30821 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30822 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30823 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30824 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
093d3ff1
RD
30825 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
0085ce49 30827 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
093d3ff1 30828 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30829 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
093d3ff1 30830 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30831 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30832 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
093d3ff1 30833 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30834 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
093d3ff1
RD
30835 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30836 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30837 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30838 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30839 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30840 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30841 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
093d3ff1
RD
30842 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30844 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30845 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
093d3ff1 30846 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30847 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
093d3ff1 30848 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30849 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
093d3ff1 30850 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30851 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
093d3ff1 30852 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30853 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
093d3ff1 30854 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30855 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
093d3ff1
RD
30856 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30858 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30859 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30860 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30861 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30862 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30863 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30864 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
093d3ff1 30865 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
0085ce49 30866 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30867 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30868 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
093d3ff1
RD
30869 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30871 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30872 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30875 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30876 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
093d3ff1 30877 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30878 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
093d3ff1
RD
30879 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30880 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30881 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30882 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
093d3ff1
RD
30883 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30885 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30886 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
093d3ff1 30887 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30888 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
093d3ff1 30889 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30890 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30891 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30893 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
093d3ff1 30894 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30895 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
093d3ff1 30896 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30897 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
093d3ff1 30898 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
0085ce49 30899 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30900 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30902 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
093d3ff1 30903 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30904 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
093d3ff1 30905 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30906 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
093d3ff1 30907 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30908 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
093d3ff1 30909 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30910 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
093d3ff1 30911 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
0085ce49 30912 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30913 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30915 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
093d3ff1 30916 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30917 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
093d3ff1 30918 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
0085ce49 30919 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 30920 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30921 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
093d3ff1 30922 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30923 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30924 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
093d3ff1
RD
30925 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30926 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
0085ce49
RD
30929 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30930 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30931 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
093d3ff1
RD
30932 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30933 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30934 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30935 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
0085ce49 30936 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
093d3ff1 30937 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30938 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
093d3ff1
RD
30939 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30940 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30942 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30943 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30944 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
093d3ff1
RD
30945 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30947 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
093d3ff1 30948 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30949 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
30950 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30952 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
093d3ff1 30953 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30954 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30955 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30956 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
30957 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
30961 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30962 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30965 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30966 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30967 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30968 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
70b7a5fe 30969 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30970 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30971 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30972 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30973 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 30974 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 30975 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 30976 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30977 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
093d3ff1
RD
30978 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30980 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30981 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30982 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
093d3ff1
RD
30983 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30985 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30986 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
093d3ff1 30987 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30988 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30989 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
093d3ff1 30990 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 30991 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
093d3ff1
RD
30992 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30993 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
30996 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30997 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
093d3ff1
RD
30998 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30999 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31000 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
75219dcb
RD
31001 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31002 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31003 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
0085ce49 31004 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
093d3ff1 31005 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31006 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
093d3ff1
RD
31007 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31009 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31010 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31011 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31012 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
0085ce49
RD
31013 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31014 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31015 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
093d3ff1 31016 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31017 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31018 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31019 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
093d3ff1 31020 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31021 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
093d3ff1
RD
31022 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
0085ce49 31024 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31025 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
0085ce49
RD
31027 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31028 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31029 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31030 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31031 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
093d3ff1
RD
31032 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
0085ce49 31037 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
093d3ff1 31038 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31039 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
093d3ff1 31040 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31041 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31042 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31043 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
01f6b6d3
RD
31044 { (char *)"new_PreDirDialog", (PyCFunction)_wrap_new_PreDirDialog, METH_NOARGS, NULL},
31045 { (char *)"DirDialog_Create", (PyCFunction) _wrap_DirDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31046 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31047 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
093d3ff1
RD
31048 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31050 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31051 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31052 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31053 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31054 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31055 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31057 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS, NULL},
31059 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31060 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31061 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31062 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31063 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31064 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31065 { (char *)"FileDialog_GetStyle", (PyCFunction)_wrap_FileDialog_GetStyle, METH_O, NULL},
31066 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31067 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31068 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
093d3ff1 31069 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31070 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31071 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31072 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31073 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
093d3ff1 31074 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31075 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31076 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31077 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31078 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
093d3ff1
RD
31079 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31080 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31081 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31082 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31083 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
093d3ff1
RD
31084 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31086 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31087 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
0085ce49
RD
31089 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31090 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31091 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
093d3ff1 31092 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31093 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31094 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31095 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31096 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31097 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31098 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
093d3ff1
RD
31099 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
0085ce49 31106 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
093d3ff1 31107 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31108 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
093d3ff1 31109 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31110 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31111 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1
RD
31112 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31114 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31115 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31116 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31117 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
093d3ff1 31118 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31119 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31120 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31121 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31122 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31123 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31124 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
093d3ff1
RD
31125 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
0085ce49 31129 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
093d3ff1 31130 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31131 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31132 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31133 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31134 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
093d3ff1
RD
31135 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
0085ce49 31139 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
093d3ff1 31140 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31141 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
093d3ff1 31142 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31143 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
093d3ff1
RD
31144 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31146 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31147 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31148 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
093d3ff1 31149 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31150 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31151 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31152 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31153 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31154 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31155 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31156 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
093d3ff1
RD
31157 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
0085ce49 31159 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31160 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31161 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
093d3ff1 31162 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31163 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
093d3ff1 31164 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
0085ce49 31165 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31166 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31167 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
093d3ff1
RD
31168 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
0085ce49 31170 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31171 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31172 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
093d3ff1
RD
31173 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31175 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
31176 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31180 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31181 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31182 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31183 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31184 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31185 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31186 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31187 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
0085ce49 31188 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31189 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31190 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
093d3ff1
RD
31191 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31193 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
31194 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31198 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31199 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31200 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31201 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31202 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31203 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31204 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
093d3ff1 31205 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
0085ce49 31206 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
093d3ff1 31207 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31208 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
093d3ff1
RD
31209 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31211 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4
RD
31212 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31213 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31214 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31215 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31216 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31217 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31218 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31219 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31220 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31221 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31222 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
093d3ff1 31223 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 31224 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
093d3ff1 31225 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
0085ce49
RD
31226 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31227 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31228 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31229 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31230 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31231 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31232 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31233 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31234 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31235 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31236 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31237 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31238 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
093d3ff1
RD
31239 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31242 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31250 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
093d3ff1 31251 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31252 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
b9d6a5f3 31253 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31254 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
0085ce49 31255 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
093d3ff1 31256 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
0085ce49 31257 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
093d3ff1
RD
31258 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31263 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31264 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31265 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31266 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31267 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31268 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31269 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31270 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31271 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31272 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31273 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31274 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31275 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31276 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31277 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
093d3ff1
RD
31278 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31279 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31280 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31281 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31285 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31287 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31288 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
093d3ff1 31289 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
0085ce49 31290 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31291 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31292 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31293 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31294 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
093d3ff1 31295 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31296 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31297 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
0085ce49
RD
31298 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31299 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31300 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31301 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31302 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31303 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31304 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31305 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31306 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31307 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
093d3ff1
RD
31308 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31309 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31310 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31311 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31314 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31316 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31321 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31322 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31323 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31324 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31325 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31326 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
093d3ff1
RD
31327 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31328 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
0085ce49 31329 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
093d3ff1 31330 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31331 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31332 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31333 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31334 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
093d3ff1 31335 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
0085ce49 31336 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
093d3ff1 31337 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31338 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
093d3ff1
RD
31339 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31344 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31345 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31346 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
093d3ff1 31347 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
0085ce49 31348 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
093d3ff1 31349 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31350 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
093d3ff1 31351 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31352 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31353 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
093d3ff1
RD
31354 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31355 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31356 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
093d3ff1 31357 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31358 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
093d3ff1 31359 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31360 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
093d3ff1 31361 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31362 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31363 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
093d3ff1 31364 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
c26d9ab4 31365 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31366 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31367 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31368 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31369 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
c26d9ab4 31370 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31371 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
093d3ff1 31372 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
0085ce49 31373 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31374 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
0085ce49 31376 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
093d3ff1 31377 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31378 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31379 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31380 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31381 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
093d3ff1 31382 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
0085ce49 31383 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1 31384 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31385 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
093d3ff1 31386 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31387 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31388 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31389 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31390 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31391 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31392 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
093d3ff1 31393 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
0085ce49 31394 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
093d3ff1 31395 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
0085ce49 31396 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
093d3ff1 31397 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31398 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
093d3ff1 31399 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31400 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31401 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
093d3ff1
RD
31402 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31404 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31405 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
093d3ff1
RD
31406 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31409 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31410 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
093d3ff1 31411 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31412 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31413 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31414 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31415 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
093d3ff1
RD
31416 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31417 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31418 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
093d3ff1 31419 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
0085ce49 31420 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31421 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31422 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31423 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
0085ce49 31424 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31425 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
31429 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31430 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31431 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
093d3ff1 31432 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
0085ce49 31433 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
093d3ff1
RD
31434 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 31437 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
c26d9ab4 31438 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
093d3ff1 31439 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
0085ce49 31440 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c32bde28 31441 { NULL, NULL, 0, NULL }
d14a1e28
RD
31442};
31443
31444
31445/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31446
31447static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31448 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31449}
31450static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31451 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31452}
31453static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31454 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31455}
31456static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31457 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31458}
31459static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31460 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31461}
31462static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31463 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31464}
31465static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31466 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31467}
31468static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31469 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31470}
31471static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31472 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31473}
31474static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31475 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31476}
31477static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31478 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31479}
31480static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31481 return (void *)((wxEvent *) ((wxPyEvent *) x));
31482}
31483static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31484 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31485}
31486static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31487 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31488}
31489static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31490 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31491}
31492static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31493 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31494}
31495static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31496 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31497}
31498static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31499 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31500}
31501static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31502 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31503}
31504static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31505 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31506}
31507static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31508 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31509}
31510static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31511 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31512}
53aa7709
RD
31513static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31514 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31515}
d14a1e28
RD
31516static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31517 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31518}
31519static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31520 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31521}
31522static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31523 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31524}
31525static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31526 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31527}
31528static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31529 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31530}
31531static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31532 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31533}
31534static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31535 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31536}
31537static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31538 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31539}
31540static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31541 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31542}
31543static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31544 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31545}
31546static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31547 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31548}
31549static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31550 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31551}
31552static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31553 return (void *)((wxEvent *) ((wxShowEvent *) x));
31554}
31555static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31556 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31557}
31558static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31559 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31560}
31561static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31562 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31563}
31564static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31565 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31566}
31567static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31568 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31569}
31570static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31571 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31572}
31573static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31574 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31575}
31576static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31577 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31578}
d3b6e4ff
RD
31579static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31580 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31581}
d14a1e28
RD
31582static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31583 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31584}
31585static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31587}
31588static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31589 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31590}
31591static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31592 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31593}
31594static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31595 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31596}
31597static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31598 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31599}
31600static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31601 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31602}
d3b6e4ff
RD
31603static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31604 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31605}
d14a1e28
RD
31606static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31607 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31608}
31609static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31610 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31611}
31612static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31613 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31614}
31615static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31616 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31617}
31618static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31619 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31620}
31621static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31622 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31623}
31624static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31625 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31626}
31627static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31628 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31629}
31630static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31631 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31632}
31633static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31634 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31635}
31636static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31637 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31638}
31639static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31640 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31641}
31642static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31643 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31644}
31645static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31646 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31647}
31648static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31649 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31650}
31651static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31652 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31653}
31654static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31655 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31656}
31657static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31658 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31659}
31660static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31661 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31662}
31663static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31664 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31665}
31666static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31667 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31668}
1cb4a8aa
RD
31669static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31670 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31671}
d14a1e28
RD
31672static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31673 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31674}
31675static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31676 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31677}
31678static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31679 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31680}
31681static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31682 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31683}
31684static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31685 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31686}
31687static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31688 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31689}
31690static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31691 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31692}
31693static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31694 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31695}
31696static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31697 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31698}
31699static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31700 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31701}
31702static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31703 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31704}
31705static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31706 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31707}
5e483524
RD
31708static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31709 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
31710}
31711static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31712 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31713}
d14a1e28
RD
31714static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31715 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31716}
31717static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31718 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31719}
31720static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31721 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31722}
d3b6e4ff
RD
31723static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31724 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31725}
d14a1e28
RD
31726static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31727 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31728}
31729static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31730 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31731}
31732static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31733 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31734}
31735static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31736 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31737}
31738static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31739 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31740}
31741static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31742 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31743}
31744static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31745 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31746}
31747static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31748 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31749}
31750static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31751 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31752}
31753static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31754 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31755}
31756static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31757 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31758}
31759static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31761}
31762static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31764}
31765static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31766 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31767}
31768static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31769 return (void *)((wxObject *) ((wxSizerItem *) x));
31770}
31771static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31772 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31773}
31774static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31775 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31776}
31777static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31778 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31779}
31780static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31781 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31782}
31783static void *_p_wxSizerTo_p_wxObject(void *x) {
31784 return (void *)((wxObject *) ((wxSizer *) x));
31785}
31786static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31787 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31788}
31789static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31790 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31791}
31792static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31794}
31795static void *_p_wxEventTo_p_wxObject(void *x) {
31796 return (void *)((wxObject *) ((wxEvent *) x));
31797}
31798static void *_p_wxFontDataTo_p_wxObject(void *x) {
31799 return (void *)((wxObject *) ((wxFontData *) x));
31800}
31801static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31802 return (void *)((wxObject *) ((wxPrintData *) x));
31803}
31804static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31805 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31806}
31807static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31808 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31809}
31810static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31811 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31812}
31813static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31814 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31815}
5e483524
RD
31816static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31817 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d14a1e28
RD
31818}
31819static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31821}
31822static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31823 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31824}
31825static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31826 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31827}
31828static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31829 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31830}
31831static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31832 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31833}
31834static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31835 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31836}
31837static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31838 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31839}
31840static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31842}
31843static void *_p_wxControlTo_p_wxObject(void *x) {
31844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31845}
31846static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31847 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31848}
31849static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31850 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31851}
31852static void *_p_wxFSFileTo_p_wxObject(void *x) {
31853 return (void *)((wxObject *) ((wxFSFile *) x));
31854}
31855static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31856 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31857}
31858static void *_p_wxPySizerTo_p_wxObject(void *x) {
31859 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31860}
31861static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31863}
31864static void *_p_wxColourDataTo_p_wxObject(void *x) {
31865 return (void *)((wxObject *) ((wxColourData *) x));
31866}
31867static void *_p_wxPyEventTo_p_wxObject(void *x) {
31868 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31869}
31870static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31872}
31873static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31875}
31876static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31878}
31879static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31881}
31882static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31884}
31885static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31887}
31888static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31890}
d3b6e4ff
RD
31891static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31893}
d14a1e28
RD
31894static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31896}
31897static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31899}
31900static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31902}
31903static void *_p_wxShowEventTo_p_wxObject(void *x) {
31904 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31905}
31906static void *_p_wxPrinterTo_p_wxObject(void *x) {
31907 return (void *)((wxObject *) ((wxPrinter *) x));
31908}
31909static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31910 return (void *)((wxObject *) ((wxMenuItem *) x));
31911}
53aa7709
RD
31912static void *_p_wxDateEventTo_p_wxObject(void *x) {
31913 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31914}
d14a1e28
RD
31915static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31916 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31917}
31918static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31919 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31920}
31921static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31922 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31923}
31924static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31925 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31926}
31927static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31928 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31929}
31930static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31931 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31932}
31933static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31934 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31935}
31936static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31937 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31938}
d14a1e28
RD
31939static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31940 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31941}
31942static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31943 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31944}
31945static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31946 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31947}
31948static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31949 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31950}
31951static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31952 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31953}
31954static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31955 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31956}
31957static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31958 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31959}
31960static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31961 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31962}
31963static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31964 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31965}
943e8dfd
RD
31966static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31967 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31968}
d14a1e28
RD
31969static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31970 return (void *)((wxObject *) ((wxImageHandler *) x));
31971}
943e8dfd
RD
31972static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31973 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31974}
d14a1e28
RD
31975static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31976 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31977}
31978static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31979 return (void *)((wxObject *) ((wxEvtHandler *) x));
31980}
31981static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31982 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31983}
31984static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31986}
31987static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31989}
e505d15e
RD
31990static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31991 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31992}
d14a1e28
RD
31993static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31994 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31995}
31996static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31998}
31999static void *_p_wxImageTo_p_wxObject(void *x) {
32000 return (void *)((wxObject *) ((wxImage *) x));
32001}
32002static void *_p_wxFrameTo_p_wxObject(void *x) {
32003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32004}
32005static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32006 return (void *)((wxObject *) ((wxPyPrintout *) x));
32007}
32008static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32009 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32010}
32011static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32012 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32013}
32014static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32016}
32017static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32019}
32020static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32022}
32023static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32024 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32025}
32026static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32027 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32028}
d14a1e28
RD
32029static void *_p_wxWindowTo_p_wxObject(void *x) {
32030 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32031}
32032static void *_p_wxMenuTo_p_wxObject(void *x) {
32033 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32034}
32035static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32037}
1e0c8722
RD
32038static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32040}
d14a1e28
RD
32041static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32043}
32044static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32045 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32046}
32047static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32049}
32050static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32052}
32053static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32054 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32055}
32056static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32058}
32059static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32061}
32062static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32064}
32065static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32067}
32068static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32070}
1cb4a8aa
RD
32071static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32073}
d14a1e28
RD
32074static void *_p_wxSashEventTo_p_wxObject(void *x) {
32075 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32076}
32077static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32078 return (void *)((wxObject *) ((wxPrintPreview *) x));
32079}
32080static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32081 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32082}
32083static void *_p_wxPanelTo_p_wxObject(void *x) {
32084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32085}
32086static void *_p_wxDialogTo_p_wxObject(void *x) {
32087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32088}
32089static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32091}
32092static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32094}
32095static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32097}
32098static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 32099 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d14a1e28
RD
32100}
32101static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
a68b8331 32102 return (void *)((wxObject *) ((wxPrintDialog *) x));
d14a1e28
RD
32103}
32104static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32105 return (void *)((wxObject *) ((wxFileSystem *) x));
32106}
32107static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32108 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32109}
32110static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32111 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32112}
32113static void *_p_wxPyAppTo_p_wxObject(void *x) {
32114 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32115}
32116static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32117 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32118}
32119static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32120 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32121}
32122static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32123 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32124}
32125static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32126 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32127}
32128static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32129 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32130}
32131static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32133}
32134static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32136}
32137static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32138 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32139}
32140static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32141 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32142}
32143static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32144 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32145}
32146static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32148}
32149static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32150 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32151}
32152static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32153 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32154}
32155static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32156 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32157}
32158static void *_p_wxValidatorTo_p_wxObject(void *x) {
32159 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32160}
32161static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32162 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32163}
32164static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32165 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32166}
32167static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32168 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32169}
32170static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32171 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32172}
32173static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32174 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32175}
32176static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32177 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32178}
32179static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32180 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32181}
32182static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32183 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32184}
32185static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32186 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32187}
32188static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32189 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32190}
32191static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32192 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32193}
32194static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32195 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32196}
d14a1e28
RD
32197static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32198 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32199}
32200static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32201 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32202}
32203static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32204 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32205}
d14a1e28
RD
32206static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32207 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32208}
32209static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32210 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32211}
d3b6e4ff
RD
32212static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32213 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32214}
d14a1e28
RD
32215static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32216 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32217}
32218static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32219 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32220}
32221static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32222 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32223}
32224static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32225 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32226}
d3b6e4ff
RD
32227static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32228 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32229}
d14a1e28
RD
32230static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32231 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32232}
32233static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32234 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32235}
32236static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32237 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32238}
32239static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32240 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32241}
32242static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32243 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32244}
32245static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32246 return (void *)((wxWindow *) ((wxMenuBar *) x));
32247}
32248static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32249 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32250}
32251static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32252 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32253}
32254static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32256}
d3b6e4ff
RD
32257static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32258 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32259}
d14a1e28
RD
32260static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32261 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32262}
32263static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32264 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32265}
32266static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32267 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32268}
32269static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32270 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32271}
32272static void *_p_wxPanelTo_p_wxWindow(void *x) {
32273 return (void *)((wxWindow *) ((wxPanel *) x));
32274}
32275static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32276 return (void *)((wxWindow *) ((wxStatusBar *) x));
32277}
d14a1e28
RD
32278static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32279 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32280}
32281static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32282 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32283}
32284static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32285 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32286}
32287static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32288 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32289}
32290static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32291 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32292}
32293static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32294 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32295}
32296static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32297 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32298}
32299static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32300 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32301}
32302static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32303 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32304}
32305static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32306 return (void *)((wxWindow *) ((wxSashWindow *) x));
32307}
d3b6e4ff
RD
32308static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32309 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32310}
1cb4a8aa
RD
32311static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32312 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32313}
d14a1e28
RD
32314static void *_p_wxControlTo_p_wxWindow(void *x) {
32315 return (void *)((wxWindow *) ((wxControl *) x));
32316}
32317static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32318 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32319}
32320static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32321 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32322}
32323static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32324 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32325}
32326static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32327 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32328}
32329static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32330 return (void *)((wxWindow *) ((wxPyWindow *) x));
32331}
32332static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32333 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32334}
32335static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32336 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32337}
32338static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32339 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32340}
32341static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32342 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32343}
32344static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32345 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32346}
32347static void *_p_wxFrameTo_p_wxWindow(void *x) {
32348 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32349}
32350static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32351 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32352}
32353static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32354 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32355}
32356static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32357 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32358}
32359static void *_p_wxDialogTo_p_wxWindow(void *x) {
32360 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32361}
d14a1e28
RD
32362static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32363 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32364}
1cb4a8aa
RD
32365static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32366 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32367}
d14a1e28
RD
32368static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32369 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32370}
32371static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32372 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32373}
32374static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32375 return (void *)((wxDialog *) ((wxColourDialog *) x));
32376}
32377static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32378 return (void *)((wxDialog *) ((wxDirDialog *) x));
32379}
32380static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32381 return (void *)((wxDialog *) ((wxFontDialog *) x));
32382}
d14a1e28
RD
32383static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32384 return (void *)((wxDialog *) ((wxFileDialog *) x));
32385}
32386static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32387 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32388}
32389static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32390 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32391}
32392static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32393 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32394}
d3b6e4ff
RD
32395static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32396 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32397}
d14a1e28
RD
32398static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32399 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32400}
32401static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32402 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32403}
32404static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32405 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32406}
32407static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32408 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32409}
1cb4a8aa
RD
32410static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32411 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32412}
d14a1e28
RD
32413static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32414 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32415}
32416static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32417 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32418}
32419static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32420 return (void *)((wxPanel *) ((wxPyPanel *) x));
32421}
32422static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32423 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32424}
32425static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32426 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32427}
32428static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32429 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32430}
32431static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32432 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32433}
32434static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32435 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32436}
32437static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32438 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32439}
53aa7709
RD
32440static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32441 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32442}
d14a1e28
RD
32443static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32444 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32445}
32446static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32447 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32448}
32449static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32450 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32451}
32452static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32453 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32454}
32455static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32456 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32457}
32458static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32459 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32460}
32461static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32462 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32463}
32464static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32465 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32466}
32467static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32468 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32469}
01f6b6d3 32470static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
0085ce49
RD
32471static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32472static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32473static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32474static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32475static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32476static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32477static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32478static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32479static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32480static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32481static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32482static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32483static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32484static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32485static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32486static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32487static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32488static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32489static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32490static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32491static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32492static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32493static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32494static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32495static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32496static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32497static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32498static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32499static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32500static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32501static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32502static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32503static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32504static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32505static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32506static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32507static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32508static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32509static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32510static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32511static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32512static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32513static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32514static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32515static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32516static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32517static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32518static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32519static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32520static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32521static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32522static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32523static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32524static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32525static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32526static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32527static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32528static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32529static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32530static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32531static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32532static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32533static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32534static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32535static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32536static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 32537static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
0085ce49
RD
32538static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32539static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32540static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32541static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32542static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32543static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32544static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32545static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32546static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32547static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32548static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32549static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32550static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32551static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32552static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32553static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32554static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32555static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32556static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32557static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32558static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32559static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32560static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32561static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32562static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32563static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32564static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32565static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32566static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32567static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32568static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32569static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32570static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32571static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32572static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32573static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32574static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32575static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32576static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32577static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32578static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32579static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32580static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32581static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32582static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32583static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32584static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32585static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32586static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32587static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32588static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32589static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32590static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32591static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32592static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32593static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32594static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32595static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32596static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32597static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32598static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32599static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32600static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32601static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32602static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32603static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32604static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32605static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32606static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32607static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32608static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32609static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32610static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32611static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32612static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32613static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32614static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32615static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32616static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32617static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32618static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32619static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32620static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32621static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32622static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32623static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32624static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32625static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32626static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32627static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32628static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32629static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32630static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32631static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
32632
32633static swig_type_info *swig_type_initial[] = {
01f6b6d3 32634 &_swigt__p_bool,
32fe5131
RD
32635 &_swigt__p_char,
32636 &_swigt__p_form_ops_t,
32637 &_swigt__p_int,
32638 &_swigt__p_unsigned_char,
32639 &_swigt__p_unsigned_int,
32640 &_swigt__p_unsigned_long,
32641 &_swigt__p_wxANIHandler,
32642 &_swigt__p_wxAcceleratorTable,
32643 &_swigt__p_wxActivateEvent,
32644 &_swigt__p_wxArrayInt,
32645 &_swigt__p_wxBMPHandler,
32646 &_swigt__p_wxBitmap,
32647 &_swigt__p_wxBoxSizer,
32648 &_swigt__p_wxCURHandler,
32649 &_swigt__p_wxCalculateLayoutEvent,
32650 &_swigt__p_wxChildFocusEvent,
32651 &_swigt__p_wxCloseEvent,
32652 &_swigt__p_wxColour,
32653 &_swigt__p_wxColourData,
32654 &_swigt__p_wxColourDialog,
32655 &_swigt__p_wxCommandEvent,
32656 &_swigt__p_wxContextMenuEvent,
32657 &_swigt__p_wxControl,
32658 &_swigt__p_wxControlWithItems,
32659 &_swigt__p_wxDC,
32660 &_swigt__p_wxDateEvent,
32661 &_swigt__p_wxDialog,
32662 &_swigt__p_wxDirDialog,
32663 &_swigt__p_wxDisplayChangedEvent,
32664 &_swigt__p_wxDropFilesEvent,
32665 &_swigt__p_wxDuplexMode,
32666 &_swigt__p_wxEraseEvent,
32667 &_swigt__p_wxEvent,
32668 &_swigt__p_wxEvtHandler,
32669 &_swigt__p_wxFSFile,
32670 &_swigt__p_wxFileDialog,
32671 &_swigt__p_wxFileSystem,
32672 &_swigt__p_wxFindDialogEvent,
32673 &_swigt__p_wxFindReplaceData,
32674 &_swigt__p_wxFindReplaceDialog,
32675 &_swigt__p_wxFlexGridSizer,
32676 &_swigt__p_wxFocusEvent,
32677 &_swigt__p_wxFont,
32678 &_swigt__p_wxFontData,
32679 &_swigt__p_wxFontDialog,
32680 &_swigt__p_wxFrame,
32681 &_swigt__p_wxGBSizerItem,
32682 &_swigt__p_wxGIFHandler,
32683 &_swigt__p_wxGridBagSizer,
32684 &_swigt__p_wxGridSizer,
e9d6f3a4 32685 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
32686 &_swigt__p_wxICOHandler,
32687 &_swigt__p_wxIcon,
32688 &_swigt__p_wxIconBundle,
32689 &_swigt__p_wxIconizeEvent,
32690 &_swigt__p_wxIdleEvent,
32691 &_swigt__p_wxImage,
32692 &_swigt__p_wxImageHandler,
32693 &_swigt__p_wxIndividualLayoutConstraint,
32694 &_swigt__p_wxInitDialogEvent,
32695 &_swigt__p_wxJPEGHandler,
32696 &_swigt__p_wxKeyEvent,
32697 &_swigt__p_wxLayoutAlgorithm,
32698 &_swigt__p_wxLayoutConstraints,
32699 &_swigt__p_wxMDIChildFrame,
32700 &_swigt__p_wxMDIClientWindow,
32701 &_swigt__p_wxMDIParentFrame,
32702 &_swigt__p_wxMaximizeEvent,
32703 &_swigt__p_wxMenu,
32704 &_swigt__p_wxMenuBar,
32705 &_swigt__p_wxMenuEvent,
32706 &_swigt__p_wxMenuItem,
32707 &_swigt__p_wxMessageDialog,
32708 &_swigt__p_wxMiniFrame,
32709 &_swigt__p_wxMouseCaptureChangedEvent,
32710 &_swigt__p_wxMouseEvent,
32711 &_swigt__p_wxMoveEvent,
32712 &_swigt__p_wxMultiChoiceDialog,
32713 &_swigt__p_wxNavigationKeyEvent,
32714 &_swigt__p_wxNcPaintEvent,
32715 &_swigt__p_wxNotifyEvent,
32716 &_swigt__p_wxObject,
32717 &_swigt__p_wxPCXHandler,
32718 &_swigt__p_wxPNGHandler,
32719 &_swigt__p_wxPNMHandler,
32720 &_swigt__p_wxPageSetupDialog,
32721 &_swigt__p_wxPageSetupDialogData,
32722 &_swigt__p_wxPaintEvent,
32723 &_swigt__p_wxPaletteChangedEvent,
32724 &_swigt__p_wxPanel,
32725 &_swigt__p_wxPaperSize,
32726 &_swigt__p_wxPasswordEntryDialog,
32727 &_swigt__p_wxPoint,
32728 &_swigt__p_wxPopupWindow,
32729 &_swigt__p_wxPreviewCanvas,
32730 &_swigt__p_wxPreviewControlBar,
32731 &_swigt__p_wxPreviewFrame,
32732 &_swigt__p_wxPrintData,
32733 &_swigt__p_wxPrintDialog,
32734 &_swigt__p_wxPrintDialogData,
32735 &_swigt__p_wxPrintPreview,
32736 &_swigt__p_wxPrinter,
32737 &_swigt__p_wxProgressDialog,
32738 &_swigt__p_wxPyApp,
32739 &_swigt__p_wxPyCommandEvent,
32740 &_swigt__p_wxPyEvent,
32741 &_swigt__p_wxPyHtmlListBox,
32742 &_swigt__p_wxPyImageHandler,
32743 &_swigt__p_wxPyPanel,
32744 &_swigt__p_wxPyPopupTransientWindow,
32745 &_swigt__p_wxPyPreviewControlBar,
32746 &_swigt__p_wxPyPreviewFrame,
32747 &_swigt__p_wxPyPrintPreview,
32748 &_swigt__p_wxPyPrintout,
32749 &_swigt__p_wxPyScrolledWindow,
32750 &_swigt__p_wxPySizer,
32751 &_swigt__p_wxPyTaskBarIcon,
32752 &_swigt__p_wxPyVListBox,
32753 &_swigt__p_wxPyVScrolledWindow,
32754 &_swigt__p_wxPyValidator,
32755 &_swigt__p_wxPyWindow,
32756 &_swigt__p_wxQueryLayoutInfoEvent,
32757 &_swigt__p_wxQueryNewPaletteEvent,
32758 &_swigt__p_wxRect,
32759 &_swigt__p_wxRegion,
32760 &_swigt__p_wxSashEvent,
32761 &_swigt__p_wxSashLayoutWindow,
32762 &_swigt__p_wxSashWindow,
32763 &_swigt__p_wxScrollEvent,
32764 &_swigt__p_wxScrollWinEvent,
32765 &_swigt__p_wxScrolledWindow,
32766 &_swigt__p_wxSetCursorEvent,
32767 &_swigt__p_wxShowEvent,
32768 &_swigt__p_wxSingleChoiceDialog,
32769 &_swigt__p_wxSize,
32770 &_swigt__p_wxSizeEvent,
32771 &_swigt__p_wxSizer,
32772 &_swigt__p_wxSizerItem,
32773 &_swigt__p_wxSplashScreen,
32774 &_swigt__p_wxSplashScreenWindow,
32775 &_swigt__p_wxSplitterEvent,
32776 &_swigt__p_wxSplitterWindow,
32777 &_swigt__p_wxStaticBoxSizer,
32778 &_swigt__p_wxStatusBar,
32779 &_swigt__p_wxStdDialogButtonSizer,
32780 &_swigt__p_wxString,
32781 &_swigt__p_wxSysColourChangedEvent,
32782 &_swigt__p_wxTIFFHandler,
32783 &_swigt__p_wxTaskBarIcon,
32784 &_swigt__p_wxTaskBarIconEvent,
32785 &_swigt__p_wxTextEntryDialog,
32786 &_swigt__p_wxTipWindow,
32787 &_swigt__p_wxToolBar,
32788 &_swigt__p_wxTopLevelWindow,
32789 &_swigt__p_wxUpdateUIEvent,
32790 &_swigt__p_wxValidator,
32791 &_swigt__p_wxVisualAttributes,
32792 &_swigt__p_wxWindow,
32793 &_swigt__p_wxWindowCreateEvent,
32794 &_swigt__p_wxWindowDestroyEvent,
32795 &_swigt__p_wxXPMHandler,
32fe5131
RD
32796};
32797
01f6b6d3 32798static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32799static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32800static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32801static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32802static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32803static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32804static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32805static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32806static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32807static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32808static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32809static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32810static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32811static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32812static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32813static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32814static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32815static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32816static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32817static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32818static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32819static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32820static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32821static 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}};
32822static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32823static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32824static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32825static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32826static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32827static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32828static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32829static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32830static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32831static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32832static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32833static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32834static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32835static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32836static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32837static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32838static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32839static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32840static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32841static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32842static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32843static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32844static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32845static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32846static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32847static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32848static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32849static 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_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_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}};
32850static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32851static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32852static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32853static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32854static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
32855static 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}};
32856static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32857static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32858static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32859static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32860static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32861static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32862static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32863static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32864static 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 32865static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32866static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32867static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32868static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32869static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32870static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32871static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32872static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32873static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32874static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32875static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32876static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32877static 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}};
32878static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32879static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32880static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32881static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32882static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32883static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32884static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32885static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32886static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32887static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32888static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32889static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32890static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32891static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32892static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32893static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32894static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32895static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32896static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32897static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32898static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32899static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32900static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32901static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
32902static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32903static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32904static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32905static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
32906static 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_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_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_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_wxImageHandler, _p_wxImageHandlerTo_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_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}};
32907static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32908static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32909static 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}};
32910static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32911static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32912static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32913static 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}};
32914static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32915static 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}};
32916static 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}};
32917static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32918static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32919static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32920static 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}};
32921static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32922static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32923static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32924static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32925static 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}};
32926static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32927static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32928static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32929static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32930static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32931static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32932static 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}};
32933static 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}};
32934static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32935static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32936static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32937static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32938static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32939static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32940static 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}};
32941static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32942static 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}};
32943static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32944static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32945static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32946static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32947static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32948static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32949static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32950static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32951static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32952static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32953static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32954static 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}};
32955static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32956static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
32957static 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}};
32958static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
32959static 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}};
32fe5131
RD
32960
32961static swig_cast_info *swig_cast_initial[] = {
01f6b6d3 32962 _swigc__p_bool,
32fe5131
RD
32963 _swigc__p_char,
32964 _swigc__p_form_ops_t,
32965 _swigc__p_int,
32966 _swigc__p_unsigned_char,
32967 _swigc__p_unsigned_int,
32968 _swigc__p_unsigned_long,
32969 _swigc__p_wxANIHandler,
32970 _swigc__p_wxAcceleratorTable,
32971 _swigc__p_wxActivateEvent,
32972 _swigc__p_wxArrayInt,
32973 _swigc__p_wxBMPHandler,
32974 _swigc__p_wxBitmap,
32975 _swigc__p_wxBoxSizer,
32976 _swigc__p_wxCURHandler,
32977 _swigc__p_wxCalculateLayoutEvent,
32978 _swigc__p_wxChildFocusEvent,
32979 _swigc__p_wxCloseEvent,
32980 _swigc__p_wxColour,
32981 _swigc__p_wxColourData,
32982 _swigc__p_wxColourDialog,
32983 _swigc__p_wxCommandEvent,
32984 _swigc__p_wxContextMenuEvent,
32985 _swigc__p_wxControl,
32986 _swigc__p_wxControlWithItems,
32987 _swigc__p_wxDC,
32988 _swigc__p_wxDateEvent,
32989 _swigc__p_wxDialog,
32990 _swigc__p_wxDirDialog,
32991 _swigc__p_wxDisplayChangedEvent,
32992 _swigc__p_wxDropFilesEvent,
32993 _swigc__p_wxDuplexMode,
32994 _swigc__p_wxEraseEvent,
32995 _swigc__p_wxEvent,
32996 _swigc__p_wxEvtHandler,
32997 _swigc__p_wxFSFile,
32998 _swigc__p_wxFileDialog,
32999 _swigc__p_wxFileSystem,
33000 _swigc__p_wxFindDialogEvent,
33001 _swigc__p_wxFindReplaceData,
33002 _swigc__p_wxFindReplaceDialog,
33003 _swigc__p_wxFlexGridSizer,
33004 _swigc__p_wxFocusEvent,
33005 _swigc__p_wxFont,
33006 _swigc__p_wxFontData,
33007 _swigc__p_wxFontDialog,
33008 _swigc__p_wxFrame,
33009 _swigc__p_wxGBSizerItem,
33010 _swigc__p_wxGIFHandler,
33011 _swigc__p_wxGridBagSizer,
33012 _swigc__p_wxGridSizer,
e9d6f3a4 33013 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
33014 _swigc__p_wxICOHandler,
33015 _swigc__p_wxIcon,
33016 _swigc__p_wxIconBundle,
33017 _swigc__p_wxIconizeEvent,
33018 _swigc__p_wxIdleEvent,
33019 _swigc__p_wxImage,
33020 _swigc__p_wxImageHandler,
33021 _swigc__p_wxIndividualLayoutConstraint,
33022 _swigc__p_wxInitDialogEvent,
33023 _swigc__p_wxJPEGHandler,
33024 _swigc__p_wxKeyEvent,
33025 _swigc__p_wxLayoutAlgorithm,
33026 _swigc__p_wxLayoutConstraints,
33027 _swigc__p_wxMDIChildFrame,
33028 _swigc__p_wxMDIClientWindow,
33029 _swigc__p_wxMDIParentFrame,
33030 _swigc__p_wxMaximizeEvent,
33031 _swigc__p_wxMenu,
33032 _swigc__p_wxMenuBar,
33033 _swigc__p_wxMenuEvent,
33034 _swigc__p_wxMenuItem,
33035 _swigc__p_wxMessageDialog,
33036 _swigc__p_wxMiniFrame,
33037 _swigc__p_wxMouseCaptureChangedEvent,
33038 _swigc__p_wxMouseEvent,
33039 _swigc__p_wxMoveEvent,
33040 _swigc__p_wxMultiChoiceDialog,
33041 _swigc__p_wxNavigationKeyEvent,
33042 _swigc__p_wxNcPaintEvent,
33043 _swigc__p_wxNotifyEvent,
33044 _swigc__p_wxObject,
33045 _swigc__p_wxPCXHandler,
33046 _swigc__p_wxPNGHandler,
33047 _swigc__p_wxPNMHandler,
33048 _swigc__p_wxPageSetupDialog,
33049 _swigc__p_wxPageSetupDialogData,
33050 _swigc__p_wxPaintEvent,
33051 _swigc__p_wxPaletteChangedEvent,
33052 _swigc__p_wxPanel,
33053 _swigc__p_wxPaperSize,
33054 _swigc__p_wxPasswordEntryDialog,
33055 _swigc__p_wxPoint,
33056 _swigc__p_wxPopupWindow,
33057 _swigc__p_wxPreviewCanvas,
33058 _swigc__p_wxPreviewControlBar,
33059 _swigc__p_wxPreviewFrame,
33060 _swigc__p_wxPrintData,
33061 _swigc__p_wxPrintDialog,
33062 _swigc__p_wxPrintDialogData,
33063 _swigc__p_wxPrintPreview,
33064 _swigc__p_wxPrinter,
33065 _swigc__p_wxProgressDialog,
33066 _swigc__p_wxPyApp,
33067 _swigc__p_wxPyCommandEvent,
33068 _swigc__p_wxPyEvent,
33069 _swigc__p_wxPyHtmlListBox,
33070 _swigc__p_wxPyImageHandler,
33071 _swigc__p_wxPyPanel,
33072 _swigc__p_wxPyPopupTransientWindow,
33073 _swigc__p_wxPyPreviewControlBar,
33074 _swigc__p_wxPyPreviewFrame,
33075 _swigc__p_wxPyPrintPreview,
33076 _swigc__p_wxPyPrintout,
33077 _swigc__p_wxPyScrolledWindow,
33078 _swigc__p_wxPySizer,
33079 _swigc__p_wxPyTaskBarIcon,
33080 _swigc__p_wxPyVListBox,
33081 _swigc__p_wxPyVScrolledWindow,
33082 _swigc__p_wxPyValidator,
33083 _swigc__p_wxPyWindow,
33084 _swigc__p_wxQueryLayoutInfoEvent,
33085 _swigc__p_wxQueryNewPaletteEvent,
33086 _swigc__p_wxRect,
33087 _swigc__p_wxRegion,
33088 _swigc__p_wxSashEvent,
33089 _swigc__p_wxSashLayoutWindow,
33090 _swigc__p_wxSashWindow,
33091 _swigc__p_wxScrollEvent,
33092 _swigc__p_wxScrollWinEvent,
33093 _swigc__p_wxScrolledWindow,
33094 _swigc__p_wxSetCursorEvent,
33095 _swigc__p_wxShowEvent,
33096 _swigc__p_wxSingleChoiceDialog,
33097 _swigc__p_wxSize,
0085ce49
RD
33098 _swigc__p_wxSizeEvent,
33099 _swigc__p_wxSizer,
33100 _swigc__p_wxSizerItem,
33101 _swigc__p_wxSplashScreen,
33102 _swigc__p_wxSplashScreenWindow,
33103 _swigc__p_wxSplitterEvent,
33104 _swigc__p_wxSplitterWindow,
33105 _swigc__p_wxStaticBoxSizer,
33106 _swigc__p_wxStatusBar,
33107 _swigc__p_wxStdDialogButtonSizer,
33108 _swigc__p_wxString,
33109 _swigc__p_wxSysColourChangedEvent,
33110 _swigc__p_wxTIFFHandler,
33111 _swigc__p_wxTaskBarIcon,
33112 _swigc__p_wxTaskBarIconEvent,
33113 _swigc__p_wxTextEntryDialog,
33114 _swigc__p_wxTipWindow,
33115 _swigc__p_wxToolBar,
33116 _swigc__p_wxTopLevelWindow,
33117 _swigc__p_wxUpdateUIEvent,
33118 _swigc__p_wxValidator,
33119 _swigc__p_wxVisualAttributes,
33120 _swigc__p_wxWindow,
33121 _swigc__p_wxWindowCreateEvent,
33122 _swigc__p_wxWindowDestroyEvent,
33123 _swigc__p_wxXPMHandler,
33124};
33125
33126
33127/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33128
33129static swig_const_info swig_const_table[] = {
33130{0, 0, 0, 0.0, 0, 0}};
33131
093d3ff1
RD
33132#ifdef __cplusplus
33133}
33134#endif
0085ce49
RD
33135/* -----------------------------------------------------------------------------
33136 * Type initialization:
33137 * This problem is tough by the requirement that no dynamic
33138 * memory is used. Also, since swig_type_info structures store pointers to
33139 * swig_cast_info structures and swig_cast_info structures store pointers back
33140 * to swig_type_info structures, we need some lookup code at initialization.
33141 * The idea is that swig generates all the structures that are needed.
33142 * The runtime then collects these partially filled structures.
33143 * The SWIG_InitializeModule function takes these initial arrays out of
33144 * swig_module, and does all the lookup, filling in the swig_module.types
33145 * array with the correct data and linking the correct swig_cast_info
33146 * structures together.
33147 *
33148 * The generated swig_type_info structures are assigned staticly to an initial
33149 * array. We just loop though that array, and handle each type individually.
33150 * First we lookup if this type has been already loaded, and if so, use the
33151 * loaded structure instead of the generated one. Then we have to fill in the
33152 * cast linked list. The cast data is initially stored in something like a
33153 * two-dimensional array. Each row corresponds to a type (there are the same
33154 * number of rows as there are in the swig_type_initial array). Each entry in
33155 * a column is one of the swig_cast_info structures for that type.
33156 * The cast_initial array is actually an array of arrays, because each row has
33157 * a variable number of columns. So to actually build the cast linked list,
33158 * we find the array of casts associated with the type, and loop through it
33159 * adding the casts to the list. The one last trick we need to do is making
33160 * sure the type pointer in the swig_cast_info struct is correct.
33161 *
33162 * First off, we lookup the cast->type name to see if it is already loaded.
33163 * There are three cases to handle:
33164 * 1) If the cast->type has already been loaded AND the type we are adding
33165 * casting info to has not been loaded (it is in this module), THEN we
33166 * replace the cast->type pointer with the type pointer that has already
33167 * been loaded.
33168 * 2) If BOTH types (the one we are adding casting info to, and the
33169 * cast->type) are loaded, THEN the cast info has already been loaded by
33170 * the previous module so we just ignore it.
33171 * 3) Finally, if cast->type has not already been loaded, then we add that
33172 * swig_cast_info to the linked list (because the cast->type) pointer will
33173 * be correct.
33174 * ----------------------------------------------------------------------------- */
093d3ff1 33175
d14a1e28 33176#ifdef __cplusplus
0085ce49
RD
33177extern "C" {
33178#if 0
33179} /* c-mode */
33180#endif
33181#endif
33182
33183#if 0
33184#define SWIGRUNTIME_DEBUG
33185#endif
33186
33187SWIGRUNTIME void
33188SWIG_InitializeModule(void *clientdata) {
33189 size_t i;
33190 swig_module_info *module_head;
33191 static int init_run = 0;
33192
33193 clientdata = clientdata;
33194
33195 if (init_run) return;
33196 init_run = 1;
33197
33198 /* Initialize the swig_module */
33199 swig_module.type_initial = swig_type_initial;
33200 swig_module.cast_initial = swig_cast_initial;
33201
33202 /* Try and load any already created modules */
33203 module_head = SWIG_GetModule(clientdata);
33204 if (module_head) {
33205 swig_module.next = module_head->next;
33206 module_head->next = &swig_module;
33207 } else {
33208 /* This is the first module loaded */
33209 swig_module.next = &swig_module;
33210 SWIG_SetModule(clientdata, &swig_module);
33211 }
33212
33213 /* Now work on filling in swig_module.types */
33214#ifdef SWIGRUNTIME_DEBUG
33215 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33216#endif
33217 for (i = 0; i < swig_module.size; ++i) {
33218 swig_type_info *type = 0;
33219 swig_type_info *ret;
33220 swig_cast_info *cast;
d14a1e28 33221
0085ce49
RD
33222#ifdef SWIGRUNTIME_DEBUG
33223 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33224#endif
d14a1e28 33225
0085ce49
RD
33226 /* if there is another module already loaded */
33227 if (swig_module.next != &swig_module) {
33228 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
093d3ff1 33229 }
0085ce49
RD
33230 if (type) {
33231 /* Overwrite clientdata field */
33232#ifdef SWIGRUNTIME_DEBUG
33233 printf("SWIG_InitializeModule: found type %s\n", type->name);
33234#endif
33235 if (swig_module.type_initial[i]->clientdata) {
33236 type->clientdata = swig_module.type_initial[i]->clientdata;
33237#ifdef SWIGRUNTIME_DEBUG
33238 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33239#endif
33240 }
33241 } else {
33242 type = swig_module.type_initial[i];
093d3ff1 33243 }
0085ce49
RD
33244
33245 /* Insert casting types */
33246 cast = swig_module.cast_initial[i];
33247 while (cast->type) {
33248 /* Don't need to add information already in the list */
33249 ret = 0;
33250#ifdef SWIGRUNTIME_DEBUG
33251 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33252#endif
33253 if (swig_module.next != &swig_module) {
33254 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33255#ifdef SWIGRUNTIME_DEBUG
33256 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33257#endif
33258 }
33259 if (ret) {
33260 if (type == swig_module.type_initial[i]) {
33261#ifdef SWIGRUNTIME_DEBUG
33262 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33263#endif
33264 cast->type = ret;
33265 ret = 0;
33266 } else {
33267 /* Check for casting already in the list */
33268 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33269#ifdef SWIGRUNTIME_DEBUG
33270 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33271#endif
33272 if (!ocast) ret = 0;
33273 }
33274 }
33275
33276 if (!ret) {
33277#ifdef SWIGRUNTIME_DEBUG
33278 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33279#endif
33280 if (type->cast) {
33281 type->cast->prev = cast;
33282 cast->next = type->cast;
33283 }
33284 type->cast = cast;
33285 }
33286 cast++;
093d3ff1 33287 }
0085ce49
RD
33288 /* Set entry in modules->types array equal to the type */
33289 swig_module.types[i] = type;
33290 }
33291 swig_module.types[i] = 0;
33292
33293#ifdef SWIGRUNTIME_DEBUG
33294 printf("**** SWIG_InitializeModule: Cast List ******\n");
33295 for (i = 0; i < swig_module.size; ++i) {
33296 int j = 0;
33297 swig_cast_info *cast = swig_module.cast_initial[i];
33298 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33299 while (cast->type) {
33300 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33301 cast++;
33302 ++j;
33303 }
33304 printf("---- Total casts: %d\n",j);
33305 }
33306 printf("**** SWIG_InitializeModule: Cast List ******\n");
33307#endif
33308}
33309
33310/* This function will propagate the clientdata field of type to
33311* any new swig_type_info structures that have been added into the list
33312* of equivalent types. It is like calling
33313* SWIG_TypeClientData(type, clientdata) a second time.
33314*/
33315SWIGRUNTIME void
33316SWIG_PropagateClientData(void) {
33317 size_t i;
33318 swig_cast_info *equiv;
33319 static int init_run = 0;
33320
33321 if (init_run) return;
33322 init_run = 1;
33323
33324 for (i = 0; i < swig_module.size; i++) {
33325 if (swig_module.types[i]->clientdata) {
33326 equiv = swig_module.types[i]->cast;
33327 while (equiv) {
33328 if (!equiv->converter) {
33329 if (equiv->type && !equiv->type->clientdata)
33330 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33331 }
33332 equiv = equiv->next;
33333 }
093d3ff1 33334 }
0085ce49
RD
33335 }
33336}
33337
33338#ifdef __cplusplus
33339#if 0
33340{
33341 /* c-mode */
33342#endif
33343}
33344#endif
33345
33346
33347
33348#ifdef __cplusplus
33349extern "C" {
33350#endif
33351
33352 /* Python-specific SWIG API */
33353#define SWIG_newvarlink() SWIG_Python_newvarlink()
33354#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33355#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33356
33357 /* -----------------------------------------------------------------------------
33358 * global variable support code.
33359 * ----------------------------------------------------------------------------- */
33360
33361 typedef struct swig_globalvar {
33362 char *name; /* Name of global variable */
33363 PyObject *(*get_attr)(void); /* Return the current value */
33364 int (*set_attr)(PyObject *); /* Set the value */
33365 struct swig_globalvar *next;
33366 } swig_globalvar;
33367
33368 typedef struct swig_varlinkobject {
33369 PyObject_HEAD
33370 swig_globalvar *vars;
33371 } swig_varlinkobject;
33372
33373 SWIGINTERN PyObject *
33374 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33375 return PyString_FromString("<Swig global variables>");
33376 }
33377
33378 SWIGINTERN PyObject *
33379 swig_varlink_str(swig_varlinkobject *v) {
33380 PyObject *str = PyString_FromString("(");
33381 swig_globalvar *var;
33382 for (var = v->vars; var; var=var->next) {
33383 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33384 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33385 }
33386 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33387 return str;
33388 }
33389
33390 SWIGINTERN int
33391 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33392 PyObject *str = swig_varlink_str(v);
33393 fprintf(fp,"Swig global variables ");
33394 fprintf(fp,"%s\n", PyString_AsString(str));
33395 Py_DECREF(str);
33396 return 0;
33397 }
33398
33399 SWIGINTERN void
33400 swig_varlink_dealloc(swig_varlinkobject *v) {
33401 swig_globalvar *var = v->vars;
33402 while (var) {
33403 swig_globalvar *n = var->next;
33404 free(var->name);
33405 free(var);
33406 var = n;
093d3ff1 33407 }
0085ce49
RD
33408 }
33409
33410 SWIGINTERN PyObject *
33411 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33412 PyObject *res = NULL;
33413 swig_globalvar *var = v->vars;
33414 while (var) {
33415 if (strcmp(var->name,n) == 0) {
33416 res = (*var->get_attr)();
33417 break;
33418 }
33419 var = var->next;
093d3ff1 33420 }
0085ce49
RD
33421 if (res == NULL && !PyErr_Occurred()) {
33422 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33423 }
0085ce49
RD
33424 return res;
33425 }
33426
33427 SWIGINTERN int
33428 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33429 int res = 1;
33430 swig_globalvar *var = v->vars;
33431 while (var) {
33432 if (strcmp(var->name,n) == 0) {
33433 res = (*var->set_attr)(p);
33434 break;
33435 }
33436 var = var->next;
093d3ff1 33437 }
0085ce49
RD
33438 if (res == 1 && !PyErr_Occurred()) {
33439 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
093d3ff1 33440 }
0085ce49
RD
33441 return res;
33442 }
33443
33444 SWIGINTERN PyTypeObject*
33445 swig_varlink_type(void) {
33446 static char varlink__doc__[] = "Swig var link object";
33447 static PyTypeObject varlink_type;
33448 static int type_init = 0;
33449 if (!type_init) {
33450 const PyTypeObject tmp
33451 = {
33452 PyObject_HEAD_INIT(NULL)
33453 0, /* Number of items in variable part (ob_size) */
33454 (char *)"swigvarlink", /* Type name (tp_name) */
33455 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33456 0, /* Itemsize (tp_itemsize) */
33457 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33458 (printfunc) swig_varlink_print, /* Print (tp_print) */
33459 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33460 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33461 0, /* tp_compare */
33462 (reprfunc) swig_varlink_repr, /* tp_repr */
33463 0, /* tp_as_number */
33464 0, /* tp_as_sequence */
33465 0, /* tp_as_mapping */
33466 0, /* tp_hash */
33467 0, /* tp_call */
33468 (reprfunc)swig_varlink_str, /* tp_str */
33469 0, /* tp_getattro */
33470 0, /* tp_setattro */
33471 0, /* tp_as_buffer */
33472 0, /* tp_flags */
33473 varlink__doc__, /* tp_doc */
33474 0, /* tp_traverse */
33475 0, /* tp_clear */
33476 0, /* tp_richcompare */
33477 0, /* tp_weaklistoffset */
33478#if PY_VERSION_HEX >= 0x02020000
33479 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33480#endif
33481#if PY_VERSION_HEX >= 0x02030000
33482 0, /* tp_del */
33483#endif
33484#ifdef COUNT_ALLOCS
33485 0,0,0,0 /* tp_alloc -> tp_next */
33486#endif
33487 };
33488 varlink_type = tmp;
33489 varlink_type.ob_type = &PyType_Type;
33490 type_init = 1;
093d3ff1 33491 }
0085ce49
RD
33492 return &varlink_type;
33493 }
33494
33495 /* Create a variable linking object for use later */
33496 SWIGINTERN PyObject *
33497 SWIG_Python_newvarlink(void) {
33498 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33499 if (result) {
33500 result->vars = 0;
33501 }
33502 return ((PyObject*) result);
33503 }
33504
33505 SWIGINTERN void
33506 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33507 swig_varlinkobject *v = (swig_varlinkobject *) p;
33508 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33509 if (gv) {
33510 size_t size = strlen(name)+1;
33511 gv->name = (char *)malloc(size);
33512 if (gv->name) {
33513 strncpy(gv->name,name,size);
33514 gv->get_attr = get_attr;
33515 gv->set_attr = set_attr;
33516 gv->next = v->vars;
33517 }
093d3ff1 33518 }
0085ce49
RD
33519 v->vars = gv;
33520 }
33521
33522 SWIGINTERN PyObject *
33523 SWIG_globals() {
33524 static PyObject *_SWIG_globals = 0;
33525 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33526 return _SWIG_globals;
33527 }
33528
33529 /* -----------------------------------------------------------------------------
33530 * constants/methods manipulation
33531 * ----------------------------------------------------------------------------- */
33532
33533 /* Install Constants */
33534 SWIGINTERN void
33535 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33536 PyObject *obj = 0;
33537 size_t i;
33538 for (i = 0; constants[i].type; ++i) {
33539 switch(constants[i].type) {
33540 case SWIG_PY_POINTER:
33541 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33542 break;
33543 case SWIG_PY_BINARY:
33544 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33545 break;
33546 default:
33547 obj = 0;
33548 break;
33549 }
33550 if (obj) {
33551 PyDict_SetItemString(d, constants[i].name, obj);
33552 Py_DECREF(obj);
33553 }
093d3ff1 33554 }
0085ce49
RD
33555 }
33556
33557 /* -----------------------------------------------------------------------------*/
33558 /* Fix SwigMethods to carry the callback ptrs when needed */
33559 /* -----------------------------------------------------------------------------*/
33560
33561 SWIGINTERN void
33562 SWIG_Python_FixMethods(PyMethodDef *methods,
33563 swig_const_info *const_table,
33564 swig_type_info **types,
33565 swig_type_info **types_initial) {
33566 size_t i;
33567 for (i = 0; methods[i].ml_name; ++i) {
33568 char *c = methods[i].ml_doc;
33569 if (c && (c = strstr(c, "swig_ptr: "))) {
33570 int j;
33571 swig_const_info *ci = 0;
33572 char *name = c + 10;
33573 for (j = 0; const_table[j].type; ++j) {
33574 if (strncmp(const_table[j].name, name,
33575 strlen(const_table[j].name)) == 0) {
33576 ci = &(const_table[j]);
33577 break;
33578 }
33579 }
33580 if (ci) {
33581 size_t shift = (ci->ptype) - types;
33582 swig_type_info *ty = types_initial[shift];
33583 size_t ldoc = (c - methods[i].ml_doc);
33584 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33585 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33586 if (ndoc) {
33587 char *buff = ndoc;
33588 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33589 if (ptr) {
33590 strncpy(buff, methods[i].ml_doc, ldoc);
33591 buff += ldoc;
33592 strncpy(buff, "swig_ptr: ", 10);
33593 buff += 10;
33594 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33595 methods[i].ml_doc = ndoc;
33596 }
33597 }
33598 }
33599 }
093d3ff1 33600 }
0085ce49
RD
33601 }
33602
33603#ifdef __cplusplus
33604}
33605#endif
33606
33607/* -----------------------------------------------------------------------------*
33608 * Partial Init method
33609 * -----------------------------------------------------------------------------*/
33610
33611#ifdef __cplusplus
33612extern "C"
33613#endif
33614SWIGEXPORT void SWIG_init(void) {
33615 PyObject *m, *d;
33616
33617 /* Fix SwigMethods to carry the callback ptrs when needed */
33618 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33619
33620 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33621 d = PyModule_GetDict(m);
33622
33623 SWIG_InitializeModule(0);
33624 SWIG_InstallConstants(d,swig_const_table);
33625
33626
33627 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33628 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33629 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33630 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33631 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33632 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33633 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33634 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33635 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33636 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33637 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33638 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33639 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33640 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33641 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33642 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33643 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33644 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33645 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33646 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33647 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33648 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33649 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33650 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33651 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33652 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33653 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33654 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33655 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33656 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33657 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33658 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33659 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33660 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33661 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33662 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33663 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33664 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33665 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33666 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33667 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33668 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33669 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33670 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33671 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33672 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33673 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33674 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33675 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33676 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33677 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33678 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33679 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33680 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33681 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33682 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33683 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33684 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33685 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33686 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33687 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33688 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33689 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33690 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33691 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33692 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33693 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33694 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33695 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33696 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33697 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33698 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33699 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33700 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33701 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33702 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33703 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33704 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33705 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33706 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33707 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33708 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33709 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33710 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33711 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33712 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33713 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33714 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33715 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33716 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33717 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33718 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33719 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33720 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33721 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33722 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33723 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33724 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33725 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33726 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33727 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33728 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33729
33730 // Map renamed classes back to their common name for OOR
33731 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33732 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33733 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33734
33735 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33736 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33737 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33738 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33739 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33740 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33741 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33742 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33743 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33744 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33745 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33746 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33747 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33748 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33749 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33750 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33751 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33752 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33753 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33754 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33755 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33756 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33757 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33758 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33759 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33760 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33761 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33762 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33763 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33764 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33765 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33766 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33767 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33768 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33769 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33770 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33771 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33772 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33773 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33774 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33775 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33776 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33777 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33778 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33779 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33780 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33781 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33782 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33783 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33784 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33785 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33786 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33787 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33788 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33789 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33790 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33791 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33792 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33793 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33794 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33795 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33796 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33797 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33798 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33799 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33800 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33801 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33802 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33803 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33804 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33805 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33806 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33807 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33808 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33809 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33810 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33811 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33812 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33813
33814 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33815
d14a1e28
RD
33816}
33817