]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
Wrap new AddPane method as AddPaneAtPos
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
1bd55598 3 * Version 1.3.29
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
1bd55598 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 27};
d55e5bfc
RD
28#endif
29
1bd55598 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
1bd55598 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
1bd55598
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
36ed4f51 46#endif
d55e5bfc 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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
1bd55598
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
d55e5bfc 127
1bd55598 128/* Python.h has to appear first */
36ed4f51 129#include <Python.h>
d55e5bfc 130
1bd55598 131/* -----------------------------------------------------------------------------
36ed4f51 132 * swigrun.swg
d55e5bfc 133 *
1bd55598
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
36ed4f51
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"
d55e5bfc 141
36ed4f51
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)
d55e5bfc 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
36ed4f51
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
36ed4f51 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
36ed4f51 162#endif
32fe5131 163
36ed4f51 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
1bd55598
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
d55e5bfc
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d55e5bfc 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 */
1bd55598 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
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
36ed4f51
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;
1bd55598 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
36ed4f51
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
36ed4f51
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;
36ed4f51
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
36ed4f51 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;
36ed4f51 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
36ed4f51 400 }
32fe5131 401 return equiv;
36ed4f51
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
36ed4f51
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
36ed4f51 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);
36ed4f51
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
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. */
1bd55598 481 if (!type) return NULL;
36ed4f51
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
36ed4f51
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;
36ed4f51
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);
36ed4f51 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
1bd55598
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);
36ed4f51 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);
36ed4f51 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
36ed4f51
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;
36ed4f51 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
36ed4f51
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;
36ed4f51 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
1bd55598 622 register unsigned char uu;
36ed4f51
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
36ed4f51
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d55e5bfc 682
36ed4f51
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
1bd55598
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d55e5bfc 714
1bd55598
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
36ed4f51 764#endif
1bd55598
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
c370783e 799
36ed4f51 800/* -----------------------------------------------------------------------------
1bd55598 801 * error manipulation
36ed4f51 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
1bd55598
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d55e5bfc 846
1bd55598
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
36ed4f51 935#endif
d55e5bfc 936
1bd55598
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
36ed4f51 940
1bd55598
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
36ed4f51
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
36ed4f51 952/* Constant Types */
36ed4f51
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
1bd55598
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
36ed4f51 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
1bd55598
RD
967#if 0
968{ /* cc-mode */
969#endif
36ed4f51
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
1bd55598
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 *
36ed4f51
RD
978 * pyrun.swg
979 *
1bd55598
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
36ed4f51 983 *
1bd55598 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
36ed4f51 986/* Common SWIG API */
d55e5bfc 987
4f89b6b7
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
1bd55598
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
d55e5bfc 1000
1bd55598
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1004
1bd55598
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1008
1bd55598
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1012
1bd55598
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
d55e5bfc 1017
1bd55598 1018/* Runtime API */
d55e5bfc 1019
1bd55598
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
1bd55598
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
d55e5bfc 1030
1bd55598 1031/* Runtime API implementation */
d55e5bfc 1032
1bd55598 1033/* Error manipulation */
d55e5bfc 1034
1bd55598
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
c370783e 1041}
d55e5bfc 1042
1bd55598
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1048}
1049
1bd55598 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
1bd55598 1052/* Set a constant value */
d55e5bfc 1053
1bd55598
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c370783e 1058}
d55e5bfc 1059
1bd55598 1060/* Append a value to the result obj */
d55e5bfc 1061
1bd55598
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
36ed4f51 1088 } else {
1bd55598
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c370783e 1100 }
1bd55598
RD
1101 return result;
1102#endif
c370783e
RD
1103}
1104
1bd55598 1105/* Unpack the argument tuple */
d55e5bfc 1106
1bd55598
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
36ed4f51
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
36ed4f51 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
1613#endif
1614 };
1615
1bd55598 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
36ed4f51 1618 if (!type_init) {
1bd55598
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
36ed4f51 1632#endif
1bd55598
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
36ed4f51 1651#if PY_VERSION_HEX >= 0x02020000
1bd55598
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
36ed4f51
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
1bd55598 1674 0, /* tp_del */
36ed4f51
RD
1675#endif
1676#ifdef COUNT_ALLOCS
1bd55598 1677 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1678#endif
1bd55598 1679 };
32fe5131 1680 pyswigobject_type = tmp;
1bd55598 1681 pyswigobject_type.ob_type = &PyType_Type;
36ed4f51
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
36ed4f51
RD
1685}
1686
1687SWIGRUNTIME PyObject *
1bd55598 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c370783e 1689{
1bd55598
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
1bd55598 1697 return (PyObject *)sobj;
36ed4f51 1698}
d55e5bfc 1699
36ed4f51
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
d55e5bfc 1703
36ed4f51
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1bd55598 1707 swig_type_info *ty;
36ed4f51
RD
1708 size_t size;
1709} PySwigPacked;
c370783e 1710
36ed4f51 1711SWIGRUNTIME int
1bd55598 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
d55e5bfc 1713{
36ed4f51
RD
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1bd55598 1720 fputs(v->ty->name,fp);
36ed4f51
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1bd55598 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
36ed4f51 1731 } else {
1bd55598 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
36ed4f51 1733 }
d55e5bfc
RD
1734}
1735
36ed4f51
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1bd55598 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
36ed4f51 1742 } else {
1bd55598 1743 return PyString_FromString(v->ty->name);
36ed4f51
RD
1744 }
1745}
d55e5bfc 1746
36ed4f51
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 1749{
1bd55598
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c370783e
RD
1754}
1755
1bd55598 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
d55e5bfc 1757
36ed4f51 1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
1bd55598
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
36ed4f51
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
1bd55598 1837 0, /* tp_del */
36ed4f51
RD
1838#endif
1839#ifdef COUNT_ALLOCS
1bd55598 1840 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1841#endif
1bd55598 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
1bd55598 1844 pyswigpacked_type.ob_type = &PyType_Type;
36ed4f51
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
36ed4f51 1848}
d55e5bfc 1849
36ed4f51 1850SWIGRUNTIME PyObject *
1bd55598 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
36ed4f51 1852{
1bd55598
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
36ed4f51 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1bd55598
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
36ed4f51 1865 }
1bd55598 1866 return (PyObject *) sobj;
36ed4f51 1867}
d55e5bfc 1868
1bd55598 1869SWIGRUNTIME swig_type_info *
36ed4f51
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
1bd55598
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
36ed4f51 1880}
d55e5bfc 1881
36ed4f51 1882/* -----------------------------------------------------------------------------
1bd55598 1883 * pointers/data manipulation
36ed4f51 1884 * ----------------------------------------------------------------------------- */
d55e5bfc 1885
1bd55598
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
d55e5bfc 1891
1bd55598
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
d55e5bfc 1898
1bd55598 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d55e5bfc 1900
1bd55598
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
36ed4f51 1903{
1bd55598
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
36ed4f51 1926 } else {
1bd55598
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
36ed4f51 1929 }
36ed4f51 1930 }
1bd55598
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
36ed4f51
RD
1947 }
1948}
d55e5bfc 1949
1bd55598
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
36ed4f51 1961 }
1bd55598 1962 return 0;
36ed4f51 1963}
d55e5bfc 1964
1bd55598
RD
1965/* Convert a pointer value */
1966
36ed4f51 1967SWIGRUNTIME int
1bd55598
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
36ed4f51 1992 } else {
1bd55598
RD
1993 if (ptr) *ptr = vptr;
1994 break;
36ed4f51 1995 }
36ed4f51 1996 }
1bd55598
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
36ed4f51
RD
2042 }
2043}
d55e5bfc 2044
1bd55598
RD
2045/* Convert a function ptr value */
2046
36ed4f51 2047SWIGRUNTIME int
1bd55598
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
36ed4f51 2051 } else {
1bd55598
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
4f89b6b7 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1bd55598
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
36ed4f51
RD
2069 }
2070}
d55e5bfc 2071
1bd55598 2072/* Convert a packed value value */
d55e5bfc 2073
36ed4f51 2074SWIGRUNTIME int
1bd55598
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
36ed4f51 2084 }
1bd55598
RD
2085 return SWIG_OK;
2086}
d55e5bfc 2087
1bd55598
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
d55e5bfc 2091
1bd55598
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
d55e5bfc 2096
1bd55598
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
36ed4f51 2115 }
1bd55598
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
36ed4f51 2120 }
1bd55598
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
36ed4f51 2126 }
1bd55598
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
36ed4f51 2140 }
1bd55598
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
36ed4f51 2147 }
1bd55598
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
36ed4f51 2158}
d55e5bfc 2159
1bd55598
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
36ed4f51 2175#endif
1bd55598
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
d55e5bfc 2180
1bd55598
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
36ed4f51 2191 } else {
1bd55598 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
36ed4f51 2193 }
1bd55598 2194 return SWIG_Py_Void();
36ed4f51 2195 }
1bd55598
RD
2196}
2197
2198/* Create a new pointer object */
36ed4f51 2199
36ed4f51 2200SWIGRUNTIME PyObject *
1bd55598 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
36ed4f51 2202 if (!ptr) {
1bd55598
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
36ed4f51 2213 }
36ed4f51 2214 }
1bd55598 2215 return robj;
36ed4f51 2216 }
36ed4f51
RD
2217}
2218
1bd55598
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
36ed4f51 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1bd55598 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
36ed4f51
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
36ed4f51
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
36ed4f51 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
36ed4f51
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
1bd55598 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
1bd55598 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
1bd55598 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
1bd55598 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
1bd55598 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
1bd55598 2281 return SWIG_OK;
36ed4f51 2282}
32fe5131 2283#endif
36ed4f51 2284
1bd55598
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
1bd55598 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1bd55598
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
36ed4f51 2314
1bd55598
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
36ed4f51 2320}
36ed4f51 2321
1bd55598
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2131d850
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485#define SWIGTYPE_p_wxColour swig_types[19]
2486#define SWIGTYPE_p_wxColourData swig_types[20]
2487#define SWIGTYPE_p_wxColourDialog swig_types[21]
2488#define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489#define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490#define SWIGTYPE_p_wxControl swig_types[24]
2491#define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492#define SWIGTYPE_p_wxDC swig_types[26]
2493#define SWIGTYPE_p_wxDateEvent swig_types[27]
2494#define SWIGTYPE_p_wxDialog swig_types[28]
2495#define SWIGTYPE_p_wxDirDialog swig_types[29]
2496#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500#define SWIGTYPE_p_wxEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502#define SWIGTYPE_p_wxFSFile swig_types[36]
2503#define SWIGTYPE_p_wxFileDialog swig_types[37]
2504#define SWIGTYPE_p_wxFileSystem swig_types[38]
2505#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510#define SWIGTYPE_p_wxFont swig_types[44]
2511#define SWIGTYPE_p_wxFontData swig_types[45]
2512#define SWIGTYPE_p_wxFontDialog swig_types[46]
2513#define SWIGTYPE_p_wxFrame swig_types[47]
2514#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517#define SWIGTYPE_p_wxGridSizer swig_types[51]
2518#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519#define SWIGTYPE_p_wxICOHandler swig_types[53]
2520#define SWIGTYPE_p_wxIcon swig_types[54]
2521#define SWIGTYPE_p_wxIconBundle swig_types[55]
2522#define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523#define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524#define SWIGTYPE_p_wxImage swig_types[58]
2525#define SWIGTYPE_p_wxImageHandler swig_types[59]
2526#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528#define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529#define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531#define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532#define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533#define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534#define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535#define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536#define SWIGTYPE_p_wxMenu swig_types[70]
2537#define SWIGTYPE_p_wxMenuBar swig_types[71]
2538#define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539#define SWIGTYPE_p_wxMenuItem swig_types[73]
2540#define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541#define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543#define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544#define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547#define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548#define SWIGTYPE_p_wxNotifyEvent swig_types[82]
27e45892
RD
2549#define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550#define SWIGTYPE_p_wxObject swig_types[84]
2551#define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552#define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553#define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554#define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555#define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556#define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558#define SWIGTYPE_p_wxPanel swig_types[92]
2559#define SWIGTYPE_p_wxPaperSize swig_types[93]
2560#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561#define SWIGTYPE_p_wxPoint swig_types[95]
2562#define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563#define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564#define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565#define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566#define SWIGTYPE_p_wxPrintData swig_types[100]
2567#define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568#define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569#define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570#define SWIGTYPE_p_wxPrinter swig_types[104]
2571#define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572#define SWIGTYPE_p_wxPyApp swig_types[106]
2573#define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574#define SWIGTYPE_p_wxPyEvent swig_types[108]
2575#define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576#define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577#define SWIGTYPE_p_wxPyPanel swig_types[111]
2578#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580#define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581#define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582#define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583#define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584#define SWIGTYPE_p_wxPySizer swig_types[118]
2585#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586#define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588#define SWIGTYPE_p_wxPyValidator swig_types[122]
2589#define SWIGTYPE_p_wxPyWindow swig_types[123]
2590#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592#define SWIGTYPE_p_wxRect swig_types[126]
2593#define SWIGTYPE_p_wxRegion swig_types[127]
2594#define SWIGTYPE_p_wxSashEvent swig_types[128]
2595#define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596#define SWIGTYPE_p_wxSashWindow swig_types[130]
2597#define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598#define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599#define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600#define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601#define SWIGTYPE_p_wxShowEvent swig_types[135]
2602#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603#define SWIGTYPE_p_wxSize swig_types[137]
2604#define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605#define SWIGTYPE_p_wxSizer swig_types[139]
2606#define SWIGTYPE_p_wxSizerItem swig_types[140]
2607#define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608#define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609#define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610#define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611#define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612#define SWIGTYPE_p_wxStatusBar swig_types[146]
2613#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614#define SWIGTYPE_p_wxString swig_types[148]
2615#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616#define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617#define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619#define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620#define SWIGTYPE_p_wxTipWindow swig_types[154]
2621#define SWIGTYPE_p_wxToolBar swig_types[155]
2622#define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623#define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624#define SWIGTYPE_p_wxValidator swig_types[158]
2625#define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626#define SWIGTYPE_p_wxWindow swig_types[160]
2627#define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629#define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630static swig_type_info *swig_types[165];
2631static swig_module_info swig_module = {swig_types, 164, 0, 0, 0, 0};
32fe5131
RD
2632#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2634
2635/* -------- TYPES TABLE (END) -------- */
2636
1bd55598
RD
2637#if (PY_VERSION_HEX <= 0x02000000)
2638# if !defined(SWIG_PYTHON_CLASSIC)
2639# error "This python version requires to use swig with the '-classic' option"
2640# endif
2641#endif
2642#if (PY_VERSION_HEX <= 0x02020000)
2643# error "This python version requires to use swig with the '-nomodern' option"
2644#endif
2645#if (PY_VERSION_HEX <= 0x02020000)
2646# error "This python version requires to use swig with the '-nomodernargs' option"
2647#endif
2648#ifndef METH_O
2649# error "This python version requires to use swig with the '-nofastunpack' option"
2650#endif
36ed4f51
RD
2651
2652/*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655#define SWIG_init init_windows_
2656
2657#define SWIG_name "_windows_"
2658
1bd55598 2659#define SWIGVERSION 0x010329
36ed4f51 2660
36ed4f51 2661
1bd55598
RD
2662#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
36ed4f51
RD
2664
2665
1bd55598 2666#include <stdexcept>
36ed4f51
RD
2667
2668
1bd55598
RD
2669namespace swig {
2670 class PyObject_ptr {
2671 protected:
2672 PyObject *_obj;
36ed4f51 2673
1bd55598
RD
2674 public:
2675 PyObject_ptr() :_obj(0)
2676 {
2677 }
36ed4f51 2678
1bd55598
RD
2679 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2680 {
2681 Py_XINCREF(_obj);
36ed4f51 2682 }
1bd55598
RD
2683
2684 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2685 {
2686 if (initial_ref) Py_XINCREF(_obj);
36ed4f51 2687 }
1bd55598
RD
2688
2689 PyObject_ptr & operator=(const PyObject_ptr& item)
2690 {
2691 Py_XINCREF(item._obj);
2692 Py_XDECREF(_obj);
2693 _obj = item._obj;
2694 return *this;
2695 }
2696
2697 ~PyObject_ptr()
2698 {
2699 Py_XDECREF(_obj);
2700 }
2701
2702 operator PyObject *() const
2703 {
2704 return _obj;
2705 }
2706
2707 PyObject *operator->() const
2708 {
2709 return _obj;
2710 }
2711 };
36ed4f51
RD
2712}
2713
2714
1bd55598
RD
2715namespace swig {
2716 struct PyObject_var : PyObject_ptr {
2717 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2718
2719 PyObject_var & operator = (PyObject* obj)
2720 {
2721 Py_XDECREF(_obj);
2722 _obj = obj;
2723 return *this;
36ed4f51 2724 }
1bd55598 2725 };
36ed4f51 2726}
36ed4f51
RD
2727
2728
1bd55598
RD
2729#include "wx/wxPython/wxPython.h"
2730#include "wx/wxPython/pyclasses.h"
2731
36ed4f51 2732
1bd55598
RD
2733 static const wxString wxPyEmptyString(wxEmptyString);
2734 static const wxString wxPyPanelNameStr(wxPanelNameStr);
36ed4f51 2735
36ed4f51 2736
1bd55598
RD
2737
2738#include <limits.h>
2739#ifndef LLONG_MIN
2740# define LLONG_MIN LONG_LONG_MIN
2741#endif
2742#ifndef LLONG_MAX
2743# define LLONG_MAX LONG_LONG_MAX
2744#endif
2745#ifndef ULLONG_MAX
2746# define ULLONG_MAX ULONG_LONG_MAX
2747#endif
2748
2749
2750SWIGINTERN int
2751SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51 2752{
1bd55598
RD
2753 if (PyNumber_Check(obj)) {
2754 if (val) *val = PyInt_AsLong(obj);
2755 return SWIG_OK;
2756 }
2757 return SWIG_TypeError;
36ed4f51
RD
2758}
2759
1bd55598
RD
2760
2761SWIGINTERN int
2762SWIG_AsVal_int (PyObject * obj, int *val)
36ed4f51 2763{
1bd55598
RD
2764 long v;
2765 int res = SWIG_AsVal_long (obj, &v);
2766 if (SWIG_IsOK(res)) {
2767 if ((v < INT_MIN || v > INT_MAX)) {
2768 return SWIG_OverflowError;
2769 } else {
2770 if (val) *val = static_cast< int >(v);
2771 }
2772 }
2773 return res;
36ed4f51
RD
2774}
2775
2776
2777SWIGINTERN int
1bd55598 2778SWIG_AsVal_bool (PyObject *obj, bool *val)
36ed4f51
RD
2779{
2780 if (obj == Py_True) {
2781 if (val) *val = true;
1bd55598
RD
2782 return SWIG_OK;
2783 } else if (obj == Py_False) {
36ed4f51 2784 if (val) *val = false;
1bd55598 2785 return SWIG_OK;
36ed4f51 2786 } else {
1bd55598
RD
2787 long v = 0;
2788 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2789 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2790 return res;
36ed4f51 2791 }
36ed4f51
RD
2792}
2793
2794
1bd55598 2795 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2796
2797
1bd55598
RD
2798SWIGINTERNINLINE PyObject *
2799SWIG_From_int (int value)
2800{
2801 return SWIG_From_long (value);
2802}
36ed4f51
RD
2803
2804
2805SWIGINTERN int
1bd55598 2806SWIG_AsVal_double (PyObject *obj, double* val)
36ed4f51
RD
2807{
2808 if (PyNumber_Check(obj)) {
2809 if (val) *val = PyFloat_AsDouble(obj);
1bd55598 2810 return SWIG_OK;
36ed4f51 2811 }
1bd55598 2812 return SWIG_TypeError;
36ed4f51
RD
2813}
2814
2815
1bd55598 2816 #define SWIG_From_double PyFloat_FromDouble
36ed4f51
RD
2817
2818 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2819 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2820 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2821 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1bd55598
RD
2822SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2823 int style = self->GetExtraStyle();
2824 if ( on )
2825 style |= wxFRAME_EX_METAL;
2826 else
2827 style &= ~wxFRAME_EX_METAL;
2828 self->SetExtraStyle(style);
2829 }
36ed4f51 2830
36ed4f51 2831
1bd55598 2832SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
36ed4f51
RD
2833 wxRect r;
2834 self->GetFieldRect(i, r);
2835 return r;
2836 }
2837 static const wxString wxPySplitterNameStr(wxT("splitter"));
2838 static const wxString wxPySashNameStr(wxT("sashWindow"));
2839 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2840
2841#include <wx/popupwin.h>
2842
2843
2844class wxPopupWindow : public wxWindow {
2845public:
2846 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2847 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2848};
2849
2850class wxPyPopupTransientWindow : public wxPopupWindow
2851{
2852public:
2853 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2854 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2855};
2856
2857
2858#include <wx/tipwin.h>
2859
1bd55598 2860SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
36ed4f51
RD
2861 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2862 }
2863
2864#include <wx/tipwin.h>
2865
2866
2867#include <wx/vscroll.h>
2868
2869
2870class wxPyVScrolledWindow : public wxVScrolledWindow
2871{
32fe5131 2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
2873public:
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2875
2876 wxPyVScrolledWindow(wxWindow *parent,
2877 wxWindowID id = wxID_ANY,
2878 const wxPoint& pos = wxDefaultPosition,
2879 const wxSize& size = wxDefaultSize,
2880 long style = 0,
2881 const wxString& name = wxPyPanelNameStr)
2882 : wxVScrolledWindow(parent, id, pos, size, style, name)
2883 {}
2884
2885 // Overridable virtuals
2886
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2890
2891
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2895 // once
2896 //
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2902 //
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2904 // usual
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2906
2907
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2912 // its own logic
2913 //
2914 // this function should return the best guess for the total height it may
2915 // make
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2917
2918
2919 // Also expose some other interesting protected methods
2920
2921
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2926
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2931
2131d850
RD
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2934
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
36ed4f51
RD
2937
2938 PYPRIVATE;
2939};
2940
2941IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
2942
2943IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2944IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2945IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2946
2947
36ed4f51 2948SWIGINTERN int
1bd55598 2949SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
d55e5bfc 2950{
c370783e
RD
2951 long v = 0;
2952 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1bd55598 2953 return SWIG_TypeError;
d55e5bfc 2954 }
c370783e
RD
2955 else if (val)
2956 *val = (unsigned long)v;
1bd55598 2957 return SWIG_OK;
d55e5bfc
RD
2958}
2959
2960
32fe5131 2961SWIGINTERNINLINE int
1bd55598 2962SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c370783e 2963{
1bd55598
RD
2964 unsigned long v;
2965 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2966 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2967 return res;
d55e5bfc
RD
2968}
2969
2970
32fe5131 2971SWIGINTERNINLINE PyObject*
1bd55598 2972SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2973{
2974 return (value > LONG_MAX) ?
1bd55598
RD
2975 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2976}
2977
2978
2979SWIGINTERNINLINE PyObject *
2980SWIG_From_size_t (size_t value)
2981{
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2983}
2984
2985
2986#include <wx/vlbox.h>
2987
2988 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2989
2990class wxPyVListBox : public wxVListBox
2991{
32fe5131 2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
2993public:
2994 wxPyVListBox() : wxVListBox() {}
2995
2996 wxPyVListBox(wxWindow *parent,
2997 wxWindowID id = wxID_ANY,
2998 const wxPoint& pos = wxDefaultPosition,
2999 const wxSize& size = wxDefaultSize,
3000 long style = 0,
3001 const wxString& name = wxPyVListBoxNameStr)
3002 : wxVListBox(parent, id, pos, size, style, name)
3003 {}
3004
3005 // Overridable virtuals
3006
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3011
3012
3013 // the derived class must implement this method to return the height of the
3014 // specified item
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3017
3018
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3022 //
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3026
3027
3028 // this method is used to draw the items background and, maybe, a border
3029 // around it
3030 //
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3034 // current
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3037
3038
3039 PYPRIVATE;
3040};
3041
3042IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3043
3044IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3045IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3046IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3047IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3048
3049
1bd55598 3050SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3051 unsigned long cookie = 0;
3052 int selected = self->GetFirstSelected(cookie);
5a446332 3053 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3054 PyObject* tup = PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3056 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3057 wxPyEndBlockThreads(blocked);
3058 return tup;
3059 }
1bd55598 3060SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3061 int selected = self->GetNextSelected(cookie);
5a446332 3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3063 PyObject* tup = PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3065 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3066 wxPyEndBlockThreads(blocked);
3067 return tup;
3068 }
d55e5bfc
RD
3069
3070#include <wx/htmllbox.h>
3071
3072
3073class wxPyHtmlListBox : public wxHtmlListBox
3074{
32fe5131 3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3076public:
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3078
3079 wxPyHtmlListBox(wxWindow *parent,
3080 wxWindowID id = wxID_ANY,
3081 const wxPoint& pos = wxDefaultPosition,
3082 const wxSize& size = wxDefaultSize,
3083 long style = 0,
3084 const wxString& name = wxPyVListBoxNameStr)
3085 : wxHtmlListBox(parent, id, pos, size, style, name)
3086 {}
3087
3088 // Overridable virtuals
3089
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3093
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3096
1c71765a
RD
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3100
d55e5bfc
RD
3101// TODO:
3102// // this method allows to customize the selection appearance: it may be used
3103// // to specify the colour of the text which normally has the given colour
3104// // colFg when it is inside the selection
3105// //
3106// // by default, the original colour is not used at all and all text has the
3107// // same (default for this system) colour inside selection
3108// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3109
3110// // this is the same as GetSelectedTextColour() but allows to customize the
3111// // background colour -- this is even more rarely used as you can change it
3112// // globally using SetSelectionBackground()
3113// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3114
e9d6f3a4
RD
3115
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n,
3119 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3120
3121 PYPRIVATE;
3122};
3123
3124
3125IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3126
3127IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3128IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3129IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3130IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3131
3132
e9d6f3a4
RD
3133void wxPyHtmlListBox::OnLinkClicked(size_t n,
3134 const wxHtmlLinkInfo& link) {
3135 bool found;
3136 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3137 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3138 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3140 Py_DECREF(obj);
3141 }
3142 wxPyEndBlockThreads(blocked);
3143 if (! found)
3144 wxPyHtmlListBox::OnLinkClicked(n, link);
3145}
3146
3147
d55e5bfc
RD
3148
3149
3150
b411df4a
RD
3151#ifndef wxHAS_TASK_BAR_ICON
3152// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3153
3154class wxTaskBarIcon : public wxEvtHandler
3155{
3156public:
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3158};
09c21d3b 3159
d55e5bfc
RD
3160
3161class wxTaskBarIconEvent : public wxEvent
3162{
3163public:
3164 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3172};
3173
3174enum {
3175 wxEVT_TASKBAR_MOVE = 0,
3176 wxEVT_TASKBAR_LEFT_DOWN = 0,
3177 wxEVT_TASKBAR_LEFT_UP = 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3179 wxEVT_TASKBAR_RIGHT_UP = 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3182};
09c21d3b
RD
3183
3184
3185#else
5e483524
RD
3186// Otherwise make a class that can virtualize CreatePopupMenu
3187class wxPyTaskBarIcon : public wxTaskBarIcon
3188{
32fe5131 3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3190public:
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3192 {}
09c21d3b 3193
5e483524
RD
3194 wxMenu* CreatePopupMenu() {
3195 wxMenu *rval = NULL;
3196 bool found;
5a446332 3197 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3198 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3199 PyObject* ro;
3200 wxMenu* ptr;
3201 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3202 if (ro) {
3203 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3204 rval = ptr;
3205 Py_DECREF(ro);
3206 }
3207 }
3208 wxPyEndBlockThreads(blocked);
3209 if (! found)
3210 rval = wxTaskBarIcon::CreatePopupMenu();
3211 return rval;
3212 }
d55e5bfc 3213
5e483524
RD
3214 PYPRIVATE;
3215};
d55e5bfc 3216
5e483524 3217IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 3218
5e483524
RD
3219#endif
3220
1bd55598 3221SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
3222 self->RemoveIcon();
3223 delete self;
d55e5bfc
RD
3224 }
3225 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3226 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3227 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3228 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3229 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3230 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3231
3232// for compatibility only
3233#define wxHIDE_READONLY 0
3234
1bd55598 3235SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3236 wxArrayString arr;
3237 self->GetFilenames(arr);
3238 return wxArrayString2PyList_helper(arr);
3239 }
1bd55598 3240SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3241 wxArrayString arr;
3242 self->GetPaths(arr);
3243 return wxArrayString2PyList_helper(arr);
3244 }
1bd55598 3245SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3246 return wxArrayInt2PyList_helper(self->GetSelections());
3247 }
1bd55598 3248SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
d55e5bfc
RD
3249 return new wxSingleChoiceDialog(parent, message, caption,
3250 choices, choices_array, NULL, style, pos);
3251 }
070c48b4 3252 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3253
2131d850
RD
3254SWIGINTERNINLINE PyObject*
3255 SWIG_From_bool (bool value)
3256{
3257 return PyBool_FromLong(value ? 1 : 0);
3258}
3259
3260
d55e5bfc
RD
3261#include <wx/mdi.h>
3262
3263 // C++ version of Python aware wxWindow
3264class wxPyWindow : public wxWindow
3265{
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3267public:
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow* parent, const wxWindowID id,
3270 const wxPoint& pos = wxDefaultPosition,
3271 const wxSize& size = wxDefaultSize,
3272 long style = 0,
3273 const wxString& name = wxPyPanelNameStr)
3274 : wxWindow(parent, id, pos, size, style, name) {}
3275
a5ee0656 3276 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 3277
976dbff5
RD
3278 bool DoEraseBackground(wxDC* dc) {
3279#ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281#else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285#endif
3286 }
3287
d55e5bfc
RD
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
a5ee0656 3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3314
51b83b37
RD
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
8d38bd1d
RD
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
d55e5bfc
RD
3319 PYPRIVATE;
3320};
3321
3322IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3323
3324IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3325IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3326IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3327IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3328
3329IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3330IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3331IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3332
3333IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3334IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3335
3336IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3337IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3338IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3339IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3340
3341IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3342IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3343IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3344
3345IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3346IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3347
a5ee0656 3348IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 3349IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3350
3351IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3352
8d38bd1d
RD
3353IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3354
d55e5bfc
RD
3355 // C++ version of Python aware wxPanel
3356class wxPyPanel : public wxPanel
3357{
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3359public:
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow* parent, const wxWindowID id,
3362 const wxPoint& pos = wxDefaultPosition,
3363 const wxSize& size = wxDefaultSize,
3364 long style = 0,
3365 const wxString& name = wxPyPanelNameStr)
3366 : wxPanel(parent, id, pos, size, style, name) {}
3367
a5ee0656 3368 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
3369 bool DoEraseBackground(wxDC* dc) {
3370#ifdef __WXMSW__
3371 return wxWindow::DoEraseBackground(dc->GetHDC());
3372#else
3373 dc->SetBackground(wxBrush(GetBackgroundColour()));
3374 dc->Clear();
3375 return true;
3376#endif
3377 }
a5ee0656 3378
d55e5bfc
RD
3379
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3384
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3388
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3391
3392 DEC_PYCALLBACK__(InitDialog);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3395 DEC_PYCALLBACK_BOOL_(Validate);
3396
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3400
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3403
a5ee0656 3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3406
51b83b37
RD
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3408
8d38bd1d
RD
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3410
d55e5bfc
RD
3411 PYPRIVATE;
3412};
3413
3414IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3415
3416IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3417IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3418IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3419IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3420
3421IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3422IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3423IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3424
3425IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3426IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3427
3428IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3429IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3430IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3431IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3432
3433IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3434IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3435IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3436
3437IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3438IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3439
a5ee0656 3440IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 3441IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3442
51b83b37
RD
3443IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3444
8d38bd1d
RD
3445IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3446
d55e5bfc
RD
3447 // C++ version of Python aware wxScrolledWindow
3448class wxPyScrolledWindow : public wxScrolledWindow
3449{
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3451public:
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3454 const wxPoint& pos = wxDefaultPosition,
3455 const wxSize& size = wxDefaultSize,
3456 long style = 0,
3457 const wxString& name = wxPyPanelNameStr)
3458 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3459
a5ee0656 3460 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
3461 bool DoEraseBackground(wxDC* dc) {
3462#ifdef __WXMSW__
3463 return wxWindow::DoEraseBackground(dc->GetHDC());
3464#else
3465 dc->SetBackground(wxBrush(GetBackgroundColour()));
3466 dc->Clear();
3467 return true;
3468#endif
3469 }
d55e5bfc
RD
3470
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3475
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3479
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3482
3483 DEC_PYCALLBACK__(InitDialog);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3486 DEC_PYCALLBACK_BOOL_(Validate);
3487
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3491
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3494
a5ee0656 3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3497
51b83b37
RD
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3499
8d38bd1d
RD
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3501
d55e5bfc
RD
3502 PYPRIVATE;
3503};
3504
3505IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3506
3507IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3508IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3509IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3510IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3511
3512IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3513IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3514IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3515
3516IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3517IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3518
3519IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3520IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3521IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3522IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3523
3524IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3525IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3526IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3527
3528IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3529IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3530
a5ee0656 3531IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
3532IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3533
51b83b37 3534IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3535
8d38bd1d
RD
3536IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3537
d55e5bfc
RD
3538
3539#include "wx/wxPython/printfw.h"
3540
3541
3542 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1bd55598 3544SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
7fbf8399 3545 PyObject* data;
5a446332 3546 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3547 data = PyString_FromStringAndSize(self->GetPrivData(),
3548 self->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked);
3550 return data;
3551 }
1bd55598 3552SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
7fbf8399
RD
3553 if (! PyString_Check(data)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3555 "Expected string object"));
3556 return /* NULL */ ;
3557 }
3558
5a446332 3559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3560 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3561 wxPyEndBlockThreads(blocked);
3562 }
d55e5bfc
RD
3563
3564
070c48b4 3565IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3566
3567// Since this one would be tough and ugly to do with the Macros...
3568void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 3569 bool hadErr = false;
d55e5bfc
RD
3570 bool found;
3571
5a446332 3572 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3573 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3574 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3575 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3576 PyObject* val;
3577
3578 val = PyTuple_GetItem(result, 0);
3579 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 3580 else hadErr = true;
d55e5bfc
RD
3581
3582 val = PyTuple_GetItem(result, 1);
3583 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 3584 else hadErr = true;
d55e5bfc
RD
3585
3586 val = PyTuple_GetItem(result, 2);
3587 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 3588 else hadErr = true;
d55e5bfc
RD
3589
3590 val = PyTuple_GetItem(result, 3);
3591 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 3592 else hadErr = true;
d55e5bfc
RD
3593 }
3594 else
b411df4a 3595 hadErr = true;
d55e5bfc
RD
3596
3597 if (hadErr) {
3598 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3599 PyErr_Print();
3600 }
3601 Py_DECREF(result);
3602 }
3603 wxPyEndBlockThreads(blocked);
3604 if (! found)
3605 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3606}
3607
d55e5bfc
RD
3608
3609
3610IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3611IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3612IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3613IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3614IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3615IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3616IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3617
3618
3619
3620
3621
b411df4a 3622#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
7f7aa166 3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3624
3625
b411df4a
RD
3626#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3628 bool rval=false; \
3629 bool found; \
32fe5131 3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3635 Py_DECREF(win); \
3636 Py_DECREF(dc); \
3637 } \
3638 wxPyEndBlockThreads(blocked); \
3639 if (! found) \
3640 rval = PCLASS::CBNAME(a, b); \
3641 return rval; \
7f7aa166 3642 }
d55e5bfc
RD
3643
3644
3645
3646
3647class wxPyPrintPreview : public wxPrintPreview
3648{
3649 DECLARE_CLASS(wxPyPrintPreview)
3650public:
3651 wxPyPrintPreview(wxPyPrintout* printout,
3652 wxPyPrintout* printoutForPrinting,
3653 wxPrintDialogData* data=NULL)
3654 : wxPrintPreview(printout, printoutForPrinting, data)
3655 {}
3656 wxPyPrintPreview(wxPyPrintout* printout,
3657 wxPyPrintout* printoutForPrinting,
32fe5131 3658 wxPrintData* data)
d55e5bfc
RD
3659 : wxPrintPreview(printout, printoutForPrinting, data)
3660 {}
3661
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling);
3669
3670 PYPRIVATE;
3671};
3672
3673// Stupid renamed classes... Fix this in 2.5...
3674#if defined(__WXMSW__)
3675IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3676#elif defined(__WXMAC__)
3677IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3678#else
3679IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3680#endif
3681
3682IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3683IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3684IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3685IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3686IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3687IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3688IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3689
3690
3691class wxPyPreviewFrame : public wxPreviewFrame
3692{
32fe5131 3693 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3694public:
3695 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3696 const wxString& title,
3697 const wxPoint& pos = wxDefaultPosition,
3698 const wxSize& size = wxDefaultSize,
3699 long style = wxDEFAULT_FRAME_STYLE,
3700 const wxString& name = wxPyFrameNameStr)
3701 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3702 {}
3703
3704 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3705 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3706
3707 DEC_PYCALLBACK_VOID_(Initialize);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar);
3710
3711 PYPRIVATE;
3712};
3713
3714IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3715
3716IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3717IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3718IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3719
3720
3721class wxPyPreviewControlBar : public wxPreviewControlBar
3722{
32fe5131 3723 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3724public:
3725 wxPyPreviewControlBar(wxPrintPreview *preview,
3726 long buttons,
3727 wxWindow *parent,
3728 const wxPoint& pos = wxDefaultPosition,
3729 const wxSize& size = wxDefaultSize,
3730 long style = 0,
3731 const wxString& name = wxPyPanelNameStr)
3732 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3733 {}
3734
3735 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3736
3737 DEC_PYCALLBACK_VOID_(CreateButtons);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3739
3740 PYPRIVATE;
3741};
3742
3743IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3744IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3745IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3746
3747#ifdef __cplusplus
3748extern "C" {
3749#endif
1bd55598
RD
3750SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj = 0;
3752 wxWindow *arg1 = (wxWindow *) 0 ;
3753 int arg2 = (int) (int)-1 ;
3754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3756 wxSize const &arg4_defvalue = wxDefaultSize ;
3757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3758 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3759 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3760 wxString *arg6 = (wxString *) &arg6_defvalue ;
3761 wxPanel *result = 0 ;
3762 void *argp1 = 0 ;
3763 int res1 = 0 ;
3764 int val2 ;
3765 int ecode2 = 0 ;
3766 wxPoint temp3 ;
3767 wxSize temp4 ;
3768 long val5 ;
3769 int ecode5 = 0 ;
3770 bool temp6 = false ;
3771 PyObject * obj0 = 0 ;
3772 PyObject * obj1 = 0 ;
3773 PyObject * obj2 = 0 ;
3774 PyObject * obj3 = 0 ;
3775 PyObject * obj4 = 0 ;
3776 PyObject * obj5 = 0 ;
3777 char * kwnames[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3779 };
3780
3781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3783 if (!SWIG_IsOK(res1)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3785 }
3786 arg1 = reinterpret_cast< wxWindow * >(argp1);
3787 if (obj1) {
3788 ecode2 = SWIG_AsVal_int(obj1, &val2);
3789 if (!SWIG_IsOK(ecode2)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3791 }
3792 arg2 = static_cast< int >(val2);
3793 }
3794 if (obj2) {
d55e5bfc 3795 {
1bd55598
RD
3796 arg3 = &temp3;
3797 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3798 }
1bd55598
RD
3799 }
3800 if (obj3) {
d55e5bfc 3801 {
1bd55598
RD
3802 arg4 = &temp4;
3803 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3804 }
1bd55598
RD
3805 }
3806 if (obj4) {
3807 ecode5 = SWIG_AsVal_long(obj4, &val5);
3808 if (!SWIG_IsOK(ecode5)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3810 }
3811 arg5 = static_cast< long >(val5);
3812 }
3813 if (obj5) {
d55e5bfc 3814 {
1bd55598
RD
3815 arg6 = wxString_in_helper(obj5);
3816 if (arg6 == NULL) SWIG_fail;
3817 temp6 = true;
3818 }
3819 }
3820 {
3821 if (!wxPyCheckForApp()) SWIG_fail;
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3828 {
3829 if (temp6)
3830 delete arg6;
3831 }
3832 return resultobj;
3833fail:
3834 {
3835 if (temp6)
3836 delete arg6;
3837 }
3838 return NULL;
d55e5bfc
RD
3839}
3840
3841
1bd55598
RD
3842SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3843 PyObject *resultobj = 0;
3844 wxPanel *result = 0 ;
3845
3846 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3847 {
3848 if (!wxPyCheckForApp()) SWIG_fail;
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (wxPanel *)new wxPanel();
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3855 return resultobj;
3856fail:
3857 return NULL;
3858}
3859
3860
3861SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj = 0;
3863 wxPanel *arg1 = (wxPanel *) 0 ;
3864 wxWindow *arg2 = (wxWindow *) 0 ;
3865 int arg3 = (int) (int)-1 ;
3866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3868 wxSize const &arg5_defvalue = wxDefaultSize ;
3869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3870 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3871 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3872 wxString *arg7 = (wxString *) &arg7_defvalue ;
3873 bool result;
3874 void *argp1 = 0 ;
3875 int res1 = 0 ;
3876 void *argp2 = 0 ;
3877 int res2 = 0 ;
3878 int val3 ;
3879 int ecode3 = 0 ;
3880 wxPoint temp4 ;
3881 wxSize temp5 ;
3882 long val6 ;
3883 int ecode6 = 0 ;
3884 bool temp7 = false ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 PyObject * obj2 = 0 ;
3888 PyObject * obj3 = 0 ;
3889 PyObject * obj4 = 0 ;
3890 PyObject * obj5 = 0 ;
3891 PyObject * obj6 = 0 ;
3892 char * kwnames[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3894 };
3895
3896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3898 if (!SWIG_IsOK(res1)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3900 }
3901 arg1 = reinterpret_cast< wxPanel * >(argp1);
3902 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3903 if (!SWIG_IsOK(res2)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3905 }
3906 arg2 = reinterpret_cast< wxWindow * >(argp2);
3907 if (obj2) {
3908 ecode3 = SWIG_AsVal_int(obj2, &val3);
3909 if (!SWIG_IsOK(ecode3)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3911 }
3912 arg3 = static_cast< int >(val3);
3913 }
3914 if (obj3) {
d55e5bfc 3915 {
1bd55598
RD
3916 arg4 = &temp4;
3917 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3918 }
1bd55598
RD
3919 }
3920 if (obj4) {
d55e5bfc 3921 {
1bd55598
RD
3922 arg5 = &temp5;
3923 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3924 }
1bd55598
RD
3925 }
3926 if (obj5) {
3927 ecode6 = SWIG_AsVal_long(obj5, &val6);
3928 if (!SWIG_IsOK(ecode6)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3930 }
3931 arg6 = static_cast< long >(val6);
3932 }
3933 if (obj6) {
d55e5bfc 3934 {
1bd55598
RD
3935 arg7 = wxString_in_helper(obj6);
3936 if (arg7 == NULL) SWIG_fail;
3937 temp7 = true;
d55e5bfc 3938 }
1bd55598
RD
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 {
3947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3948 }
3949 {
3950 if (temp7)
3951 delete arg7;
3952 }
3953 return resultobj;
3954fail:
3955 {
3956 if (temp7)
3957 delete arg7;
3958 }
3959 return NULL;
5cbf236d
RD
3960}
3961
3962
1bd55598
RD
3963SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3964 PyObject *resultobj = 0;
3965 wxPanel *arg1 = (wxPanel *) 0 ;
3966 void *argp1 = 0 ;
3967 int res1 = 0 ;
3968 PyObject *swig_obj[1] ;
3969
3970 if (!args) SWIG_fail;
3971 swig_obj[0] = args;
3972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3973 if (!SWIG_IsOK(res1)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3975 }
3976 arg1 = reinterpret_cast< wxPanel * >(argp1);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 (arg1)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 resultobj = SWIG_Py_Void();
3984 return resultobj;
3985fail:
3986 return NULL;
3987}
3988
3989
3990SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj = 0;
3992 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3993 SwigValueWrapper<wxVisualAttributes > result;
3994 int val1 ;
3995 int ecode1 = 0 ;
3996 PyObject * obj0 = 0 ;
3997 char * kwnames[] = {
3998 (char *) "variant", NULL
3999 };
4000
4001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4002 if (obj0) {
4003 ecode1 = SWIG_AsVal_int(obj0, &val1);
4004 if (!SWIG_IsOK(ecode1)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4006 }
4007 arg1 = static_cast< wxWindowVariant >(val1);
4008 }
4009 {
4010 if (!wxPyCheckForApp()) SWIG_fail;
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = wxPanel::GetClassDefaultAttributes(arg1);
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4017 return resultobj;
4018fail:
4019 return NULL;
4020}
4021
4022
4023SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4024 PyObject *obj;
4025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4027 return SWIG_Py_Void();
4028}
4029
4030SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4031 return SWIG_Python_InitShadowInstance(args);
4032}
4033
4034SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj = 0;
4036 wxWindow *arg1 = (wxWindow *) 0 ;
4037 int arg2 = (int) (int)-1 ;
4038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4040 wxSize const &arg4_defvalue = wxDefaultSize ;
4041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4042 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4043 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4044 wxString *arg6 = (wxString *) &arg6_defvalue ;
4045 wxScrolledWindow *result = 0 ;
4046 void *argp1 = 0 ;
4047 int res1 = 0 ;
4048 int val2 ;
4049 int ecode2 = 0 ;
4050 wxPoint temp3 ;
4051 wxSize temp4 ;
4052 long val5 ;
4053 int ecode5 = 0 ;
4054 bool temp6 = false ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057 PyObject * obj2 = 0 ;
4058 PyObject * obj3 = 0 ;
4059 PyObject * obj4 = 0 ;
4060 PyObject * obj5 = 0 ;
4061 char * kwnames[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
4065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4067 if (!SWIG_IsOK(res1)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4069 }
4070 arg1 = reinterpret_cast< wxWindow * >(argp1);
4071 if (obj1) {
4072 ecode2 = SWIG_AsVal_int(obj1, &val2);
4073 if (!SWIG_IsOK(ecode2)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4075 }
4076 arg2 = static_cast< int >(val2);
4077 }
4078 if (obj2) {
5cbf236d 4079 {
1bd55598
RD
4080 arg3 = &temp3;
4081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4082 }
1bd55598
RD
4083 }
4084 if (obj3) {
f20a2e1f 4085 {
1bd55598
RD
4086 arg4 = &temp4;
4087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4088 }
1bd55598
RD
4089 }
4090 if (obj4) {
4091 ecode5 = SWIG_AsVal_long(obj4, &val5);
4092 if (!SWIG_IsOK(ecode5)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4094 }
4095 arg5 = static_cast< long >(val5);
4096 }
4097 if (obj5) {
f20a2e1f 4098 {
1bd55598
RD
4099 arg6 = wxString_in_helper(obj5);
4100 if (arg6 == NULL) SWIG_fail;
4101 temp6 = true;
f20a2e1f 4102 }
1bd55598
RD
4103 }
4104 {
4105 if (!wxPyCheckForApp()) SWIG_fail;
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4112 {
4113 if (temp6)
4114 delete arg6;
4115 }
4116 return resultobj;
4117fail:
4118 {
4119 if (temp6)
4120 delete arg6;
4121 }
4122 return NULL;
f20a2e1f
RD
4123}
4124
4125
1bd55598
RD
4126SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4127 PyObject *resultobj = 0;
4128 wxScrolledWindow *result = 0 ;
4129
4130 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4131 {
4132 if (!wxPyCheckForApp()) SWIG_fail;
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 result = (wxScrolledWindow *)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4139 return resultobj;
4140fail:
4141 return NULL;
4142}
4143
4144
4145SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj = 0;
4147 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4148 wxWindow *arg2 = (wxWindow *) 0 ;
4149 int arg3 = (int) (int)-1 ;
4150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4152 wxSize const &arg5_defvalue = wxDefaultSize ;
4153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4154 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4155 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4156 wxString *arg7 = (wxString *) &arg7_defvalue ;
4157 bool result;
4158 void *argp1 = 0 ;
4159 int res1 = 0 ;
4160 void *argp2 = 0 ;
4161 int res2 = 0 ;
4162 int val3 ;
4163 int ecode3 = 0 ;
4164 wxPoint temp4 ;
4165 wxSize temp5 ;
4166 long val6 ;
4167 int ecode6 = 0 ;
4168 bool temp7 = false ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 PyObject * obj2 = 0 ;
4172 PyObject * obj3 = 0 ;
4173 PyObject * obj4 = 0 ;
4174 PyObject * obj5 = 0 ;
4175 PyObject * obj6 = 0 ;
4176 char * kwnames[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 };
4179
4180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4182 if (!SWIG_IsOK(res1)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4184 }
4185 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4186 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4187 if (!SWIG_IsOK(res2)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4189 }
4190 arg2 = reinterpret_cast< wxWindow * >(argp2);
4191 if (obj2) {
4192 ecode3 = SWIG_AsVal_int(obj2, &val3);
4193 if (!SWIG_IsOK(ecode3)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4195 }
4196 arg3 = static_cast< int >(val3);
4197 }
4198 if (obj3) {
d55e5bfc 4199 {
1bd55598
RD
4200 arg4 = &temp4;
4201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4202 }
1bd55598
RD
4203 }
4204 if (obj4) {
d55e5bfc 4205 {
1bd55598
RD
4206 arg5 = &temp5;
4207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4208 }
1bd55598
RD
4209 }
4210 if (obj5) {
4211 ecode6 = SWIG_AsVal_long(obj5, &val6);
4212 if (!SWIG_IsOK(ecode6)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4214 }
4215 arg6 = static_cast< long >(val6);
4216 }
4217 if (obj6) {
d55e5bfc 4218 {
1bd55598
RD
4219 arg7 = wxString_in_helper(obj6);
4220 if (arg7 == NULL) SWIG_fail;
4221 temp7 = true;
4222 }
4223 }
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 {
4231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4232 }
4233 {
4234 if (temp7)
4235 delete arg7;
4236 }
4237 return resultobj;
4238fail:
4239 {
4240 if (temp7)
4241 delete arg7;
4242 }
4243 return NULL;
4244}
4245
4246
4247SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj = 0;
4249 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4250 int arg2 ;
4251 int arg3 ;
4252 int arg4 ;
4253 int arg5 ;
4254 int arg6 = (int) 0 ;
4255 int arg7 = (int) 0 ;
4256 bool arg8 = (bool) false ;
4257 void *argp1 = 0 ;
4258 int res1 = 0 ;
4259 int val2 ;
4260 int ecode2 = 0 ;
4261 int val3 ;
4262 int ecode3 = 0 ;
4263 int val4 ;
4264 int ecode4 = 0 ;
4265 int val5 ;
4266 int ecode5 = 0 ;
4267 int val6 ;
4268 int ecode6 = 0 ;
4269 int val7 ;
4270 int ecode7 = 0 ;
4271 bool val8 ;
4272 int ecode8 = 0 ;
4273 PyObject * obj0 = 0 ;
4274 PyObject * obj1 = 0 ;
4275 PyObject * obj2 = 0 ;
4276 PyObject * obj3 = 0 ;
4277 PyObject * obj4 = 0 ;
4278 PyObject * obj5 = 0 ;
4279 PyObject * obj6 = 0 ;
4280 PyObject * obj7 = 0 ;
4281 char * kwnames[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4283 };
4284
4285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4287 if (!SWIG_IsOK(res1)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4289 }
4290 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4291 ecode2 = SWIG_AsVal_int(obj1, &val2);
4292 if (!SWIG_IsOK(ecode2)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4294 }
4295 arg2 = static_cast< int >(val2);
4296 ecode3 = SWIG_AsVal_int(obj2, &val3);
4297 if (!SWIG_IsOK(ecode3)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4299 }
4300 arg3 = static_cast< int >(val3);
4301 ecode4 = SWIG_AsVal_int(obj3, &val4);
4302 if (!SWIG_IsOK(ecode4)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4304 }
4305 arg4 = static_cast< int >(val4);
4306 ecode5 = SWIG_AsVal_int(obj4, &val5);
4307 if (!SWIG_IsOK(ecode5)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4309 }
4310 arg5 = static_cast< int >(val5);
4311 if (obj5) {
4312 ecode6 = SWIG_AsVal_int(obj5, &val6);
4313 if (!SWIG_IsOK(ecode6)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4315 }
4316 arg6 = static_cast< int >(val6);
4317 }
4318 if (obj6) {
4319 ecode7 = SWIG_AsVal_int(obj6, &val7);
4320 if (!SWIG_IsOK(ecode7)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4322 }
4323 arg7 = static_cast< int >(val7);
4324 }
4325 if (obj7) {
4326 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4327 if (!SWIG_IsOK(ecode8)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4329 }
4330 arg8 = static_cast< bool >(val8);
4331 }
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_Py_Void();
4339 return resultobj;
4340fail:
4341 return NULL;
4342}
4343
4344
4345SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = 0;
4347 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4348 int arg2 ;
4349 int arg3 ;
4350 void *argp1 = 0 ;
4351 int res1 = 0 ;
4352 int val2 ;
4353 int ecode2 = 0 ;
4354 int val3 ;
4355 int ecode3 = 0 ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 PyObject * obj2 = 0 ;
4359 char * kwnames[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4361 };
4362
4363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4365 if (!SWIG_IsOK(res1)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4367 }
4368 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4369 ecode2 = SWIG_AsVal_int(obj1, &val2);
4370 if (!SWIG_IsOK(ecode2)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4372 }
4373 arg2 = static_cast< int >(val2);
4374 ecode3 = SWIG_AsVal_int(obj2, &val3);
4375 if (!SWIG_IsOK(ecode3)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4377 }
4378 arg3 = static_cast< int >(val3);
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->Scroll(arg2,arg3);
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = SWIG_Py_Void();
4386 return resultobj;
4387fail:
4388 return NULL;
4389}
4390
4391
4392SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj = 0;
4394 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4395 int arg2 ;
4396 int result;
4397 void *argp1 = 0 ;
4398 int res1 = 0 ;
4399 int val2 ;
4400 int ecode2 = 0 ;
4401 PyObject * obj0 = 0 ;
4402 PyObject * obj1 = 0 ;
4403 char * kwnames[] = {
4404 (char *) "self",(char *) "orient", NULL
4405 };
4406
4407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4409 if (!SWIG_IsOK(res1)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4411 }
4412 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4413 ecode2 = SWIG_AsVal_int(obj1, &val2);
4414 if (!SWIG_IsOK(ecode2)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4416 }
4417 arg2 = static_cast< int >(val2);
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_From_int(static_cast< int >(result));
4425 return resultobj;
4426fail:
4427 return NULL;
4428}
4429
4430
4431SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj = 0;
4433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4434 int arg2 ;
4435 int arg3 ;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 int val2 ;
4439 int ecode2 = 0 ;
4440 int val3 ;
4441 int ecode3 = 0 ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 char * kwnames[] = {
4446 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4447 };
4448
4449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 }
4454 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4455 ecode2 = SWIG_AsVal_int(obj1, &val2);
4456 if (!SWIG_IsOK(ecode2)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4458 }
4459 arg2 = static_cast< int >(val2);
4460 ecode3 = SWIG_AsVal_int(obj2, &val3);
4461 if (!SWIG_IsOK(ecode3)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4463 }
4464 arg3 = static_cast< int >(val3);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->SetScrollPageSize(arg2,arg3);
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 resultobj = SWIG_Py_Void();
4472 return resultobj;
4473fail:
4474 return NULL;
4475}
4476
4477
4478SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj = 0;
4480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4481 int arg2 ;
4482 int arg3 ;
4483 void *argp1 = 0 ;
4484 int res1 = 0 ;
4485 int val2 ;
4486 int ecode2 = 0 ;
4487 int val3 ;
4488 int ecode3 = 0 ;
4489 PyObject * obj0 = 0 ;
4490 PyObject * obj1 = 0 ;
4491 PyObject * obj2 = 0 ;
4492 char * kwnames[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4494 };
4495
4496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4498 if (!SWIG_IsOK(res1)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4500 }
4501 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4502 ecode2 = SWIG_AsVal_int(obj1, &val2);
4503 if (!SWIG_IsOK(ecode2)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4505 }
4506 arg2 = static_cast< int >(val2);
4507 ecode3 = SWIG_AsVal_int(obj2, &val3);
4508 if (!SWIG_IsOK(ecode3)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4510 }
4511 arg3 = static_cast< int >(val3);
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->SetScrollRate(arg2,arg3);
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4518 resultobj = SWIG_Py_Void();
4519 return resultobj;
4520fail:
4521 return NULL;
4522}
4523
4524
4525SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4526 PyObject *resultobj = 0;
4527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4528 int *arg2 = (int *) 0 ;
4529 int *arg3 = (int *) 0 ;
4530 void *argp1 = 0 ;
4531 int res1 = 0 ;
4532 int temp2 ;
4533 int res2 = SWIG_TMPOBJ ;
4534 int temp3 ;
4535 int res3 = SWIG_TMPOBJ ;
4536 PyObject *swig_obj[1] ;
4537
4538 arg2 = &temp2;
4539 arg3 = &temp3;
4540 if (!args) SWIG_fail;
4541 swig_obj[0] = args;
4542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4543 if (!SWIG_IsOK(res1)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4545 }
4546 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4553 resultobj = SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2)) {
4555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4556 } else {
4557 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4559 }
4560 if (SWIG_IsTmpObj(res3)) {
4561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4562 } else {
4563 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4565 }
4566 return resultobj;
4567fail:
4568 return NULL;
4569}
4570
4571
4572SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj = 0;
4574 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4575 bool arg2 ;
4576 bool arg3 ;
4577 void *argp1 = 0 ;
4578 int res1 = 0 ;
4579 bool val2 ;
4580 int ecode2 = 0 ;
4581 bool val3 ;
4582 int ecode3 = 0 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 PyObject * obj2 = 0 ;
4586 char * kwnames[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4588 };
4589
4590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4592 if (!SWIG_IsOK(res1)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4594 }
4595 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4596 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4597 if (!SWIG_IsOK(ecode2)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4599 }
4600 arg2 = static_cast< bool >(val2);
4601 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4602 if (!SWIG_IsOK(ecode3)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4604 }
4605 arg3 = static_cast< bool >(val3);
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 (arg1)->EnableScrolling(arg2,arg3);
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 resultobj = SWIG_Py_Void();
4613 return resultobj;
4614fail:
4615 return NULL;
4616}
4617
4618
4619SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4620 PyObject *resultobj = 0;
4621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4622 int *arg2 = (int *) 0 ;
4623 int *arg3 = (int *) 0 ;
4624 void *argp1 = 0 ;
4625 int res1 = 0 ;
4626 int temp2 ;
4627 int res2 = SWIG_TMPOBJ ;
4628 int temp3 ;
4629 int res3 = SWIG_TMPOBJ ;
4630 PyObject *swig_obj[1] ;
4631
4632 arg2 = &temp2;
4633 arg3 = &temp3;
4634 if (!args) SWIG_fail;
4635 swig_obj[0] = args;
4636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4637 if (!SWIG_IsOK(res1)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4639 }
4640 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2)) {
4649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4650 } else {
4651 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4652 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4653 }
4654 if (SWIG_IsTmpObj(res3)) {
4655 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4656 } else {
4657 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4659 }
4660 return resultobj;
4661fail:
4662 return NULL;
4663}
4664
4665
4666SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj = 0;
4668 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4669 double arg2 ;
4670 double arg3 ;
4671 void *argp1 = 0 ;
4672 int res1 = 0 ;
4673 double val2 ;
4674 int ecode2 = 0 ;
4675 double val3 ;
4676 int ecode3 = 0 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
4679 PyObject * obj2 = 0 ;
4680 char * kwnames[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4682 };
4683
4684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4686 if (!SWIG_IsOK(res1)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4688 }
4689 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4690 ecode2 = SWIG_AsVal_double(obj1, &val2);
4691 if (!SWIG_IsOK(ecode2)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4693 }
4694 arg2 = static_cast< double >(val2);
4695 ecode3 = SWIG_AsVal_double(obj2, &val3);
4696 if (!SWIG_IsOK(ecode3)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4698 }
4699 arg3 = static_cast< double >(val3);
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->SetScale(arg2,arg3);
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = SWIG_Py_Void();
4707 return resultobj;
4708fail:
4709 return NULL;
d55e5bfc
RD
4710}
4711
4712
1bd55598
RD
4713SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4714 PyObject *resultobj = 0;
4715 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4716 double result;
4717 void *argp1 = 0 ;
4718 int res1 = 0 ;
4719 PyObject *swig_obj[1] ;
4720
4721 if (!args) SWIG_fail;
4722 swig_obj[0] = args;
4723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4724 if (!SWIG_IsOK(res1)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 }
4727 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_From_double(static_cast< double >(result));
4735 return resultobj;
4736fail:
4737 return NULL;
d55e5bfc
RD
4738}
4739
4740
1bd55598
RD
4741SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4742 PyObject *resultobj = 0;
4743 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4744 double result;
4745 void *argp1 = 0 ;
4746 int res1 = 0 ;
4747 PyObject *swig_obj[1] ;
4748
4749 if (!args) SWIG_fail;
4750 swig_obj[0] = args;
4751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4752 if (!SWIG_IsOK(res1)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4754 }
4755 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 resultobj = SWIG_From_double(static_cast< double >(result));
4763 return resultobj;
4764fail:
4765 return NULL;
d55e5bfc
RD
4766}
4767
4768
1bd55598
RD
4769SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4770 PyObject *resultobj = 0;
4771 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4772 wxPoint *arg2 = 0 ;
4773 wxPoint result;
4774 void *argp1 = 0 ;
4775 int res1 = 0 ;
4776 wxPoint temp2 ;
4777
4778 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4780 if (!SWIG_IsOK(res1)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4782 }
4783 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4784 {
4785 arg2 = &temp2;
4786 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4787 }
4788 {
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4791 wxPyEndAllowThreads(__tstate);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4795 return resultobj;
4796fail:
4797 return NULL;
4798}
4799
4800
4801SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4802 PyObject *resultobj = 0;
4803 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4804 int arg2 ;
4805 int arg3 ;
4806 int *arg4 = (int *) 0 ;
4807 int *arg5 = (int *) 0 ;
4808 void *argp1 = 0 ;
4809 int res1 = 0 ;
4810 int val2 ;
4811 int ecode2 = 0 ;
4812 int val3 ;
4813 int ecode3 = 0 ;
4814 int temp4 ;
4815 int res4 = SWIG_TMPOBJ ;
4816 int temp5 ;
4817 int res5 = SWIG_TMPOBJ ;
4818
4819 arg4 = &temp4;
4820 arg5 = &temp5;
4821 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4823 if (!SWIG_IsOK(res1)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4825 }
4826 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4827 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4828 if (!SWIG_IsOK(ecode2)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4830 }
4831 arg2 = static_cast< int >(val2);
4832 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4833 if (!SWIG_IsOK(ecode3)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4835 }
4836 arg3 = static_cast< int >(val3);
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 resultobj = SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4)) {
4845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4846 } else {
4847 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4848 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4849 }
4850 if (SWIG_IsTmpObj(res5)) {
4851 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4852 } else {
4853 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4855 }
4856 return resultobj;
4857fail:
4858 return NULL;
d55e5bfc
RD
4859}
4860
4861
1bd55598
RD
4862SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4863 int argc;
4864 PyObject *argv[4];
4865
4866 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4867 --argc;
4868 if (argc == 2) {
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4870 }
4871 if (argc == 3) {
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4873 }
4874
4875fail:
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4877 return NULL;
d55e5bfc
RD
4878}
4879
4880
1bd55598
RD
4881SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4882 PyObject *resultobj = 0;
4883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4884 wxPoint *arg2 = 0 ;
4885 wxPoint result;
4886 void *argp1 = 0 ;
4887 int res1 = 0 ;
4888 wxPoint temp2 ;
4889
4890 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4892 if (!SWIG_IsOK(res1)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4894 }
4895 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4896 {
4897 arg2 = &temp2;
4898 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4907 return resultobj;
4908fail:
4909 return NULL;
4910}
4911
4912
4913SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4914 PyObject *resultobj = 0;
4915 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4916 int arg2 ;
4917 int arg3 ;
4918 int *arg4 = (int *) 0 ;
4919 int *arg5 = (int *) 0 ;
4920 void *argp1 = 0 ;
4921 int res1 = 0 ;
4922 int val2 ;
4923 int ecode2 = 0 ;
4924 int val3 ;
4925 int ecode3 = 0 ;
4926 int temp4 ;
4927 int res4 = SWIG_TMPOBJ ;
4928 int temp5 ;
4929 int res5 = SWIG_TMPOBJ ;
4930
4931 arg4 = &temp4;
4932 arg5 = &temp5;
4933 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4935 if (!SWIG_IsOK(res1)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4937 }
4938 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4939 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4940 if (!SWIG_IsOK(ecode2)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4942 }
4943 arg2 = static_cast< int >(val2);
4944 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4945 if (!SWIG_IsOK(ecode3)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4947 }
4948 arg3 = static_cast< int >(val3);
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 resultobj = SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4)) {
4957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4958 } else {
4959 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4961 }
4962 if (SWIG_IsTmpObj(res5)) {
4963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4964 } else {
4965 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4967 }
4968 return resultobj;
4969fail:
4970 return NULL;
d55e5bfc
RD
4971}
4972
4973
1bd55598
RD
4974SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4975 int argc;
4976 PyObject *argv[4];
4977
4978 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4979 --argc;
4980 if (argc == 2) {
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4982 }
4983 if (argc == 3) {
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4985 }
4986
4987fail:
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4989 return NULL;
d55e5bfc
RD
4990}
4991
4992
1bd55598
RD
4993SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4994 PyObject *resultobj = 0;
4995 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4996 void *argp1 = 0 ;
4997 int res1 = 0 ;
4998 PyObject *swig_obj[1] ;
4999
5000 if (!args) SWIG_fail;
5001 swig_obj[0] = args;
5002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5003 if (!SWIG_IsOK(res1)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5005 }
5006 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 (arg1)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = SWIG_Py_Void();
5014 return resultobj;
5015fail:
5016 return NULL;
5017}
5018
5019
5020SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj = 0;
5022 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5023 wxScrollWinEvent *arg2 = 0 ;
5024 int result;
5025 void *argp1 = 0 ;
5026 int res1 = 0 ;
5027 void *argp2 = 0 ;
5028 int res2 = 0 ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 char * kwnames[] = {
5032 (char *) "self",(char *) "event", NULL
5033 };
5034
5035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5037 if (!SWIG_IsOK(res1)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5039 }
5040 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5042 if (!SWIG_IsOK(res2)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5044 }
5045 if (!argp2) {
5046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 }
5048 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = (int)(arg1)->CalcScrollInc(*arg2);
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 resultobj = SWIG_From_int(static_cast< int >(result));
5056 return resultobj;
5057fail:
5058 return NULL;
5059}
5060
5061
5062SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj = 0;
5064 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5065 wxWindow *arg2 = (wxWindow *) 0 ;
5066 void *argp1 = 0 ;
5067 int res1 = 0 ;
5068 void *argp2 = 0 ;
5069 int res2 = 0 ;
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
5072 char * kwnames[] = {
5073 (char *) "self",(char *) "target", NULL
5074 };
5075
5076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5078 if (!SWIG_IsOK(res1)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5080 }
5081 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5082 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5083 if (!SWIG_IsOK(res2)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5085 }
5086 arg2 = reinterpret_cast< wxWindow * >(argp2);
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 (arg1)->SetTargetWindow(arg2);
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 resultobj = SWIG_Py_Void();
5094 return resultobj;
5095fail:
5096 return NULL;
d55e5bfc
RD
5097}
5098
5099
1bd55598
RD
5100SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5101 PyObject *resultobj = 0;
5102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5103 wxWindow *result = 0 ;
5104 void *argp1 = 0 ;
5105 int res1 = 0 ;
5106 PyObject *swig_obj[1] ;
5107
5108 if (!args) SWIG_fail;
5109 swig_obj[0] = args;
5110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5111 if (!SWIG_IsOK(res1)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5113 }
5114 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 {
5122 resultobj = wxPyMake_wxObject(result, 0);
5123 }
5124 return resultobj;
5125fail:
5126 return NULL;
5127}
5128
5129
5130SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5131 PyObject *resultobj = 0;
5132 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5133 wxRect *arg2 = 0 ;
5134 void *argp1 = 0 ;
5135 int res1 = 0 ;
5136 wxRect temp2 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char * kwnames[] = {
5140 (char *) "self",(char *) "rect", NULL
5141 };
5142
5143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5145 if (!SWIG_IsOK(res1)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5147 }
5148 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5149 {
5150 arg2 = &temp2;
5151 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5152 }
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 (arg1)->SetTargetRect((wxRect const &)*arg2);
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 resultobj = SWIG_Py_Void();
5160 return resultobj;
5161fail:
5162 return NULL;
d55e5bfc
RD
5163}
5164
5165
1bd55598
RD
5166SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5167 PyObject *resultobj = 0;
5168 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5169 wxRect result;
5170 void *argp1 = 0 ;
5171 int res1 = 0 ;
5172 PyObject *swig_obj[1] ;
5173
5174 if (!args) SWIG_fail;
5175 swig_obj[0] = args;
5176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5177 if (!SWIG_IsOK(res1)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5179 }
5180 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5188 return resultobj;
5189fail:
5190 return NULL;
5191}
5192
5193
5194SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj = 0;
5196 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5197 wxDC *arg2 = 0 ;
5198 void *argp1 = 0 ;
5199 int res1 = 0 ;
5200 void *argp2 = 0 ;
5201 int res2 = 0 ;
5202 PyObject * obj0 = 0 ;
5203 PyObject * obj1 = 0 ;
5204 char * kwnames[] = {
5205 (char *) "self",(char *) "dc", NULL
5206 };
5207
5208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5210 if (!SWIG_IsOK(res1)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5212 }
5213 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5214 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5215 if (!SWIG_IsOK(res2)) {
5216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5217 }
5218 if (!argp2) {
5219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5220 }
5221 arg2 = reinterpret_cast< wxDC * >(argp2);
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 (arg1)->DoPrepareDC(*arg2);
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 resultobj = SWIG_Py_Void();
5229 return resultobj;
5230fail:
5231 return NULL;
5232}
5233
5234
5235SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj = 0;
5237 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5238 SwigValueWrapper<wxVisualAttributes > result;
5239 int val1 ;
5240 int ecode1 = 0 ;
5241 PyObject * obj0 = 0 ;
5242 char * kwnames[] = {
5243 (char *) "variant", NULL
5244 };
5245
5246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5247 if (obj0) {
5248 ecode1 = SWIG_AsVal_int(obj0, &val1);
5249 if (!SWIG_IsOK(ecode1)) {
5250 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5251 }
5252 arg1 = static_cast< wxWindowVariant >(val1);
5253 }
5254 {
5255 if (!wxPyCheckForApp()) SWIG_fail;
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5262 return resultobj;
5263fail:
5264 return NULL;
d55e5bfc
RD
5265}
5266
5267
1bd55598
RD
5268SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5269 PyObject *obj;
5270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5271 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5272 return SWIG_Py_Void();
d55e5bfc
RD
5273}
5274
1bd55598
RD
5275SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5276 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
5277}
5278
1bd55598
RD
5279SWIGINTERN int FrameNameStr_set(PyObject *) {
5280 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5281 return 1;
d55e5bfc
RD
5282}
5283
5284
1bd55598
RD
5285SWIGINTERN PyObject *FrameNameStr_get(void) {
5286 PyObject *pyobj = 0;
5287
5288 {
5289#if wxUSE_UNICODE
5290 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5291#else
5292 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5293#endif
5294 }
5295 return pyobj;
d55e5bfc
RD
5296}
5297
5298
1bd55598
RD
5299SWIGINTERN int DialogNameStr_set(PyObject *) {
5300 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5301 return 1;
d55e5bfc
RD
5302}
5303
5304
1bd55598
RD
5305SWIGINTERN PyObject *DialogNameStr_get(void) {
5306 PyObject *pyobj = 0;
5307
5308 {
5309#if wxUSE_UNICODE
5310 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5311#else
5312 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5313#endif
5314 }
5315 return pyobj;
d55e5bfc
RD
5316}
5317
5318
1bd55598
RD
5319SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5320 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5321 return 1;
d55e5bfc
RD
5322}
5323
5324
1bd55598
RD
5325SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5326 PyObject *pyobj = 0;
5327
5328 {
5329#if wxUSE_UNICODE
5330 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5331#else
5332 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5333#endif
5334 }
5335 return pyobj;
d55e5bfc
RD
5336}
5337
5338
1bd55598
RD
5339SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5340 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5341 return 1;
d55e5bfc
RD
5342}
5343
5344
1bd55598
RD
5345SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5346 PyObject *pyobj = 0;
5347
5348 {
5349#if wxUSE_UNICODE
5350 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5351#else
5352 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5353#endif
5354 }
5355 return pyobj;
5356}
5357
5358
5359SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj = 0;
5361 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5362 bool arg2 = (bool) true ;
5363 void *argp1 = 0 ;
5364 int res1 = 0 ;
5365 bool val2 ;
5366 int ecode2 = 0 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char * kwnames[] = {
5370 (char *) "self",(char *) "maximize", NULL
5371 };
5372
5373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5375 if (!SWIG_IsOK(res1)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5377 }
5378 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5379 if (obj1) {
5380 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5381 if (!SWIG_IsOK(ecode2)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5383 }
5384 arg2 = static_cast< bool >(val2);
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->Maximize(arg2);
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 resultobj = SWIG_Py_Void();
5393 return resultobj;
5394fail:
5395 return NULL;
d55e5bfc
RD
5396}
5397
5398
1bd55598
RD
5399SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5400 PyObject *resultobj = 0;
5401 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5402 void *argp1 = 0 ;
5403 int res1 = 0 ;
5404 PyObject *swig_obj[1] ;
5405
5406 if (!args) SWIG_fail;
5407 swig_obj[0] = args;
5408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5409 if (!SWIG_IsOK(res1)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5411 }
5412 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 (arg1)->Restore();
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 resultobj = SWIG_Py_Void();
5420 return resultobj;
5421fail:
5422 return NULL;
5423}
5424
5425
5426SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj = 0;
5428 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5429 bool arg2 = (bool) true ;
5430 void *argp1 = 0 ;
5431 int res1 = 0 ;
5432 bool val2 ;
5433 int ecode2 = 0 ;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 char * kwnames[] = {
5437 (char *) "self",(char *) "iconize", NULL
5438 };
5439
5440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5442 if (!SWIG_IsOK(res1)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5444 }
5445 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5446 if (obj1) {
5447 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5448 if (!SWIG_IsOK(ecode2)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5450 }
5451 arg2 = static_cast< bool >(val2);
5452 }
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 (arg1)->Iconize(arg2);
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 resultobj = SWIG_Py_Void();
5460 return resultobj;
5461fail:
5462 return NULL;
d55e5bfc
RD
5463}
5464
5465
1bd55598
RD
5466SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5467 PyObject *resultobj = 0;
5468 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5469 bool result;
5470 void *argp1 = 0 ;
5471 int res1 = 0 ;
5472 PyObject *swig_obj[1] ;
5473
5474 if (!args) SWIG_fail;
5475 swig_obj[0] = args;
5476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5477 if (!SWIG_IsOK(res1)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5479 }
5480 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 {
5488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5489 }
5490 return resultobj;
5491fail:
5492 return NULL;
d55e5bfc
RD
5493}
5494
5495
2131d850
RD
5496SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5497 PyObject *resultobj = 0;
5498 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5499 bool result;
5500 void *argp1 = 0 ;
5501 int res1 = 0 ;
5502 PyObject *swig_obj[1] ;
5503
5504 if (!args) SWIG_fail;
5505 swig_obj[0] = args;
5506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5507 if (!SWIG_IsOK(res1)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5509 }
5510 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5519 }
5520 return resultobj;
5521fail:
5522 return NULL;
5523}
5524
5525
1bd55598
RD
5526SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5527 PyObject *resultobj = 0;
5528 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5529 bool result;
5530 void *argp1 = 0 ;
5531 int res1 = 0 ;
5532 PyObject *swig_obj[1] ;
5533
5534 if (!args) SWIG_fail;
5535 swig_obj[0] = args;
5536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5539 }
5540 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 {
5548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5549 }
5550 return resultobj;
5551fail:
5552 return NULL;
f5b96ee1
RD
5553}
5554
5555
1bd55598
RD
5556SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5557 PyObject *resultobj = 0;
5558 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5559 wxIcon result;
5560 void *argp1 = 0 ;
5561 int res1 = 0 ;
5562 PyObject *swig_obj[1] ;
5563
5564 if (!args) SWIG_fail;
5565 swig_obj[0] = args;
5566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5567 if (!SWIG_IsOK(res1)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5569 }
5570 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5578 return resultobj;
5579fail:
5580 return NULL;
5581}
5582
5583
5584SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj = 0;
5586 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5587 wxIcon *arg2 = 0 ;
5588 void *argp1 = 0 ;
5589 int res1 = 0 ;
5590 void *argp2 = 0 ;
5591 int res2 = 0 ;
5592 PyObject * obj0 = 0 ;
5593 PyObject * obj1 = 0 ;
5594 char * kwnames[] = {
5595 (char *) "self",(char *) "icon", NULL
5596 };
5597
5598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5600 if (!SWIG_IsOK(res1)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5602 }
5603 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5604 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5605 if (!SWIG_IsOK(res2)) {
5606 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5607 }
5608 if (!argp2) {
5609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5610 }
5611 arg2 = reinterpret_cast< wxIcon * >(argp2);
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->SetIcon((wxIcon const &)*arg2);
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 resultobj = SWIG_Py_Void();
5619 return resultobj;
5620fail:
5621 return NULL;
5622}
5623
5624
5625SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj = 0;
5627 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5628 wxIconBundle *arg2 = 0 ;
5629 void *argp1 = 0 ;
5630 int res1 = 0 ;
5631 void *argp2 = 0 ;
5632 int res2 = 0 ;
5633 PyObject * obj0 = 0 ;
5634 PyObject * obj1 = 0 ;
5635 char * kwnames[] = {
5636 (char *) "self",(char *) "icons", NULL
5637 };
5638
5639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5641 if (!SWIG_IsOK(res1)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5643 }
5644 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5645 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5646 if (!SWIG_IsOK(res2)) {
5647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5648 }
5649 if (!argp2) {
5650 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5651 }
5652 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 resultobj = SWIG_Py_Void();
5660 return resultobj;
5661fail:
5662 return NULL;
5663}
5664
5665
5666SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj = 0;
5668 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5669 bool arg2 ;
5670 long arg3 = (long) wxFULLSCREEN_ALL ;
5671 bool result;
5672 void *argp1 = 0 ;
5673 int res1 = 0 ;
5674 bool val2 ;
5675 int ecode2 = 0 ;
5676 long val3 ;
5677 int ecode3 = 0 ;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 PyObject * obj2 = 0 ;
5681 char * kwnames[] = {
5682 (char *) "self",(char *) "show",(char *) "style", NULL
5683 };
5684
5685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5687 if (!SWIG_IsOK(res1)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5689 }
5690 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5691 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5692 if (!SWIG_IsOK(ecode2)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5694 }
5695 arg2 = static_cast< bool >(val2);
5696 if (obj2) {
5697 ecode3 = SWIG_AsVal_long(obj2, &val3);
5698 if (!SWIG_IsOK(ecode3)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5700 }
5701 arg3 = static_cast< long >(val3);
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 {
5710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5711 }
5712 return resultobj;
5713fail:
5714 return NULL;
f20a2e1f
RD
5715}
5716
5717
1bd55598
RD
5718SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5719 PyObject *resultobj = 0;
5720 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5721 bool 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_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5731 }
5732 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
5740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5741 }
5742 return resultobj;
5743fail:
5744 return NULL;
5745}
5746
5747
5748SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj = 0;
5750 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5751 wxString *arg2 = 0 ;
5752 void *argp1 = 0 ;
5753 int res1 = 0 ;
5754 bool temp2 = false ;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char * kwnames[] = {
5758 (char *) "self",(char *) "title", NULL
5759 };
5760
5761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5763 if (!SWIG_IsOK(res1)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5765 }
5766 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5767 {
5768 arg2 = wxString_in_helper(obj1);
5769 if (arg2 == NULL) SWIG_fail;
5770 temp2 = true;
5771 }
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 (arg1)->SetTitle((wxString const &)*arg2);
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 resultobj = SWIG_Py_Void();
5779 {
5780 if (temp2)
5781 delete arg2;
5782 }
5783 return resultobj;
5784fail:
5785 {
5786 if (temp2)
5787 delete arg2;
5788 }
5789 return NULL;
d55e5bfc
RD
5790}
5791
5792
1bd55598
RD
5793SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5794 PyObject *resultobj = 0;
5795 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5796 wxString result;
5797 void *argp1 = 0 ;
5798 int res1 = 0 ;
5799 PyObject *swig_obj[1] ;
5800
5801 if (!args) SWIG_fail;
5802 swig_obj[0] = args;
5803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5804 if (!SWIG_IsOK(res1)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5806 }
5807 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
d55e5bfc 5815#if wxUSE_UNICODE
1bd55598 5816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5817#else
1bd55598 5818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5819#endif
1bd55598
RD
5820 }
5821 return resultobj;
5822fail:
5823 return NULL;
5824}
5825
5826
5827SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj = 0;
5829 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5830 wxRegion *arg2 = 0 ;
5831 bool result;
5832 void *argp1 = 0 ;
5833 int res1 = 0 ;
5834 void *argp2 = 0 ;
5835 int res2 = 0 ;
5836 PyObject * obj0 = 0 ;
5837 PyObject * obj1 = 0 ;
5838 char * kwnames[] = {
5839 (char *) "self",(char *) "region", NULL
5840 };
5841
5842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5844 if (!SWIG_IsOK(res1)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5846 }
5847 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5848 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5849 if (!SWIG_IsOK(res2)) {
5850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5851 }
5852 if (!argp2) {
5853 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5854 }
5855 arg2 = reinterpret_cast< wxRegion * >(argp2);
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 {
5863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5864 }
5865 return resultobj;
5866fail:
5867 return NULL;
5868}
5869
5870
5871SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5872 PyObject *resultobj = 0;
5873 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5874 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5875 void *argp1 = 0 ;
5876 int res1 = 0 ;
5877 int val2 ;
5878 int ecode2 = 0 ;
5879 PyObject * obj0 = 0 ;
5880 PyObject * obj1 = 0 ;
5881 char * kwnames[] = {
5882 (char *) "self",(char *) "flags", NULL
5883 };
5884
5885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5887 if (!SWIG_IsOK(res1)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5889 }
5890 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5891 if (obj1) {
5892 ecode2 = SWIG_AsVal_int(obj1, &val2);
5893 if (!SWIG_IsOK(ecode2)) {
5894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5895 }
5896 arg2 = static_cast< int >(val2);
5897 }
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 (arg1)->RequestUserAttention(arg2);
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 resultobj = SWIG_Py_Void();
5905 return resultobj;
5906fail:
5907 return NULL;
d55e5bfc
RD
5908}
5909
5910
1bd55598
RD
5911SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5912 PyObject *resultobj = 0;
5913 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5914 bool result;
5915 void *argp1 = 0 ;
5916 int res1 = 0 ;
5917 PyObject *swig_obj[1] ;
5918
5919 if (!args) SWIG_fail;
5920 swig_obj[0] = args;
5921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5922 if (!SWIG_IsOK(res1)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5924 }
5925 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 result = (bool)(arg1)->IsActive();
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 {
5933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5934 }
5935 return resultobj;
5936fail:
5937 return NULL;
5938}
5939
5940
5941SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5942 PyObject *resultobj = 0;
5943 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5944 bool arg2 ;
5945 void *argp1 = 0 ;
5946 int res1 = 0 ;
5947 bool val2 ;
5948 int ecode2 = 0 ;
5949 PyObject * obj0 = 0 ;
5950 PyObject * obj1 = 0 ;
5951 char * kwnames[] = {
5952 (char *) "self",(char *) "on", NULL
5953 };
5954
5955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5957 if (!SWIG_IsOK(res1)) {
5958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5959 }
5960 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5961 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5962 if (!SWIG_IsOK(ecode2)) {
5963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5964 }
5965 arg2 = static_cast< bool >(val2);
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 resultobj = SWIG_Py_Void();
5973 return resultobj;
5974fail:
5975 return NULL;
d55e5bfc
RD
5976}
5977
5978
1bd55598
RD
5979SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5980 PyObject *resultobj = 0;
5981 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5982 bool result;
5983 void *argp1 = 0 ;
5984 int res1 = 0 ;
5985 PyObject *swig_obj[1] ;
5986
5987 if (!args) SWIG_fail;
5988 swig_obj[0] = args;
5989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5990 if (!SWIG_IsOK(res1)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5992 }
5993 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 {
6001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6002 }
6003 return resultobj;
6004fail:
6005 return NULL;
6006}
6007
6008
6009SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj = 0;
6011 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6012 int arg2 = (int) wxBOTH ;
6013 void *argp1 = 0 ;
6014 int res1 = 0 ;
6015 int val2 ;
6016 int ecode2 = 0 ;
6017 PyObject * obj0 = 0 ;
6018 PyObject * obj1 = 0 ;
6019 char * kwnames[] = {
6020 (char *) "self",(char *) "dir", NULL
6021 };
6022
6023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6025 if (!SWIG_IsOK(res1)) {
6026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6027 }
6028 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6029 if (obj1) {
6030 ecode2 = SWIG_AsVal_int(obj1, &val2);
6031 if (!SWIG_IsOK(ecode2)) {
6032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6033 }
6034 arg2 = static_cast< int >(val2);
6035 }
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 (arg1)->CenterOnScreen(arg2);
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 resultobj = SWIG_Py_Void();
6043 return resultobj;
6044fail:
6045 return NULL;
6046}
6047
6048
6049SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6050 PyObject *obj;
6051 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6052 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6053 return SWIG_Py_Void();
6054}
6055
6056SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6057 PyObject *resultobj = 0;
6058 wxWindow *arg1 = (wxWindow *) 0 ;
6059 int arg2 = (int) (int)-1 ;
6060 wxString const &arg3_defvalue = wxPyEmptyString ;
6061 wxString *arg3 = (wxString *) &arg3_defvalue ;
6062 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6063 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6064 wxSize const &arg5_defvalue = wxDefaultSize ;
6065 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6066 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6067 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6068 wxString *arg7 = (wxString *) &arg7_defvalue ;
6069 wxFrame *result = 0 ;
6070 void *argp1 = 0 ;
6071 int res1 = 0 ;
6072 int val2 ;
6073 int ecode2 = 0 ;
6074 bool temp3 = false ;
6075 wxPoint temp4 ;
6076 wxSize temp5 ;
6077 long val6 ;
6078 int ecode6 = 0 ;
6079 bool temp7 = false ;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 PyObject * obj2 = 0 ;
6083 PyObject * obj3 = 0 ;
6084 PyObject * obj4 = 0 ;
6085 PyObject * obj5 = 0 ;
6086 PyObject * obj6 = 0 ;
6087 char * kwnames[] = {
6088 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6089 };
6090
6091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6093 if (!SWIG_IsOK(res1)) {
6094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6095 }
6096 arg1 = reinterpret_cast< wxWindow * >(argp1);
6097 if (obj1) {
6098 ecode2 = SWIG_AsVal_int(obj1, &val2);
6099 if (!SWIG_IsOK(ecode2)) {
6100 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6101 }
6102 arg2 = static_cast< int >(val2);
6103 }
6104 if (obj2) {
d55e5bfc 6105 {
1bd55598
RD
6106 arg3 = wxString_in_helper(obj2);
6107 if (arg3 == NULL) SWIG_fail;
6108 temp3 = true;
d55e5bfc 6109 }
1bd55598
RD
6110 }
6111 if (obj3) {
d55e5bfc 6112 {
1bd55598
RD
6113 arg4 = &temp4;
6114 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 6115 }
1bd55598
RD
6116 }
6117 if (obj4) {
d55e5bfc 6118 {
1bd55598
RD
6119 arg5 = &temp5;
6120 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6121 }
1bd55598
RD
6122 }
6123 if (obj5) {
6124 ecode6 = SWIG_AsVal_long(obj5, &val6);
6125 if (!SWIG_IsOK(ecode6)) {
6126 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6127 }
6128 arg6 = static_cast< long >(val6);
6129 }
6130 if (obj6) {
d55e5bfc 6131 {
1bd55598
RD
6132 arg7 = wxString_in_helper(obj6);
6133 if (arg7 == NULL) SWIG_fail;
6134 temp7 = true;
6135 }
6136 }
6137 {
6138 if (!wxPyCheckForApp()) SWIG_fail;
6139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6140 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6141 wxPyEndAllowThreads(__tstate);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6145 {
6146 if (temp3)
6147 delete arg3;
6148 }
6149 {
6150 if (temp7)
6151 delete arg7;
6152 }
6153 return resultobj;
6154fail:
6155 {
6156 if (temp3)
6157 delete arg3;
6158 }
6159 {
6160 if (temp7)
6161 delete arg7;
6162 }
6163 return NULL;
d55e5bfc
RD
6164}
6165
6166
1bd55598
RD
6167SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6168 PyObject *resultobj = 0;
6169 wxFrame *result = 0 ;
6170
6171 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6172 {
6173 if (!wxPyCheckForApp()) SWIG_fail;
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 result = (wxFrame *)new wxFrame();
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6180 return resultobj;
6181fail:
6182 return NULL;
6183}
6184
6185
6186SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj = 0;
6188 wxFrame *arg1 = (wxFrame *) 0 ;
6189 wxWindow *arg2 = (wxWindow *) 0 ;
6190 int arg3 = (int) (int)-1 ;
6191 wxString const &arg4_defvalue = wxPyEmptyString ;
6192 wxString *arg4 = (wxString *) &arg4_defvalue ;
6193 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6194 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6195 wxSize const &arg6_defvalue = wxDefaultSize ;
6196 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6197 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6198 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6199 wxString *arg8 = (wxString *) &arg8_defvalue ;
6200 bool result;
6201 void *argp1 = 0 ;
6202 int res1 = 0 ;
6203 void *argp2 = 0 ;
6204 int res2 = 0 ;
6205 int val3 ;
6206 int ecode3 = 0 ;
6207 bool temp4 = false ;
6208 wxPoint temp5 ;
6209 wxSize temp6 ;
6210 long val7 ;
6211 int ecode7 = 0 ;
6212 bool temp8 = false ;
6213 PyObject * obj0 = 0 ;
6214 PyObject * obj1 = 0 ;
6215 PyObject * obj2 = 0 ;
6216 PyObject * obj3 = 0 ;
6217 PyObject * obj4 = 0 ;
6218 PyObject * obj5 = 0 ;
6219 PyObject * obj6 = 0 ;
6220 PyObject * obj7 = 0 ;
6221 char * kwnames[] = {
6222 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6223 };
6224
6225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6227 if (!SWIG_IsOK(res1)) {
6228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6229 }
6230 arg1 = reinterpret_cast< wxFrame * >(argp1);
6231 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6232 if (!SWIG_IsOK(res2)) {
6233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6234 }
6235 arg2 = reinterpret_cast< wxWindow * >(argp2);
6236 if (obj2) {
6237 ecode3 = SWIG_AsVal_int(obj2, &val3);
6238 if (!SWIG_IsOK(ecode3)) {
6239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6240 }
6241 arg3 = static_cast< int >(val3);
6242 }
6243 if (obj3) {
d55e5bfc 6244 {
1bd55598
RD
6245 arg4 = wxString_in_helper(obj3);
6246 if (arg4 == NULL) SWIG_fail;
6247 temp4 = true;
d55e5bfc 6248 }
1bd55598
RD
6249 }
6250 if (obj4) {
d55e5bfc 6251 {
1bd55598
RD
6252 arg5 = &temp5;
6253 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6254 }
6255 }
6256 if (obj5) {
d55e5bfc 6257 {
1bd55598
RD
6258 arg6 = &temp6;
6259 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6260 }
1bd55598
RD
6261 }
6262 if (obj6) {
6263 ecode7 = SWIG_AsVal_long(obj6, &val7);
6264 if (!SWIG_IsOK(ecode7)) {
6265 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6266 }
6267 arg7 = static_cast< long >(val7);
6268 }
6269 if (obj7) {
d55e5bfc 6270 {
1bd55598
RD
6271 arg8 = wxString_in_helper(obj7);
6272 if (arg8 == NULL) SWIG_fail;
6273 temp8 = true;
d55e5bfc 6274 }
1bd55598
RD
6275 }
6276 {
6277 PyThreadState* __tstate = wxPyBeginAllowThreads();
6278 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 {
6283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6284 }
6285 {
6286 if (temp4)
6287 delete arg4;
6288 }
6289 {
6290 if (temp8)
6291 delete arg8;
6292 }
6293 return resultobj;
6294fail:
6295 {
6296 if (temp4)
6297 delete arg4;
6298 }
6299 {
6300 if (temp8)
6301 delete arg8;
6302 }
6303 return NULL;
d55e5bfc
RD
6304}
6305
6306
1bd55598
RD
6307SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6308 PyObject *resultobj = 0;
6309 wxFrame *arg1 = (wxFrame *) 0 ;
6310 void *argp1 = 0 ;
6311 int res1 = 0 ;
6312 PyObject *swig_obj[1] ;
6313
6314 if (!args) SWIG_fail;
6315 swig_obj[0] = args;
6316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6317 if (!SWIG_IsOK(res1)) {
6318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6319 }
6320 arg1 = reinterpret_cast< wxFrame * >(argp1);
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 (arg1)->SendSizeEvent();
6324 wxPyEndAllowThreads(__tstate);
6325 if (PyErr_Occurred()) SWIG_fail;
6326 }
6327 resultobj = SWIG_Py_Void();
6328 return resultobj;
6329fail:
6330 return NULL;
6331}
6332
6333
6334SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj = 0;
6336 wxFrame *arg1 = (wxFrame *) 0 ;
6337 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6338 void *argp1 = 0 ;
6339 int res1 = 0 ;
6340 void *argp2 = 0 ;
6341 int res2 = 0 ;
6342 PyObject * obj0 = 0 ;
6343 PyObject * obj1 = 0 ;
6344 char * kwnames[] = {
6345 (char *) "self",(char *) "menubar", NULL
6346 };
6347
6348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6350 if (!SWIG_IsOK(res1)) {
6351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6352 }
6353 arg1 = reinterpret_cast< wxFrame * >(argp1);
6354 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6355 if (!SWIG_IsOK(res2)) {
6356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6357 }
6358 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 (arg1)->SetMenuBar(arg2);
6362 wxPyEndAllowThreads(__tstate);
6363 if (PyErr_Occurred()) SWIG_fail;
6364 }
6365 resultobj = SWIG_Py_Void();
6366 return resultobj;
6367fail:
6368 return NULL;
d55e5bfc
RD
6369}
6370
6371
1bd55598
RD
6372SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6373 PyObject *resultobj = 0;
6374 wxFrame *arg1 = (wxFrame *) 0 ;
6375 wxMenuBar *result = 0 ;
6376 void *argp1 = 0 ;
6377 int res1 = 0 ;
6378 PyObject *swig_obj[1] ;
6379
6380 if (!args) SWIG_fail;
6381 swig_obj[0] = args;
6382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6383 if (!SWIG_IsOK(res1)) {
6384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6385 }
6386 arg1 = reinterpret_cast< wxFrame * >(argp1);
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6390 wxPyEndAllowThreads(__tstate);
6391 if (PyErr_Occurred()) SWIG_fail;
6392 }
6393 {
6394 resultobj = wxPyMake_wxObject(result, 0);
6395 }
6396 return resultobj;
6397fail:
6398 return NULL;
6399}
6400
6401
6402SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6403 PyObject *resultobj = 0;
6404 wxFrame *arg1 = (wxFrame *) 0 ;
6405 int arg2 ;
6406 bool result;
6407 void *argp1 = 0 ;
6408 int res1 = 0 ;
6409 int val2 ;
6410 int ecode2 = 0 ;
6411 PyObject * obj0 = 0 ;
6412 PyObject * obj1 = 0 ;
6413 char * kwnames[] = {
6414 (char *) "self",(char *) "winid", NULL
6415 };
6416
6417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6419 if (!SWIG_IsOK(res1)) {
6420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6421 }
6422 arg1 = reinterpret_cast< wxFrame * >(argp1);
6423 ecode2 = SWIG_AsVal_int(obj1, &val2);
6424 if (!SWIG_IsOK(ecode2)) {
6425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6426 }
6427 arg2 = static_cast< int >(val2);
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 result = (bool)(arg1)->ProcessCommand(arg2);
6431 wxPyEndAllowThreads(__tstate);
6432 if (PyErr_Occurred()) SWIG_fail;
6433 }
6434 {
6435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6436 }
6437 return resultobj;
6438fail:
6439 return NULL;
6440}
6441
6442
6443SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6444 PyObject *resultobj = 0;
6445 wxFrame *arg1 = (wxFrame *) 0 ;
6446 int arg2 = (int) 1 ;
6447 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6448 int arg4 = (int) 0 ;
6449 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6450 wxString *arg5 = (wxString *) &arg5_defvalue ;
6451 wxStatusBar *result = 0 ;
6452 void *argp1 = 0 ;
6453 int res1 = 0 ;
6454 int val2 ;
6455 int ecode2 = 0 ;
6456 long val3 ;
6457 int ecode3 = 0 ;
6458 int val4 ;
6459 int ecode4 = 0 ;
6460 bool temp5 = false ;
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 PyObject * obj2 = 0 ;
6464 PyObject * obj3 = 0 ;
6465 PyObject * obj4 = 0 ;
6466 char * kwnames[] = {
6467 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6468 };
6469
6470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6472 if (!SWIG_IsOK(res1)) {
6473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6474 }
6475 arg1 = reinterpret_cast< wxFrame * >(argp1);
6476 if (obj1) {
6477 ecode2 = SWIG_AsVal_int(obj1, &val2);
6478 if (!SWIG_IsOK(ecode2)) {
6479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6480 }
6481 arg2 = static_cast< int >(val2);
6482 }
6483 if (obj2) {
6484 ecode3 = SWIG_AsVal_long(obj2, &val3);
6485 if (!SWIG_IsOK(ecode3)) {
6486 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6487 }
6488 arg3 = static_cast< long >(val3);
6489 }
6490 if (obj3) {
6491 ecode4 = SWIG_AsVal_int(obj3, &val4);
6492 if (!SWIG_IsOK(ecode4)) {
6493 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6494 }
6495 arg4 = static_cast< int >(val4);
6496 }
6497 if (obj4) {
d55e5bfc 6498 {
1bd55598
RD
6499 arg5 = wxString_in_helper(obj4);
6500 if (arg5 == NULL) SWIG_fail;
6501 temp5 = true;
d55e5bfc 6502 }
1bd55598
RD
6503 }
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 {
6511 resultobj = wxPyMake_wxObject(result, (bool)0);
6512 }
6513 {
6514 if (temp5)
6515 delete arg5;
6516 }
6517 return resultobj;
6518fail:
6519 {
6520 if (temp5)
6521 delete arg5;
6522 }
6523 return NULL;
d55e5bfc
RD
6524}
6525
6526
1bd55598
RD
6527SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6528 PyObject *resultobj = 0;
6529 wxFrame *arg1 = (wxFrame *) 0 ;
6530 wxStatusBar *result = 0 ;
6531 void *argp1 = 0 ;
6532 int res1 = 0 ;
6533 PyObject *swig_obj[1] ;
6534
6535 if (!args) SWIG_fail;
6536 swig_obj[0] = args;
6537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6538 if (!SWIG_IsOK(res1)) {
6539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6540 }
6541 arg1 = reinterpret_cast< wxFrame * >(argp1);
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 {
6549 resultobj = wxPyMake_wxObject(result, (bool)0);
6550 }
6551 return resultobj;
6552fail:
6553 return NULL;
6554}
6555
6556
6557SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6558 PyObject *resultobj = 0;
6559 wxFrame *arg1 = (wxFrame *) 0 ;
6560 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6561 void *argp1 = 0 ;
6562 int res1 = 0 ;
6563 void *argp2 = 0 ;
6564 int res2 = 0 ;
6565 PyObject * obj0 = 0 ;
6566 PyObject * obj1 = 0 ;
6567 char * kwnames[] = {
6568 (char *) "self",(char *) "statBar", NULL
6569 };
6570
6571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6573 if (!SWIG_IsOK(res1)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6575 }
6576 arg1 = reinterpret_cast< wxFrame * >(argp1);
6577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6578 if (!SWIG_IsOK(res2)) {
6579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6580 }
6581 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 (arg1)->SetStatusBar(arg2);
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 resultobj = SWIG_Py_Void();
6589 return resultobj;
6590fail:
6591 return NULL;
6592}
6593
6594
6595SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6596 PyObject *resultobj = 0;
6597 wxFrame *arg1 = (wxFrame *) 0 ;
6598 wxString *arg2 = 0 ;
6599 int arg3 = (int) 0 ;
6600 void *argp1 = 0 ;
6601 int res1 = 0 ;
6602 bool temp2 = false ;
6603 int val3 ;
6604 int ecode3 = 0 ;
6605 PyObject * obj0 = 0 ;
6606 PyObject * obj1 = 0 ;
6607 PyObject * obj2 = 0 ;
6608 char * kwnames[] = {
6609 (char *) "self",(char *) "text",(char *) "number", NULL
6610 };
6611
6612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6614 if (!SWIG_IsOK(res1)) {
6615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6616 }
6617 arg1 = reinterpret_cast< wxFrame * >(argp1);
6618 {
6619 arg2 = wxString_in_helper(obj1);
6620 if (arg2 == NULL) SWIG_fail;
6621 temp2 = true;
6622 }
6623 if (obj2) {
6624 ecode3 = SWIG_AsVal_int(obj2, &val3);
6625 if (!SWIG_IsOK(ecode3)) {
6626 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6627 }
6628 arg3 = static_cast< int >(val3);
6629 }
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 resultobj = SWIG_Py_Void();
6637 {
6638 if (temp2)
6639 delete arg2;
6640 }
6641 return resultobj;
6642fail:
6643 {
6644 if (temp2)
6645 delete arg2;
6646 }
6647 return NULL;
d55e5bfc
RD
6648}
6649
6650
1bd55598
RD
6651SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj = 0;
6653 wxFrame *arg1 = (wxFrame *) 0 ;
6654 int arg2 ;
6655 int *arg3 = (int *) 0 ;
6656 void *argp1 = 0 ;
6657 int res1 = 0 ;
6658 PyObject * obj0 = 0 ;
6659 PyObject * obj1 = 0 ;
6660 char * kwnames[] = {
6661 (char *) "self",(char *) "widths", NULL
6662 };
6663
6664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6666 if (!SWIG_IsOK(res1)) {
6667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6668 }
6669 arg1 = reinterpret_cast< wxFrame * >(argp1);
6670 {
6671 arg2 = PyList_Size(obj1);
6672 arg3 = int_LIST_helper(obj1);
6673 if (arg3 == NULL) SWIG_fail;
6674 }
6675 {
6676 PyThreadState* __tstate = wxPyBeginAllowThreads();
6677 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 resultobj = SWIG_Py_Void();
6682 {
6683 if (arg3) delete [] arg3;
6684 }
6685 return resultobj;
6686fail:
6687 {
6688 if (arg3) delete [] arg3;
6689 }
6690 return NULL;
6691}
6692
6693
6694SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj = 0;
6696 wxFrame *arg1 = (wxFrame *) 0 ;
6697 wxString *arg2 = 0 ;
6698 int arg3 = (int) 0 ;
6699 void *argp1 = 0 ;
6700 int res1 = 0 ;
6701 bool temp2 = false ;
6702 int val3 ;
6703 int ecode3 = 0 ;
6704 PyObject * obj0 = 0 ;
6705 PyObject * obj1 = 0 ;
6706 PyObject * obj2 = 0 ;
6707 char * kwnames[] = {
6708 (char *) "self",(char *) "text",(char *) "number", NULL
6709 };
6710
6711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6713 if (!SWIG_IsOK(res1)) {
6714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6715 }
6716 arg1 = reinterpret_cast< wxFrame * >(argp1);
6717 {
6718 arg2 = wxString_in_helper(obj1);
6719 if (arg2 == NULL) SWIG_fail;
6720 temp2 = true;
6721 }
6722 if (obj2) {
6723 ecode3 = SWIG_AsVal_int(obj2, &val3);
6724 if (!SWIG_IsOK(ecode3)) {
6725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6726 }
6727 arg3 = static_cast< int >(val3);
6728 }
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 resultobj = SWIG_Py_Void();
6736 {
6737 if (temp2)
6738 delete arg2;
6739 }
6740 return resultobj;
6741fail:
6742 {
6743 if (temp2)
6744 delete arg2;
6745 }
6746 return NULL;
6747}
6748
6749
6750SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6751 PyObject *resultobj = 0;
6752 wxFrame *arg1 = (wxFrame *) 0 ;
6753 int arg2 = (int) 0 ;
6754 void *argp1 = 0 ;
6755 int res1 = 0 ;
6756 int val2 ;
6757 int ecode2 = 0 ;
6758 PyObject * obj0 = 0 ;
6759 PyObject * obj1 = 0 ;
6760 char * kwnames[] = {
6761 (char *) "self",(char *) "number", NULL
6762 };
6763
6764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6766 if (!SWIG_IsOK(res1)) {
6767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6768 }
6769 arg1 = reinterpret_cast< wxFrame * >(argp1);
6770 if (obj1) {
6771 ecode2 = SWIG_AsVal_int(obj1, &val2);
6772 if (!SWIG_IsOK(ecode2)) {
6773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6774 }
6775 arg2 = static_cast< int >(val2);
6776 }
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 (arg1)->PopStatusText(arg2);
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 resultobj = SWIG_Py_Void();
6784 return resultobj;
6785fail:
6786 return NULL;
6787}
6788
6789
6790SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj = 0;
6792 wxFrame *arg1 = (wxFrame *) 0 ;
6793 int arg2 ;
6794 void *argp1 = 0 ;
6795 int res1 = 0 ;
6796 int val2 ;
6797 int ecode2 = 0 ;
6798 PyObject * obj0 = 0 ;
6799 PyObject * obj1 = 0 ;
6800 char * kwnames[] = {
6801 (char *) "self",(char *) "n", NULL
6802 };
6803
6804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) 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_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6808 }
6809 arg1 = reinterpret_cast< wxFrame * >(argp1);
6810 ecode2 = SWIG_AsVal_int(obj1, &val2);
6811 if (!SWIG_IsOK(ecode2)) {
6812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6813 }
6814 arg2 = static_cast< int >(val2);
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->SetStatusBarPane(arg2);
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 resultobj = SWIG_Py_Void();
6822 return resultobj;
6823fail:
6824 return NULL;
d55e5bfc
RD
6825}
6826
6827
1bd55598
RD
6828SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6829 PyObject *resultobj = 0;
6830 wxFrame *arg1 = (wxFrame *) 0 ;
6831 int result;
6832 void *argp1 = 0 ;
6833 int res1 = 0 ;
6834 PyObject *swig_obj[1] ;
6835
6836 if (!args) SWIG_fail;
6837 swig_obj[0] = args;
6838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6839 if (!SWIG_IsOK(res1)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6841 }
6842 arg1 = reinterpret_cast< wxFrame * >(argp1);
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 resultobj = SWIG_From_int(static_cast< int >(result));
6850 return resultobj;
6851fail:
6852 return NULL;
6853}
6854
6855
6856SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6857 PyObject *resultobj = 0;
6858 wxFrame *arg1 = (wxFrame *) 0 ;
6859 long arg2 = (long) -1 ;
6860 int arg3 = (int) -1 ;
6861 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6862 wxString *arg4 = (wxString *) &arg4_defvalue ;
6863 wxToolBar *result = 0 ;
6864 void *argp1 = 0 ;
6865 int res1 = 0 ;
6866 long val2 ;
6867 int ecode2 = 0 ;
6868 int val3 ;
6869 int ecode3 = 0 ;
6870 bool temp4 = false ;
6871 PyObject * obj0 = 0 ;
6872 PyObject * obj1 = 0 ;
6873 PyObject * obj2 = 0 ;
6874 PyObject * obj3 = 0 ;
6875 char * kwnames[] = {
6876 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6877 };
6878
6879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6881 if (!SWIG_IsOK(res1)) {
6882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6883 }
6884 arg1 = reinterpret_cast< wxFrame * >(argp1);
6885 if (obj1) {
6886 ecode2 = SWIG_AsVal_long(obj1, &val2);
6887 if (!SWIG_IsOK(ecode2)) {
6888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6889 }
6890 arg2 = static_cast< long >(val2);
6891 }
6892 if (obj2) {
6893 ecode3 = SWIG_AsVal_int(obj2, &val3);
6894 if (!SWIG_IsOK(ecode3)) {
6895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6896 }
6897 arg3 = static_cast< int >(val3);
6898 }
6899 if (obj3) {
d55e5bfc 6900 {
1bd55598
RD
6901 arg4 = wxString_in_helper(obj3);
6902 if (arg4 == NULL) SWIG_fail;
6903 temp4 = true;
d55e5bfc 6904 }
1bd55598
RD
6905 }
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 {
6913 resultobj = wxPyMake_wxObject(result, (bool)0);
6914 }
6915 {
6916 if (temp4)
6917 delete arg4;
6918 }
6919 return resultobj;
6920fail:
6921 {
6922 if (temp4)
6923 delete arg4;
6924 }
6925 return NULL;
d55e5bfc
RD
6926}
6927
6928
1bd55598
RD
6929SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6930 PyObject *resultobj = 0;
6931 wxFrame *arg1 = (wxFrame *) 0 ;
6932 wxToolBar *result = 0 ;
6933 void *argp1 = 0 ;
6934 int res1 = 0 ;
6935 PyObject *swig_obj[1] ;
6936
6937 if (!args) SWIG_fail;
6938 swig_obj[0] = args;
6939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6940 if (!SWIG_IsOK(res1)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6942 }
6943 arg1 = reinterpret_cast< wxFrame * >(argp1);
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6947 wxPyEndAllowThreads(__tstate);
6948 if (PyErr_Occurred()) SWIG_fail;
6949 }
6950 {
6951 resultobj = wxPyMake_wxObject(result, (bool)0);
6952 }
6953 return resultobj;
6954fail:
6955 return NULL;
6956}
6957
6958
6959SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj = 0;
6961 wxFrame *arg1 = (wxFrame *) 0 ;
6962 wxToolBar *arg2 = (wxToolBar *) 0 ;
6963 void *argp1 = 0 ;
6964 int res1 = 0 ;
6965 void *argp2 = 0 ;
6966 int res2 = 0 ;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 char * kwnames[] = {
6970 (char *) "self",(char *) "toolbar", NULL
6971 };
6972
6973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6975 if (!SWIG_IsOK(res1)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6977 }
6978 arg1 = reinterpret_cast< wxFrame * >(argp1);
6979 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6980 if (!SWIG_IsOK(res2)) {
6981 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6982 }
6983 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 (arg1)->SetToolBar(arg2);
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 resultobj = SWIG_Py_Void();
6991 return resultobj;
6992fail:
6993 return NULL;
6994}
6995
6996
6997SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj = 0;
6999 wxFrame *arg1 = (wxFrame *) 0 ;
7000 wxString *arg2 = 0 ;
7001 bool arg3 ;
7002 void *argp1 = 0 ;
7003 int res1 = 0 ;
7004 bool temp2 = false ;
7005 bool val3 ;
7006 int ecode3 = 0 ;
7007 PyObject * obj0 = 0 ;
7008 PyObject * obj1 = 0 ;
7009 PyObject * obj2 = 0 ;
7010 char * kwnames[] = {
7011 (char *) "self",(char *) "text",(char *) "show", NULL
7012 };
7013
7014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7016 if (!SWIG_IsOK(res1)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7018 }
7019 arg1 = reinterpret_cast< wxFrame * >(argp1);
7020 {
7021 arg2 = wxString_in_helper(obj1);
7022 if (arg2 == NULL) SWIG_fail;
7023 temp2 = true;
7024 }
7025 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7026 if (!SWIG_IsOK(ecode3)) {
7027 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7028 }
7029 arg3 = static_cast< bool >(val3);
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 resultobj = SWIG_Py_Void();
7037 {
7038 if (temp2)
7039 delete arg2;
7040 }
7041 return resultobj;
7042fail:
7043 {
7044 if (temp2)
7045 delete arg2;
7046 }
7047 return NULL;
7048}
7049
7050
7051SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj = 0;
7053 wxFrame *arg1 = (wxFrame *) 0 ;
7054 wxMenu *arg2 = (wxMenu *) NULL ;
7055 void *argp1 = 0 ;
7056 int res1 = 0 ;
7057 void *argp2 = 0 ;
7058 int res2 = 0 ;
7059 PyObject * obj0 = 0 ;
7060 PyObject * obj1 = 0 ;
7061 char * kwnames[] = {
7062 (char *) "self",(char *) "menu", NULL
7063 };
7064
7065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7067 if (!SWIG_IsOK(res1)) {
7068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7069 }
7070 arg1 = reinterpret_cast< wxFrame * >(argp1);
7071 if (obj1) {
7072 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7073 if (!SWIG_IsOK(res2)) {
7074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7075 }
1bd55598
RD
7076 arg2 = reinterpret_cast< wxMenu * >(argp2);
7077 }
7078 {
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 (arg1)->DoMenuUpdates(arg2);
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 resultobj = SWIG_Py_Void();
7085 return resultobj;
7086fail:
7087 return NULL;
7088}
7089
7090
7091SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj = 0;
7093 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7094 SwigValueWrapper<wxVisualAttributes > result;
7095 int val1 ;
7096 int ecode1 = 0 ;
7097 PyObject * obj0 = 0 ;
7098 char * kwnames[] = {
7099 (char *) "variant", NULL
7100 };
7101
7102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7103 if (obj0) {
7104 ecode1 = SWIG_AsVal_int(obj0, &val1);
7105 if (!SWIG_IsOK(ecode1)) {
7106 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7107 }
7108 arg1 = static_cast< wxWindowVariant >(val1);
7109 }
7110 {
7111 if (!wxPyCheckForApp()) SWIG_fail;
7112 PyThreadState* __tstate = wxPyBeginAllowThreads();
7113 result = wxFrame::GetClassDefaultAttributes(arg1);
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
7117 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7118 return resultobj;
7119fail:
7120 return NULL;
7121}
7122
7123
7124SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7125 PyObject *obj;
7126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7127 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7128 return SWIG_Py_Void();
7129}
7130
7131SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7132 return SWIG_Python_InitShadowInstance(args);
7133}
7134
7135SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7136 PyObject *resultobj = 0;
7137 wxWindow *arg1 = (wxWindow *) 0 ;
7138 int arg2 = (int) (int)-1 ;
7139 wxString const &arg3_defvalue = wxPyEmptyString ;
7140 wxString *arg3 = (wxString *) &arg3_defvalue ;
7141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7143 wxSize const &arg5_defvalue = wxDefaultSize ;
7144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7145 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7146 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7147 wxString *arg7 = (wxString *) &arg7_defvalue ;
7148 wxDialog *result = 0 ;
7149 void *argp1 = 0 ;
7150 int res1 = 0 ;
7151 int val2 ;
7152 int ecode2 = 0 ;
7153 bool temp3 = false ;
7154 wxPoint temp4 ;
7155 wxSize temp5 ;
7156 long val6 ;
7157 int ecode6 = 0 ;
7158 bool temp7 = false ;
7159 PyObject * obj0 = 0 ;
7160 PyObject * obj1 = 0 ;
7161 PyObject * obj2 = 0 ;
7162 PyObject * obj3 = 0 ;
7163 PyObject * obj4 = 0 ;
7164 PyObject * obj5 = 0 ;
7165 PyObject * obj6 = 0 ;
7166 char * kwnames[] = {
7167 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7168 };
7169
7170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7172 if (!SWIG_IsOK(res1)) {
7173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7174 }
7175 arg1 = reinterpret_cast< wxWindow * >(argp1);
7176 if (obj1) {
7177 ecode2 = SWIG_AsVal_int(obj1, &val2);
7178 if (!SWIG_IsOK(ecode2)) {
7179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7180 }
7181 arg2 = static_cast< int >(val2);
7182 }
7183 if (obj2) {
d55e5bfc 7184 {
1bd55598
RD
7185 arg3 = wxString_in_helper(obj2);
7186 if (arg3 == NULL) SWIG_fail;
7187 temp3 = true;
d55e5bfc 7188 }
1bd55598
RD
7189 }
7190 if (obj3) {
d55e5bfc 7191 {
1bd55598
RD
7192 arg4 = &temp4;
7193 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7194 }
1bd55598
RD
7195 }
7196 if (obj4) {
d55e5bfc 7197 {
1bd55598
RD
7198 arg5 = &temp5;
7199 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7200 }
1bd55598
RD
7201 }
7202 if (obj5) {
7203 ecode6 = SWIG_AsVal_long(obj5, &val6);
7204 if (!SWIG_IsOK(ecode6)) {
7205 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7206 }
7207 arg6 = static_cast< long >(val6);
7208 }
7209 if (obj6) {
d55e5bfc 7210 {
1bd55598
RD
7211 arg7 = wxString_in_helper(obj6);
7212 if (arg7 == NULL) SWIG_fail;
7213 temp7 = true;
d55e5bfc 7214 }
1bd55598
RD
7215 }
7216 {
7217 if (!wxPyCheckForApp()) SWIG_fail;
7218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7219 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7224 {
7225 if (temp3)
7226 delete arg3;
7227 }
7228 {
7229 if (temp7)
7230 delete arg7;
7231 }
7232 return resultobj;
7233fail:
7234 {
7235 if (temp3)
7236 delete arg3;
7237 }
7238 {
7239 if (temp7)
7240 delete arg7;
7241 }
7242 return NULL;
d55e5bfc
RD
7243}
7244
7245
1bd55598
RD
7246SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7247 PyObject *resultobj = 0;
7248 wxDialog *result = 0 ;
7249
7250 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7251 {
7252 if (!wxPyCheckForApp()) SWIG_fail;
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 result = (wxDialog *)new wxDialog();
7255 wxPyEndAllowThreads(__tstate);
7256 if (PyErr_Occurred()) SWIG_fail;
7257 }
7258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7259 return resultobj;
7260fail:
7261 return NULL;
7262}
7263
7264
7265SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj = 0;
7267 wxDialog *arg1 = (wxDialog *) 0 ;
7268 wxWindow *arg2 = (wxWindow *) 0 ;
7269 int arg3 = (int) (int)-1 ;
7270 wxString const &arg4_defvalue = wxPyEmptyString ;
7271 wxString *arg4 = (wxString *) &arg4_defvalue ;
7272 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7273 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7274 wxSize const &arg6_defvalue = wxDefaultSize ;
7275 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7276 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7277 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7278 wxString *arg8 = (wxString *) &arg8_defvalue ;
7279 bool result;
7280 void *argp1 = 0 ;
7281 int res1 = 0 ;
7282 void *argp2 = 0 ;
7283 int res2 = 0 ;
7284 int val3 ;
7285 int ecode3 = 0 ;
7286 bool temp4 = false ;
7287 wxPoint temp5 ;
7288 wxSize temp6 ;
7289 long val7 ;
7290 int ecode7 = 0 ;
7291 bool temp8 = false ;
7292 PyObject * obj0 = 0 ;
7293 PyObject * obj1 = 0 ;
7294 PyObject * obj2 = 0 ;
7295 PyObject * obj3 = 0 ;
7296 PyObject * obj4 = 0 ;
7297 PyObject * obj5 = 0 ;
7298 PyObject * obj6 = 0 ;
7299 PyObject * obj7 = 0 ;
7300 char * kwnames[] = {
7301 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7302 };
7303
7304 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7305 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7306 if (!SWIG_IsOK(res1)) {
7307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7308 }
7309 arg1 = reinterpret_cast< wxDialog * >(argp1);
7310 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7311 if (!SWIG_IsOK(res2)) {
7312 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7313 }
7314 arg2 = reinterpret_cast< wxWindow * >(argp2);
7315 if (obj2) {
7316 ecode3 = SWIG_AsVal_int(obj2, &val3);
7317 if (!SWIG_IsOK(ecode3)) {
7318 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7319 }
7320 arg3 = static_cast< int >(val3);
7321 }
7322 if (obj3) {
d55e5bfc 7323 {
1bd55598
RD
7324 arg4 = wxString_in_helper(obj3);
7325 if (arg4 == NULL) SWIG_fail;
7326 temp4 = true;
d55e5bfc 7327 }
1bd55598
RD
7328 }
7329 if (obj4) {
36ed4f51 7330 {
1bd55598
RD
7331 arg5 = &temp5;
7332 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7333 }
1bd55598
RD
7334 }
7335 if (obj5) {
d55e5bfc 7336 {
1bd55598
RD
7337 arg6 = &temp6;
7338 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7339 }
1bd55598
RD
7340 }
7341 if (obj6) {
7342 ecode7 = SWIG_AsVal_long(obj6, &val7);
7343 if (!SWIG_IsOK(ecode7)) {
7344 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7345 }
7346 arg7 = static_cast< long >(val7);
7347 }
7348 if (obj7) {
d55e5bfc 7349 {
1bd55598
RD
7350 arg8 = wxString_in_helper(obj7);
7351 if (arg8 == NULL) SWIG_fail;
7352 temp8 = true;
d55e5bfc 7353 }
1bd55598
RD
7354 }
7355 {
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 {
7362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7363 }
7364 {
7365 if (temp4)
7366 delete arg4;
7367 }
7368 {
7369 if (temp8)
7370 delete arg8;
7371 }
7372 return resultobj;
7373fail:
7374 {
7375 if (temp4)
7376 delete arg4;
7377 }
7378 {
7379 if (temp8)
7380 delete arg8;
7381 }
7382 return NULL;
7383}
7384
7385
7386SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj = 0;
7388 wxDialog *arg1 = (wxDialog *) 0 ;
7389 int arg2 ;
7390 void *argp1 = 0 ;
7391 int res1 = 0 ;
7392 int val2 ;
7393 int ecode2 = 0 ;
7394 PyObject * obj0 = 0 ;
7395 PyObject * obj1 = 0 ;
7396 char * kwnames[] = {
7397 (char *) "self",(char *) "returnCode", NULL
7398 };
7399
7400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7402 if (!SWIG_IsOK(res1)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7404 }
7405 arg1 = reinterpret_cast< wxDialog * >(argp1);
7406 ecode2 = SWIG_AsVal_int(obj1, &val2);
7407 if (!SWIG_IsOK(ecode2)) {
7408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7409 }
7410 arg2 = static_cast< int >(val2);
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 (arg1)->SetReturnCode(arg2);
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 resultobj = SWIG_Py_Void();
7418 return resultobj;
7419fail:
7420 return NULL;
c370783e
RD
7421}
7422
7423
1bd55598
RD
7424SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7425 PyObject *resultobj = 0;
7426 wxDialog *arg1 = (wxDialog *) 0 ;
7427 int result;
7428 void *argp1 = 0 ;
7429 int res1 = 0 ;
7430 PyObject *swig_obj[1] ;
7431
7432 if (!args) SWIG_fail;
7433 swig_obj[0] = args;
7434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7435 if (!SWIG_IsOK(res1)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7437 }
7438 arg1 = reinterpret_cast< wxDialog * >(argp1);
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7442 wxPyEndAllowThreads(__tstate);
7443 if (PyErr_Occurred()) SWIG_fail;
7444 }
7445 resultobj = SWIG_From_int(static_cast< int >(result));
7446 return resultobj;
7447fail:
7448 return NULL;
7449}
7450
7451
7452SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7453 PyObject *resultobj = 0;
7454 wxDialog *arg1 = (wxDialog *) 0 ;
7455 int arg2 ;
7456 void *argp1 = 0 ;
7457 int res1 = 0 ;
7458 int val2 ;
7459 int ecode2 = 0 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
7462 char * kwnames[] = {
7463 (char *) "self",(char *) "affirmativeId", NULL
7464 };
7465
7466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7468 if (!SWIG_IsOK(res1)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7470 }
7471 arg1 = reinterpret_cast< wxDialog * >(argp1);
7472 ecode2 = SWIG_AsVal_int(obj1, &val2);
7473 if (!SWIG_IsOK(ecode2)) {
7474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7475 }
7476 arg2 = static_cast< int >(val2);
7477 {
7478 PyThreadState* __tstate = wxPyBeginAllowThreads();
7479 (arg1)->SetAffirmativeId(arg2);
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 resultobj = SWIG_Py_Void();
7484 return resultobj;
7485fail:
7486 return NULL;
5e483524
RD
7487}
7488
7489
1bd55598
RD
7490SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7491 PyObject *resultobj = 0;
7492 wxDialog *arg1 = (wxDialog *) 0 ;
7493 int result;
7494 void *argp1 = 0 ;
7495 int res1 = 0 ;
7496 PyObject *swig_obj[1] ;
7497
7498 if (!args) SWIG_fail;
7499 swig_obj[0] = args;
7500 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7501 if (!SWIG_IsOK(res1)) {
7502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7503 }
7504 arg1 = reinterpret_cast< wxDialog * >(argp1);
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7508 wxPyEndAllowThreads(__tstate);
7509 if (PyErr_Occurred()) SWIG_fail;
7510 }
7511 resultobj = SWIG_From_int(static_cast< int >(result));
7512 return resultobj;
7513fail:
7514 return NULL;
7515}
7516
7517
7518SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7519 PyObject *resultobj = 0;
7520 wxDialog *arg1 = (wxDialog *) 0 ;
7521 int arg2 ;
7522 void *argp1 = 0 ;
7523 int res1 = 0 ;
7524 int val2 ;
7525 int ecode2 = 0 ;
7526 PyObject * obj0 = 0 ;
7527 PyObject * obj1 = 0 ;
7528 char * kwnames[] = {
7529 (char *) "self",(char *) "escapeId", NULL
7530 };
7531
7532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7534 if (!SWIG_IsOK(res1)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7536 }
7537 arg1 = reinterpret_cast< wxDialog * >(argp1);
7538 ecode2 = SWIG_AsVal_int(obj1, &val2);
7539 if (!SWIG_IsOK(ecode2)) {
7540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7541 }
7542 arg2 = static_cast< int >(val2);
7543 {
7544 PyThreadState* __tstate = wxPyBeginAllowThreads();
7545 (arg1)->SetEscapeId(arg2);
7546 wxPyEndAllowThreads(__tstate);
7547 if (PyErr_Occurred()) SWIG_fail;
7548 }
7549 resultobj = SWIG_Py_Void();
7550 return resultobj;
7551fail:
7552 return NULL;
d55e5bfc
RD
7553}
7554
7555
1bd55598
RD
7556SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7557 PyObject *resultobj = 0;
7558 wxDialog *arg1 = (wxDialog *) 0 ;
7559 int result;
7560 void *argp1 = 0 ;
7561 int res1 = 0 ;
7562 PyObject *swig_obj[1] ;
7563
7564 if (!args) SWIG_fail;
7565 swig_obj[0] = args;
7566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7567 if (!SWIG_IsOK(res1)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7569 }
7570 arg1 = reinterpret_cast< wxDialog * >(argp1);
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_From_int(static_cast< int >(result));
7578 return resultobj;
7579fail:
7580 return NULL;
7581}
7582
7583
7584SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7585 PyObject *resultobj = 0;
7586 wxDialog *arg1 = (wxDialog *) 0 ;
7587 wxString *arg2 = 0 ;
7588 wxSizer *result = 0 ;
7589 void *argp1 = 0 ;
7590 int res1 = 0 ;
7591 bool temp2 = false ;
7592 PyObject * obj0 = 0 ;
7593 PyObject * obj1 = 0 ;
7594 char * kwnames[] = {
7595 (char *) "self",(char *) "message", NULL
7596 };
7597
7598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7600 if (!SWIG_IsOK(res1)) {
7601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7602 }
7603 arg1 = reinterpret_cast< wxDialog * >(argp1);
7604 {
7605 arg2 = wxString_in_helper(obj1);
7606 if (arg2 == NULL) SWIG_fail;
7607 temp2 = true;
7608 }
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7612 wxPyEndAllowThreads(__tstate);
7613 if (PyErr_Occurred()) SWIG_fail;
7614 }
7615 {
7616 resultobj = wxPyMake_wxObject(result, (bool)0);
7617 }
7618 {
7619 if (temp2)
7620 delete arg2;
7621 }
7622 return resultobj;
7623fail:
7624 {
7625 if (temp2)
7626 delete arg2;
7627 }
7628 return NULL;
7629}
7630
7631
7632SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj = 0;
7634 wxDialog *arg1 = (wxDialog *) 0 ;
7635 long arg2 ;
7636 bool arg3 = (bool) false ;
7637 int arg4 = (int) 0 ;
7638 wxSizer *result = 0 ;
7639 void *argp1 = 0 ;
7640 int res1 = 0 ;
7641 long val2 ;
7642 int ecode2 = 0 ;
7643 bool val3 ;
7644 int ecode3 = 0 ;
7645 int val4 ;
7646 int ecode4 = 0 ;
7647 PyObject * obj0 = 0 ;
7648 PyObject * obj1 = 0 ;
7649 PyObject * obj2 = 0 ;
7650 PyObject * obj3 = 0 ;
7651 char * kwnames[] = {
7652 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7653 };
7654
7655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7657 if (!SWIG_IsOK(res1)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7659 }
7660 arg1 = reinterpret_cast< wxDialog * >(argp1);
7661 ecode2 = SWIG_AsVal_long(obj1, &val2);
7662 if (!SWIG_IsOK(ecode2)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7664 }
7665 arg2 = static_cast< long >(val2);
7666 if (obj2) {
7667 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7668 if (!SWIG_IsOK(ecode3)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7670 }
7671 arg3 = static_cast< bool >(val3);
7672 }
7673 if (obj3) {
7674 ecode4 = SWIG_AsVal_int(obj3, &val4);
7675 if (!SWIG_IsOK(ecode4)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7677 }
7678 arg4 = static_cast< int >(val4);
7679 }
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 {
7687 resultobj = wxPyMake_wxObject(result, (bool)0);
7688 }
7689 return resultobj;
7690fail:
7691 return NULL;
7692}
7693
7694
7695SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7696 PyObject *resultobj = 0;
7697 wxDialog *arg1 = (wxDialog *) 0 ;
7698 long arg2 ;
7699 wxStdDialogButtonSizer *result = 0 ;
7700 void *argp1 = 0 ;
7701 int res1 = 0 ;
7702 long val2 ;
7703 int ecode2 = 0 ;
7704 PyObject * obj0 = 0 ;
7705 PyObject * obj1 = 0 ;
7706 char * kwnames[] = {
7707 (char *) "self",(char *) "flags", NULL
7708 };
7709
7710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7712 if (!SWIG_IsOK(res1)) {
7713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7714 }
7715 arg1 = reinterpret_cast< wxDialog * >(argp1);
7716 ecode2 = SWIG_AsVal_long(obj1, &val2);
7717 if (!SWIG_IsOK(ecode2)) {
7718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7719 }
7720 arg2 = static_cast< long >(val2);
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7728 return resultobj;
7729fail:
7730 return NULL;
d55e5bfc
RD
7731}
7732
7733
1bd55598
RD
7734SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7735 PyObject *resultobj = 0;
7736 wxDialog *arg1 = (wxDialog *) 0 ;
7737 bool result;
7738 void *argp1 = 0 ;
7739 int res1 = 0 ;
7740 PyObject *swig_obj[1] ;
7741
7742 if (!args) SWIG_fail;
7743 swig_obj[0] = args;
7744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7745 if (!SWIG_IsOK(res1)) {
7746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7747 }
7748 arg1 = reinterpret_cast< wxDialog * >(argp1);
7749 {
7750 PyThreadState* __tstate = wxPyBeginAllowThreads();
7751 result = (bool)((wxDialog const *)arg1)->IsModal();
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
7755 {
7756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7757 }
7758 return resultobj;
7759fail:
7760 return NULL;
b1fcee84
RD
7761}
7762
7763
1bd55598
RD
7764SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7765 PyObject *resultobj = 0;
7766 wxDialog *arg1 = (wxDialog *) 0 ;
7767 int result;
7768 void *argp1 = 0 ;
7769 int res1 = 0 ;
7770 PyObject *swig_obj[1] ;
7771
7772 if (!args) SWIG_fail;
7773 swig_obj[0] = args;
7774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7775 if (!SWIG_IsOK(res1)) {
7776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7777 }
7778 arg1 = reinterpret_cast< wxDialog * >(argp1);
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (int)(arg1)->ShowModal();
7782 wxPyEndAllowThreads(__tstate);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
7785 resultobj = SWIG_From_int(static_cast< int >(result));
7786 return resultobj;
7787fail:
7788 return NULL;
7789}
7790
7791
7792SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7793 PyObject *resultobj = 0;
7794 wxDialog *arg1 = (wxDialog *) 0 ;
7795 int arg2 ;
7796 void *argp1 = 0 ;
7797 int res1 = 0 ;
7798 int val2 ;
7799 int ecode2 = 0 ;
7800 PyObject * obj0 = 0 ;
7801 PyObject * obj1 = 0 ;
7802 char * kwnames[] = {
7803 (char *) "self",(char *) "retCode", NULL
7804 };
7805
7806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7808 if (!SWIG_IsOK(res1)) {
7809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7810 }
7811 arg1 = reinterpret_cast< wxDialog * >(argp1);
7812 ecode2 = SWIG_AsVal_int(obj1, &val2);
7813 if (!SWIG_IsOK(ecode2)) {
7814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7815 }
7816 arg2 = static_cast< int >(val2);
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 (arg1)->EndModal(arg2);
7820 wxPyEndAllowThreads(__tstate);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 }
7823 resultobj = SWIG_Py_Void();
7824 return resultobj;
7825fail:
7826 return NULL;
7827}
7828
7829
7830SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7831 PyObject *resultobj = 0;
7832 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7833 SwigValueWrapper<wxVisualAttributes > result;
7834 int val1 ;
7835 int ecode1 = 0 ;
7836 PyObject * obj0 = 0 ;
7837 char * kwnames[] = {
7838 (char *) "variant", NULL
7839 };
7840
7841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7842 if (obj0) {
7843 ecode1 = SWIG_AsVal_int(obj0, &val1);
7844 if (!SWIG_IsOK(ecode1)) {
7845 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7846 }
7847 arg1 = static_cast< wxWindowVariant >(val1);
7848 }
7849 {
7850 if (!wxPyCheckForApp()) SWIG_fail;
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = wxDialog::GetClassDefaultAttributes(arg1);
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7857 return resultobj;
7858fail:
7859 return NULL;
7860}
7861
7862
7863SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7864 PyObject *obj;
7865 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7866 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7867 return SWIG_Py_Void();
7868}
7869
7870SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7871 return SWIG_Python_InitShadowInstance(args);
7872}
7873
7874SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7875 PyObject *resultobj = 0;
7876 wxWindow *arg1 = (wxWindow *) 0 ;
7877 int arg2 = (int) (int)-1 ;
7878 wxString const &arg3_defvalue = wxPyEmptyString ;
7879 wxString *arg3 = (wxString *) &arg3_defvalue ;
7880 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7881 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7882 wxSize const &arg5_defvalue = wxDefaultSize ;
7883 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7884 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7885 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7886 wxString *arg7 = (wxString *) &arg7_defvalue ;
7887 wxMiniFrame *result = 0 ;
7888 void *argp1 = 0 ;
7889 int res1 = 0 ;
7890 int val2 ;
7891 int ecode2 = 0 ;
7892 bool temp3 = false ;
7893 wxPoint temp4 ;
7894 wxSize temp5 ;
7895 long val6 ;
7896 int ecode6 = 0 ;
7897 bool temp7 = false ;
7898 PyObject * obj0 = 0 ;
7899 PyObject * obj1 = 0 ;
7900 PyObject * obj2 = 0 ;
7901 PyObject * obj3 = 0 ;
7902 PyObject * obj4 = 0 ;
7903 PyObject * obj5 = 0 ;
7904 PyObject * obj6 = 0 ;
7905 char * kwnames[] = {
7906 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7907 };
7908
7909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7911 if (!SWIG_IsOK(res1)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7913 }
7914 arg1 = reinterpret_cast< wxWindow * >(argp1);
7915 if (obj1) {
7916 ecode2 = SWIG_AsVal_int(obj1, &val2);
7917 if (!SWIG_IsOK(ecode2)) {
7918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7919 }
7920 arg2 = static_cast< int >(val2);
7921 }
7922 if (obj2) {
d55e5bfc 7923 {
1bd55598
RD
7924 arg3 = wxString_in_helper(obj2);
7925 if (arg3 == NULL) SWIG_fail;
7926 temp3 = true;
d55e5bfc 7927 }
1bd55598
RD
7928 }
7929 if (obj3) {
d55e5bfc 7930 {
1bd55598
RD
7931 arg4 = &temp4;
7932 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7933 }
1bd55598
RD
7934 }
7935 if (obj4) {
d55e5bfc 7936 {
1bd55598
RD
7937 arg5 = &temp5;
7938 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7939 }
1bd55598
RD
7940 }
7941 if (obj5) {
7942 ecode6 = SWIG_AsVal_long(obj5, &val6);
7943 if (!SWIG_IsOK(ecode6)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7945 }
7946 arg6 = static_cast< long >(val6);
7947 }
7948 if (obj6) {
d55e5bfc 7949 {
1bd55598
RD
7950 arg7 = wxString_in_helper(obj6);
7951 if (arg7 == NULL) SWIG_fail;
7952 temp7 = true;
d55e5bfc 7953 }
1bd55598
RD
7954 }
7955 {
7956 if (!wxPyCheckForApp()) SWIG_fail;
7957 PyThreadState* __tstate = wxPyBeginAllowThreads();
7958 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7963 {
7964 if (temp3)
7965 delete arg3;
7966 }
7967 {
7968 if (temp7)
7969 delete arg7;
7970 }
7971 return resultobj;
7972fail:
7973 {
7974 if (temp3)
7975 delete arg3;
7976 }
7977 {
7978 if (temp7)
7979 delete arg7;
7980 }
7981 return NULL;
d55e5bfc
RD
7982}
7983
7984
1bd55598
RD
7985SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7986 PyObject *resultobj = 0;
7987 wxMiniFrame *result = 0 ;
7988
7989 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7990 {
7991 if (!wxPyCheckForApp()) SWIG_fail;
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = (wxMiniFrame *)new wxMiniFrame();
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7998 return resultobj;
7999fail:
8000 return NULL;
8001}
8002
8003
8004SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8005 PyObject *resultobj = 0;
8006 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8007 wxWindow *arg2 = (wxWindow *) 0 ;
8008 int arg3 = (int) (int)-1 ;
8009 wxString const &arg4_defvalue = wxPyEmptyString ;
8010 wxString *arg4 = (wxString *) &arg4_defvalue ;
8011 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8012 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8013 wxSize const &arg6_defvalue = wxDefaultSize ;
8014 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8015 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8016 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8017 wxString *arg8 = (wxString *) &arg8_defvalue ;
8018 bool result;
8019 void *argp1 = 0 ;
8020 int res1 = 0 ;
8021 void *argp2 = 0 ;
8022 int res2 = 0 ;
8023 int val3 ;
8024 int ecode3 = 0 ;
8025 bool temp4 = false ;
8026 wxPoint temp5 ;
8027 wxSize temp6 ;
8028 long val7 ;
8029 int ecode7 = 0 ;
8030 bool temp8 = false ;
8031 PyObject * obj0 = 0 ;
8032 PyObject * obj1 = 0 ;
8033 PyObject * obj2 = 0 ;
8034 PyObject * obj3 = 0 ;
8035 PyObject * obj4 = 0 ;
8036 PyObject * obj5 = 0 ;
8037 PyObject * obj6 = 0 ;
8038 PyObject * obj7 = 0 ;
8039 char * kwnames[] = {
8040 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8041 };
8042
8043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8045 if (!SWIG_IsOK(res1)) {
8046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8047 }
8048 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8049 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8050 if (!SWIG_IsOK(res2)) {
8051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8052 }
8053 arg2 = reinterpret_cast< wxWindow * >(argp2);
8054 if (obj2) {
8055 ecode3 = SWIG_AsVal_int(obj2, &val3);
8056 if (!SWIG_IsOK(ecode3)) {
8057 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8058 }
8059 arg3 = static_cast< int >(val3);
8060 }
8061 if (obj3) {
d55e5bfc 8062 {
1bd55598
RD
8063 arg4 = wxString_in_helper(obj3);
8064 if (arg4 == NULL) SWIG_fail;
8065 temp4 = true;
d55e5bfc 8066 }
1bd55598
RD
8067 }
8068 if (obj4) {
d55e5bfc 8069 {
1bd55598
RD
8070 arg5 = &temp5;
8071 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8072 }
1bd55598
RD
8073 }
8074 if (obj5) {
d55e5bfc 8075 {
1bd55598
RD
8076 arg6 = &temp6;
8077 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8078 }
1bd55598
RD
8079 }
8080 if (obj6) {
8081 ecode7 = SWIG_AsVal_long(obj6, &val7);
8082 if (!SWIG_IsOK(ecode7)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8084 }
8085 arg7 = static_cast< long >(val7);
8086 }
8087 if (obj7) {
d55e5bfc 8088 {
1bd55598
RD
8089 arg8 = wxString_in_helper(obj7);
8090 if (arg8 == NULL) SWIG_fail;
8091 temp8 = true;
d55e5bfc 8092 }
1bd55598
RD
8093 }
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 {
8101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8102 }
8103 {
8104 if (temp4)
8105 delete arg4;
8106 }
8107 {
8108 if (temp8)
8109 delete arg8;
8110 }
8111 return resultobj;
8112fail:
8113 {
8114 if (temp4)
8115 delete arg4;
8116 }
8117 {
8118 if (temp8)
8119 delete arg8;
8120 }
8121 return NULL;
8122}
8123
8124
8125SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8126 PyObject *obj;
8127 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8128 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8129 return SWIG_Py_Void();
8130}
8131
8132SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8133 return SWIG_Python_InitShadowInstance(args);
8134}
8135
8136SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj = 0;
8138 wxBitmap *arg1 = 0 ;
8139 wxWindow *arg2 = (wxWindow *) 0 ;
8140 int arg3 ;
8141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8143 wxSize const &arg5_defvalue = wxDefaultSize ;
8144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8145 long arg6 = (long) wxNO_BORDER ;
8146 wxSplashScreenWindow *result = 0 ;
8147 void *argp1 = 0 ;
8148 int res1 = 0 ;
8149 void *argp2 = 0 ;
8150 int res2 = 0 ;
8151 int val3 ;
8152 int ecode3 = 0 ;
8153 wxPoint temp4 ;
8154 wxSize temp5 ;
8155 long val6 ;
8156 int ecode6 = 0 ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 PyObject * obj2 = 0 ;
8160 PyObject * obj3 = 0 ;
8161 PyObject * obj4 = 0 ;
8162 PyObject * obj5 = 0 ;
8163 char * kwnames[] = {
8164 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8165 };
8166
8167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8168 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8169 if (!SWIG_IsOK(res1)) {
8170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8171 }
8172 if (!argp1) {
8173 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8174 }
8175 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8176 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8177 if (!SWIG_IsOK(res2)) {
8178 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8179 }
8180 arg2 = reinterpret_cast< wxWindow * >(argp2);
8181 ecode3 = SWIG_AsVal_int(obj2, &val3);
8182 if (!SWIG_IsOK(ecode3)) {
8183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8184 }
8185 arg3 = static_cast< int >(val3);
8186 if (obj3) {
d55e5bfc 8187 {
1bd55598
RD
8188 arg4 = &temp4;
8189 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8190 }
1bd55598
RD
8191 }
8192 if (obj4) {
d55e5bfc 8193 {
1bd55598
RD
8194 arg5 = &temp5;
8195 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8196 }
1bd55598
RD
8197 }
8198 if (obj5) {
8199 ecode6 = SWIG_AsVal_long(obj5, &val6);
8200 if (!SWIG_IsOK(ecode6)) {
8201 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8202 }
8203 arg6 = static_cast< long >(val6);
8204 }
8205 {
8206 if (!wxPyCheckForApp()) SWIG_fail;
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8209 wxPyEndAllowThreads(__tstate);
8210 if (PyErr_Occurred()) SWIG_fail;
8211 }
8212 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8213 return resultobj;
8214fail:
8215 return NULL;
8216}
8217
8218
8219SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8220 PyObject *resultobj = 0;
8221 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8222 wxBitmap *arg2 = 0 ;
8223 void *argp1 = 0 ;
8224 int res1 = 0 ;
8225 void *argp2 = 0 ;
8226 int res2 = 0 ;
8227 PyObject * obj0 = 0 ;
8228 PyObject * obj1 = 0 ;
8229 char * kwnames[] = {
8230 (char *) "self",(char *) "bitmap", NULL
8231 };
8232
8233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8235 if (!SWIG_IsOK(res1)) {
8236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8237 }
8238 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8239 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8240 if (!SWIG_IsOK(res2)) {
8241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8242 }
8243 if (!argp2) {
8244 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8245 }
8246 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 resultobj = SWIG_Py_Void();
8254 return resultobj;
8255fail:
8256 return NULL;
d55e5bfc
RD
8257}
8258
8259
1bd55598
RD
8260SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8261 PyObject *resultobj = 0;
8262 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8263 wxBitmap *result = 0 ;
8264 void *argp1 = 0 ;
8265 int res1 = 0 ;
8266 PyObject *swig_obj[1] ;
8267
8268 if (!args) SWIG_fail;
8269 swig_obj[0] = args;
8270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8271 if (!SWIG_IsOK(res1)) {
8272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8273 }
8274 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8275 {
8276 PyThreadState* __tstate = wxPyBeginAllowThreads();
8277 {
8278 wxBitmap &_result_ref = (arg1)->GetBitmap();
8279 result = (wxBitmap *) &_result_ref;
8280 }
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 {
8285 wxBitmap* resultptr = new wxBitmap(*result);
8286 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8287 }
8288 return resultobj;
8289fail:
8290 return NULL;
8291}
8292
8293
8294SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8295 PyObject *obj;
8296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8297 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8298 return SWIG_Py_Void();
8299}
8300
8301SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8302 return SWIG_Python_InitShadowInstance(args);
8303}
8304
8305SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8306 PyObject *resultobj = 0;
8307 wxBitmap *arg1 = 0 ;
8308 long arg2 ;
8309 int arg3 ;
8310 wxWindow *arg4 = (wxWindow *) 0 ;
8311 int arg5 = (int) -1 ;
8312 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8313 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8314 wxSize const &arg7_defvalue = wxDefaultSize ;
8315 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8316 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8317 wxSplashScreen *result = 0 ;
8318 void *argp1 = 0 ;
8319 int res1 = 0 ;
8320 long val2 ;
8321 int ecode2 = 0 ;
8322 int val3 ;
8323 int ecode3 = 0 ;
8324 void *argp4 = 0 ;
8325 int res4 = 0 ;
8326 int val5 ;
8327 int ecode5 = 0 ;
8328 wxPoint temp6 ;
8329 wxSize temp7 ;
8330 long val8 ;
8331 int ecode8 = 0 ;
8332 PyObject * obj0 = 0 ;
8333 PyObject * obj1 = 0 ;
8334 PyObject * obj2 = 0 ;
8335 PyObject * obj3 = 0 ;
8336 PyObject * obj4 = 0 ;
8337 PyObject * obj5 = 0 ;
8338 PyObject * obj6 = 0 ;
8339 PyObject * obj7 = 0 ;
8340 char * kwnames[] = {
8341 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8342 };
8343
8344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8345 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8346 if (!SWIG_IsOK(res1)) {
8347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8348 }
8349 if (!argp1) {
8350 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8351 }
8352 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8353 ecode2 = SWIG_AsVal_long(obj1, &val2);
8354 if (!SWIG_IsOK(ecode2)) {
8355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8356 }
8357 arg2 = static_cast< long >(val2);
8358 ecode3 = SWIG_AsVal_int(obj2, &val3);
8359 if (!SWIG_IsOK(ecode3)) {
8360 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8361 }
8362 arg3 = static_cast< int >(val3);
8363 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8364 if (!SWIG_IsOK(res4)) {
8365 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8366 }
8367 arg4 = reinterpret_cast< wxWindow * >(argp4);
8368 if (obj4) {
8369 ecode5 = SWIG_AsVal_int(obj4, &val5);
8370 if (!SWIG_IsOK(ecode5)) {
8371 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8372 }
8373 arg5 = static_cast< int >(val5);
8374 }
8375 if (obj5) {
d55e5bfc 8376 {
1bd55598
RD
8377 arg6 = &temp6;
8378 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8379 }
1bd55598
RD
8380 }
8381 if (obj6) {
d55e5bfc 8382 {
1bd55598
RD
8383 arg7 = &temp7;
8384 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8385 }
1bd55598
RD
8386 }
8387 if (obj7) {
8388 ecode8 = SWIG_AsVal_long(obj7, &val8);
8389 if (!SWIG_IsOK(ecode8)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8391 }
8392 arg8 = static_cast< long >(val8);
8393 }
8394 {
8395 if (!wxPyCheckForApp()) SWIG_fail;
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8402 return resultobj;
8403fail:
8404 return NULL;
d55e5bfc
RD
8405}
8406
8407
1bd55598
RD
8408SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8409 PyObject *resultobj = 0;
8410 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8411 long result;
8412 void *argp1 = 0 ;
8413 int res1 = 0 ;
8414 PyObject *swig_obj[1] ;
8415
8416 if (!args) SWIG_fail;
8417 swig_obj[0] = args;
8418 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8419 if (!SWIG_IsOK(res1)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8421 }
8422 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8423 {
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 resultobj = SWIG_From_long(static_cast< long >(result));
8430 return resultobj;
8431fail:
8432 return NULL;
d55e5bfc
RD
8433}
8434
8435
1bd55598
RD
8436SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8437 PyObject *resultobj = 0;
8438 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8439 wxSplashScreenWindow *result = 0 ;
8440 void *argp1 = 0 ;
8441 int res1 = 0 ;
8442 PyObject *swig_obj[1] ;
8443
8444 if (!args) SWIG_fail;
8445 swig_obj[0] = args;
8446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8447 if (!SWIG_IsOK(res1)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8449 }
8450 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8451 {
8452 PyThreadState* __tstate = wxPyBeginAllowThreads();
8453 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8454 wxPyEndAllowThreads(__tstate);
8455 if (PyErr_Occurred()) SWIG_fail;
8456 }
8457 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8458 return resultobj;
8459fail:
8460 return NULL;
d55e5bfc
RD
8461}
8462
8463
1bd55598
RD
8464SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8465 PyObject *resultobj = 0;
8466 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8467 int result;
8468 void *argp1 = 0 ;
8469 int res1 = 0 ;
8470 PyObject *swig_obj[1] ;
8471
8472 if (!args) SWIG_fail;
8473 swig_obj[0] = args;
8474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8475 if (!SWIG_IsOK(res1)) {
8476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8477 }
8478 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8479 {
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 resultobj = SWIG_From_int(static_cast< int >(result));
8486 return resultobj;
8487fail:
8488 return NULL;
8489}
8490
8491
8492SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8493 PyObject *obj;
8494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8495 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8496 return SWIG_Py_Void();
8497}
8498
8499SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8500 return SWIG_Python_InitShadowInstance(args);
8501}
8502
8503SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8504 PyObject *resultobj = 0;
8505 wxWindow *arg1 = (wxWindow *) 0 ;
8506 int arg2 = (int) -1 ;
8507 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8508 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8509 wxString *arg4 = (wxString *) &arg4_defvalue ;
8510 wxStatusBar *result = 0 ;
8511 void *argp1 = 0 ;
8512 int res1 = 0 ;
8513 int val2 ;
8514 int ecode2 = 0 ;
8515 long val3 ;
8516 int ecode3 = 0 ;
8517 bool temp4 = false ;
8518 PyObject * obj0 = 0 ;
8519 PyObject * obj1 = 0 ;
8520 PyObject * obj2 = 0 ;
8521 PyObject * obj3 = 0 ;
8522 char * kwnames[] = {
8523 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8524 };
8525
8526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8528 if (!SWIG_IsOK(res1)) {
8529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8530 }
8531 arg1 = reinterpret_cast< wxWindow * >(argp1);
8532 if (obj1) {
8533 ecode2 = SWIG_AsVal_int(obj1, &val2);
8534 if (!SWIG_IsOK(ecode2)) {
8535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8536 }
8537 arg2 = static_cast< int >(val2);
8538 }
8539 if (obj2) {
8540 ecode3 = SWIG_AsVal_long(obj2, &val3);
8541 if (!SWIG_IsOK(ecode3)) {
8542 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8543 }
8544 arg3 = static_cast< long >(val3);
8545 }
8546 if (obj3) {
d55e5bfc 8547 {
1bd55598
RD
8548 arg4 = wxString_in_helper(obj3);
8549 if (arg4 == NULL) SWIG_fail;
8550 temp4 = true;
d55e5bfc 8551 }
1bd55598
RD
8552 }
8553 {
8554 if (!wxPyCheckForApp()) SWIG_fail;
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8561 {
8562 if (temp4)
8563 delete arg4;
8564 }
8565 return resultobj;
8566fail:
8567 {
8568 if (temp4)
8569 delete arg4;
8570 }
8571 return NULL;
d55e5bfc
RD
8572}
8573
8574
1bd55598
RD
8575SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8576 PyObject *resultobj = 0;
8577 wxStatusBar *result = 0 ;
8578
8579 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8580 {
8581 if (!wxPyCheckForApp()) SWIG_fail;
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = (wxStatusBar *)new wxStatusBar();
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8588 return resultobj;
8589fail:
8590 return NULL;
8591}
8592
8593
8594SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj = 0;
8596 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8597 wxWindow *arg2 = (wxWindow *) 0 ;
8598 int arg3 = (int) -1 ;
8599 long arg4 = (long) wxST_SIZEGRIP ;
8600 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8601 wxString *arg5 = (wxString *) &arg5_defvalue ;
8602 bool result;
8603 void *argp1 = 0 ;
8604 int res1 = 0 ;
8605 void *argp2 = 0 ;
8606 int res2 = 0 ;
8607 int val3 ;
8608 int ecode3 = 0 ;
8609 long val4 ;
8610 int ecode4 = 0 ;
8611 bool temp5 = false ;
8612 PyObject * obj0 = 0 ;
8613 PyObject * obj1 = 0 ;
8614 PyObject * obj2 = 0 ;
8615 PyObject * obj3 = 0 ;
8616 PyObject * obj4 = 0 ;
8617 char * kwnames[] = {
8618 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8619 };
8620
8621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8623 if (!SWIG_IsOK(res1)) {
8624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8625 }
8626 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8627 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8628 if (!SWIG_IsOK(res2)) {
8629 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8630 }
8631 arg2 = reinterpret_cast< wxWindow * >(argp2);
8632 if (obj2) {
8633 ecode3 = SWIG_AsVal_int(obj2, &val3);
8634 if (!SWIG_IsOK(ecode3)) {
8635 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8636 }
8637 arg3 = static_cast< int >(val3);
8638 }
8639 if (obj3) {
8640 ecode4 = SWIG_AsVal_long(obj3, &val4);
8641 if (!SWIG_IsOK(ecode4)) {
8642 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8643 }
8644 arg4 = static_cast< long >(val4);
8645 }
8646 if (obj4) {
d55e5bfc 8647 {
1bd55598
RD
8648 arg5 = wxString_in_helper(obj4);
8649 if (arg5 == NULL) SWIG_fail;
8650 temp5 = true;
d55e5bfc 8651 }
1bd55598
RD
8652 }
8653 {
8654 PyThreadState* __tstate = wxPyBeginAllowThreads();
8655 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 {
8660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8661 }
8662 {
8663 if (temp5)
8664 delete arg5;
8665 }
8666 return resultobj;
8667fail:
8668 {
8669 if (temp5)
8670 delete arg5;
8671 }
8672 return NULL;
8673}
8674
8675
8676SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8677 PyObject *resultobj = 0;
8678 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8679 int arg2 = (int) 1 ;
8680 void *argp1 = 0 ;
8681 int res1 = 0 ;
8682 int val2 ;
8683 int ecode2 = 0 ;
8684 PyObject * obj0 = 0 ;
8685 PyObject * obj1 = 0 ;
8686 char * kwnames[] = {
8687 (char *) "self",(char *) "number", NULL
8688 };
8689
8690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8692 if (!SWIG_IsOK(res1)) {
8693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8694 }
8695 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8696 if (obj1) {
8697 ecode2 = SWIG_AsVal_int(obj1, &val2);
8698 if (!SWIG_IsOK(ecode2)) {
8699 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8700 }
8701 arg2 = static_cast< int >(val2);
8702 }
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 (arg1)->SetFieldsCount(arg2);
8706 wxPyEndAllowThreads(__tstate);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 resultobj = SWIG_Py_Void();
8710 return resultobj;
8711fail:
8712 return NULL;
d55e5bfc
RD
8713}
8714
8715
1bd55598
RD
8716SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8717 PyObject *resultobj = 0;
8718 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8719 int result;
8720 void *argp1 = 0 ;
8721 int res1 = 0 ;
8722 PyObject *swig_obj[1] ;
8723
8724 if (!args) SWIG_fail;
8725 swig_obj[0] = args;
8726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8727 if (!SWIG_IsOK(res1)) {
8728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8729 }
8730 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8734 wxPyEndAllowThreads(__tstate);
8735 if (PyErr_Occurred()) SWIG_fail;
8736 }
8737 resultobj = SWIG_From_int(static_cast< int >(result));
8738 return resultobj;
8739fail:
8740 return NULL;
8741}
8742
8743
8744SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8745 PyObject *resultobj = 0;
8746 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8747 wxString *arg2 = 0 ;
8748 int arg3 = (int) 0 ;
8749 void *argp1 = 0 ;
8750 int res1 = 0 ;
8751 bool temp2 = false ;
8752 int val3 ;
8753 int ecode3 = 0 ;
8754 PyObject * obj0 = 0 ;
8755 PyObject * obj1 = 0 ;
8756 PyObject * obj2 = 0 ;
8757 char * kwnames[] = {
8758 (char *) "self",(char *) "text",(char *) "number", NULL
8759 };
8760
8761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8763 if (!SWIG_IsOK(res1)) {
8764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8765 }
8766 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8767 {
8768 arg2 = wxString_in_helper(obj1);
8769 if (arg2 == NULL) SWIG_fail;
8770 temp2 = true;
8771 }
8772 if (obj2) {
8773 ecode3 = SWIG_AsVal_int(obj2, &val3);
8774 if (!SWIG_IsOK(ecode3)) {
8775 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8776 }
8777 arg3 = static_cast< int >(val3);
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 resultobj = SWIG_Py_Void();
8786 {
8787 if (temp2)
8788 delete arg2;
8789 }
8790 return resultobj;
8791fail:
8792 {
8793 if (temp2)
8794 delete arg2;
8795 }
8796 return NULL;
8797}
8798
8799
8800SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj = 0;
8802 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8803 int arg2 = (int) 0 ;
8804 wxString result;
8805 void *argp1 = 0 ;
8806 int res1 = 0 ;
8807 int val2 ;
8808 int ecode2 = 0 ;
8809 PyObject * obj0 = 0 ;
8810 PyObject * obj1 = 0 ;
8811 char * kwnames[] = {
8812 (char *) "self",(char *) "number", NULL
8813 };
8814
8815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8817 if (!SWIG_IsOK(res1)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8819 }
8820 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8821 if (obj1) {
8822 ecode2 = SWIG_AsVal_int(obj1, &val2);
8823 if (!SWIG_IsOK(ecode2)) {
8824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8825 }
8826 arg2 = static_cast< int >(val2);
8827 }
8828 {
8829 PyThreadState* __tstate = wxPyBeginAllowThreads();
8830 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8831 wxPyEndAllowThreads(__tstate);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 {
8835#if wxUSE_UNICODE
8836 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8837#else
8838 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8839#endif
8840 }
8841 return resultobj;
8842fail:
8843 return NULL;
8844}
8845
8846
8847SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8848 PyObject *resultobj = 0;
8849 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8850 wxString *arg2 = 0 ;
8851 int arg3 = (int) 0 ;
8852 void *argp1 = 0 ;
8853 int res1 = 0 ;
8854 bool temp2 = false ;
8855 int val3 ;
8856 int ecode3 = 0 ;
8857 PyObject * obj0 = 0 ;
8858 PyObject * obj1 = 0 ;
8859 PyObject * obj2 = 0 ;
8860 char * kwnames[] = {
8861 (char *) "self",(char *) "text",(char *) "number", NULL
8862 };
8863
8864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8866 if (!SWIG_IsOK(res1)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8868 }
8869 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8870 {
8871 arg2 = wxString_in_helper(obj1);
8872 if (arg2 == NULL) SWIG_fail;
8873 temp2 = true;
8874 }
8875 if (obj2) {
8876 ecode3 = SWIG_AsVal_int(obj2, &val3);
8877 if (!SWIG_IsOK(ecode3)) {
8878 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8879 }
8880 arg3 = static_cast< int >(val3);
8881 }
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 resultobj = SWIG_Py_Void();
8889 {
8890 if (temp2)
8891 delete arg2;
8892 }
8893 return resultobj;
8894fail:
8895 {
8896 if (temp2)
8897 delete arg2;
8898 }
8899 return NULL;
8900}
8901
8902
8903SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj = 0;
8905 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8906 int arg2 = (int) 0 ;
8907 void *argp1 = 0 ;
8908 int res1 = 0 ;
8909 int val2 ;
8910 int ecode2 = 0 ;
8911 PyObject * obj0 = 0 ;
8912 PyObject * obj1 = 0 ;
8913 char * kwnames[] = {
8914 (char *) "self",(char *) "number", NULL
8915 };
8916
8917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8919 if (!SWIG_IsOK(res1)) {
8920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8921 }
8922 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8923 if (obj1) {
8924 ecode2 = SWIG_AsVal_int(obj1, &val2);
8925 if (!SWIG_IsOK(ecode2)) {
8926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8927 }
8928 arg2 = static_cast< int >(val2);
8929 }
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 (arg1)->PopStatusText(arg2);
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 resultobj = SWIG_Py_Void();
8937 return resultobj;
8938fail:
8939 return NULL;
8940}
8941
8942
8943SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj = 0;
8945 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8946 int arg2 ;
8947 int *arg3 = (int *) 0 ;
8948 void *argp1 = 0 ;
8949 int res1 = 0 ;
8950 PyObject * obj0 = 0 ;
8951 PyObject * obj1 = 0 ;
8952 char * kwnames[] = {
8953 (char *) "self",(char *) "widths", NULL
8954 };
8955
8956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8958 if (!SWIG_IsOK(res1)) {
8959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8960 }
8961 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8962 {
8963 arg2 = PyList_Size(obj1);
8964 arg3 = int_LIST_helper(obj1);
8965 if (arg3 == NULL) SWIG_fail;
8966 }
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 resultobj = SWIG_Py_Void();
8974 {
8975 if (arg3) delete [] arg3;
8976 }
8977 return resultobj;
8978fail:
8979 {
8980 if (arg3) delete [] arg3;
8981 }
8982 return NULL;
d55e5bfc
RD
8983}
8984
8985
1bd55598
RD
8986SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj = 0;
8988 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8989 int arg2 ;
8990 int *arg3 = (int *) 0 ;
8991 void *argp1 = 0 ;
8992 int res1 = 0 ;
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
8995 char * kwnames[] = {
8996 (char *) "self",(char *) "styles", NULL
8997 };
8998
8999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9001 if (!SWIG_IsOK(res1)) {
9002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9003 }
9004 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9005 {
9006 arg2 = PyList_Size(obj1);
9007 arg3 = int_LIST_helper(obj1);
9008 if (arg3 == NULL) SWIG_fail;
9009 }
9010 {
9011 PyThreadState* __tstate = wxPyBeginAllowThreads();
9012 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 resultobj = SWIG_Py_Void();
9017 {
9018 if (arg3) delete [] arg3;
9019 }
9020 return resultobj;
9021fail:
9022 {
9023 if (arg3) delete [] arg3;
9024 }
9025 return NULL;
9026}
9027
9028
9029SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj = 0;
9031 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9032 int arg2 ;
9033 wxRect result;
9034 void *argp1 = 0 ;
9035 int res1 = 0 ;
9036 int val2 ;
9037 int ecode2 = 0 ;
9038 PyObject * obj0 = 0 ;
9039 PyObject * obj1 = 0 ;
9040 char * kwnames[] = {
9041 (char *) "self",(char *) "i", NULL
9042 };
9043
9044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9046 if (!SWIG_IsOK(res1)) {
9047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9048 }
9049 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9050 ecode2 = SWIG_AsVal_int(obj1, &val2);
9051 if (!SWIG_IsOK(ecode2)) {
9052 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9053 }
9054 arg2 = static_cast< int >(val2);
9055 {
9056 PyThreadState* __tstate = wxPyBeginAllowThreads();
9057 result = wxStatusBar_GetFieldRect(arg1,arg2);
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9062 return resultobj;
9063fail:
9064 return NULL;
9065}
9066
9067
9068SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj = 0;
9070 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9071 int arg2 ;
9072 void *argp1 = 0 ;
9073 int res1 = 0 ;
9074 int val2 ;
9075 int ecode2 = 0 ;
9076 PyObject * obj0 = 0 ;
9077 PyObject * obj1 = 0 ;
9078 char * kwnames[] = {
9079 (char *) "self",(char *) "height", NULL
9080 };
9081
9082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9084 if (!SWIG_IsOK(res1)) {
9085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9086 }
9087 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9088 ecode2 = SWIG_AsVal_int(obj1, &val2);
9089 if (!SWIG_IsOK(ecode2)) {
9090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9091 }
9092 arg2 = static_cast< int >(val2);
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 (arg1)->SetMinHeight(arg2);
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 resultobj = SWIG_Py_Void();
9100 return resultobj;
9101fail:
9102 return NULL;
d55e5bfc
RD
9103}
9104
9105
1bd55598
RD
9106SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9107 PyObject *resultobj = 0;
9108 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9109 int result;
9110 void *argp1 = 0 ;
9111 int res1 = 0 ;
9112 PyObject *swig_obj[1] ;
9113
9114 if (!args) SWIG_fail;
9115 swig_obj[0] = args;
9116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9117 if (!SWIG_IsOK(res1)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9119 }
9120 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9121 {
9122 PyThreadState* __tstate = wxPyBeginAllowThreads();
9123 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
9127 resultobj = SWIG_From_int(static_cast< int >(result));
9128 return resultobj;
9129fail:
9130 return NULL;
d55e5bfc
RD
9131}
9132
9133
1bd55598
RD
9134SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9135 PyObject *resultobj = 0;
9136 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9137 int result;
9138 void *argp1 = 0 ;
9139 int res1 = 0 ;
9140 PyObject *swig_obj[1] ;
9141
9142 if (!args) SWIG_fail;
9143 swig_obj[0] = args;
9144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9145 if (!SWIG_IsOK(res1)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9147 }
9148 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 }
9155 resultobj = SWIG_From_int(static_cast< int >(result));
9156 return resultobj;
9157fail:
9158 return NULL;
9159}
9160
9161
9162SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9163 PyObject *resultobj = 0;
9164 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9165 SwigValueWrapper<wxVisualAttributes > result;
9166 int val1 ;
9167 int ecode1 = 0 ;
9168 PyObject * obj0 = 0 ;
9169 char * kwnames[] = {
9170 (char *) "variant", NULL
9171 };
9172
9173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9174 if (obj0) {
9175 ecode1 = SWIG_AsVal_int(obj0, &val1);
9176 if (!SWIG_IsOK(ecode1)) {
9177 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9178 }
9179 arg1 = static_cast< wxWindowVariant >(val1);
9180 }
9181 {
9182 if (!wxPyCheckForApp()) SWIG_fail;
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9189 return resultobj;
9190fail:
9191 return NULL;
d55e5bfc
RD
9192}
9193
9194
1bd55598
RD
9195SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9196 PyObject *obj;
9197 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9198 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9199 return SWIG_Py_Void();
d55e5bfc
RD
9200}
9201
1bd55598
RD
9202SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9203 return SWIG_Python_InitShadowInstance(args);
9204}
d55e5bfc 9205
1bd55598
RD
9206SWIGINTERN int SplitterNameStr_set(PyObject *) {
9207 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9208 return 1;
d55e5bfc
RD
9209}
9210
9211
1bd55598
RD
9212SWIGINTERN PyObject *SplitterNameStr_get(void) {
9213 PyObject *pyobj = 0;
9214
9215 {
9216#if wxUSE_UNICODE
9217 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9218#else
9219 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9220#endif
9221 }
9222 return pyobj;
9223}
9224
9225
9226SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9227 PyObject *resultobj = 0;
9228 wxWindow *arg1 = (wxWindow *) 0 ;
9229 int arg2 = (int) -1 ;
9230 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9231 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9232 wxSize const &arg4_defvalue = wxDefaultSize ;
9233 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9234 long arg5 = (long) wxSP_3D ;
9235 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9236 wxString *arg6 = (wxString *) &arg6_defvalue ;
9237 wxSplitterWindow *result = 0 ;
9238 void *argp1 = 0 ;
9239 int res1 = 0 ;
9240 int val2 ;
9241 int ecode2 = 0 ;
9242 wxPoint temp3 ;
9243 wxSize temp4 ;
9244 long val5 ;
9245 int ecode5 = 0 ;
9246 bool temp6 = false ;
9247 PyObject * obj0 = 0 ;
9248 PyObject * obj1 = 0 ;
9249 PyObject * obj2 = 0 ;
9250 PyObject * obj3 = 0 ;
9251 PyObject * obj4 = 0 ;
9252 PyObject * obj5 = 0 ;
9253 char * kwnames[] = {
9254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9255 };
9256
9257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9259 if (!SWIG_IsOK(res1)) {
9260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9261 }
9262 arg1 = reinterpret_cast< wxWindow * >(argp1);
9263 if (obj1) {
9264 ecode2 = SWIG_AsVal_int(obj1, &val2);
9265 if (!SWIG_IsOK(ecode2)) {
9266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9267 }
9268 arg2 = static_cast< int >(val2);
9269 }
9270 if (obj2) {
36ed4f51 9271 {
1bd55598
RD
9272 arg3 = &temp3;
9273 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 9274 }
1bd55598
RD
9275 }
9276 if (obj3) {
d55e5bfc 9277 {
1bd55598
RD
9278 arg4 = &temp4;
9279 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9280 }
1bd55598
RD
9281 }
9282 if (obj4) {
9283 ecode5 = SWIG_AsVal_long(obj4, &val5);
9284 if (!SWIG_IsOK(ecode5)) {
9285 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9286 }
9287 arg5 = static_cast< long >(val5);
9288 }
9289 if (obj5) {
36ed4f51 9290 {
1bd55598
RD
9291 arg6 = wxString_in_helper(obj5);
9292 if (arg6 == NULL) SWIG_fail;
9293 temp6 = true;
36ed4f51 9294 }
1bd55598
RD
9295 }
9296 {
9297 if (!wxPyCheckForApp()) SWIG_fail;
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9304 {
9305 if (temp6)
9306 delete arg6;
9307 }
9308 return resultobj;
9309fail:
9310 {
9311 if (temp6)
9312 delete arg6;
9313 }
9314 return NULL;
d55e5bfc
RD
9315}
9316
9317
1bd55598
RD
9318SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9319 PyObject *resultobj = 0;
9320 wxSplitterWindow *result = 0 ;
9321
9322 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9323 {
9324 if (!wxPyCheckForApp()) SWIG_fail;
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 result = (wxSplitterWindow *)new wxSplitterWindow();
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9331 return resultobj;
9332fail:
9333 return NULL;
9334}
9335
9336
9337SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj = 0;
9339 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9340 wxWindow *arg2 = (wxWindow *) 0 ;
9341 int arg3 = (int) -1 ;
9342 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9343 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9344 wxSize const &arg5_defvalue = wxDefaultSize ;
9345 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9346 long arg6 = (long) wxSP_3D ;
9347 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9348 wxString *arg7 = (wxString *) &arg7_defvalue ;
9349 bool result;
9350 void *argp1 = 0 ;
9351 int res1 = 0 ;
9352 void *argp2 = 0 ;
9353 int res2 = 0 ;
9354 int val3 ;
9355 int ecode3 = 0 ;
9356 wxPoint temp4 ;
9357 wxSize temp5 ;
9358 long val6 ;
9359 int ecode6 = 0 ;
9360 bool temp7 = false ;
9361 PyObject * obj0 = 0 ;
9362 PyObject * obj1 = 0 ;
9363 PyObject * obj2 = 0 ;
9364 PyObject * obj3 = 0 ;
9365 PyObject * obj4 = 0 ;
9366 PyObject * obj5 = 0 ;
9367 PyObject * obj6 = 0 ;
9368 char * kwnames[] = {
9369 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9370 };
9371
9372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9374 if (!SWIG_IsOK(res1)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9376 }
9377 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9378 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9379 if (!SWIG_IsOK(res2)) {
9380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9381 }
9382 arg2 = reinterpret_cast< wxWindow * >(argp2);
9383 if (obj2) {
9384 ecode3 = SWIG_AsVal_int(obj2, &val3);
9385 if (!SWIG_IsOK(ecode3)) {
9386 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9387 }
9388 arg3 = static_cast< int >(val3);
9389 }
9390 if (obj3) {
d55e5bfc 9391 {
1bd55598
RD
9392 arg4 = &temp4;
9393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9394 }
1bd55598
RD
9395 }
9396 if (obj4) {
d55e5bfc 9397 {
1bd55598
RD
9398 arg5 = &temp5;
9399 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9400 }
1bd55598
RD
9401 }
9402 if (obj5) {
9403 ecode6 = SWIG_AsVal_long(obj5, &val6);
9404 if (!SWIG_IsOK(ecode6)) {
9405 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9406 }
9407 arg6 = static_cast< long >(val6);
9408 }
9409 if (obj6) {
d55e5bfc 9410 {
1bd55598
RD
9411 arg7 = wxString_in_helper(obj6);
9412 if (arg7 == NULL) SWIG_fail;
9413 temp7 = true;
d55e5bfc 9414 }
1bd55598
RD
9415 }
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 {
9423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9424 }
9425 {
9426 if (temp7)
9427 delete arg7;
9428 }
9429 return resultobj;
9430fail:
9431 {
9432 if (temp7)
9433 delete arg7;
9434 }
9435 return NULL;
d55e5bfc
RD
9436}
9437
9438
1bd55598
RD
9439SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9440 PyObject *resultobj = 0;
9441 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9442 wxWindow *result = 0 ;
9443 void *argp1 = 0 ;
9444 int res1 = 0 ;
9445 PyObject *swig_obj[1] ;
9446
9447 if (!args) SWIG_fail;
9448 swig_obj[0] = args;
9449 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9450 if (!SWIG_IsOK(res1)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9452 }
9453 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9457 wxPyEndAllowThreads(__tstate);
9458 if (PyErr_Occurred()) SWIG_fail;
9459 }
9460 {
9461 resultobj = wxPyMake_wxObject(result, 0);
9462 }
9463 return resultobj;
9464fail:
9465 return NULL;
d55e5bfc
RD
9466}
9467
9468
1bd55598
RD
9469SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9470 PyObject *resultobj = 0;
9471 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9472 wxWindow *result = 0 ;
9473 void *argp1 = 0 ;
9474 int res1 = 0 ;
9475 PyObject *swig_obj[1] ;
9476
9477 if (!args) SWIG_fail;
9478 swig_obj[0] = args;
9479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9480 if (!SWIG_IsOK(res1)) {
9481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9482 }
9483 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 {
9491 resultobj = wxPyMake_wxObject(result, 0);
9492 }
9493 return resultobj;
9494fail:
9495 return NULL;
9496}
9497
9498
9499SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9500 PyObject *resultobj = 0;
9501 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9502 int arg2 ;
9503 void *argp1 = 0 ;
9504 int res1 = 0 ;
9505 int val2 ;
9506 int ecode2 = 0 ;
9507 PyObject * obj0 = 0 ;
9508 PyObject * obj1 = 0 ;
9509 char * kwnames[] = {
9510 (char *) "self",(char *) "mode", NULL
9511 };
9512
9513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9515 if (!SWIG_IsOK(res1)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9517 }
9518 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9519 ecode2 = SWIG_AsVal_int(obj1, &val2);
9520 if (!SWIG_IsOK(ecode2)) {
9521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9522 }
9523 arg2 = static_cast< int >(val2);
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 (arg1)->SetSplitMode(arg2);
9527 wxPyEndAllowThreads(__tstate);
9528 if (PyErr_Occurred()) SWIG_fail;
9529 }
9530 resultobj = SWIG_Py_Void();
9531 return resultobj;
9532fail:
9533 return NULL;
d55e5bfc
RD
9534}
9535
9536
1bd55598
RD
9537SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9538 PyObject *resultobj = 0;
9539 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9540 wxSplitMode result;
9541 void *argp1 = 0 ;
9542 int res1 = 0 ;
9543 PyObject *swig_obj[1] ;
9544
9545 if (!args) SWIG_fail;
9546 swig_obj[0] = args;
9547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9548 if (!SWIG_IsOK(res1)) {
9549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9550 }
9551 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 resultobj = SWIG_From_int(static_cast< int >(result));
9559 return resultobj;
9560fail:
9561 return NULL;
9562}
9563
9564
9565SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj = 0;
9567 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9568 wxWindow *arg2 = (wxWindow *) 0 ;
9569 void *argp1 = 0 ;
9570 int res1 = 0 ;
9571 void *argp2 = 0 ;
9572 int res2 = 0 ;
9573 PyObject * obj0 = 0 ;
9574 PyObject * obj1 = 0 ;
9575 char * kwnames[] = {
9576 (char *) "self",(char *) "window", NULL
9577 };
9578
9579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9581 if (!SWIG_IsOK(res1)) {
9582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9583 }
9584 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9585 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9586 if (!SWIG_IsOK(res2)) {
9587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9588 }
9589 arg2 = reinterpret_cast< wxWindow * >(argp2);
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 (arg1)->Initialize(arg2);
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 resultobj = SWIG_Py_Void();
9597 return resultobj;
9598fail:
9599 return NULL;
9600}
9601
9602
9603SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9604 PyObject *resultobj = 0;
9605 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9606 wxWindow *arg2 = (wxWindow *) 0 ;
9607 wxWindow *arg3 = (wxWindow *) 0 ;
9608 int arg4 = (int) 0 ;
9609 bool result;
9610 void *argp1 = 0 ;
9611 int res1 = 0 ;
9612 void *argp2 = 0 ;
9613 int res2 = 0 ;
9614 void *argp3 = 0 ;
9615 int res3 = 0 ;
9616 int val4 ;
9617 int ecode4 = 0 ;
9618 PyObject * obj0 = 0 ;
9619 PyObject * obj1 = 0 ;
9620 PyObject * obj2 = 0 ;
9621 PyObject * obj3 = 0 ;
9622 char * kwnames[] = {
9623 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9624 };
9625
9626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9628 if (!SWIG_IsOK(res1)) {
9629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9630 }
9631 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9632 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9633 if (!SWIG_IsOK(res2)) {
9634 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9635 }
9636 arg2 = reinterpret_cast< wxWindow * >(argp2);
9637 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9638 if (!SWIG_IsOK(res3)) {
9639 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9640 }
9641 arg3 = reinterpret_cast< wxWindow * >(argp3);
9642 if (obj3) {
9643 ecode4 = SWIG_AsVal_int(obj3, &val4);
9644 if (!SWIG_IsOK(ecode4)) {
9645 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9646 }
9647 arg4 = static_cast< int >(val4);
9648 }
9649 {
9650 PyThreadState* __tstate = wxPyBeginAllowThreads();
9651 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 {
9656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9657 }
9658 return resultobj;
9659fail:
9660 return NULL;
9661}
9662
9663
9664SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj = 0;
9666 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9667 wxWindow *arg2 = (wxWindow *) 0 ;
9668 wxWindow *arg3 = (wxWindow *) 0 ;
9669 int arg4 = (int) 0 ;
9670 bool result;
9671 void *argp1 = 0 ;
9672 int res1 = 0 ;
9673 void *argp2 = 0 ;
9674 int res2 = 0 ;
9675 void *argp3 = 0 ;
9676 int res3 = 0 ;
9677 int val4 ;
9678 int ecode4 = 0 ;
9679 PyObject * obj0 = 0 ;
9680 PyObject * obj1 = 0 ;
9681 PyObject * obj2 = 0 ;
9682 PyObject * obj3 = 0 ;
9683 char * kwnames[] = {
9684 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9685 };
9686
9687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9689 if (!SWIG_IsOK(res1)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9691 }
9692 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9693 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9694 if (!SWIG_IsOK(res2)) {
9695 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9696 }
9697 arg2 = reinterpret_cast< wxWindow * >(argp2);
9698 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9699 if (!SWIG_IsOK(res3)) {
9700 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9701 }
9702 arg3 = reinterpret_cast< wxWindow * >(argp3);
9703 if (obj3) {
9704 ecode4 = SWIG_AsVal_int(obj3, &val4);
9705 if (!SWIG_IsOK(ecode4)) {
9706 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9707 }
9708 arg4 = static_cast< int >(val4);
9709 }
9710 {
9711 PyThreadState* __tstate = wxPyBeginAllowThreads();
9712 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9713 wxPyEndAllowThreads(__tstate);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 }
9716 {
9717 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9718 }
9719 return resultobj;
9720fail:
9721 return NULL;
9722}
9723
9724
9725SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9726 PyObject *resultobj = 0;
9727 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9728 wxWindow *arg2 = (wxWindow *) NULL ;
9729 bool result;
9730 void *argp1 = 0 ;
9731 int res1 = 0 ;
9732 void *argp2 = 0 ;
9733 int res2 = 0 ;
9734 PyObject * obj0 = 0 ;
9735 PyObject * obj1 = 0 ;
9736 char * kwnames[] = {
9737 (char *) "self",(char *) "toRemove", NULL
9738 };
9739
9740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9742 if (!SWIG_IsOK(res1)) {
9743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9744 }
9745 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9746 if (obj1) {
9747 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9748 if (!SWIG_IsOK(res2)) {
9749 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
f20a2e1f 9750 }
1bd55598
RD
9751 arg2 = reinterpret_cast< wxWindow * >(argp2);
9752 }
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (bool)(arg1)->Unsplit(arg2);
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 {
9760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9761 }
9762 return resultobj;
9763fail:
9764 return NULL;
9765}
9766
9767
9768SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9769 PyObject *resultobj = 0;
9770 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9771 wxWindow *arg2 = (wxWindow *) 0 ;
9772 wxWindow *arg3 = (wxWindow *) 0 ;
9773 bool result;
9774 void *argp1 = 0 ;
9775 int res1 = 0 ;
9776 void *argp2 = 0 ;
9777 int res2 = 0 ;
9778 void *argp3 = 0 ;
9779 int res3 = 0 ;
9780 PyObject * obj0 = 0 ;
9781 PyObject * obj1 = 0 ;
9782 PyObject * obj2 = 0 ;
9783 char * kwnames[] = {
9784 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9785 };
9786
9787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9789 if (!SWIG_IsOK(res1)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9791 }
9792 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9793 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9794 if (!SWIG_IsOK(res2)) {
9795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9796 }
9797 arg2 = reinterpret_cast< wxWindow * >(argp2);
9798 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9799 if (!SWIG_IsOK(res3)) {
9800 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9801 }
9802 arg3 = reinterpret_cast< wxWindow * >(argp3);
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 {
9810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9811 }
9812 return resultobj;
9813fail:
9814 return NULL;
f20a2e1f
RD
9815}
9816
9817
1bd55598
RD
9818SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9819 PyObject *resultobj = 0;
9820 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9821 void *argp1 = 0 ;
9822 int res1 = 0 ;
9823 PyObject *swig_obj[1] ;
9824
9825 if (!args) SWIG_fail;
9826 swig_obj[0] = args;
9827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9828 if (!SWIG_IsOK(res1)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9830 }
9831 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 (arg1)->UpdateSize();
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 }
9838 resultobj = SWIG_Py_Void();
9839 return resultobj;
9840fail:
9841 return NULL;
d55e5bfc
RD
9842}
9843
9844
1bd55598
RD
9845SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9846 PyObject *resultobj = 0;
9847 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9848 bool result;
9849 void *argp1 = 0 ;
9850 int res1 = 0 ;
9851 PyObject *swig_obj[1] ;
9852
9853 if (!args) SWIG_fail;
9854 swig_obj[0] = args;
9855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9856 if (!SWIG_IsOK(res1)) {
9857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9858 }
9859 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9860 {
9861 PyThreadState* __tstate = wxPyBeginAllowThreads();
9862 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9863 wxPyEndAllowThreads(__tstate);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 {
9867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9868 }
9869 return resultobj;
9870fail:
9871 return NULL;
9872}
9873
9874
9875SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj = 0;
9877 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9878 int arg2 ;
9879 void *argp1 = 0 ;
9880 int res1 = 0 ;
9881 int val2 ;
9882 int ecode2 = 0 ;
9883 PyObject * obj0 = 0 ;
9884 PyObject * obj1 = 0 ;
9885 char * kwnames[] = {
9886 (char *) "self",(char *) "width", NULL
9887 };
9888
9889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9891 if (!SWIG_IsOK(res1)) {
9892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9893 }
9894 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9895 ecode2 = SWIG_AsVal_int(obj1, &val2);
9896 if (!SWIG_IsOK(ecode2)) {
9897 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9898 }
9899 arg2 = static_cast< int >(val2);
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 (arg1)->SetSashSize(arg2);
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 resultobj = SWIG_Py_Void();
9907 return resultobj;
9908fail:
9909 return NULL;
9910}
9911
9912
9913SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9914 PyObject *resultobj = 0;
9915 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9916 int arg2 ;
9917 void *argp1 = 0 ;
9918 int res1 = 0 ;
9919 int val2 ;
9920 int ecode2 = 0 ;
9921 PyObject * obj0 = 0 ;
9922 PyObject * obj1 = 0 ;
9923 char * kwnames[] = {
9924 (char *) "self",(char *) "width", NULL
9925 };
9926
9927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9929 if (!SWIG_IsOK(res1)) {
9930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9931 }
9932 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9933 ecode2 = SWIG_AsVal_int(obj1, &val2);
9934 if (!SWIG_IsOK(ecode2)) {
9935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9936 }
9937 arg2 = static_cast< int >(val2);
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 (arg1)->SetBorderSize(arg2);
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 resultobj = SWIG_Py_Void();
9945 return resultobj;
9946fail:
9947 return NULL;
d55e5bfc
RD
9948}
9949
9950
1bd55598
RD
9951SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9952 PyObject *resultobj = 0;
9953 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9954 int result;
9955 void *argp1 = 0 ;
9956 int res1 = 0 ;
9957 PyObject *swig_obj[1] ;
9958
9959 if (!args) SWIG_fail;
9960 swig_obj[0] = args;
9961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9962 if (!SWIG_IsOK(res1)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9964 }
9965 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9966 {
9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
9968 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 resultobj = SWIG_From_int(static_cast< int >(result));
9973 return resultobj;
9974fail:
9975 return NULL;
d55e5bfc
RD
9976}
9977
9978
1bd55598
RD
9979SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9980 PyObject *resultobj = 0;
9981 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9982 int result;
9983 void *argp1 = 0 ;
9984 int res1 = 0 ;
9985 PyObject *swig_obj[1] ;
9986
9987 if (!args) SWIG_fail;
9988 swig_obj[0] = args;
9989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9990 if (!SWIG_IsOK(res1)) {
9991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9992 }
9993 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 resultobj = SWIG_From_int(static_cast< int >(result));
10001 return resultobj;
10002fail:
10003 return NULL;
10004}
10005
10006
10007SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj = 0;
10009 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10010 int arg2 ;
10011 bool arg3 = (bool) true ;
10012 void *argp1 = 0 ;
10013 int res1 = 0 ;
10014 int val2 ;
10015 int ecode2 = 0 ;
10016 bool val3 ;
10017 int ecode3 = 0 ;
10018 PyObject * obj0 = 0 ;
10019 PyObject * obj1 = 0 ;
10020 PyObject * obj2 = 0 ;
10021 char * kwnames[] = {
10022 (char *) "self",(char *) "position",(char *) "redraw", NULL
10023 };
10024
10025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10027 if (!SWIG_IsOK(res1)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 }
10030 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10031 ecode2 = SWIG_AsVal_int(obj1, &val2);
10032 if (!SWIG_IsOK(ecode2)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10034 }
10035 arg2 = static_cast< int >(val2);
10036 if (obj2) {
10037 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10038 if (!SWIG_IsOK(ecode3)) {
10039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10040 }
10041 arg3 = static_cast< bool >(val3);
10042 }
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 (arg1)->SetSashPosition(arg2,arg3);
10046 wxPyEndAllowThreads(__tstate);
10047 if (PyErr_Occurred()) SWIG_fail;
10048 }
10049 resultobj = SWIG_Py_Void();
10050 return resultobj;
10051fail:
10052 return NULL;
d55e5bfc
RD
10053}
10054
10055
1bd55598
RD
10056SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10057 PyObject *resultobj = 0;
10058 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10059 int result;
10060 void *argp1 = 0 ;
10061 int res1 = 0 ;
10062 PyObject *swig_obj[1] ;
10063
10064 if (!args) SWIG_fail;
10065 swig_obj[0] = args;
10066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10067 if (!SWIG_IsOK(res1)) {
10068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10069 }
10070 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10074 wxPyEndAllowThreads(__tstate);
10075 if (PyErr_Occurred()) SWIG_fail;
10076 }
10077 resultobj = SWIG_From_int(static_cast< int >(result));
10078 return resultobj;
10079fail:
10080 return NULL;
10081}
10082
10083
10084SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj = 0;
10086 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10087 double arg2 ;
10088 void *argp1 = 0 ;
10089 int res1 = 0 ;
10090 double val2 ;
10091 int ecode2 = 0 ;
10092 PyObject * obj0 = 0 ;
10093 PyObject * obj1 = 0 ;
10094 char * kwnames[] = {
10095 (char *) "self",(char *) "gravity", NULL
10096 };
10097
10098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10100 if (!SWIG_IsOK(res1)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10102 }
10103 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10104 ecode2 = SWIG_AsVal_double(obj1, &val2);
10105 if (!SWIG_IsOK(ecode2)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10107 }
10108 arg2 = static_cast< double >(val2);
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 (arg1)->SetSashGravity(arg2);
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_Py_Void();
10116 return resultobj;
10117fail:
10118 return NULL;
d55e5bfc
RD
10119}
10120
10121
1bd55598
RD
10122SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10123 PyObject *resultobj = 0;
10124 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10125 double result;
10126 void *argp1 = 0 ;
10127 int res1 = 0 ;
10128 PyObject *swig_obj[1] ;
10129
10130 if (!args) SWIG_fail;
10131 swig_obj[0] = args;
10132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10133 if (!SWIG_IsOK(res1)) {
10134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10135 }
10136 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10137 {
10138 PyThreadState* __tstate = wxPyBeginAllowThreads();
10139 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10140 wxPyEndAllowThreads(__tstate);
10141 if (PyErr_Occurred()) SWIG_fail;
10142 }
10143 resultobj = SWIG_From_double(static_cast< double >(result));
10144 return resultobj;
10145fail:
10146 return NULL;
10147}
10148
10149
10150SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10151 PyObject *resultobj = 0;
10152 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10153 int arg2 ;
10154 void *argp1 = 0 ;
10155 int res1 = 0 ;
10156 int val2 ;
10157 int ecode2 = 0 ;
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
10160 char * kwnames[] = {
10161 (char *) "self",(char *) "min", NULL
10162 };
10163
10164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) 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_SetMinimumPaneSize" "', 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_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10173 }
10174 arg2 = static_cast< int >(val2);
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 (arg1)->SetMinimumPaneSize(arg2);
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 resultobj = SWIG_Py_Void();
10182 return resultobj;
10183fail:
10184 return NULL;
b1fcee84
RD
10185}
10186
10187
1bd55598
RD
10188SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10189 PyObject *resultobj = 0;
10190 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10191 int result;
10192 void *argp1 = 0 ;
10193 int res1 = 0 ;
10194 PyObject *swig_obj[1] ;
10195
10196 if (!args) SWIG_fail;
10197 swig_obj[0] = args;
10198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10199 if (!SWIG_IsOK(res1)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10201 }
10202 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 resultobj = SWIG_From_int(static_cast< int >(result));
10210 return resultobj;
10211fail:
10212 return NULL;
10213}
10214
10215
10216SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10217 PyObject *resultobj = 0;
10218 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10219 int arg2 ;
10220 int arg3 ;
10221 int arg4 = (int) 5 ;
10222 bool result;
10223 void *argp1 = 0 ;
10224 int res1 = 0 ;
10225 int val2 ;
10226 int ecode2 = 0 ;
10227 int val3 ;
10228 int ecode3 = 0 ;
10229 int val4 ;
10230 int ecode4 = 0 ;
10231 PyObject * obj0 = 0 ;
10232 PyObject * obj1 = 0 ;
10233 PyObject * obj2 = 0 ;
10234 PyObject * obj3 = 0 ;
10235 char * kwnames[] = {
10236 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10237 };
10238
10239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10241 if (!SWIG_IsOK(res1)) {
10242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10243 }
10244 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10245 ecode2 = SWIG_AsVal_int(obj1, &val2);
10246 if (!SWIG_IsOK(ecode2)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10248 }
10249 arg2 = static_cast< int >(val2);
10250 ecode3 = SWIG_AsVal_int(obj2, &val3);
10251 if (!SWIG_IsOK(ecode3)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10253 }
10254 arg3 = static_cast< int >(val3);
10255 if (obj3) {
10256 ecode4 = SWIG_AsVal_int(obj3, &val4);
10257 if (!SWIG_IsOK(ecode4)) {
10258 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10259 }
10260 arg4 = static_cast< int >(val4);
10261 }
10262 {
10263 PyThreadState* __tstate = wxPyBeginAllowThreads();
10264 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10265 wxPyEndAllowThreads(__tstate);
10266 if (PyErr_Occurred()) SWIG_fail;
10267 }
10268 {
10269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10270 }
10271 return resultobj;
10272fail:
10273 return NULL;
b1fcee84
RD
10274}
10275
10276
1bd55598
RD
10277SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10278 PyObject *resultobj = 0;
10279 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10280 void *argp1 = 0 ;
10281 int res1 = 0 ;
10282 PyObject *swig_obj[1] ;
10283
10284 if (!args) SWIG_fail;
10285 swig_obj[0] = args;
10286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10287 if (!SWIG_IsOK(res1)) {
10288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10289 }
10290 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 (arg1)->SizeWindows();
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 resultobj = SWIG_Py_Void();
10298 return resultobj;
10299fail:
10300 return NULL;
10301}
10302
10303
10304SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10305 PyObject *resultobj = 0;
10306 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10307 bool arg2 ;
10308 void *argp1 = 0 ;
10309 int res1 = 0 ;
10310 bool val2 ;
10311 int ecode2 = 0 ;
10312 PyObject * obj0 = 0 ;
10313 PyObject * obj1 = 0 ;
10314 char * kwnames[] = {
10315 (char *) "self",(char *) "needUpdating", NULL
10316 };
10317
10318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10320 if (!SWIG_IsOK(res1)) {
10321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10322 }
10323 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10324 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10325 if (!SWIG_IsOK(ecode2)) {
10326 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10327 }
10328 arg2 = static_cast< bool >(val2);
10329 {
10330 PyThreadState* __tstate = wxPyBeginAllowThreads();
10331 (arg1)->SetNeedUpdating(arg2);
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 resultobj = SWIG_Py_Void();
10336 return resultobj;
10337fail:
10338 return NULL;
b1fcee84
RD
10339}
10340
10341
1bd55598
RD
10342SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10343 PyObject *resultobj = 0;
10344 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10345 bool result;
10346 void *argp1 = 0 ;
10347 int res1 = 0 ;
10348 PyObject *swig_obj[1] ;
10349
10350 if (!args) SWIG_fail;
10351 swig_obj[0] = args;
10352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10353 if (!SWIG_IsOK(res1)) {
10354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10355 }
10356 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 {
10364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10365 }
10366 return resultobj;
10367fail:
10368 return NULL;
b1fcee84
RD
10369}
10370
10371
1bd55598
RD
10372SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj = 0;
10374 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10375 SwigValueWrapper<wxVisualAttributes > result;
10376 int val1 ;
10377 int ecode1 = 0 ;
10378 PyObject * obj0 = 0 ;
10379 char * kwnames[] = {
10380 (char *) "variant", NULL
10381 };
10382
10383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10384 if (obj0) {
10385 ecode1 = SWIG_AsVal_int(obj0, &val1);
10386 if (!SWIG_IsOK(ecode1)) {
10387 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10388 }
10389 arg1 = static_cast< wxWindowVariant >(val1);
10390 }
10391 {
10392 if (!wxPyCheckForApp()) SWIG_fail;
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10399 return resultobj;
10400fail:
10401 return NULL;
d55e5bfc
RD
10402}
10403
10404
1bd55598
RD
10405SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10406 PyObject *obj;
10407 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10408 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10409 return SWIG_Py_Void();
d55e5bfc
RD
10410}
10411
1bd55598
RD
10412SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10413 return SWIG_Python_InitShadowInstance(args);
62d32a5f
RD
10414}
10415
1bd55598
RD
10416SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10417 PyObject *resultobj = 0;
10418 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10419 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10420 wxSplitterEvent *result = 0 ;
10421 int val1 ;
10422 int ecode1 = 0 ;
10423 void *argp2 = 0 ;
10424 int res2 = 0 ;
10425 PyObject * obj0 = 0 ;
10426 PyObject * obj1 = 0 ;
10427 char * kwnames[] = {
10428 (char *) "type",(char *) "splitter", NULL
10429 };
10430
10431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10432 if (obj0) {
10433 ecode1 = SWIG_AsVal_int(obj0, &val1);
10434 if (!SWIG_IsOK(ecode1)) {
10435 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10436 }
10437 arg1 = static_cast< wxEventType >(val1);
10438 }
10439 if (obj1) {
10440 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10441 if (!SWIG_IsOK(res2)) {
10442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
d55e5bfc 10443 }
1bd55598
RD
10444 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10453 return resultobj;
10454fail:
10455 return NULL;
10456}
10457
10458
10459SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10460 PyObject *resultobj = 0;
10461 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10462 int arg2 ;
10463 void *argp1 = 0 ;
10464 int res1 = 0 ;
10465 int val2 ;
10466 int ecode2 = 0 ;
10467 PyObject * obj0 = 0 ;
10468 PyObject * obj1 = 0 ;
10469 char * kwnames[] = {
10470 (char *) "self",(char *) "pos", NULL
10471 };
10472
10473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10475 if (!SWIG_IsOK(res1)) {
10476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10477 }
10478 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10479 ecode2 = SWIG_AsVal_int(obj1, &val2);
10480 if (!SWIG_IsOK(ecode2)) {
10481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10482 }
10483 arg2 = static_cast< int >(val2);
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
10486 (arg1)->SetSashPosition(arg2);
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 resultobj = SWIG_Py_Void();
10491 return resultobj;
10492fail:
10493 return NULL;
d55e5bfc
RD
10494}
10495
10496
1bd55598
RD
10497SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10498 PyObject *resultobj = 0;
10499 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10500 int result;
10501 void *argp1 = 0 ;
10502 int res1 = 0 ;
10503 PyObject *swig_obj[1] ;
10504
10505 if (!args) SWIG_fail;
10506 swig_obj[0] = args;
10507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10508 if (!SWIG_IsOK(res1)) {
10509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10510 }
10511 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 resultobj = SWIG_From_int(static_cast< int >(result));
10519 return resultobj;
10520fail:
10521 return NULL;
d55e5bfc
RD
10522}
10523
10524
1bd55598
RD
10525SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10526 PyObject *resultobj = 0;
10527 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10528 wxWindow *result = 0 ;
10529 void *argp1 = 0 ;
10530 int res1 = 0 ;
10531 PyObject *swig_obj[1] ;
10532
10533 if (!args) SWIG_fail;
10534 swig_obj[0] = args;
10535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10536 if (!SWIG_IsOK(res1)) {
10537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10538 }
10539 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10540 {
10541 PyThreadState* __tstate = wxPyBeginAllowThreads();
10542 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10543 wxPyEndAllowThreads(__tstate);
10544 if (PyErr_Occurred()) SWIG_fail;
10545 }
10546 {
10547 resultobj = wxPyMake_wxObject(result, 0);
10548 }
10549 return resultobj;
10550fail:
10551 return NULL;
d55e5bfc
RD
10552}
10553
10554
1bd55598
RD
10555SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10556 PyObject *resultobj = 0;
10557 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10558 int result;
10559 void *argp1 = 0 ;
10560 int res1 = 0 ;
10561 PyObject *swig_obj[1] ;
10562
10563 if (!args) SWIG_fail;
10564 swig_obj[0] = args;
10565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10566 if (!SWIG_IsOK(res1)) {
10567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10568 }
10569 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10570 {
10571 PyThreadState* __tstate = wxPyBeginAllowThreads();
10572 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 resultobj = SWIG_From_int(static_cast< int >(result));
10577 return resultobj;
10578fail:
10579 return NULL;
f20a2e1f
RD
10580}
10581
10582
1bd55598
RD
10583SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10584 PyObject *resultobj = 0;
10585 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10586 int result;
10587 void *argp1 = 0 ;
10588 int res1 = 0 ;
10589 PyObject *swig_obj[1] ;
10590
10591 if (!args) SWIG_fail;
10592 swig_obj[0] = args;
10593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10594 if (!SWIG_IsOK(res1)) {
10595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10596 }
10597 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10598 {
10599 PyThreadState* __tstate = wxPyBeginAllowThreads();
10600 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10601 wxPyEndAllowThreads(__tstate);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 }
10604 resultobj = SWIG_From_int(static_cast< int >(result));
10605 return resultobj;
10606fail:
10607 return NULL;
d55e5bfc
RD
10608}
10609
10610
1bd55598
RD
10611SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10612 PyObject *obj;
10613 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10614 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10615 return SWIG_Py_Void();
d55e5bfc
RD
10616}
10617
1bd55598
RD
10618SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10619 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10620}
10621
1bd55598
RD
10622SWIGINTERN int SashNameStr_set(PyObject *) {
10623 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10624 return 1;
d55e5bfc
RD
10625}
10626
10627
1bd55598
RD
10628SWIGINTERN PyObject *SashNameStr_get(void) {
10629 PyObject *pyobj = 0;
10630
10631 {
10632#if wxUSE_UNICODE
10633 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10634#else
10635 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10636#endif
10637 }
10638 return pyobj;
d55e5bfc
RD
10639}
10640
10641
1bd55598
RD
10642SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10643 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10644 return 1;
d55e5bfc
RD
10645}
10646
10647
1bd55598
RD
10648SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10649 PyObject *pyobj = 0;
10650
10651 {
10652#if wxUSE_UNICODE
10653 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10654#else
10655 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10656#endif
10657 }
10658 return pyobj;
10659}
10660
10661
10662SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj = 0;
10664 wxWindow *arg1 = (wxWindow *) 0 ;
10665 int arg2 = (int) -1 ;
10666 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10667 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10668 wxSize const &arg4_defvalue = wxDefaultSize ;
10669 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10670 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10671 wxString const &arg6_defvalue = wxPySashNameStr ;
10672 wxString *arg6 = (wxString *) &arg6_defvalue ;
10673 wxSashWindow *result = 0 ;
10674 void *argp1 = 0 ;
10675 int res1 = 0 ;
10676 int val2 ;
10677 int ecode2 = 0 ;
10678 wxPoint temp3 ;
10679 wxSize temp4 ;
10680 long val5 ;
10681 int ecode5 = 0 ;
10682 bool temp6 = false ;
10683 PyObject * obj0 = 0 ;
10684 PyObject * obj1 = 0 ;
10685 PyObject * obj2 = 0 ;
10686 PyObject * obj3 = 0 ;
10687 PyObject * obj4 = 0 ;
10688 PyObject * obj5 = 0 ;
10689 char * kwnames[] = {
10690 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10691 };
10692
10693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10695 if (!SWIG_IsOK(res1)) {
10696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10697 }
10698 arg1 = reinterpret_cast< wxWindow * >(argp1);
10699 if (obj1) {
10700 ecode2 = SWIG_AsVal_int(obj1, &val2);
10701 if (!SWIG_IsOK(ecode2)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10703 }
10704 arg2 = static_cast< int >(val2);
10705 }
10706 if (obj2) {
36ed4f51 10707 {
1bd55598
RD
10708 arg3 = &temp3;
10709 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 10710 }
1bd55598
RD
10711 }
10712 if (obj3) {
36ed4f51 10713 {
1bd55598
RD
10714 arg4 = &temp4;
10715 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 10716 }
1bd55598
RD
10717 }
10718 if (obj4) {
10719 ecode5 = SWIG_AsVal_long(obj4, &val5);
10720 if (!SWIG_IsOK(ecode5)) {
10721 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10722 }
10723 arg5 = static_cast< long >(val5);
10724 }
10725 if (obj5) {
36ed4f51 10726 {
1bd55598
RD
10727 arg6 = wxString_in_helper(obj5);
10728 if (arg6 == NULL) SWIG_fail;
10729 temp6 = true;
d55e5bfc 10730 }
1bd55598
RD
10731 }
10732 {
10733 if (!wxPyCheckForApp()) SWIG_fail;
10734 PyThreadState* __tstate = wxPyBeginAllowThreads();
10735 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10736 wxPyEndAllowThreads(__tstate);
10737 if (PyErr_Occurred()) SWIG_fail;
10738 }
10739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10740 {
10741 if (temp6)
10742 delete arg6;
10743 }
10744 return resultobj;
10745fail:
10746 {
10747 if (temp6)
10748 delete arg6;
10749 }
10750 return NULL;
d55e5bfc
RD
10751}
10752
10753
1bd55598
RD
10754SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10755 PyObject *resultobj = 0;
10756 wxSashWindow *result = 0 ;
10757
10758 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10759 {
10760 if (!wxPyCheckForApp()) SWIG_fail;
10761 PyThreadState* __tstate = wxPyBeginAllowThreads();
10762 result = (wxSashWindow *)new wxSashWindow();
10763 wxPyEndAllowThreads(__tstate);
10764 if (PyErr_Occurred()) SWIG_fail;
10765 }
10766 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10767 return resultobj;
10768fail:
10769 return NULL;
10770}
10771
10772
10773SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10774 PyObject *resultobj = 0;
10775 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10776 wxWindow *arg2 = (wxWindow *) 0 ;
10777 int arg3 = (int) -1 ;
10778 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10779 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10780 wxSize const &arg5_defvalue = wxDefaultSize ;
10781 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10782 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10783 wxString const &arg7_defvalue = wxPySashNameStr ;
10784 wxString *arg7 = (wxString *) &arg7_defvalue ;
10785 bool result;
10786 void *argp1 = 0 ;
10787 int res1 = 0 ;
10788 void *argp2 = 0 ;
10789 int res2 = 0 ;
10790 int val3 ;
10791 int ecode3 = 0 ;
10792 wxPoint temp4 ;
10793 wxSize temp5 ;
10794 long val6 ;
10795 int ecode6 = 0 ;
10796 bool temp7 = false ;
10797 PyObject * obj0 = 0 ;
10798 PyObject * obj1 = 0 ;
10799 PyObject * obj2 = 0 ;
10800 PyObject * obj3 = 0 ;
10801 PyObject * obj4 = 0 ;
10802 PyObject * obj5 = 0 ;
10803 PyObject * obj6 = 0 ;
10804 char * kwnames[] = {
10805 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10806 };
10807
10808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10810 if (!SWIG_IsOK(res1)) {
10811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10812 }
10813 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10814 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10815 if (!SWIG_IsOK(res2)) {
10816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10817 }
10818 arg2 = reinterpret_cast< wxWindow * >(argp2);
10819 if (obj2) {
10820 ecode3 = SWIG_AsVal_int(obj2, &val3);
10821 if (!SWIG_IsOK(ecode3)) {
10822 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10823 }
10824 arg3 = static_cast< int >(val3);
10825 }
10826 if (obj3) {
d55e5bfc 10827 {
1bd55598
RD
10828 arg4 = &temp4;
10829 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 10830 }
1bd55598
RD
10831 }
10832 if (obj4) {
36ed4f51 10833 {
1bd55598
RD
10834 arg5 = &temp5;
10835 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 10836 }
1bd55598
RD
10837 }
10838 if (obj5) {
10839 ecode6 = SWIG_AsVal_long(obj5, &val6);
10840 if (!SWIG_IsOK(ecode6)) {
10841 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10842 }
10843 arg6 = static_cast< long >(val6);
10844 }
10845 if (obj6) {
d55e5bfc 10846 {
1bd55598
RD
10847 arg7 = wxString_in_helper(obj6);
10848 if (arg7 == NULL) SWIG_fail;
10849 temp7 = true;
36ed4f51 10850 }
1bd55598
RD
10851 }
10852 {
10853 PyThreadState* __tstate = wxPyBeginAllowThreads();
10854 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 {
10859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10860 }
10861 {
10862 if (temp7)
10863 delete arg7;
10864 }
10865 return resultobj;
10866fail:
10867 {
10868 if (temp7)
10869 delete arg7;
10870 }
10871 return NULL;
10872}
10873
10874
10875SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10876 PyObject *resultobj = 0;
10877 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10878 wxSashEdgePosition arg2 ;
10879 bool arg3 ;
10880 void *argp1 = 0 ;
10881 int res1 = 0 ;
10882 int val2 ;
10883 int ecode2 = 0 ;
10884 bool val3 ;
10885 int ecode3 = 0 ;
10886 PyObject * obj0 = 0 ;
10887 PyObject * obj1 = 0 ;
10888 PyObject * obj2 = 0 ;
10889 char * kwnames[] = {
10890 (char *) "self",(char *) "edge",(char *) "sash", NULL
10891 };
10892
10893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10895 if (!SWIG_IsOK(res1)) {
10896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10897 }
10898 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10899 ecode2 = SWIG_AsVal_int(obj1, &val2);
10900 if (!SWIG_IsOK(ecode2)) {
10901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10902 }
10903 arg2 = static_cast< wxSashEdgePosition >(val2);
10904 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10905 if (!SWIG_IsOK(ecode3)) {
10906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10907 }
10908 arg3 = static_cast< bool >(val3);
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 (arg1)->SetSashVisible(arg2,arg3);
10912 wxPyEndAllowThreads(__tstate);
10913 if (PyErr_Occurred()) SWIG_fail;
10914 }
10915 resultobj = SWIG_Py_Void();
10916 return resultobj;
10917fail:
10918 return NULL;
10919}
10920
10921
10922SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10923 PyObject *resultobj = 0;
10924 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10925 wxSashEdgePosition arg2 ;
10926 bool result;
10927 void *argp1 = 0 ;
10928 int res1 = 0 ;
10929 int val2 ;
10930 int ecode2 = 0 ;
10931 PyObject * obj0 = 0 ;
10932 PyObject * obj1 = 0 ;
10933 char * kwnames[] = {
10934 (char *) "self",(char *) "edge", NULL
10935 };
10936
10937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10939 if (!SWIG_IsOK(res1)) {
10940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10941 }
10942 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10943 ecode2 = SWIG_AsVal_int(obj1, &val2);
10944 if (!SWIG_IsOK(ecode2)) {
10945 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10946 }
10947 arg2 = static_cast< wxSashEdgePosition >(val2);
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10951 wxPyEndAllowThreads(__tstate);
10952 if (PyErr_Occurred()) SWIG_fail;
10953 }
10954 {
10955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10956 }
10957 return resultobj;
10958fail:
10959 return NULL;
10960}
10961
10962
10963SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10964 PyObject *resultobj = 0;
10965 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10966 wxSashEdgePosition arg2 ;
10967 bool arg3 ;
10968 void *argp1 = 0 ;
10969 int res1 = 0 ;
10970 int val2 ;
10971 int ecode2 = 0 ;
10972 bool val3 ;
10973 int ecode3 = 0 ;
10974 PyObject * obj0 = 0 ;
10975 PyObject * obj1 = 0 ;
10976 PyObject * obj2 = 0 ;
10977 char * kwnames[] = {
10978 (char *) "self",(char *) "edge",(char *) "border", NULL
10979 };
10980
10981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10983 if (!SWIG_IsOK(res1)) {
10984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10985 }
10986 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10987 ecode2 = SWIG_AsVal_int(obj1, &val2);
10988 if (!SWIG_IsOK(ecode2)) {
10989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10990 }
10991 arg2 = static_cast< wxSashEdgePosition >(val2);
10992 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10993 if (!SWIG_IsOK(ecode3)) {
10994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10995 }
10996 arg3 = static_cast< bool >(val3);
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 (arg1)->SetSashBorder(arg2,arg3);
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 resultobj = SWIG_Py_Void();
11004 return resultobj;
11005fail:
11006 return NULL;
11007}
11008
11009
11010SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj = 0;
11012 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11013 wxSashEdgePosition arg2 ;
11014 bool result;
11015 void *argp1 = 0 ;
11016 int res1 = 0 ;
11017 int val2 ;
11018 int ecode2 = 0 ;
11019 PyObject * obj0 = 0 ;
11020 PyObject * obj1 = 0 ;
11021 char * kwnames[] = {
11022 (char *) "self",(char *) "edge", NULL
11023 };
11024
11025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11027 if (!SWIG_IsOK(res1)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11029 }
11030 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11031 ecode2 = SWIG_AsVal_int(obj1, &val2);
11032 if (!SWIG_IsOK(ecode2)) {
11033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11034 }
11035 arg2 = static_cast< wxSashEdgePosition >(val2);
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 {
11043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11044 }
11045 return resultobj;
11046fail:
11047 return NULL;
11048}
11049
11050
11051SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11052 PyObject *resultobj = 0;
11053 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11054 wxSashEdgePosition arg2 ;
11055 int result;
11056 void *argp1 = 0 ;
11057 int res1 = 0 ;
11058 int val2 ;
11059 int ecode2 = 0 ;
11060 PyObject * obj0 = 0 ;
11061 PyObject * obj1 = 0 ;
11062 char * kwnames[] = {
11063 (char *) "self",(char *) "edge", NULL
11064 };
11065
11066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11068 if (!SWIG_IsOK(res1)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11070 }
11071 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11072 ecode2 = SWIG_AsVal_int(obj1, &val2);
11073 if (!SWIG_IsOK(ecode2)) {
11074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11075 }
11076 arg2 = static_cast< wxSashEdgePosition >(val2);
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 resultobj = SWIG_From_int(static_cast< int >(result));
11084 return resultobj;
11085fail:
11086 return NULL;
11087}
11088
11089
11090SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11091 PyObject *resultobj = 0;
11092 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11093 int arg2 ;
11094 void *argp1 = 0 ;
11095 int res1 = 0 ;
11096 int val2 ;
11097 int ecode2 = 0 ;
11098 PyObject * obj0 = 0 ;
11099 PyObject * obj1 = 0 ;
11100 char * kwnames[] = {
11101 (char *) "self",(char *) "width", NULL
11102 };
11103
11104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11106 if (!SWIG_IsOK(res1)) {
11107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11108 }
11109 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11110 ecode2 = SWIG_AsVal_int(obj1, &val2);
11111 if (!SWIG_IsOK(ecode2)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11113 }
11114 arg2 = static_cast< int >(val2);
11115 {
11116 PyThreadState* __tstate = wxPyBeginAllowThreads();
11117 (arg1)->SetDefaultBorderSize(arg2);
11118 wxPyEndAllowThreads(__tstate);
11119 if (PyErr_Occurred()) SWIG_fail;
11120 }
11121 resultobj = SWIG_Py_Void();
11122 return resultobj;
11123fail:
11124 return NULL;
d55e5bfc
RD
11125}
11126
11127
1bd55598
RD
11128SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11129 PyObject *resultobj = 0;
11130 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11131 int result;
11132 void *argp1 = 0 ;
11133 int res1 = 0 ;
11134 PyObject *swig_obj[1] ;
11135
11136 if (!args) SWIG_fail;
11137 swig_obj[0] = args;
11138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11139 if (!SWIG_IsOK(res1)) {
11140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11141 }
11142 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11146 wxPyEndAllowThreads(__tstate);
11147 if (PyErr_Occurred()) SWIG_fail;
11148 }
11149 resultobj = SWIG_From_int(static_cast< int >(result));
11150 return resultobj;
11151fail:
11152 return NULL;
11153}
11154
11155
11156SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11157 PyObject *resultobj = 0;
11158 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11159 int arg2 ;
11160 void *argp1 = 0 ;
11161 int res1 = 0 ;
11162 int val2 ;
11163 int ecode2 = 0 ;
11164 PyObject * obj0 = 0 ;
11165 PyObject * obj1 = 0 ;
11166 char * kwnames[] = {
11167 (char *) "self",(char *) "width", NULL
11168 };
11169
11170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11172 if (!SWIG_IsOK(res1)) {
11173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11174 }
11175 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11176 ecode2 = SWIG_AsVal_int(obj1, &val2);
11177 if (!SWIG_IsOK(ecode2)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11179 }
11180 arg2 = static_cast< int >(val2);
11181 {
11182 PyThreadState* __tstate = wxPyBeginAllowThreads();
11183 (arg1)->SetExtraBorderSize(arg2);
11184 wxPyEndAllowThreads(__tstate);
11185 if (PyErr_Occurred()) SWIG_fail;
11186 }
11187 resultobj = SWIG_Py_Void();
11188 return resultobj;
11189fail:
11190 return NULL;
d55e5bfc
RD
11191}
11192
11193
1bd55598
RD
11194SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11195 PyObject *resultobj = 0;
11196 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11197 int result;
11198 void *argp1 = 0 ;
11199 int res1 = 0 ;
11200 PyObject *swig_obj[1] ;
11201
11202 if (!args) SWIG_fail;
11203 swig_obj[0] = args;
11204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11205 if (!SWIG_IsOK(res1)) {
11206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11207 }
11208 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11212 wxPyEndAllowThreads(__tstate);
11213 if (PyErr_Occurred()) SWIG_fail;
11214 }
11215 resultobj = SWIG_From_int(static_cast< int >(result));
11216 return resultobj;
11217fail:
11218 return NULL;
11219}
11220
11221
11222SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj = 0;
11224 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11225 int arg2 ;
11226 void *argp1 = 0 ;
11227 int res1 = 0 ;
11228 int val2 ;
11229 int ecode2 = 0 ;
11230 PyObject * obj0 = 0 ;
11231 PyObject * obj1 = 0 ;
11232 char * kwnames[] = {
11233 (char *) "self",(char *) "min", NULL
11234 };
11235
11236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11238 if (!SWIG_IsOK(res1)) {
11239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11240 }
11241 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11242 ecode2 = SWIG_AsVal_int(obj1, &val2);
11243 if (!SWIG_IsOK(ecode2)) {
11244 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11245 }
11246 arg2 = static_cast< int >(val2);
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 (arg1)->SetMinimumSizeX(arg2);
11250 wxPyEndAllowThreads(__tstate);
11251 if (PyErr_Occurred()) SWIG_fail;
11252 }
11253 resultobj = SWIG_Py_Void();
11254 return resultobj;
11255fail:
11256 return NULL;
11257}
11258
11259
11260SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11261 PyObject *resultobj = 0;
11262 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11263 int arg2 ;
11264 void *argp1 = 0 ;
11265 int res1 = 0 ;
11266 int val2 ;
11267 int ecode2 = 0 ;
11268 PyObject * obj0 = 0 ;
11269 PyObject * obj1 = 0 ;
11270 char * kwnames[] = {
11271 (char *) "self",(char *) "min", NULL
11272 };
11273
11274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11276 if (!SWIG_IsOK(res1)) {
11277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11278 }
11279 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11280 ecode2 = SWIG_AsVal_int(obj1, &val2);
11281 if (!SWIG_IsOK(ecode2)) {
11282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11283 }
11284 arg2 = static_cast< int >(val2);
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 (arg1)->SetMinimumSizeY(arg2);
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 resultobj = SWIG_Py_Void();
11292 return resultobj;
11293fail:
11294 return NULL;
d55e5bfc
RD
11295}
11296
11297
1bd55598
RD
11298SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11299 PyObject *resultobj = 0;
11300 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11301 int result;
11302 void *argp1 = 0 ;
11303 int res1 = 0 ;
11304 PyObject *swig_obj[1] ;
11305
11306 if (!args) SWIG_fail;
11307 swig_obj[0] = args;
11308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11309 if (!SWIG_IsOK(res1)) {
11310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11311 }
11312 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 resultobj = SWIG_From_int(static_cast< int >(result));
11320 return resultobj;
11321fail:
11322 return NULL;
d55e5bfc
RD
11323}
11324
11325
1bd55598
RD
11326SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11327 PyObject *resultobj = 0;
11328 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11329 int result;
11330 void *argp1 = 0 ;
11331 int res1 = 0 ;
11332 PyObject *swig_obj[1] ;
11333
11334 if (!args) SWIG_fail;
11335 swig_obj[0] = args;
11336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11337 if (!SWIG_IsOK(res1)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 }
11340 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 resultobj = SWIG_From_int(static_cast< int >(result));
11348 return resultobj;
11349fail:
11350 return NULL;
11351}
11352
11353
11354SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj = 0;
11356 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11357 int arg2 ;
11358 void *argp1 = 0 ;
11359 int res1 = 0 ;
11360 int val2 ;
11361 int ecode2 = 0 ;
11362 PyObject * obj0 = 0 ;
11363 PyObject * obj1 = 0 ;
11364 char * kwnames[] = {
11365 (char *) "self",(char *) "max", NULL
11366 };
11367
11368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11370 if (!SWIG_IsOK(res1)) {
11371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11372 }
11373 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11374 ecode2 = SWIG_AsVal_int(obj1, &val2);
11375 if (!SWIG_IsOK(ecode2)) {
11376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11377 }
11378 arg2 = static_cast< int >(val2);
11379 {
11380 PyThreadState* __tstate = wxPyBeginAllowThreads();
11381 (arg1)->SetMaximumSizeX(arg2);
11382 wxPyEndAllowThreads(__tstate);
11383 if (PyErr_Occurred()) SWIG_fail;
11384 }
11385 resultobj = SWIG_Py_Void();
11386 return resultobj;
11387fail:
11388 return NULL;
11389}
11390
11391
11392SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11393 PyObject *resultobj = 0;
11394 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11395 int arg2 ;
11396 void *argp1 = 0 ;
11397 int res1 = 0 ;
11398 int val2 ;
11399 int ecode2 = 0 ;
11400 PyObject * obj0 = 0 ;
11401 PyObject * obj1 = 0 ;
11402 char * kwnames[] = {
11403 (char *) "self",(char *) "max", NULL
11404 };
11405
11406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11408 if (!SWIG_IsOK(res1)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11410 }
11411 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11412 ecode2 = SWIG_AsVal_int(obj1, &val2);
11413 if (!SWIG_IsOK(ecode2)) {
11414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11415 }
11416 arg2 = static_cast< int >(val2);
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 (arg1)->SetMaximumSizeY(arg2);
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 resultobj = SWIG_Py_Void();
11424 return resultobj;
11425fail:
11426 return NULL;
d55e5bfc
RD
11427}
11428
11429
1bd55598
RD
11430SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11431 PyObject *resultobj = 0;
11432 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11433 int result;
11434 void *argp1 = 0 ;
11435 int res1 = 0 ;
11436 PyObject *swig_obj[1] ;
11437
11438 if (!args) SWIG_fail;
11439 swig_obj[0] = args;
11440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11441 if (!SWIG_IsOK(res1)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11443 }
11444 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11445 {
11446 PyThreadState* __tstate = wxPyBeginAllowThreads();
11447 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 resultobj = SWIG_From_int(static_cast< int >(result));
11452 return resultobj;
11453fail:
11454 return NULL;
d55e5bfc
RD
11455}
11456
11457
1bd55598
RD
11458SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11459 PyObject *resultobj = 0;
11460 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11461 int result;
11462 void *argp1 = 0 ;
11463 int res1 = 0 ;
11464 PyObject *swig_obj[1] ;
11465
11466 if (!args) SWIG_fail;
11467 swig_obj[0] = args;
11468 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11469 if (!SWIG_IsOK(res1)) {
11470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11471 }
11472 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 resultobj = SWIG_From_int(static_cast< int >(result));
11480 return resultobj;
11481fail:
11482 return NULL;
11483}
11484
11485
11486SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11487 PyObject *resultobj = 0;
11488 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11489 int arg2 ;
11490 int arg3 ;
11491 int arg4 = (int) 2 ;
11492 wxSashEdgePosition result;
11493 void *argp1 = 0 ;
11494 int res1 = 0 ;
11495 int val2 ;
11496 int ecode2 = 0 ;
11497 int val3 ;
11498 int ecode3 = 0 ;
11499 int val4 ;
11500 int ecode4 = 0 ;
11501 PyObject * obj0 = 0 ;
11502 PyObject * obj1 = 0 ;
11503 PyObject * obj2 = 0 ;
11504 PyObject * obj3 = 0 ;
11505 char * kwnames[] = {
11506 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11507 };
11508
11509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11511 if (!SWIG_IsOK(res1)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11513 }
11514 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11515 ecode2 = SWIG_AsVal_int(obj1, &val2);
11516 if (!SWIG_IsOK(ecode2)) {
11517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11518 }
11519 arg2 = static_cast< int >(val2);
11520 ecode3 = SWIG_AsVal_int(obj2, &val3);
11521 if (!SWIG_IsOK(ecode3)) {
11522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11523 }
11524 arg3 = static_cast< int >(val3);
11525 if (obj3) {
11526 ecode4 = SWIG_AsVal_int(obj3, &val4);
11527 if (!SWIG_IsOK(ecode4)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11529 }
11530 arg4 = static_cast< int >(val4);
11531 }
11532 {
11533 PyThreadState* __tstate = wxPyBeginAllowThreads();
11534 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 resultobj = SWIG_From_int(static_cast< int >(result));
11539 return resultobj;
11540fail:
11541 return NULL;
d55e5bfc
RD
11542}
11543
11544
1bd55598
RD
11545SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11546 PyObject *resultobj = 0;
11547 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11548 void *argp1 = 0 ;
11549 int res1 = 0 ;
11550 PyObject *swig_obj[1] ;
11551
11552 if (!args) SWIG_fail;
11553 swig_obj[0] = args;
11554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11555 if (!SWIG_IsOK(res1)) {
11556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11557 }
11558 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 (arg1)->SizeWindows();
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 resultobj = SWIG_Py_Void();
11566 return resultobj;
11567fail:
11568 return NULL;
d55e5bfc
RD
11569}
11570
11571
1bd55598
RD
11572SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11573 PyObject *obj;
11574 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11575 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11576 return SWIG_Py_Void();
d55e5bfc
RD
11577}
11578
1bd55598
RD
11579SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11580 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
11581}
11582
1bd55598
RD
11583SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj = 0;
11585 int arg1 = (int) 0 ;
11586 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11587 wxSashEvent *result = 0 ;
11588 int val1 ;
11589 int ecode1 = 0 ;
11590 int val2 ;
11591 int ecode2 = 0 ;
11592 PyObject * obj0 = 0 ;
11593 PyObject * obj1 = 0 ;
11594 char * kwnames[] = {
11595 (char *) "id",(char *) "edge", NULL
11596 };
11597
11598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11599 if (obj0) {
11600 ecode1 = SWIG_AsVal_int(obj0, &val1);
11601 if (!SWIG_IsOK(ecode1)) {
11602 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11603 }
11604 arg1 = static_cast< int >(val1);
11605 }
11606 if (obj1) {
11607 ecode2 = SWIG_AsVal_int(obj1, &val2);
11608 if (!SWIG_IsOK(ecode2)) {
11609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11610 }
11611 arg2 = static_cast< wxSashEdgePosition >(val2);
11612 }
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11620 return resultobj;
11621fail:
11622 return NULL;
11623}
11624
11625
11626SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj = 0;
11628 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11629 wxSashEdgePosition arg2 ;
11630 void *argp1 = 0 ;
11631 int res1 = 0 ;
11632 int val2 ;
11633 int ecode2 = 0 ;
11634 PyObject * obj0 = 0 ;
11635 PyObject * obj1 = 0 ;
11636 char * kwnames[] = {
11637 (char *) "self",(char *) "edge", NULL
11638 };
11639
11640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11642 if (!SWIG_IsOK(res1)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11644 }
11645 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11646 ecode2 = SWIG_AsVal_int(obj1, &val2);
11647 if (!SWIG_IsOK(ecode2)) {
11648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11649 }
11650 arg2 = static_cast< wxSashEdgePosition >(val2);
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 (arg1)->SetEdge(arg2);
11654 wxPyEndAllowThreads(__tstate);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 resultobj = SWIG_Py_Void();
11658 return resultobj;
11659fail:
11660 return NULL;
d55e5bfc
RD
11661}
11662
11663
1bd55598
RD
11664SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11665 PyObject *resultobj = 0;
11666 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11667 wxSashEdgePosition result;
11668 void *argp1 = 0 ;
11669 int res1 = 0 ;
11670 PyObject *swig_obj[1] ;
11671
11672 if (!args) SWIG_fail;
11673 swig_obj[0] = args;
11674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11675 if (!SWIG_IsOK(res1)) {
11676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11677 }
11678 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11682 wxPyEndAllowThreads(__tstate);
11683 if (PyErr_Occurred()) SWIG_fail;
11684 }
11685 resultobj = SWIG_From_int(static_cast< int >(result));
11686 return resultobj;
11687fail:
11688 return NULL;
11689}
11690
11691
11692SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11693 PyObject *resultobj = 0;
11694 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11695 wxRect *arg2 = 0 ;
11696 void *argp1 = 0 ;
11697 int res1 = 0 ;
11698 wxRect temp2 ;
11699 PyObject * obj0 = 0 ;
11700 PyObject * obj1 = 0 ;
11701 char * kwnames[] = {
11702 (char *) "self",(char *) "rect", NULL
11703 };
11704
11705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11707 if (!SWIG_IsOK(res1)) {
11708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11709 }
11710 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11711 {
11712 arg2 = &temp2;
11713 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11714 }
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 (arg1)->SetDragRect((wxRect const &)*arg2);
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 resultobj = SWIG_Py_Void();
11722 return resultobj;
11723fail:
11724 return NULL;
03837c5c
RD
11725}
11726
11727
1bd55598
RD
11728SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11729 PyObject *resultobj = 0;
11730 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11731 wxRect result;
11732 void *argp1 = 0 ;
11733 int res1 = 0 ;
11734 PyObject *swig_obj[1] ;
11735
11736 if (!args) SWIG_fail;
11737 swig_obj[0] = args;
11738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11739 if (!SWIG_IsOK(res1)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11741 }
11742 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 result = ((wxSashEvent const *)arg1)->GetDragRect();
11746 wxPyEndAllowThreads(__tstate);
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11750 return resultobj;
11751fail:
11752 return NULL;
11753}
11754
11755
11756SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11757 PyObject *resultobj = 0;
11758 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11759 wxSashDragStatus arg2 ;
11760 void *argp1 = 0 ;
11761 int res1 = 0 ;
11762 int val2 ;
11763 int ecode2 = 0 ;
11764 PyObject * obj0 = 0 ;
11765 PyObject * obj1 = 0 ;
11766 char * kwnames[] = {
11767 (char *) "self",(char *) "status", NULL
11768 };
11769
11770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11772 if (!SWIG_IsOK(res1)) {
11773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11774 }
11775 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11776 ecode2 = SWIG_AsVal_int(obj1, &val2);
11777 if (!SWIG_IsOK(ecode2)) {
11778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11779 }
11780 arg2 = static_cast< wxSashDragStatus >(val2);
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 (arg1)->SetDragStatus(arg2);
11784 wxPyEndAllowThreads(__tstate);
11785 if (PyErr_Occurred()) SWIG_fail;
11786 }
11787 resultobj = SWIG_Py_Void();
11788 return resultobj;
11789fail:
11790 return NULL;
d55e5bfc
RD
11791}
11792
11793
1bd55598
RD
11794SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11795 PyObject *resultobj = 0;
11796 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11797 wxSashDragStatus result;
11798 void *argp1 = 0 ;
11799 int res1 = 0 ;
11800 PyObject *swig_obj[1] ;
11801
11802 if (!args) SWIG_fail;
11803 swig_obj[0] = args;
11804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11805 if (!SWIG_IsOK(res1)) {
11806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11807 }
11808 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11809 {
11810 PyThreadState* __tstate = wxPyBeginAllowThreads();
11811 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11812 wxPyEndAllowThreads(__tstate);
11813 if (PyErr_Occurred()) SWIG_fail;
11814 }
11815 resultobj = SWIG_From_int(static_cast< int >(result));
11816 return resultobj;
11817fail:
11818 return NULL;
d55e5bfc
RD
11819}
11820
11821
1bd55598
RD
11822SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11823 PyObject *obj;
11824 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11825 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11826 return SWIG_Py_Void();
d55e5bfc
RD
11827}
11828
1bd55598
RD
11829SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11830 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
11831}
11832
1bd55598
RD
11833SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj = 0;
11835 int arg1 = (int) 0 ;
11836 wxQueryLayoutInfoEvent *result = 0 ;
11837 int val1 ;
11838 int ecode1 = 0 ;
11839 PyObject * obj0 = 0 ;
11840 char * kwnames[] = {
11841 (char *) "id", NULL
11842 };
11843
11844 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11845 if (obj0) {
11846 ecode1 = SWIG_AsVal_int(obj0, &val1);
11847 if (!SWIG_IsOK(ecode1)) {
11848 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11849 }
11850 arg1 = static_cast< int >(val1);
11851 }
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11859 return resultobj;
11860fail:
11861 return NULL;
11862}
11863
11864
11865SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11866 PyObject *resultobj = 0;
11867 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11868 int arg2 ;
11869 void *argp1 = 0 ;
11870 int res1 = 0 ;
11871 int val2 ;
11872 int ecode2 = 0 ;
11873 PyObject * obj0 = 0 ;
11874 PyObject * obj1 = 0 ;
11875 char * kwnames[] = {
11876 (char *) "self",(char *) "length", NULL
11877 };
11878
11879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11881 if (!SWIG_IsOK(res1)) {
11882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11883 }
11884 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11885 ecode2 = SWIG_AsVal_int(obj1, &val2);
11886 if (!SWIG_IsOK(ecode2)) {
11887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11888 }
11889 arg2 = static_cast< int >(val2);
11890 {
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 (arg1)->SetRequestedLength(arg2);
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
11896 resultobj = SWIG_Py_Void();
11897 return resultobj;
11898fail:
11899 return NULL;
f20a2e1f
RD
11900}
11901
11902
1bd55598
RD
11903SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11904 PyObject *resultobj = 0;
11905 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11906 int result;
11907 void *argp1 = 0 ;
11908 int res1 = 0 ;
11909 PyObject *swig_obj[1] ;
11910
11911 if (!args) SWIG_fail;
11912 swig_obj[0] = args;
11913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11914 if (!SWIG_IsOK(res1)) {
11915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11916 }
11917 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11918 {
11919 PyThreadState* __tstate = wxPyBeginAllowThreads();
11920 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = SWIG_From_int(static_cast< int >(result));
11925 return resultobj;
11926fail:
11927 return NULL;
11928}
11929
11930
11931SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj = 0;
11933 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11934 int arg2 ;
11935 void *argp1 = 0 ;
11936 int res1 = 0 ;
11937 int val2 ;
11938 int ecode2 = 0 ;
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 char * kwnames[] = {
11942 (char *) "self",(char *) "flags", NULL
11943 };
11944
11945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11947 if (!SWIG_IsOK(res1)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11949 }
11950 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11951 ecode2 = SWIG_AsVal_int(obj1, &val2);
11952 if (!SWIG_IsOK(ecode2)) {
11953 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11954 }
11955 arg2 = static_cast< int >(val2);
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 (arg1)->SetFlags(arg2);
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
11962 resultobj = SWIG_Py_Void();
11963 return resultobj;
11964fail:
11965 return NULL;
d55e5bfc
RD
11966}
11967
11968
1bd55598
RD
11969SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11970 PyObject *resultobj = 0;
11971 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11972 int result;
11973 void *argp1 = 0 ;
11974 int res1 = 0 ;
11975 PyObject *swig_obj[1] ;
11976
11977 if (!args) SWIG_fail;
11978 swig_obj[0] = args;
11979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11980 if (!SWIG_IsOK(res1)) {
11981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11982 }
11983 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11987 wxPyEndAllowThreads(__tstate);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
11990 resultobj = SWIG_From_int(static_cast< int >(result));
11991 return resultobj;
11992fail:
11993 return NULL;
11994}
11995
11996
11997SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11998 PyObject *resultobj = 0;
11999 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12000 wxSize *arg2 = 0 ;
12001 void *argp1 = 0 ;
12002 int res1 = 0 ;
12003 wxSize temp2 ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char * kwnames[] = {
12007 (char *) "self",(char *) "size", NULL
12008 };
12009
12010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12012 if (!SWIG_IsOK(res1)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12014 }
12015 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12016 {
12017 arg2 = &temp2;
12018 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12019 }
12020 {
12021 PyThreadState* __tstate = wxPyBeginAllowThreads();
12022 (arg1)->SetSize((wxSize const &)*arg2);
12023 wxPyEndAllowThreads(__tstate);
12024 if (PyErr_Occurred()) SWIG_fail;
12025 }
12026 resultobj = SWIG_Py_Void();
12027 return resultobj;
12028fail:
12029 return NULL;
d55e5bfc
RD
12030}
12031
12032
1bd55598
RD
12033SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12034 PyObject *resultobj = 0;
12035 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12036 wxSize result;
12037 void *argp1 = 0 ;
12038 int res1 = 0 ;
12039 PyObject *swig_obj[1] ;
12040
12041 if (!args) SWIG_fail;
12042 swig_obj[0] = args;
12043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12044 if (!SWIG_IsOK(res1)) {
12045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12046 }
12047 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12055 return resultobj;
12056fail:
12057 return NULL;
12058}
12059
12060
12061SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12062 PyObject *resultobj = 0;
12063 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12064 wxLayoutOrientation arg2 ;
12065 void *argp1 = 0 ;
12066 int res1 = 0 ;
12067 int val2 ;
12068 int ecode2 = 0 ;
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 char * kwnames[] = {
12072 (char *) "self",(char *) "orient", NULL
12073 };
12074
12075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12077 if (!SWIG_IsOK(res1)) {
12078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12079 }
12080 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12081 ecode2 = SWIG_AsVal_int(obj1, &val2);
12082 if (!SWIG_IsOK(ecode2)) {
12083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12084 }
12085 arg2 = static_cast< wxLayoutOrientation >(val2);
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 (arg1)->SetOrientation(arg2);
12089 wxPyEndAllowThreads(__tstate);
12090 if (PyErr_Occurred()) SWIG_fail;
12091 }
12092 resultobj = SWIG_Py_Void();
12093 return resultobj;
12094fail:
12095 return NULL;
d55e5bfc
RD
12096}
12097
12098
1bd55598
RD
12099SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12100 PyObject *resultobj = 0;
12101 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12102 wxLayoutOrientation result;
12103 void *argp1 = 0 ;
12104 int res1 = 0 ;
12105 PyObject *swig_obj[1] ;
12106
12107 if (!args) SWIG_fail;
12108 swig_obj[0] = args;
12109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12110 if (!SWIG_IsOK(res1)) {
12111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12112 }
12113 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12114 {
12115 PyThreadState* __tstate = wxPyBeginAllowThreads();
12116 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12117 wxPyEndAllowThreads(__tstate);
12118 if (PyErr_Occurred()) SWIG_fail;
12119 }
12120 resultobj = SWIG_From_int(static_cast< int >(result));
12121 return resultobj;
12122fail:
12123 return NULL;
12124}
12125
12126
12127SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12128 PyObject *resultobj = 0;
12129 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12130 wxLayoutAlignment arg2 ;
12131 void *argp1 = 0 ;
12132 int res1 = 0 ;
12133 int val2 ;
12134 int ecode2 = 0 ;
12135 PyObject * obj0 = 0 ;
12136 PyObject * obj1 = 0 ;
12137 char * kwnames[] = {
12138 (char *) "self",(char *) "align", NULL
12139 };
12140
12141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12143 if (!SWIG_IsOK(res1)) {
12144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12145 }
12146 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12147 ecode2 = SWIG_AsVal_int(obj1, &val2);
12148 if (!SWIG_IsOK(ecode2)) {
12149 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12150 }
12151 arg2 = static_cast< wxLayoutAlignment >(val2);
12152 {
12153 PyThreadState* __tstate = wxPyBeginAllowThreads();
12154 (arg1)->SetAlignment(arg2);
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 resultobj = SWIG_Py_Void();
12159 return resultobj;
12160fail:
12161 return NULL;
d55e5bfc
RD
12162}
12163
12164
1bd55598
RD
12165SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12166 PyObject *resultobj = 0;
12167 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12168 wxLayoutAlignment result;
12169 void *argp1 = 0 ;
12170 int res1 = 0 ;
12171 PyObject *swig_obj[1] ;
12172
12173 if (!args) SWIG_fail;
12174 swig_obj[0] = args;
12175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12176 if (!SWIG_IsOK(res1)) {
12177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12178 }
12179 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12180 {
12181 PyThreadState* __tstate = wxPyBeginAllowThreads();
12182 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12183 wxPyEndAllowThreads(__tstate);
12184 if (PyErr_Occurred()) SWIG_fail;
12185 }
12186 resultobj = SWIG_From_int(static_cast< int >(result));
12187 return resultobj;
12188fail:
12189 return NULL;
d55e5bfc
RD
12190}
12191
12192
1bd55598
RD
12193SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12194 PyObject *obj;
12195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12196 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12197 return SWIG_Py_Void();
d55e5bfc
RD
12198}
12199
1bd55598
RD
12200SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12201 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12202}
12203
1bd55598
RD
12204SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12205 PyObject *resultobj = 0;
12206 int arg1 = (int) 0 ;
12207 wxCalculateLayoutEvent *result = 0 ;
12208 int val1 ;
12209 int ecode1 = 0 ;
12210 PyObject * obj0 = 0 ;
12211 char * kwnames[] = {
12212 (char *) "id", NULL
12213 };
12214
12215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12216 if (obj0) {
12217 ecode1 = SWIG_AsVal_int(obj0, &val1);
12218 if (!SWIG_IsOK(ecode1)) {
12219 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12220 }
12221 arg1 = static_cast< int >(val1);
12222 }
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12230 return resultobj;
12231fail:
12232 return NULL;
12233}
12234
12235
12236SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12237 PyObject *resultobj = 0;
12238 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12239 int arg2 ;
12240 void *argp1 = 0 ;
12241 int res1 = 0 ;
12242 int val2 ;
12243 int ecode2 = 0 ;
12244 PyObject * obj0 = 0 ;
12245 PyObject * obj1 = 0 ;
12246 char * kwnames[] = {
12247 (char *) "self",(char *) "flags", NULL
12248 };
12249
12250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12252 if (!SWIG_IsOK(res1)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12254 }
12255 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12256 ecode2 = SWIG_AsVal_int(obj1, &val2);
12257 if (!SWIG_IsOK(ecode2)) {
12258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12259 }
12260 arg2 = static_cast< int >(val2);
12261 {
12262 PyThreadState* __tstate = wxPyBeginAllowThreads();
12263 (arg1)->SetFlags(arg2);
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 resultobj = SWIG_Py_Void();
12268 return resultobj;
12269fail:
12270 return NULL;
d55e5bfc
RD
12271}
12272
12273
1bd55598
RD
12274SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12275 PyObject *resultobj = 0;
12276 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12277 int result;
12278 void *argp1 = 0 ;
12279 int res1 = 0 ;
12280 PyObject *swig_obj[1] ;
12281
12282 if (!args) SWIG_fail;
12283 swig_obj[0] = args;
12284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12285 if (!SWIG_IsOK(res1)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12287 }
12288 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12292 wxPyEndAllowThreads(__tstate);
12293 if (PyErr_Occurred()) SWIG_fail;
12294 }
12295 resultobj = SWIG_From_int(static_cast< int >(result));
12296 return resultobj;
12297fail:
12298 return NULL;
12299}
12300
12301
12302SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12303 PyObject *resultobj = 0;
12304 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12305 wxRect *arg2 = 0 ;
12306 void *argp1 = 0 ;
12307 int res1 = 0 ;
12308 wxRect temp2 ;
12309 PyObject * obj0 = 0 ;
12310 PyObject * obj1 = 0 ;
12311 char * kwnames[] = {
12312 (char *) "self",(char *) "rect", NULL
12313 };
12314
12315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12317 if (!SWIG_IsOK(res1)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12319 }
12320 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12321 {
12322 arg2 = &temp2;
12323 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12324 }
12325 {
12326 PyThreadState* __tstate = wxPyBeginAllowThreads();
12327 (arg1)->SetRect((wxRect const &)*arg2);
12328 wxPyEndAllowThreads(__tstate);
12329 if (PyErr_Occurred()) SWIG_fail;
12330 }
12331 resultobj = SWIG_Py_Void();
12332 return resultobj;
12333fail:
12334 return NULL;
d55e5bfc
RD
12335}
12336
12337
1bd55598
RD
12338SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12339 PyObject *resultobj = 0;
12340 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12341 wxRect result;
12342 void *argp1 = 0 ;
12343 int res1 = 0 ;
12344 PyObject *swig_obj[1] ;
12345
12346 if (!args) SWIG_fail;
12347 swig_obj[0] = args;
12348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12349 if (!SWIG_IsOK(res1)) {
12350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12351 }
12352 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12360 return resultobj;
12361fail:
12362 return NULL;
12363}
12364
12365
12366SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12367 PyObject *obj;
12368 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12369 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12370 return SWIG_Py_Void();
12371}
12372
12373SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12374 return SWIG_Python_InitShadowInstance(args);
12375}
12376
12377SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12378 PyObject *resultobj = 0;
12379 wxWindow *arg1 = (wxWindow *) 0 ;
12380 int arg2 = (int) -1 ;
12381 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12382 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12383 wxSize const &arg4_defvalue = wxDefaultSize ;
12384 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12385 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12386 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12387 wxString *arg6 = (wxString *) &arg6_defvalue ;
12388 wxSashLayoutWindow *result = 0 ;
12389 void *argp1 = 0 ;
12390 int res1 = 0 ;
12391 int val2 ;
12392 int ecode2 = 0 ;
12393 wxPoint temp3 ;
12394 wxSize temp4 ;
12395 long val5 ;
12396 int ecode5 = 0 ;
12397 bool temp6 = false ;
12398 PyObject * obj0 = 0 ;
12399 PyObject * obj1 = 0 ;
12400 PyObject * obj2 = 0 ;
12401 PyObject * obj3 = 0 ;
12402 PyObject * obj4 = 0 ;
12403 PyObject * obj5 = 0 ;
12404 char * kwnames[] = {
12405 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12406 };
12407
12408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12410 if (!SWIG_IsOK(res1)) {
12411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12412 }
12413 arg1 = reinterpret_cast< wxWindow * >(argp1);
12414 if (obj1) {
12415 ecode2 = SWIG_AsVal_int(obj1, &val2);
12416 if (!SWIG_IsOK(ecode2)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12418 }
12419 arg2 = static_cast< int >(val2);
12420 }
12421 if (obj2) {
12422 {
12423 arg3 = &temp3;
12424 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12425 }
1bd55598
RD
12426 }
12427 if (obj3) {
d55e5bfc 12428 {
1bd55598
RD
12429 arg4 = &temp4;
12430 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12431 }
1bd55598
RD
12432 }
12433 if (obj4) {
12434 ecode5 = SWIG_AsVal_long(obj4, &val5);
12435 if (!SWIG_IsOK(ecode5)) {
12436 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12437 }
12438 arg5 = static_cast< long >(val5);
12439 }
12440 if (obj5) {
d55e5bfc 12441 {
1bd55598
RD
12442 arg6 = wxString_in_helper(obj5);
12443 if (arg6 == NULL) SWIG_fail;
12444 temp6 = true;
d55e5bfc 12445 }
1bd55598
RD
12446 }
12447 {
12448 if (!wxPyCheckForApp()) SWIG_fail;
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12455 {
12456 if (temp6)
12457 delete arg6;
12458 }
12459 return resultobj;
12460fail:
12461 {
12462 if (temp6)
12463 delete arg6;
12464 }
12465 return NULL;
d55e5bfc
RD
12466}
12467
12468
1bd55598
RD
12469SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12470 PyObject *resultobj = 0;
12471 wxSashLayoutWindow *result = 0 ;
12472
12473 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12474 {
12475 if (!wxPyCheckForApp()) SWIG_fail;
12476 PyThreadState* __tstate = wxPyBeginAllowThreads();
12477 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12478 wxPyEndAllowThreads(__tstate);
12479 if (PyErr_Occurred()) SWIG_fail;
12480 }
12481 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12482 return resultobj;
12483fail:
12484 return NULL;
12485}
12486
12487
12488SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12489 PyObject *resultobj = 0;
12490 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12491 wxWindow *arg2 = (wxWindow *) 0 ;
12492 int arg3 = (int) -1 ;
12493 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12494 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12495 wxSize const &arg5_defvalue = wxDefaultSize ;
12496 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12497 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12498 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12499 wxString *arg7 = (wxString *) &arg7_defvalue ;
12500 bool result;
12501 void *argp1 = 0 ;
12502 int res1 = 0 ;
12503 void *argp2 = 0 ;
12504 int res2 = 0 ;
12505 int val3 ;
12506 int ecode3 = 0 ;
12507 wxPoint temp4 ;
12508 wxSize temp5 ;
12509 long val6 ;
12510 int ecode6 = 0 ;
12511 bool temp7 = false ;
12512 PyObject * obj0 = 0 ;
12513 PyObject * obj1 = 0 ;
12514 PyObject * obj2 = 0 ;
12515 PyObject * obj3 = 0 ;
12516 PyObject * obj4 = 0 ;
12517 PyObject * obj5 = 0 ;
12518 PyObject * obj6 = 0 ;
12519 char * kwnames[] = {
12520 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12521 };
12522
12523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12525 if (!SWIG_IsOK(res1)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12527 }
12528 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12529 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12530 if (!SWIG_IsOK(res2)) {
12531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12532 }
12533 arg2 = reinterpret_cast< wxWindow * >(argp2);
12534 if (obj2) {
12535 ecode3 = SWIG_AsVal_int(obj2, &val3);
12536 if (!SWIG_IsOK(ecode3)) {
12537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12538 }
12539 arg3 = static_cast< int >(val3);
12540 }
12541 if (obj3) {
12542 {
12543 arg4 = &temp4;
12544 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12545 }
1bd55598
RD
12546 }
12547 if (obj4) {
d55e5bfc 12548 {
1bd55598
RD
12549 arg5 = &temp5;
12550 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12551 }
1bd55598
RD
12552 }
12553 if (obj5) {
12554 ecode6 = SWIG_AsVal_long(obj5, &val6);
12555 if (!SWIG_IsOK(ecode6)) {
12556 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12557 }
12558 arg6 = static_cast< long >(val6);
12559 }
12560 if (obj6) {
d55e5bfc 12561 {
1bd55598
RD
12562 arg7 = wxString_in_helper(obj6);
12563 if (arg7 == NULL) SWIG_fail;
12564 temp7 = true;
d55e5bfc 12565 }
1bd55598
RD
12566 }
12567 {
12568 PyThreadState* __tstate = wxPyBeginAllowThreads();
12569 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12570 wxPyEndAllowThreads(__tstate);
12571 if (PyErr_Occurred()) SWIG_fail;
12572 }
12573 {
12574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12575 }
12576 {
12577 if (temp7)
12578 delete arg7;
12579 }
12580 return resultobj;
12581fail:
12582 {
12583 if (temp7)
12584 delete arg7;
12585 }
12586 return NULL;
d55e5bfc
RD
12587}
12588
12589
1bd55598
RD
12590SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12591 PyObject *resultobj = 0;
12592 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12593 wxLayoutAlignment result;
12594 void *argp1 = 0 ;
12595 int res1 = 0 ;
12596 PyObject *swig_obj[1] ;
12597
12598 if (!args) SWIG_fail;
12599 swig_obj[0] = args;
12600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12601 if (!SWIG_IsOK(res1)) {
12602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12603 }
12604 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12605 {
12606 PyThreadState* __tstate = wxPyBeginAllowThreads();
12607 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 resultobj = SWIG_From_int(static_cast< int >(result));
12612 return resultobj;
12613fail:
12614 return NULL;
d55e5bfc
RD
12615}
12616
12617
1bd55598
RD
12618SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12619 PyObject *resultobj = 0;
12620 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12621 wxLayoutOrientation result;
12622 void *argp1 = 0 ;
12623 int res1 = 0 ;
12624 PyObject *swig_obj[1] ;
12625
12626 if (!args) SWIG_fail;
12627 swig_obj[0] = args;
12628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12629 if (!SWIG_IsOK(res1)) {
12630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12631 }
12632 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = SWIG_From_int(static_cast< int >(result));
12640 return resultobj;
12641fail:
12642 return NULL;
12643}
12644
12645
12646SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj = 0;
12648 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12649 wxLayoutAlignment arg2 ;
12650 void *argp1 = 0 ;
12651 int res1 = 0 ;
12652 int val2 ;
12653 int ecode2 = 0 ;
12654 PyObject * obj0 = 0 ;
12655 PyObject * obj1 = 0 ;
12656 char * kwnames[] = {
12657 (char *) "self",(char *) "alignment", NULL
12658 };
12659
12660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12662 if (!SWIG_IsOK(res1)) {
12663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12664 }
12665 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12666 ecode2 = SWIG_AsVal_int(obj1, &val2);
12667 if (!SWIG_IsOK(ecode2)) {
12668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12669 }
12670 arg2 = static_cast< wxLayoutAlignment >(val2);
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 (arg1)->SetAlignment(arg2);
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 resultobj = SWIG_Py_Void();
12678 return resultobj;
12679fail:
12680 return NULL;
12681}
12682
12683
12684SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12685 PyObject *resultobj = 0;
12686 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12687 wxSize *arg2 = 0 ;
12688 void *argp1 = 0 ;
12689 int res1 = 0 ;
12690 wxSize temp2 ;
12691 PyObject * obj0 = 0 ;
12692 PyObject * obj1 = 0 ;
12693 char * kwnames[] = {
12694 (char *) "self",(char *) "size", NULL
12695 };
12696
12697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12699 if (!SWIG_IsOK(res1)) {
12700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12701 }
12702 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12703 {
12704 arg2 = &temp2;
12705 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12706 }
12707 {
12708 PyThreadState* __tstate = wxPyBeginAllowThreads();
12709 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 resultobj = SWIG_Py_Void();
12714 return resultobj;
12715fail:
12716 return NULL;
12717}
12718
12719
12720SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12721 PyObject *resultobj = 0;
12722 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12723 wxLayoutOrientation arg2 ;
12724 void *argp1 = 0 ;
12725 int res1 = 0 ;
12726 int val2 ;
12727 int ecode2 = 0 ;
12728 PyObject * obj0 = 0 ;
12729 PyObject * obj1 = 0 ;
12730 char * kwnames[] = {
12731 (char *) "self",(char *) "orientation", NULL
12732 };
12733
12734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12736 if (!SWIG_IsOK(res1)) {
12737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12738 }
12739 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12740 ecode2 = SWIG_AsVal_int(obj1, &val2);
12741 if (!SWIG_IsOK(ecode2)) {
12742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12743 }
12744 arg2 = static_cast< wxLayoutOrientation >(val2);
12745 {
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 (arg1)->SetOrientation(arg2);
12748 wxPyEndAllowThreads(__tstate);
12749 if (PyErr_Occurred()) SWIG_fail;
12750 }
12751 resultobj = SWIG_Py_Void();
12752 return resultobj;
12753fail:
12754 return NULL;
d55e5bfc
RD
12755}
12756
12757
1bd55598
RD
12758SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12759 PyObject *obj;
12760 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12761 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12762 return SWIG_Py_Void();
d55e5bfc
RD
12763}
12764
1bd55598
RD
12765SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12766 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12767}
12768
1bd55598
RD
12769SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12770 PyObject *resultobj = 0;
12771 wxLayoutAlgorithm *result = 0 ;
12772
12773 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12781 return resultobj;
12782fail:
12783 return NULL;
d55e5bfc
RD
12784}
12785
12786
1bd55598
RD
12787SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12788 PyObject *resultobj = 0;
12789 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12790 void *argp1 = 0 ;
12791 int res1 = 0 ;
12792 PyObject *swig_obj[1] ;
12793
12794 if (!args) SWIG_fail;
12795 swig_obj[0] = args;
12796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12797 if (!SWIG_IsOK(res1)) {
12798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12799 }
12800 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 delete arg1;
d55e5bfc 12804
1bd55598
RD
12805 wxPyEndAllowThreads(__tstate);
12806 if (PyErr_Occurred()) SWIG_fail;
12807 }
12808 resultobj = SWIG_Py_Void();
12809 return resultobj;
12810fail:
12811 return NULL;
12812}
12813
12814
12815SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj = 0;
12817 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12818 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12819 wxRect *arg3 = (wxRect *) NULL ;
12820 bool result;
12821 void *argp1 = 0 ;
12822 int res1 = 0 ;
12823 void *argp2 = 0 ;
12824 int res2 = 0 ;
12825 void *argp3 = 0 ;
12826 int res3 = 0 ;
12827 PyObject * obj0 = 0 ;
12828 PyObject * obj1 = 0 ;
12829 PyObject * obj2 = 0 ;
12830 char * kwnames[] = {
12831 (char *) "self",(char *) "frame",(char *) "rect", NULL
12832 };
12833
12834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12836 if (!SWIG_IsOK(res1)) {
12837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12838 }
12839 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12840 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12841 if (!SWIG_IsOK(res2)) {
12842 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12843 }
12844 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12845 if (obj2) {
12846 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12847 if (!SWIG_IsOK(res3)) {
12848 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
36ed4f51 12849 }
1bd55598
RD
12850 arg3 = reinterpret_cast< wxRect * >(argp3);
12851 }
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12855 wxPyEndAllowThreads(__tstate);
12856 if (PyErr_Occurred()) SWIG_fail;
12857 }
12858 {
12859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12860 }
12861 return resultobj;
12862fail:
12863 return NULL;
12864}
12865
12866
12867SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj = 0;
12869 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12870 wxFrame *arg2 = (wxFrame *) 0 ;
12871 wxWindow *arg3 = (wxWindow *) NULL ;
12872 bool result;
12873 void *argp1 = 0 ;
12874 int res1 = 0 ;
12875 void *argp2 = 0 ;
12876 int res2 = 0 ;
12877 void *argp3 = 0 ;
12878 int res3 = 0 ;
12879 PyObject * obj0 = 0 ;
12880 PyObject * obj1 = 0 ;
12881 PyObject * obj2 = 0 ;
12882 char * kwnames[] = {
12883 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12884 };
12885
12886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12887 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12888 if (!SWIG_IsOK(res1)) {
12889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12890 }
12891 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12892 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12893 if (!SWIG_IsOK(res2)) {
12894 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12895 }
12896 arg2 = reinterpret_cast< wxFrame * >(argp2);
12897 if (obj2) {
12898 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12899 if (!SWIG_IsOK(res3)) {
12900 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
36ed4f51 12901 }
1bd55598
RD
12902 arg3 = reinterpret_cast< wxWindow * >(argp3);
12903 }
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 {
12911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12912 }
12913 return resultobj;
12914fail:
12915 return NULL;
12916}
12917
12918
12919SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12920 PyObject *resultobj = 0;
12921 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12922 wxWindow *arg2 = (wxWindow *) 0 ;
12923 wxWindow *arg3 = (wxWindow *) NULL ;
12924 bool result;
12925 void *argp1 = 0 ;
12926 int res1 = 0 ;
12927 void *argp2 = 0 ;
12928 int res2 = 0 ;
12929 void *argp3 = 0 ;
12930 int res3 = 0 ;
12931 PyObject * obj0 = 0 ;
12932 PyObject * obj1 = 0 ;
12933 PyObject * obj2 = 0 ;
12934 char * kwnames[] = {
12935 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12936 };
12937
12938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12940 if (!SWIG_IsOK(res1)) {
12941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12942 }
12943 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12944 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12945 if (!SWIG_IsOK(res2)) {
12946 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12947 }
12948 arg2 = reinterpret_cast< wxWindow * >(argp2);
12949 if (obj2) {
12950 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12951 if (!SWIG_IsOK(res3)) {
12952 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 12953 }
1bd55598
RD
12954 arg3 = reinterpret_cast< wxWindow * >(argp3);
12955 }
12956 {
12957 PyThreadState* __tstate = wxPyBeginAllowThreads();
12958 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 {
12963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12964 }
12965 return resultobj;
12966fail:
12967 return NULL;
d55e5bfc
RD
12968}
12969
12970
1bd55598
RD
12971SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12972 PyObject *obj;
12973 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12974 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12975 return SWIG_Py_Void();
d55e5bfc
RD
12976}
12977
1bd55598
RD
12978SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12979 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
12980}
12981
1bd55598
RD
12982SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12983 PyObject *resultobj = 0;
12984 wxWindow *arg1 = (wxWindow *) 0 ;
12985 int arg2 = (int) wxBORDER_NONE ;
12986 wxPopupWindow *result = 0 ;
12987 void *argp1 = 0 ;
12988 int res1 = 0 ;
12989 int val2 ;
12990 int ecode2 = 0 ;
12991 PyObject * obj0 = 0 ;
12992 PyObject * obj1 = 0 ;
12993 char * kwnames[] = {
12994 (char *) "parent",(char *) "flags", NULL
12995 };
12996
12997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12999 if (!SWIG_IsOK(res1)) {
13000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13001 }
13002 arg1 = reinterpret_cast< wxWindow * >(argp1);
13003 if (obj1) {
13004 ecode2 = SWIG_AsVal_int(obj1, &val2);
13005 if (!SWIG_IsOK(ecode2)) {
13006 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13007 }
13008 arg2 = static_cast< int >(val2);
13009 }
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13017 return resultobj;
13018fail:
13019 return NULL;
5cbf236d
RD
13020}
13021
13022
1bd55598
RD
13023SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13024 PyObject *resultobj = 0;
13025 wxPopupWindow *result = 0 ;
13026
13027 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (wxPopupWindow *)new wxPopupWindow();
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13035 return resultobj;
13036fail:
13037 return NULL;
d55e5bfc
RD
13038}
13039
13040
1bd55598
RD
13041SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13042 PyObject *obj;
13043 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13044 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13045 return SWIG_Py_Void();
d55e5bfc
RD
13046}
13047
1bd55598
RD
13048SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13049 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13050}
13051
1bd55598
RD
13052SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13053 PyObject *resultobj = 0;
13054 wxWindow *arg1 = (wxWindow *) 0 ;
13055 int arg2 = (int) wxBORDER_NONE ;
13056 wxPyPopupTransientWindow *result = 0 ;
13057 void *argp1 = 0 ;
13058 int res1 = 0 ;
13059 int val2 ;
13060 int ecode2 = 0 ;
13061 PyObject * obj0 = 0 ;
13062 PyObject * obj1 = 0 ;
13063 char * kwnames[] = {
13064 (char *) "parent",(char *) "style", NULL
13065 };
13066
13067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13069 if (!SWIG_IsOK(res1)) {
13070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13071 }
13072 arg1 = reinterpret_cast< wxWindow * >(argp1);
13073 if (obj1) {
13074 ecode2 = SWIG_AsVal_int(obj1, &val2);
13075 if (!SWIG_IsOK(ecode2)) {
13076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13077 }
13078 arg2 = static_cast< int >(val2);
13079 }
13080 {
13081 PyThreadState* __tstate = wxPyBeginAllowThreads();
13082 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13083 wxPyEndAllowThreads(__tstate);
13084 if (PyErr_Occurred()) SWIG_fail;
13085 }
13086 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13087 return resultobj;
13088fail:
13089 return NULL;
d55e5bfc
RD
13090}
13091
13092
1bd55598
RD
13093SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13094 PyObject *resultobj = 0;
13095 wxPyPopupTransientWindow *result = 0 ;
13096
13097 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13098 {
13099 PyThreadState* __tstate = wxPyBeginAllowThreads();
13100 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13105 return resultobj;
13106fail:
13107 return NULL;
13108}
13109
13110
13111SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13112 PyObject *obj;
13113 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13115 return SWIG_Py_Void();
13116}
13117
13118SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13119 return SWIG_Python_InitShadowInstance(args);
13120}
13121
13122SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13123 PyObject *resultobj = 0;
13124 wxWindow *arg1 = (wxWindow *) 0 ;
13125 wxString *arg2 = 0 ;
13126 int arg3 = (int) 100 ;
13127 wxRect *arg4 = (wxRect *) NULL ;
13128 wxTipWindow *result = 0 ;
13129 void *argp1 = 0 ;
13130 int res1 = 0 ;
13131 bool temp2 = false ;
13132 int val3 ;
13133 int ecode3 = 0 ;
13134 void *argp4 = 0 ;
13135 int res4 = 0 ;
13136 PyObject * obj0 = 0 ;
13137 PyObject * obj1 = 0 ;
13138 PyObject * obj2 = 0 ;
13139 PyObject * obj3 = 0 ;
13140 char * kwnames[] = {
13141 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13142 };
13143
13144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13146 if (!SWIG_IsOK(res1)) {
13147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13148 }
13149 arg1 = reinterpret_cast< wxWindow * >(argp1);
13150 {
13151 arg2 = wxString_in_helper(obj1);
13152 if (arg2 == NULL) SWIG_fail;
13153 temp2 = true;
13154 }
13155 if (obj2) {
13156 ecode3 = SWIG_AsVal_int(obj2, &val3);
13157 if (!SWIG_IsOK(ecode3)) {
13158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13159 }
13160 arg3 = static_cast< int >(val3);
13161 }
13162 if (obj3) {
13163 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13164 if (!SWIG_IsOK(res4)) {
13165 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
36ed4f51 13166 }
1bd55598
RD
13167 arg4 = reinterpret_cast< wxRect * >(argp4);
13168 }
13169 {
13170 if (!wxPyCheckForApp()) SWIG_fail;
13171 PyThreadState* __tstate = wxPyBeginAllowThreads();
13172 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13177 {
13178 if (temp2)
13179 delete arg2;
13180 }
13181 return resultobj;
13182fail:
13183 {
13184 if (temp2)
13185 delete arg2;
13186 }
13187 return NULL;
d55e5bfc
RD
13188}
13189
13190
1bd55598
RD
13191SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj = 0;
13193 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13194 wxRect *arg2 = 0 ;
13195 void *argp1 = 0 ;
13196 int res1 = 0 ;
13197 wxRect temp2 ;
13198 PyObject * obj0 = 0 ;
13199 PyObject * obj1 = 0 ;
13200 char * kwnames[] = {
13201 (char *) "self",(char *) "rectBound", NULL
13202 };
13203
13204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13206 if (!SWIG_IsOK(res1)) {
13207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13208 }
13209 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13210 {
13211 arg2 = &temp2;
13212 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13213 }
13214 {
13215 PyThreadState* __tstate = wxPyBeginAllowThreads();
13216 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
13220 resultobj = SWIG_Py_Void();
13221 return resultobj;
13222fail:
13223 return NULL;
d55e5bfc
RD
13224}
13225
13226
1bd55598
RD
13227SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13228 PyObject *resultobj = 0;
13229 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13230 void *argp1 = 0 ;
13231 int res1 = 0 ;
13232 PyObject *swig_obj[1] ;
13233
13234 if (!args) SWIG_fail;
13235 swig_obj[0] = args;
13236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13237 if (!SWIG_IsOK(res1)) {
13238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13239 }
13240 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 (arg1)->Close();
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 resultobj = SWIG_Py_Void();
13248 return resultobj;
13249fail:
13250 return NULL;
13251}
13252
13253
13254SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13255 PyObject *obj;
13256 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13257 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13258 return SWIG_Py_Void();
13259}
13260
13261SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13262 return SWIG_Python_InitShadowInstance(args);
13263}
13264
13265SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13266 PyObject *resultobj = 0;
13267 wxWindow *arg1 = (wxWindow *) 0 ;
13268 int arg2 = (int) wxID_ANY ;
13269 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13270 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13271 wxSize const &arg4_defvalue = wxDefaultSize ;
13272 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13273 long arg5 = (long) 0 ;
13274 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13275 wxString *arg6 = (wxString *) &arg6_defvalue ;
13276 wxPyVScrolledWindow *result = 0 ;
13277 void *argp1 = 0 ;
13278 int res1 = 0 ;
13279 int val2 ;
13280 int ecode2 = 0 ;
13281 wxPoint temp3 ;
13282 wxSize temp4 ;
13283 long val5 ;
13284 int ecode5 = 0 ;
13285 bool temp6 = false ;
13286 PyObject * obj0 = 0 ;
13287 PyObject * obj1 = 0 ;
13288 PyObject * obj2 = 0 ;
13289 PyObject * obj3 = 0 ;
13290 PyObject * obj4 = 0 ;
13291 PyObject * obj5 = 0 ;
13292 char * kwnames[] = {
13293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13294 };
13295
13296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13298 if (!SWIG_IsOK(res1)) {
13299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13300 }
13301 arg1 = reinterpret_cast< wxWindow * >(argp1);
13302 if (obj1) {
13303 ecode2 = SWIG_AsVal_int(obj1, &val2);
13304 if (!SWIG_IsOK(ecode2)) {
13305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13306 }
13307 arg2 = static_cast< int >(val2);
13308 }
13309 if (obj2) {
f20a2e1f 13310 {
1bd55598
RD
13311 arg3 = &temp3;
13312 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 13313 }
1bd55598
RD
13314 }
13315 if (obj3) {
f20a2e1f 13316 {
1bd55598
RD
13317 arg4 = &temp4;
13318 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13319 }
1bd55598
RD
13320 }
13321 if (obj4) {
13322 ecode5 = SWIG_AsVal_long(obj4, &val5);
13323 if (!SWIG_IsOK(ecode5)) {
13324 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13325 }
13326 arg5 = static_cast< long >(val5);
13327 }
13328 if (obj5) {
36ed4f51 13329 {
1bd55598
RD
13330 arg6 = wxString_in_helper(obj5);
13331 if (arg6 == NULL) SWIG_fail;
13332 temp6 = true;
36ed4f51 13333 }
1bd55598
RD
13334 }
13335 {
13336 if (!wxPyCheckForApp()) SWIG_fail;
13337 PyThreadState* __tstate = wxPyBeginAllowThreads();
13338 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13339 wxPyEndAllowThreads(__tstate);
13340 if (PyErr_Occurred()) SWIG_fail;
13341 }
13342 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13343 {
13344 if (temp6)
13345 delete arg6;
13346 }
13347 return resultobj;
13348fail:
13349 {
13350 if (temp6)
13351 delete arg6;
13352 }
13353 return NULL;
d55e5bfc
RD
13354}
13355
13356
1bd55598
RD
13357SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13358 PyObject *resultobj = 0;
13359 wxPyVScrolledWindow *result = 0 ;
13360
13361 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13362 {
13363 if (!wxPyCheckForApp()) SWIG_fail;
13364 PyThreadState* __tstate = wxPyBeginAllowThreads();
13365 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13370 return resultobj;
13371fail:
13372 return NULL;
13373}
13374
13375
13376SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13377 PyObject *resultobj = 0;
13378 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13379 PyObject *arg2 = (PyObject *) 0 ;
13380 PyObject *arg3 = (PyObject *) 0 ;
13381 void *argp1 = 0 ;
13382 int res1 = 0 ;
13383 PyObject * obj0 = 0 ;
13384 PyObject * obj1 = 0 ;
13385 PyObject * obj2 = 0 ;
13386 char * kwnames[] = {
13387 (char *) "self",(char *) "self",(char *) "_class", NULL
13388 };
13389
13390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13392 if (!SWIG_IsOK(res1)) {
13393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13394 }
13395 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13396 arg2 = obj1;
13397 arg3 = obj2;
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 (arg1)->_setCallbackInfo(arg2,arg3);
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 resultobj = SWIG_Py_Void();
13405 return resultobj;
13406fail:
13407 return NULL;
13408}
13409
13410
13411SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13412 PyObject *resultobj = 0;
13413 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13414 wxWindow *arg2 = (wxWindow *) 0 ;
13415 int arg3 = (int) wxID_ANY ;
13416 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13417 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13418 wxSize const &arg5_defvalue = wxDefaultSize ;
13419 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13420 long arg6 = (long) 0 ;
13421 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13422 wxString *arg7 = (wxString *) &arg7_defvalue ;
13423 bool result;
13424 void *argp1 = 0 ;
13425 int res1 = 0 ;
13426 void *argp2 = 0 ;
13427 int res2 = 0 ;
13428 int val3 ;
13429 int ecode3 = 0 ;
13430 wxPoint temp4 ;
13431 wxSize temp5 ;
13432 long val6 ;
13433 int ecode6 = 0 ;
13434 bool temp7 = false ;
13435 PyObject * obj0 = 0 ;
13436 PyObject * obj1 = 0 ;
13437 PyObject * obj2 = 0 ;
13438 PyObject * obj3 = 0 ;
13439 PyObject * obj4 = 0 ;
13440 PyObject * obj5 = 0 ;
13441 PyObject * obj6 = 0 ;
13442 char * kwnames[] = {
13443 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13444 };
13445
13446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13448 if (!SWIG_IsOK(res1)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13450 }
13451 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13452 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13453 if (!SWIG_IsOK(res2)) {
13454 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13455 }
13456 arg2 = reinterpret_cast< wxWindow * >(argp2);
13457 if (obj2) {
13458 ecode3 = SWIG_AsVal_int(obj2, &val3);
13459 if (!SWIG_IsOK(ecode3)) {
13460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13461 }
13462 arg3 = static_cast< int >(val3);
13463 }
13464 if (obj3) {
d55e5bfc 13465 {
1bd55598
RD
13466 arg4 = &temp4;
13467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13468 }
1bd55598
RD
13469 }
13470 if (obj4) {
36ed4f51 13471 {
1bd55598
RD
13472 arg5 = &temp5;
13473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 13474 }
1bd55598
RD
13475 }
13476 if (obj5) {
13477 ecode6 = SWIG_AsVal_long(obj5, &val6);
13478 if (!SWIG_IsOK(ecode6)) {
13479 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13480 }
13481 arg6 = static_cast< long >(val6);
13482 }
13483 if (obj6) {
d55e5bfc 13484 {
1bd55598
RD
13485 arg7 = wxString_in_helper(obj6);
13486 if (arg7 == NULL) SWIG_fail;
13487 temp7 = true;
d55e5bfc 13488 }
1bd55598
RD
13489 }
13490 {
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13493 wxPyEndAllowThreads(__tstate);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 {
13497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13498 }
13499 {
13500 if (temp7)
13501 delete arg7;
13502 }
13503 return resultobj;
13504fail:
13505 {
13506 if (temp7)
13507 delete arg7;
13508 }
13509 return NULL;
13510}
13511
13512
13513SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj = 0;
13515 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13516 size_t arg2 ;
13517 void *argp1 = 0 ;
13518 int res1 = 0 ;
13519 size_t val2 ;
13520 int ecode2 = 0 ;
13521 PyObject * obj0 = 0 ;
13522 PyObject * obj1 = 0 ;
13523 char * kwnames[] = {
13524 (char *) "self",(char *) "count", NULL
13525 };
13526
13527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13529 if (!SWIG_IsOK(res1)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13531 }
13532 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13533 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13534 if (!SWIG_IsOK(ecode2)) {
13535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13536 }
13537 arg2 = static_cast< size_t >(val2);
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
13540 (arg1)->SetLineCount(arg2);
13541 wxPyEndAllowThreads(__tstate);
13542 if (PyErr_Occurred()) SWIG_fail;
13543 }
13544 resultobj = SWIG_Py_Void();
13545 return resultobj;
13546fail:
13547 return NULL;
13548}
13549
13550
13551SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13552 PyObject *resultobj = 0;
13553 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13554 size_t arg2 ;
13555 bool result;
13556 void *argp1 = 0 ;
13557 int res1 = 0 ;
13558 size_t val2 ;
13559 int ecode2 = 0 ;
13560 PyObject * obj0 = 0 ;
13561 PyObject * obj1 = 0 ;
13562 char * kwnames[] = {
13563 (char *) "self",(char *) "line", NULL
13564 };
13565
13566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13568 if (!SWIG_IsOK(res1)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13570 }
13571 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13572 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13573 if (!SWIG_IsOK(ecode2)) {
13574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13575 }
13576 arg2 = static_cast< size_t >(val2);
13577 {
13578 PyThreadState* __tstate = wxPyBeginAllowThreads();
13579 result = (bool)(arg1)->ScrollToLine(arg2);
13580 wxPyEndAllowThreads(__tstate);
13581 if (PyErr_Occurred()) SWIG_fail;
13582 }
13583 {
13584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13585 }
13586 return resultobj;
13587fail:
13588 return NULL;
13589}
13590
13591
13592SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13593 PyObject *resultobj = 0;
13594 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13595 size_t arg2 ;
13596 void *argp1 = 0 ;
13597 int res1 = 0 ;
13598 size_t val2 ;
13599 int ecode2 = 0 ;
13600 PyObject * obj0 = 0 ;
13601 PyObject * obj1 = 0 ;
13602 char * kwnames[] = {
13603 (char *) "self",(char *) "line", NULL
13604 };
13605
13606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13608 if (!SWIG_IsOK(res1)) {
13609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13610 }
13611 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13612 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13613 if (!SWIG_IsOK(ecode2)) {
13614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13615 }
13616 arg2 = static_cast< size_t >(val2);
13617 {
13618 PyThreadState* __tstate = wxPyBeginAllowThreads();
13619 (arg1)->RefreshLine(arg2);
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 resultobj = SWIG_Py_Void();
13624 return resultobj;
13625fail:
13626 return NULL;
13627}
13628
13629
13630SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13631 PyObject *resultobj = 0;
13632 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13633 size_t arg2 ;
13634 size_t arg3 ;
13635 void *argp1 = 0 ;
13636 int res1 = 0 ;
13637 size_t val2 ;
13638 int ecode2 = 0 ;
13639 size_t val3 ;
13640 int ecode3 = 0 ;
13641 PyObject * obj0 = 0 ;
13642 PyObject * obj1 = 0 ;
13643 PyObject * obj2 = 0 ;
13644 char * kwnames[] = {
2131d850 13645 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13646 };
13647
13648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13650 if (!SWIG_IsOK(res1)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13652 }
13653 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13654 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13655 if (!SWIG_IsOK(ecode2)) {
13656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13657 }
13658 arg2 = static_cast< size_t >(val2);
13659 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13660 if (!SWIG_IsOK(ecode3)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13662 }
13663 arg3 = static_cast< size_t >(val3);
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 (arg1)->RefreshLines(arg2,arg3);
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_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj = 0;
13679 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13680 int arg2 ;
13681 int arg3 ;
13682 int result;
13683 void *argp1 = 0 ;
13684 int res1 = 0 ;
13685 int val2 ;
13686 int ecode2 = 0 ;
13687 int val3 ;
13688 int ecode3 = 0 ;
13689 PyObject * obj0 = 0 ;
13690 PyObject * obj1 = 0 ;
13691 PyObject * obj2 = 0 ;
13692 char * kwnames[] = {
13693 (char *) "self",(char *) "x",(char *) "y", NULL
13694 };
13695
13696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13698 if (!SWIG_IsOK(res1)) {
13699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13700 }
13701 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13702 ecode2 = SWIG_AsVal_int(obj1, &val2);
13703 if (!SWIG_IsOK(ecode2)) {
13704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13705 }
13706 arg2 = static_cast< int >(val2);
13707 ecode3 = SWIG_AsVal_int(obj2, &val3);
13708 if (!SWIG_IsOK(ecode3)) {
13709 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13710 }
13711 arg3 = static_cast< int >(val3);
13712 {
13713 PyThreadState* __tstate = wxPyBeginAllowThreads();
13714 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 resultobj = SWIG_From_int(static_cast< int >(result));
13719 return resultobj;
13720fail:
13721 return NULL;
13722}
13723
13724
13725SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13726 PyObject *resultobj = 0;
13727 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13728 wxPoint *arg2 = 0 ;
13729 int result;
13730 void *argp1 = 0 ;
13731 int res1 = 0 ;
13732 wxPoint temp2 ;
13733 PyObject * obj0 = 0 ;
13734 PyObject * obj1 = 0 ;
13735 char * kwnames[] = {
13736 (char *) "self",(char *) "pt", NULL
13737 };
13738
13739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13741 if (!SWIG_IsOK(res1)) {
13742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13743 }
13744 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13745 {
13746 arg2 = &temp2;
13747 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13748 }
13749 {
13750 PyThreadState* __tstate = wxPyBeginAllowThreads();
13751 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13752 wxPyEndAllowThreads(__tstate);
13753 if (PyErr_Occurred()) SWIG_fail;
13754 }
13755 resultobj = SWIG_From_int(static_cast< int >(result));
13756 return resultobj;
13757fail:
13758 return NULL;
d55e5bfc
RD
13759}
13760
13761
1bd55598
RD
13762SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13763 PyObject *resultobj = 0;
13764 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13765 void *argp1 = 0 ;
13766 int res1 = 0 ;
13767 PyObject *swig_obj[1] ;
13768
13769 if (!args) SWIG_fail;
13770 swig_obj[0] = args;
13771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13772 if (!SWIG_IsOK(res1)) {
13773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13774 }
13775 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13776 {
13777 PyThreadState* __tstate = wxPyBeginAllowThreads();
13778 (arg1)->RefreshAll();
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 resultobj = SWIG_Py_Void();
13783 return resultobj;
13784fail:
13785 return NULL;
d55e5bfc
RD
13786}
13787
13788
1bd55598
RD
13789SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13790 PyObject *resultobj = 0;
13791 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13792 size_t result;
13793 void *argp1 = 0 ;
13794 int res1 = 0 ;
13795 PyObject *swig_obj[1] ;
13796
13797 if (!args) SWIG_fail;
13798 swig_obj[0] = args;
13799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13800 if (!SWIG_IsOK(res1)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13802 }
13803 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13811 return resultobj;
13812fail:
13813 return NULL;
d55e5bfc
RD
13814}
13815
13816
1bd55598
RD
13817SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13818 PyObject *resultobj = 0;
13819 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13820 size_t result;
13821 void *argp1 = 0 ;
13822 int res1 = 0 ;
13823 PyObject *swig_obj[1] ;
13824
13825 if (!args) SWIG_fail;
13826 swig_obj[0] = args;
13827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13828 if (!SWIG_IsOK(res1)) {
13829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13830 }
13831 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13832 {
13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
13834 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
13835 wxPyEndAllowThreads(__tstate);
13836 if (PyErr_Occurred()) SWIG_fail;
13837 }
13838 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13839 return resultobj;
13840fail:
13841 return NULL;
d55e5bfc
RD
13842}
13843
13844
1bd55598
RD
13845SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13846 PyObject *resultobj = 0;
13847 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13848 size_t result;
13849 void *argp1 = 0 ;
13850 int res1 = 0 ;
13851 PyObject *swig_obj[1] ;
13852
13853 if (!args) SWIG_fail;
13854 swig_obj[0] = args;
13855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13856 if (!SWIG_IsOK(res1)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13858 }
13859 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
13863 wxPyEndAllowThreads(__tstate);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
13866 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13867 return resultobj;
13868fail:
13869 return NULL;
13870}
13871
13872
13873SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13874 PyObject *resultobj = 0;
13875 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13876 size_t arg2 ;
13877 bool result;
13878 void *argp1 = 0 ;
13879 int res1 = 0 ;
13880 size_t val2 ;
13881 int ecode2 = 0 ;
13882 PyObject * obj0 = 0 ;
13883 PyObject * obj1 = 0 ;
13884 char * kwnames[] = {
13885 (char *) "self",(char *) "line", NULL
13886 };
13887
13888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13890 if (!SWIG_IsOK(res1)) {
13891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13892 }
13893 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13894 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13895 if (!SWIG_IsOK(ecode2)) {
13896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13897 }
13898 arg2 = static_cast< size_t >(val2);
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
13902 wxPyEndAllowThreads(__tstate);
13903 if (PyErr_Occurred()) SWIG_fail;
13904 }
13905 {
13906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13907 }
13908 return resultobj;
13909fail:
13910 return NULL;
d55e5bfc
RD
13911}
13912
13913
1bd55598
RD
13914SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13915 PyObject *resultobj = 0;
13916 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13917 size_t result;
13918 void *argp1 = 0 ;
13919 int res1 = 0 ;
13920 PyObject *swig_obj[1] ;
13921
13922 if (!args) SWIG_fail;
13923 swig_obj[0] = args;
13924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13925 if (!SWIG_IsOK(res1)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13927 }
13928 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13929 {
13930 PyThreadState* __tstate = wxPyBeginAllowThreads();
13931 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
13932 wxPyEndAllowThreads(__tstate);
13933 if (PyErr_Occurred()) SWIG_fail;
13934 }
13935 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13936 return resultobj;
13937fail:
13938 return NULL;
d55e5bfc
RD
13939}
13940
13941
1bd55598
RD
13942SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13943 PyObject *resultobj = 0;
13944 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13945 size_t result;
13946 void *argp1 = 0 ;
13947 int res1 = 0 ;
13948 PyObject *swig_obj[1] ;
13949
13950 if (!args) SWIG_fail;
13951 swig_obj[0] = args;
13952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13953 if (!SWIG_IsOK(res1)) {
13954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13955 }
13956 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13957 {
13958 PyThreadState* __tstate = wxPyBeginAllowThreads();
13959 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
13960 wxPyEndAllowThreads(__tstate);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 }
13963 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13964 return resultobj;
13965fail:
13966 return NULL;
13967}
13968
13969
13970SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13971 PyObject *resultobj = 0;
13972 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13973 size_t arg2 ;
13974 bool arg3 = (bool) false ;
13975 size_t result;
13976 void *argp1 = 0 ;
13977 int res1 = 0 ;
13978 size_t val2 ;
13979 int ecode2 = 0 ;
13980 bool val3 ;
13981 int ecode3 = 0 ;
13982 PyObject * obj0 = 0 ;
13983 PyObject * obj1 = 0 ;
13984 PyObject * obj2 = 0 ;
13985 char * kwnames[] = {
13986 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13987 };
13988
13989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13991 if (!SWIG_IsOK(res1)) {
13992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13993 }
13994 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13995 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13996 if (!SWIG_IsOK(ecode2)) {
13997 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13998 }
13999 arg2 = static_cast< size_t >(val2);
14000 if (obj2) {
14001 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14002 if (!SWIG_IsOK(ecode3)) {
14003 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14004 }
14005 arg3 = static_cast< bool >(val3);
14006 }
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14010 wxPyEndAllowThreads(__tstate);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 }
14013 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14014 return resultobj;
14015fail:
14016 return NULL;
14017}
14018
14019
14020SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14021 PyObject *resultobj = 0;
14022 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14023 size_t arg2 ;
14024 size_t arg3 ;
14025 int result;
14026 void *argp1 = 0 ;
14027 int res1 = 0 ;
14028 size_t val2 ;
14029 int ecode2 = 0 ;
14030 size_t val3 ;
14031 int ecode3 = 0 ;
14032 PyObject * obj0 = 0 ;
14033 PyObject * obj1 = 0 ;
14034 PyObject * obj2 = 0 ;
14035 char * kwnames[] = {
14036 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14037 };
14038
14039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14041 if (!SWIG_IsOK(res1)) {
14042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14043 }
14044 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14045 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14046 if (!SWIG_IsOK(ecode2)) {
14047 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14048 }
14049 arg2 = static_cast< size_t >(val2);
14050 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14051 if (!SWIG_IsOK(ecode3)) {
14052 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14053 }
14054 arg3 = static_cast< size_t >(val3);
14055 {
14056 PyThreadState* __tstate = wxPyBeginAllowThreads();
14057 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14058 wxPyEndAllowThreads(__tstate);
14059 if (PyErr_Occurred()) SWIG_fail;
14060 }
14061 resultobj = SWIG_From_int(static_cast< int >(result));
14062 return resultobj;
14063fail:
14064 return NULL;
d55e5bfc
RD
14065}
14066
14067
1bd55598
RD
14068SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14069 PyObject *obj;
14070 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14071 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14072 return SWIG_Py_Void();
d55e5bfc
RD
14073}
14074
1bd55598
RD
14075SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14076 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14077}
14078
1bd55598
RD
14079SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14080 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14081 return 1;
d55e5bfc
RD
14082}
14083
14084
1bd55598
RD
14085SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14086 PyObject *pyobj = 0;
14087
14088 {
14089#if wxUSE_UNICODE
14090 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14091#else
14092 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14093#endif
14094 }
14095 return pyobj;
14096}
14097
14098
14099SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj = 0;
14101 wxWindow *arg1 = (wxWindow *) 0 ;
14102 int arg2 = (int) wxID_ANY ;
14103 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14104 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14105 wxSize const &arg4_defvalue = wxDefaultSize ;
14106 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14107 long arg5 = (long) 0 ;
14108 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14109 wxString *arg6 = (wxString *) &arg6_defvalue ;
14110 wxPyVListBox *result = 0 ;
14111 void *argp1 = 0 ;
14112 int res1 = 0 ;
14113 int val2 ;
14114 int ecode2 = 0 ;
14115 wxPoint temp3 ;
14116 wxSize temp4 ;
14117 long val5 ;
14118 int ecode5 = 0 ;
14119 bool temp6 = false ;
14120 PyObject * obj0 = 0 ;
14121 PyObject * obj1 = 0 ;
14122 PyObject * obj2 = 0 ;
14123 PyObject * obj3 = 0 ;
14124 PyObject * obj4 = 0 ;
14125 PyObject * obj5 = 0 ;
14126 char * kwnames[] = {
14127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14128 };
14129
14130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14132 if (!SWIG_IsOK(res1)) {
14133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14134 }
14135 arg1 = reinterpret_cast< wxWindow * >(argp1);
14136 if (obj1) {
14137 ecode2 = SWIG_AsVal_int(obj1, &val2);
14138 if (!SWIG_IsOK(ecode2)) {
14139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14140 }
14141 arg2 = static_cast< int >(val2);
14142 }
14143 if (obj2) {
36ed4f51 14144 {
1bd55598
RD
14145 arg3 = &temp3;
14146 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 14147 }
1bd55598
RD
14148 }
14149 if (obj3) {
d55e5bfc 14150 {
1bd55598
RD
14151 arg4 = &temp4;
14152 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14153 }
1bd55598
RD
14154 }
14155 if (obj4) {
14156 ecode5 = SWIG_AsVal_long(obj4, &val5);
14157 if (!SWIG_IsOK(ecode5)) {
14158 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14159 }
14160 arg5 = static_cast< long >(val5);
14161 }
14162 if (obj5) {
d55e5bfc 14163 {
1bd55598
RD
14164 arg6 = wxString_in_helper(obj5);
14165 if (arg6 == NULL) SWIG_fail;
14166 temp6 = true;
d55e5bfc 14167 }
1bd55598
RD
14168 }
14169 {
14170 if (!wxPyCheckForApp()) SWIG_fail;
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14173 wxPyEndAllowThreads(__tstate);
14174 if (PyErr_Occurred()) SWIG_fail;
14175 }
14176 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14177 {
14178 if (temp6)
14179 delete arg6;
14180 }
14181 return resultobj;
14182fail:
14183 {
14184 if (temp6)
14185 delete arg6;
14186 }
14187 return NULL;
d55e5bfc
RD
14188}
14189
14190
1bd55598
RD
14191SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14192 PyObject *resultobj = 0;
14193 wxPyVListBox *result = 0 ;
14194
14195 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14196 {
14197 if (!wxPyCheckForApp()) SWIG_fail;
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = (wxPyVListBox *)new wxPyVListBox();
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14204 return resultobj;
14205fail:
14206 return NULL;
14207}
14208
14209
14210SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj = 0;
14212 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14213 PyObject *arg2 = (PyObject *) 0 ;
14214 PyObject *arg3 = (PyObject *) 0 ;
14215 void *argp1 = 0 ;
14216 int res1 = 0 ;
14217 PyObject * obj0 = 0 ;
14218 PyObject * obj1 = 0 ;
14219 PyObject * obj2 = 0 ;
14220 char * kwnames[] = {
14221 (char *) "self",(char *) "self",(char *) "_class", NULL
14222 };
14223
14224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14226 if (!SWIG_IsOK(res1)) {
14227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14228 }
14229 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14230 arg2 = obj1;
14231 arg3 = obj2;
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 (arg1)->_setCallbackInfo(arg2,arg3);
14235 wxPyEndAllowThreads(__tstate);
14236 if (PyErr_Occurred()) SWIG_fail;
14237 }
14238 resultobj = SWIG_Py_Void();
14239 return resultobj;
14240fail:
14241 return NULL;
14242}
14243
14244
14245SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14246 PyObject *resultobj = 0;
14247 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14248 wxWindow *arg2 = (wxWindow *) 0 ;
14249 int arg3 = (int) wxID_ANY ;
14250 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14251 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14252 wxSize const &arg5_defvalue = wxDefaultSize ;
14253 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14254 long arg6 = (long) 0 ;
14255 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14256 wxString *arg7 = (wxString *) &arg7_defvalue ;
14257 bool result;
14258 void *argp1 = 0 ;
14259 int res1 = 0 ;
14260 void *argp2 = 0 ;
14261 int res2 = 0 ;
14262 int val3 ;
14263 int ecode3 = 0 ;
14264 wxPoint temp4 ;
14265 wxSize temp5 ;
14266 long val6 ;
14267 int ecode6 = 0 ;
14268 bool temp7 = false ;
14269 PyObject * obj0 = 0 ;
14270 PyObject * obj1 = 0 ;
14271 PyObject * obj2 = 0 ;
14272 PyObject * obj3 = 0 ;
14273 PyObject * obj4 = 0 ;
14274 PyObject * obj5 = 0 ;
14275 PyObject * obj6 = 0 ;
14276 char * kwnames[] = {
14277 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14278 };
14279
14280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14282 if (!SWIG_IsOK(res1)) {
14283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14284 }
14285 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14286 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14287 if (!SWIG_IsOK(res2)) {
14288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14289 }
14290 arg2 = reinterpret_cast< wxWindow * >(argp2);
14291 if (obj2) {
14292 ecode3 = SWIG_AsVal_int(obj2, &val3);
14293 if (!SWIG_IsOK(ecode3)) {
14294 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14295 }
14296 arg3 = static_cast< int >(val3);
14297 }
14298 if (obj3) {
36ed4f51 14299 {
1bd55598
RD
14300 arg4 = &temp4;
14301 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 14302 }
1bd55598
RD
14303 }
14304 if (obj4) {
36ed4f51 14305 {
1bd55598
RD
14306 arg5 = &temp5;
14307 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 14308 }
1bd55598
RD
14309 }
14310 if (obj5) {
14311 ecode6 = SWIG_AsVal_long(obj5, &val6);
14312 if (!SWIG_IsOK(ecode6)) {
14313 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14314 }
14315 arg6 = static_cast< long >(val6);
14316 }
14317 if (obj6) {
d55e5bfc 14318 {
1bd55598
RD
14319 arg7 = wxString_in_helper(obj6);
14320 if (arg7 == NULL) SWIG_fail;
14321 temp7 = true;
14322 }
14323 }
14324 {
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 {
14331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14332 }
14333 {
14334 if (temp7)
14335 delete arg7;
14336 }
14337 return resultobj;
14338fail:
14339 {
14340 if (temp7)
14341 delete arg7;
14342 }
14343 return NULL;
d55e5bfc
RD
14344}
14345
14346
1bd55598
RD
14347SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14348 PyObject *resultobj = 0;
14349 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14350 size_t result;
14351 void *argp1 = 0 ;
14352 int res1 = 0 ;
14353 PyObject *swig_obj[1] ;
14354
14355 if (!args) SWIG_fail;
14356 swig_obj[0] = args;
14357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14358 if (!SWIG_IsOK(res1)) {
14359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14360 }
14361 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14369 return resultobj;
14370fail:
14371 return NULL;
d55e5bfc
RD
14372}
14373
14374
1bd55598
RD
14375SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14376 PyObject *resultobj = 0;
14377 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14378 bool result;
14379 void *argp1 = 0 ;
14380 int res1 = 0 ;
14381 PyObject *swig_obj[1] ;
14382
14383 if (!args) SWIG_fail;
14384 swig_obj[0] = args;
14385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14386 if (!SWIG_IsOK(res1)) {
14387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14388 }
14389 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14393 wxPyEndAllowThreads(__tstate);
14394 if (PyErr_Occurred()) SWIG_fail;
14395 }
14396 {
14397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14398 }
14399 return resultobj;
14400fail:
14401 return NULL;
d55e5bfc
RD
14402}
14403
14404
1bd55598
RD
14405SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14406 PyObject *resultobj = 0;
14407 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14408 int result;
14409 void *argp1 = 0 ;
14410 int res1 = 0 ;
14411 PyObject *swig_obj[1] ;
14412
14413 if (!args) SWIG_fail;
14414 swig_obj[0] = args;
14415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14416 if (!SWIG_IsOK(res1)) {
14417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14418 }
14419 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14420 {
14421 PyThreadState* __tstate = wxPyBeginAllowThreads();
14422 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 resultobj = SWIG_From_int(static_cast< int >(result));
14427 return resultobj;
14428fail:
14429 return NULL;
14430}
14431
14432
14433SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14434 PyObject *resultobj = 0;
14435 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14436 size_t arg2 ;
14437 bool result;
14438 void *argp1 = 0 ;
14439 int res1 = 0 ;
14440 size_t val2 ;
14441 int ecode2 = 0 ;
14442 PyObject * obj0 = 0 ;
14443 PyObject * obj1 = 0 ;
14444 char * kwnames[] = {
14445 (char *) "self",(char *) "item", NULL
14446 };
14447
14448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14450 if (!SWIG_IsOK(res1)) {
14451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14452 }
14453 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14454 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14455 if (!SWIG_IsOK(ecode2)) {
14456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14457 }
14458 arg2 = static_cast< size_t >(val2);
14459 {
14460 PyThreadState* __tstate = wxPyBeginAllowThreads();
14461 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
14465 {
14466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14467 }
14468 return resultobj;
14469fail:
14470 return NULL;
14471}
14472
14473
14474SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj = 0;
14476 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14477 size_t arg2 ;
14478 bool result;
14479 void *argp1 = 0 ;
14480 int res1 = 0 ;
14481 size_t val2 ;
14482 int ecode2 = 0 ;
14483 PyObject * obj0 = 0 ;
14484 PyObject * obj1 = 0 ;
14485 char * kwnames[] = {
14486 (char *) "self",(char *) "item", NULL
14487 };
14488
14489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14491 if (!SWIG_IsOK(res1)) {
14492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14493 }
14494 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14495 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14496 if (!SWIG_IsOK(ecode2)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14498 }
14499 arg2 = static_cast< size_t >(val2);
14500 {
14501 PyThreadState* __tstate = wxPyBeginAllowThreads();
14502 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 {
14507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14508 }
14509 return resultobj;
14510fail:
14511 return NULL;
d55e5bfc
RD
14512}
14513
14514
1bd55598
RD
14515SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14516 PyObject *resultobj = 0;
14517 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14518 size_t result;
14519 void *argp1 = 0 ;
14520 int res1 = 0 ;
14521 PyObject *swig_obj[1] ;
14522
14523 if (!args) SWIG_fail;
14524 swig_obj[0] = args;
14525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14526 if (!SWIG_IsOK(res1)) {
14527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14528 }
14529 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14530 {
14531 PyThreadState* __tstate = wxPyBeginAllowThreads();
14532 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14537 return resultobj;
14538fail:
14539 return NULL;
d55e5bfc
RD
14540}
14541
14542
1bd55598
RD
14543SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14544 PyObject *resultobj = 0;
14545 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14546 PyObject *result = 0 ;
14547 void *argp1 = 0 ;
14548 int res1 = 0 ;
14549 PyObject *swig_obj[1] ;
14550
14551 if (!args) SWIG_fail;
14552 swig_obj[0] = args;
14553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14554 if (!SWIG_IsOK(res1)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14556 }
14557 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 resultobj = result;
14565 return resultobj;
14566fail:
14567 return NULL;
14568}
14569
14570
14571SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14572 PyObject *resultobj = 0;
14573 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14574 unsigned long arg2 ;
14575 PyObject *result = 0 ;
14576 void *argp1 = 0 ;
14577 int res1 = 0 ;
14578 unsigned long val2 ;
14579 int ecode2 = 0 ;
14580 PyObject * obj0 = 0 ;
14581 PyObject * obj1 = 0 ;
14582 char * kwnames[] = {
14583 (char *) "self",(char *) "cookie", NULL
14584 };
14585
14586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14588 if (!SWIG_IsOK(res1)) {
14589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14590 }
14591 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14592 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14593 if (!SWIG_IsOK(ecode2)) {
14594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14595 }
14596 arg2 = static_cast< unsigned long >(val2);
14597 {
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
14599 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14600 wxPyEndAllowThreads(__tstate);
14601 if (PyErr_Occurred()) SWIG_fail;
14602 }
14603 resultobj = result;
14604 return resultobj;
14605fail:
14606 return NULL;
d55e5bfc
RD
14607}
14608
14609
1bd55598
RD
14610SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14611 PyObject *resultobj = 0;
14612 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14613 wxPoint result;
14614 void *argp1 = 0 ;
14615 int res1 = 0 ;
14616 PyObject *swig_obj[1] ;
14617
14618 if (!args) SWIG_fail;
14619 swig_obj[0] = args;
14620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14621 if (!SWIG_IsOK(res1)) {
14622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14623 }
14624 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = ((wxPyVListBox const *)arg1)->GetMargins();
14628 wxPyEndAllowThreads(__tstate);
14629 if (PyErr_Occurred()) SWIG_fail;
14630 }
14631 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14632 return resultobj;
14633fail:
14634 return NULL;
d55e5bfc
RD
14635}
14636
14637
1bd55598
RD
14638SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14639 PyObject *resultobj = 0;
14640 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14641 wxColour *result = 0 ;
14642 void *argp1 = 0 ;
14643 int res1 = 0 ;
14644 PyObject *swig_obj[1] ;
14645
14646 if (!args) SWIG_fail;
14647 swig_obj[0] = args;
14648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14649 if (!SWIG_IsOK(res1)) {
14650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14651 }
14652 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14653 {
14654 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14655 {
1bd55598
RD
14656 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14657 result = (wxColour *) &_result_ref;
36ed4f51 14658 }
1bd55598
RD
14659 wxPyEndAllowThreads(__tstate);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14663 return resultobj;
14664fail:
14665 return NULL;
14666}
14667
14668
14669SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14670 PyObject *resultobj = 0;
14671 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14672 size_t arg2 ;
14673 void *argp1 = 0 ;
14674 int res1 = 0 ;
14675 size_t val2 ;
14676 int ecode2 = 0 ;
14677 PyObject * obj0 = 0 ;
14678 PyObject * obj1 = 0 ;
14679 char * kwnames[] = {
14680 (char *) "self",(char *) "count", NULL
14681 };
14682
14683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14685 if (!SWIG_IsOK(res1)) {
14686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14687 }
14688 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14689 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14690 if (!SWIG_IsOK(ecode2)) {
14691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14692 }
14693 arg2 = static_cast< size_t >(val2);
14694 {
14695 PyThreadState* __tstate = wxPyBeginAllowThreads();
14696 (arg1)->SetItemCount(arg2);
14697 wxPyEndAllowThreads(__tstate);
14698 if (PyErr_Occurred()) SWIG_fail;
14699 }
14700 resultobj = SWIG_Py_Void();
14701 return resultobj;
14702fail:
14703 return NULL;
d55e5bfc
RD
14704}
14705
14706
1bd55598
RD
14707SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14708 PyObject *resultobj = 0;
14709 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14710 void *argp1 = 0 ;
14711 int res1 = 0 ;
14712 PyObject *swig_obj[1] ;
14713
14714 if (!args) SWIG_fail;
14715 swig_obj[0] = args;
14716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14717 if (!SWIG_IsOK(res1)) {
14718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14719 }
14720 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14721 {
14722 PyThreadState* __tstate = wxPyBeginAllowThreads();
14723 (arg1)->Clear();
14724 wxPyEndAllowThreads(__tstate);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 resultobj = SWIG_Py_Void();
14728 return resultobj;
14729fail:
14730 return NULL;
14731}
14732
14733
14734SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14735 PyObject *resultobj = 0;
14736 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14737 int arg2 ;
14738 void *argp1 = 0 ;
14739 int res1 = 0 ;
14740 int val2 ;
14741 int ecode2 = 0 ;
14742 PyObject * obj0 = 0 ;
14743 PyObject * obj1 = 0 ;
14744 char * kwnames[] = {
14745 (char *) "self",(char *) "selection", NULL
14746 };
14747
14748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14750 if (!SWIG_IsOK(res1)) {
14751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14752 }
14753 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14754 ecode2 = SWIG_AsVal_int(obj1, &val2);
14755 if (!SWIG_IsOK(ecode2)) {
14756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14757 }
14758 arg2 = static_cast< int >(val2);
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 (arg1)->SetSelection(arg2);
14762 wxPyEndAllowThreads(__tstate);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 resultobj = SWIG_Py_Void();
14766 return resultobj;
14767fail:
14768 return NULL;
14769}
14770
14771
14772SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14773 PyObject *resultobj = 0;
14774 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14775 size_t arg2 ;
14776 bool arg3 = (bool) true ;
14777 bool result;
14778 void *argp1 = 0 ;
14779 int res1 = 0 ;
14780 size_t val2 ;
14781 int ecode2 = 0 ;
14782 bool val3 ;
14783 int ecode3 = 0 ;
14784 PyObject * obj0 = 0 ;
14785 PyObject * obj1 = 0 ;
14786 PyObject * obj2 = 0 ;
14787 char * kwnames[] = {
14788 (char *) "self",(char *) "item",(char *) "select", NULL
14789 };
14790
14791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14793 if (!SWIG_IsOK(res1)) {
14794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14795 }
14796 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14797 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14798 if (!SWIG_IsOK(ecode2)) {
14799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14800 }
14801 arg2 = static_cast< size_t >(val2);
14802 if (obj2) {
14803 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14804 if (!SWIG_IsOK(ecode3)) {
14805 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14806 }
14807 arg3 = static_cast< bool >(val3);
14808 }
14809 {
14810 PyThreadState* __tstate = wxPyBeginAllowThreads();
14811 result = (bool)(arg1)->Select(arg2,arg3);
14812 wxPyEndAllowThreads(__tstate);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 {
14816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14817 }
14818 return resultobj;
14819fail:
14820 return NULL;
14821}
14822
14823
14824SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj = 0;
14826 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14827 size_t arg2 ;
14828 size_t arg3 ;
14829 bool result;
14830 void *argp1 = 0 ;
14831 int res1 = 0 ;
14832 size_t val2 ;
14833 int ecode2 = 0 ;
14834 size_t val3 ;
14835 int ecode3 = 0 ;
14836 PyObject * obj0 = 0 ;
14837 PyObject * obj1 = 0 ;
14838 PyObject * obj2 = 0 ;
14839 char * kwnames[] = {
2131d850 14840 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
14841 };
14842
14843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14845 if (!SWIG_IsOK(res1)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14847 }
14848 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14849 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14850 if (!SWIG_IsOK(ecode2)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14852 }
14853 arg2 = static_cast< size_t >(val2);
14854 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14855 if (!SWIG_IsOK(ecode3)) {
14856 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14857 }
14858 arg3 = static_cast< size_t >(val3);
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (bool)(arg1)->SelectRange(arg2,arg3);
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 {
14866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14867 }
14868 return resultobj;
14869fail:
14870 return NULL;
14871}
14872
14873
14874SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14875 PyObject *resultobj = 0;
14876 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14877 size_t arg2 ;
14878 void *argp1 = 0 ;
14879 int res1 = 0 ;
14880 size_t val2 ;
14881 int ecode2 = 0 ;
14882 PyObject * obj0 = 0 ;
14883 PyObject * obj1 = 0 ;
14884 char * kwnames[] = {
14885 (char *) "self",(char *) "item", NULL
14886 };
14887
14888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
14889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14890 if (!SWIG_IsOK(res1)) {
14891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14892 }
14893 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14894 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14895 if (!SWIG_IsOK(ecode2)) {
14896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14897 }
14898 arg2 = static_cast< size_t >(val2);
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 (arg1)->Toggle(arg2);
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 resultobj = SWIG_Py_Void();
14906 return resultobj;
14907fail:
14908 return NULL;
d55e5bfc
RD
14909}
14910
14911
1bd55598
RD
14912SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14913 PyObject *resultobj = 0;
14914 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14915 bool result;
14916 void *argp1 = 0 ;
14917 int res1 = 0 ;
14918 PyObject *swig_obj[1] ;
14919
14920 if (!args) SWIG_fail;
14921 swig_obj[0] = args;
14922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14923 if (!SWIG_IsOK(res1)) {
14924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14925 }
14926 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14927 {
14928 PyThreadState* __tstate = wxPyBeginAllowThreads();
14929 result = (bool)(arg1)->SelectAll();
14930 wxPyEndAllowThreads(__tstate);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 {
14934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14935 }
14936 return resultobj;
14937fail:
14938 return NULL;
d55e5bfc
RD
14939}
14940
14941
1bd55598
RD
14942SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14943 PyObject *resultobj = 0;
14944 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14945 bool result;
14946 void *argp1 = 0 ;
14947 int res1 = 0 ;
14948 PyObject *swig_obj[1] ;
14949
14950 if (!args) SWIG_fail;
14951 swig_obj[0] = args;
14952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14953 if (!SWIG_IsOK(res1)) {
14954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14955 }
14956 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 result = (bool)(arg1)->DeselectAll();
14960 wxPyEndAllowThreads(__tstate);
14961 if (PyErr_Occurred()) SWIG_fail;
14962 }
14963 {
14964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14965 }
14966 return resultobj;
14967fail:
14968 return NULL;
14969}
14970
14971
14972SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14973 PyObject *resultobj = 0;
14974 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14975 wxPoint *arg2 = 0 ;
14976 void *argp1 = 0 ;
14977 int res1 = 0 ;
14978 wxPoint temp2 ;
14979 PyObject * obj0 = 0 ;
14980 PyObject * obj1 = 0 ;
14981 char * kwnames[] = {
14982 (char *) "self",(char *) "pt", NULL
14983 };
14984
14985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
14986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14987 if (!SWIG_IsOK(res1)) {
14988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14989 }
14990 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14991 {
14992 arg2 = &temp2;
14993 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14994 }
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 (arg1)->SetMargins((wxPoint const &)*arg2);
14998 wxPyEndAllowThreads(__tstate);
14999 if (PyErr_Occurred()) SWIG_fail;
15000 }
15001 resultobj = SWIG_Py_Void();
15002 return resultobj;
15003fail:
15004 return NULL;
15005}
15006
15007
15008SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj = 0;
15010 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15011 int arg2 ;
15012 int arg3 ;
15013 void *argp1 = 0 ;
15014 int res1 = 0 ;
15015 int val2 ;
15016 int ecode2 = 0 ;
15017 int val3 ;
15018 int ecode3 = 0 ;
15019 PyObject * obj0 = 0 ;
15020 PyObject * obj1 = 0 ;
15021 PyObject * obj2 = 0 ;
15022 char * kwnames[] = {
15023 (char *) "self",(char *) "x",(char *) "y", NULL
15024 };
15025
15026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15028 if (!SWIG_IsOK(res1)) {
15029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15030 }
15031 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15032 ecode2 = SWIG_AsVal_int(obj1, &val2);
15033 if (!SWIG_IsOK(ecode2)) {
15034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15035 }
15036 arg2 = static_cast< int >(val2);
15037 ecode3 = SWIG_AsVal_int(obj2, &val3);
15038 if (!SWIG_IsOK(ecode3)) {
15039 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15040 }
15041 arg3 = static_cast< int >(val3);
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 (arg1)->SetMargins(arg2,arg3);
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 resultobj = SWIG_Py_Void();
15049 return resultobj;
15050fail:
15051 return NULL;
15052}
15053
15054
15055SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj = 0;
15057 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15058 wxColour *arg2 = 0 ;
15059 void *argp1 = 0 ;
15060 int res1 = 0 ;
15061 wxColour temp2 ;
15062 PyObject * obj0 = 0 ;
15063 PyObject * obj1 = 0 ;
15064 char * kwnames[] = {
15065 (char *) "self",(char *) "col", NULL
15066 };
15067
15068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15070 if (!SWIG_IsOK(res1)) {
15071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15072 }
15073 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15074 {
15075 arg2 = &temp2;
15076 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15077 }
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15081 wxPyEndAllowThreads(__tstate);
15082 if (PyErr_Occurred()) SWIG_fail;
15083 }
15084 resultobj = SWIG_Py_Void();
15085 return resultobj;
15086fail:
15087 return NULL;
15088}
15089
15090
1c71765a
RD
15091SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj = 0;
15093 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15094 wxDC *arg2 = 0 ;
15095 wxRect *arg3 = 0 ;
15096 size_t arg4 ;
15097 void *argp1 = 0 ;
15098 int res1 = 0 ;
15099 void *argp2 = 0 ;
15100 int res2 = 0 ;
15101 wxRect temp3 ;
15102 size_t val4 ;
15103 int ecode4 = 0 ;
15104 PyObject * obj0 = 0 ;
15105 PyObject * obj1 = 0 ;
15106 PyObject * obj2 = 0 ;
15107 PyObject * obj3 = 0 ;
15108 char * kwnames[] = {
15109 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15110 };
15111
15112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15114 if (!SWIG_IsOK(res1)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15116 }
15117 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15118 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15119 if (!SWIG_IsOK(res2)) {
15120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15121 }
15122 if (!argp2) {
15123 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15124 }
15125 arg2 = reinterpret_cast< wxDC * >(argp2);
15126 {
15127 arg3 = &temp3;
15128 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15129 }
15130 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15131 if (!SWIG_IsOK(ecode4)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15133 }
15134 arg4 = static_cast< size_t >(val4);
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15138 wxPyEndAllowThreads(__tstate);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15141 resultobj = SWIG_Py_Void();
15142 return resultobj;
15143fail:
15144 return NULL;
15145}
15146
15147
15148SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15149 PyObject *resultobj = 0;
15150 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15151 wxDC *arg2 = 0 ;
15152 wxRect *arg3 = 0 ;
15153 size_t arg4 ;
15154 void *argp1 = 0 ;
15155 int res1 = 0 ;
15156 void *argp2 = 0 ;
15157 int res2 = 0 ;
15158 wxRect temp3 ;
15159 size_t val4 ;
15160 int ecode4 = 0 ;
15161 PyObject * obj0 = 0 ;
15162 PyObject * obj1 = 0 ;
15163 PyObject * obj2 = 0 ;
15164 PyObject * obj3 = 0 ;
15165 char * kwnames[] = {
15166 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15167 };
15168
15169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15171 if (!SWIG_IsOK(res1)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15173 }
15174 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15175 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15176 if (!SWIG_IsOK(res2)) {
15177 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15178 }
15179 if (!argp2) {
15180 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15181 }
15182 arg2 = reinterpret_cast< wxDC * >(argp2);
15183 {
15184 arg3 = &temp3;
15185 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15186 }
15187 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15188 if (!SWIG_IsOK(ecode4)) {
15189 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15190 }
15191 arg4 = static_cast< size_t >(val4);
15192 {
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
15194 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15195 wxPyEndAllowThreads(__tstate);
15196 if (PyErr_Occurred()) SWIG_fail;
15197 }
15198 resultobj = SWIG_Py_Void();
15199 return resultobj;
15200fail:
15201 return NULL;
15202}
15203
15204
1bd55598
RD
15205SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15206 PyObject *obj;
15207 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15208 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15209 return SWIG_Py_Void();
15210}
15211
15212SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15213 return SWIG_Python_InitShadowInstance(args);
15214}
15215
15216SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15217 PyObject *resultobj = 0;
15218 wxWindow *arg1 = (wxWindow *) 0 ;
15219 int arg2 = (int) wxID_ANY ;
15220 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15221 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15222 wxSize const &arg4_defvalue = wxDefaultSize ;
15223 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15224 long arg5 = (long) 0 ;
15225 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15226 wxString *arg6 = (wxString *) &arg6_defvalue ;
15227 wxPyHtmlListBox *result = 0 ;
15228 void *argp1 = 0 ;
15229 int res1 = 0 ;
15230 int val2 ;
15231 int ecode2 = 0 ;
15232 wxPoint temp3 ;
15233 wxSize temp4 ;
15234 long val5 ;
15235 int ecode5 = 0 ;
15236 bool temp6 = false ;
15237 PyObject * obj0 = 0 ;
15238 PyObject * obj1 = 0 ;
15239 PyObject * obj2 = 0 ;
15240 PyObject * obj3 = 0 ;
15241 PyObject * obj4 = 0 ;
15242 PyObject * obj5 = 0 ;
15243 char * kwnames[] = {
15244 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15245 };
15246
15247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15249 if (!SWIG_IsOK(res1)) {
15250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15251 }
15252 arg1 = reinterpret_cast< wxWindow * >(argp1);
15253 if (obj1) {
15254 ecode2 = SWIG_AsVal_int(obj1, &val2);
15255 if (!SWIG_IsOK(ecode2)) {
15256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15257 }
15258 arg2 = static_cast< int >(val2);
15259 }
15260 if (obj2) {
d55e5bfc 15261 {
1bd55598
RD
15262 arg3 = &temp3;
15263 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 15264 }
1bd55598
RD
15265 }
15266 if (obj3) {
36ed4f51 15267 {
1bd55598
RD
15268 arg4 = &temp4;
15269 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15270 }
1bd55598
RD
15271 }
15272 if (obj4) {
15273 ecode5 = SWIG_AsVal_long(obj4, &val5);
15274 if (!SWIG_IsOK(ecode5)) {
15275 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15276 }
15277 arg5 = static_cast< long >(val5);
15278 }
15279 if (obj5) {
36ed4f51 15280 {
1bd55598
RD
15281 arg6 = wxString_in_helper(obj5);
15282 if (arg6 == NULL) SWIG_fail;
15283 temp6 = true;
36ed4f51 15284 }
1bd55598
RD
15285 }
15286 {
15287 if (!wxPyCheckForApp()) SWIG_fail;
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15294 {
15295 if (temp6)
15296 delete arg6;
15297 }
15298 return resultobj;
15299fail:
15300 {
15301 if (temp6)
15302 delete arg6;
15303 }
15304 return NULL;
d55e5bfc
RD
15305}
15306
15307
1bd55598
RD
15308SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15309 PyObject *resultobj = 0;
15310 wxPyHtmlListBox *result = 0 ;
15311
15312 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15313 {
15314 if (!wxPyCheckForApp()) SWIG_fail;
15315 PyThreadState* __tstate = wxPyBeginAllowThreads();
15316 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15317 wxPyEndAllowThreads(__tstate);
15318 if (PyErr_Occurred()) SWIG_fail;
15319 }
15320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15321 return resultobj;
15322fail:
15323 return NULL;
15324}
15325
15326
15327SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15328 PyObject *resultobj = 0;
15329 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15330 PyObject *arg2 = (PyObject *) 0 ;
15331 PyObject *arg3 = (PyObject *) 0 ;
15332 void *argp1 = 0 ;
15333 int res1 = 0 ;
15334 PyObject * obj0 = 0 ;
15335 PyObject * obj1 = 0 ;
15336 PyObject * obj2 = 0 ;
15337 char * kwnames[] = {
15338 (char *) "self",(char *) "self",(char *) "_class", NULL
15339 };
15340
15341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15343 if (!SWIG_IsOK(res1)) {
15344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15345 }
15346 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15347 arg2 = obj1;
15348 arg3 = obj2;
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 (arg1)->_setCallbackInfo(arg2,arg3);
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 resultobj = SWIG_Py_Void();
15356 return resultobj;
15357fail:
15358 return NULL;
15359}
15360
15361
15362SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15363 PyObject *resultobj = 0;
15364 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15365 wxWindow *arg2 = (wxWindow *) 0 ;
15366 int arg3 = (int) wxID_ANY ;
15367 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15368 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15369 wxSize const &arg5_defvalue = wxDefaultSize ;
15370 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15371 long arg6 = (long) 0 ;
15372 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15373 wxString *arg7 = (wxString *) &arg7_defvalue ;
15374 bool result;
15375 void *argp1 = 0 ;
15376 int res1 = 0 ;
15377 void *argp2 = 0 ;
15378 int res2 = 0 ;
15379 int val3 ;
15380 int ecode3 = 0 ;
15381 wxPoint temp4 ;
15382 wxSize temp5 ;
15383 long val6 ;
15384 int ecode6 = 0 ;
15385 bool temp7 = false ;
15386 PyObject * obj0 = 0 ;
15387 PyObject * obj1 = 0 ;
15388 PyObject * obj2 = 0 ;
15389 PyObject * obj3 = 0 ;
15390 PyObject * obj4 = 0 ;
15391 PyObject * obj5 = 0 ;
15392 PyObject * obj6 = 0 ;
15393 char * kwnames[] = {
15394 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15395 };
15396
15397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15399 if (!SWIG_IsOK(res1)) {
15400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15401 }
15402 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15403 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15404 if (!SWIG_IsOK(res2)) {
15405 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15406 }
15407 arg2 = reinterpret_cast< wxWindow * >(argp2);
15408 if (obj2) {
15409 ecode3 = SWIG_AsVal_int(obj2, &val3);
15410 if (!SWIG_IsOK(ecode3)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15412 }
15413 arg3 = static_cast< int >(val3);
15414 }
15415 if (obj3) {
36ed4f51 15416 {
1bd55598
RD
15417 arg4 = &temp4;
15418 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15419 }
1bd55598
RD
15420 }
15421 if (obj4) {
d55e5bfc 15422 {
1bd55598
RD
15423 arg5 = &temp5;
15424 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15425 }
1bd55598
RD
15426 }
15427 if (obj5) {
15428 ecode6 = SWIG_AsVal_long(obj5, &val6);
15429 if (!SWIG_IsOK(ecode6)) {
15430 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15431 }
15432 arg6 = static_cast< long >(val6);
15433 }
15434 if (obj6) {
36ed4f51 15435 {
1bd55598
RD
15436 arg7 = wxString_in_helper(obj6);
15437 if (arg7 == NULL) SWIG_fail;
15438 temp7 = true;
36ed4f51 15439 }
1bd55598
RD
15440 }
15441 {
15442 PyThreadState* __tstate = wxPyBeginAllowThreads();
15443 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 {
15448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15449 }
15450 {
15451 if (temp7)
15452 delete arg7;
15453 }
15454 return resultobj;
15455fail:
15456 {
15457 if (temp7)
15458 delete arg7;
15459 }
15460 return NULL;
15461}
15462
15463
15464SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15465 PyObject *resultobj = 0;
15466 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15467 size_t arg2 ;
15468 void *argp1 = 0 ;
15469 int res1 = 0 ;
15470 size_t val2 ;
15471 int ecode2 = 0 ;
15472 PyObject * obj0 = 0 ;
15473 PyObject * obj1 = 0 ;
15474 char * kwnames[] = {
15475 (char *) "self",(char *) "count", NULL
15476 };
15477
15478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15480 if (!SWIG_IsOK(res1)) {
15481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15482 }
15483 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15484 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15485 if (!SWIG_IsOK(ecode2)) {
15486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15487 }
15488 arg2 = static_cast< size_t >(val2);
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 (arg1)->SetItemCount(arg2);
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 resultobj = SWIG_Py_Void();
15496 return resultobj;
15497fail:
15498 return NULL;
d55e5bfc
RD
15499}
15500
15501
1bd55598
RD
15502SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15503 PyObject *resultobj = 0;
15504 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15505 wxFileSystem *result = 0 ;
15506 void *argp1 = 0 ;
15507 int res1 = 0 ;
15508 PyObject *swig_obj[1] ;
15509
15510 if (!args) SWIG_fail;
15511 swig_obj[0] = args;
15512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15513 if (!SWIG_IsOK(res1)) {
15514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15515 }
15516 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15517 {
15518 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15519 {
1bd55598
RD
15520 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15521 result = (wxFileSystem *) &_result_ref;
36ed4f51 15522 }
1bd55598
RD
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15527 return resultobj;
15528fail:
15529 return NULL;
d55e5bfc
RD
15530}
15531
15532
e9d6f3a4
RD
15533SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj = 0;
15535 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15536 size_t arg2 ;
15537 wxHtmlLinkInfo *arg3 = 0 ;
15538 void *argp1 = 0 ;
15539 int res1 = 0 ;
15540 size_t val2 ;
15541 int ecode2 = 0 ;
15542 void *argp3 = 0 ;
15543 int res3 = 0 ;
15544 PyObject * obj0 = 0 ;
15545 PyObject * obj1 = 0 ;
15546 PyObject * obj2 = 0 ;
15547 char * kwnames[] = {
15548 (char *) "self",(char *) "n",(char *) "link", NULL
15549 };
15550
15551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15553 if (!SWIG_IsOK(res1)) {
15554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15555 }
15556 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15557 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15558 if (!SWIG_IsOK(ecode2)) {
15559 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15560 }
15561 arg2 = static_cast< size_t >(val2);
15562 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15563 if (!SWIG_IsOK(res3)) {
15564 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15565 }
15566 if (!argp3) {
15567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15568 }
15569 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15570 {
15571 PyThreadState* __tstate = wxPyBeginAllowThreads();
15572 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15573 wxPyEndAllowThreads(__tstate);
15574 if (PyErr_Occurred()) SWIG_fail;
15575 }
15576 resultobj = SWIG_Py_Void();
15577 return resultobj;
15578fail:
15579 return NULL;
15580}
15581
15582
1bd55598
RD
15583SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15584 PyObject *obj;
15585 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15586 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15587 return SWIG_Py_Void();
d55e5bfc
RD
15588}
15589
1bd55598
RD
15590SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15591 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
15592}
15593
1bd55598
RD
15594SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15595 PyObject *resultobj = 0;
15596 wxPyTaskBarIcon *result = 0 ;
15597
15598 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15599 {
15600 if (!wxPyCheckForApp()) SWIG_fail;
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15603 wxPyEndAllowThreads(__tstate);
15604 if (PyErr_Occurred()) SWIG_fail;
15605 }
15606 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15607 return resultobj;
15608fail:
15609 return NULL;
d55e5bfc
RD
15610}
15611
15612
1bd55598
RD
15613SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15614 PyObject *resultobj = 0;
15615 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15616 void *argp1 = 0 ;
15617 int res1 = 0 ;
15618 PyObject *swig_obj[1] ;
15619
15620 if (!args) SWIG_fail;
15621 swig_obj[0] = args;
15622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15623 if (!SWIG_IsOK(res1)) {
15624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15625 }
15626 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15627 {
15628 PyThreadState* __tstate = wxPyBeginAllowThreads();
15629 delete arg1;
d55e5bfc 15630
1bd55598
RD
15631 wxPyEndAllowThreads(__tstate);
15632 if (PyErr_Occurred()) SWIG_fail;
15633 }
15634 resultobj = SWIG_Py_Void();
15635 return resultobj;
15636fail:
15637 return NULL;
15638}
15639
15640
15641SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15642 PyObject *resultobj = 0;
15643 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15644 PyObject *arg2 = (PyObject *) 0 ;
15645 PyObject *arg3 = (PyObject *) 0 ;
15646 int arg4 ;
15647 void *argp1 = 0 ;
15648 int res1 = 0 ;
15649 int val4 ;
15650 int ecode4 = 0 ;
15651 PyObject * obj0 = 0 ;
15652 PyObject * obj1 = 0 ;
15653 PyObject * obj2 = 0 ;
15654 PyObject * obj3 = 0 ;
15655 char * kwnames[] = {
15656 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15657 };
15658
15659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15661 if (!SWIG_IsOK(res1)) {
15662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15663 }
15664 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15665 arg2 = obj1;
15666 arg3 = obj2;
15667 ecode4 = SWIG_AsVal_int(obj3, &val4);
15668 if (!SWIG_IsOK(ecode4)) {
15669 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15670 }
15671 arg4 = static_cast< int >(val4);
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 resultobj = SWIG_Py_Void();
15679 return resultobj;
15680fail:
15681 return NULL;
d55e5bfc
RD
15682}
15683
15684
1bd55598
RD
15685SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15686 PyObject *resultobj = 0;
15687 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15688 void *argp1 = 0 ;
15689 int res1 = 0 ;
15690 PyObject *swig_obj[1] ;
15691
15692 if (!args) SWIG_fail;
15693 swig_obj[0] = args;
15694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15695 if (!SWIG_IsOK(res1)) {
15696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15697 }
15698 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15699 {
15700 PyThreadState* __tstate = wxPyBeginAllowThreads();
15701 wxPyTaskBarIcon_Destroy(arg1);
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 resultobj = SWIG_Py_Void();
15706 return resultobj;
15707fail:
15708 return NULL;
d55e5bfc
RD
15709}
15710
15711
1bd55598
RD
15712SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15713 PyObject *resultobj = 0;
15714 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15715 bool result;
15716 void *argp1 = 0 ;
15717 int res1 = 0 ;
15718 PyObject *swig_obj[1] ;
15719
15720 if (!args) SWIG_fail;
15721 swig_obj[0] = args;
15722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15723 if (!SWIG_IsOK(res1)) {
15724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15725 }
15726 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 {
15734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15735 }
15736 return resultobj;
15737fail:
15738 return NULL;
d55e5bfc
RD
15739}
15740
15741
1bd55598
RD
15742SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15743 PyObject *resultobj = 0;
15744 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15745 bool result;
15746 void *argp1 = 0 ;
15747 int res1 = 0 ;
15748 PyObject *swig_obj[1] ;
15749
15750 if (!args) SWIG_fail;
15751 swig_obj[0] = args;
15752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15753 if (!SWIG_IsOK(res1)) {
15754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15755 }
15756 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15757 {
15758 PyThreadState* __tstate = wxPyBeginAllowThreads();
15759 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 {
15764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15765 }
15766 return resultobj;
15767fail:
15768 return NULL;
15769}
15770
15771
15772SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15773 PyObject *resultobj = 0;
15774 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15775 wxIcon *arg2 = 0 ;
15776 wxString const &arg3_defvalue = wxPyEmptyString ;
15777 wxString *arg3 = (wxString *) &arg3_defvalue ;
15778 bool result;
15779 void *argp1 = 0 ;
15780 int res1 = 0 ;
15781 void *argp2 = 0 ;
15782 int res2 = 0 ;
15783 bool temp3 = false ;
15784 PyObject * obj0 = 0 ;
15785 PyObject * obj1 = 0 ;
15786 PyObject * obj2 = 0 ;
15787 char * kwnames[] = {
15788 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15789 };
15790
15791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15793 if (!SWIG_IsOK(res1)) {
15794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15795 }
15796 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15797 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15798 if (!SWIG_IsOK(res2)) {
15799 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15800 }
15801 if (!argp2) {
15802 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15803 }
15804 arg2 = reinterpret_cast< wxIcon * >(argp2);
15805 if (obj2) {
36ed4f51 15806 {
1bd55598
RD
15807 arg3 = wxString_in_helper(obj2);
15808 if (arg3 == NULL) SWIG_fail;
15809 temp3 = true;
36ed4f51 15810 }
1bd55598
RD
15811 }
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 {
15819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15820 }
15821 {
15822 if (temp3)
15823 delete arg3;
15824 }
15825 return resultobj;
15826fail:
15827 {
15828 if (temp3)
15829 delete arg3;
15830 }
15831 return NULL;
d55e5bfc
RD
15832}
15833
15834
1bd55598
RD
15835SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15836 PyObject *resultobj = 0;
15837 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15838 bool result;
15839 void *argp1 = 0 ;
15840 int res1 = 0 ;
15841 PyObject *swig_obj[1] ;
15842
15843 if (!args) SWIG_fail;
15844 swig_obj[0] = args;
15845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15846 if (!SWIG_IsOK(res1)) {
15847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15848 }
15849 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15850 {
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 result = (bool)(arg1)->RemoveIcon();
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 {
15857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15858 }
15859 return resultobj;
15860fail:
15861 return NULL;
15862}
15863
15864
15865SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj = 0;
15867 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15868 wxMenu *arg2 = (wxMenu *) 0 ;
15869 bool result;
15870 void *argp1 = 0 ;
15871 int res1 = 0 ;
15872 void *argp2 = 0 ;
15873 int res2 = 0 ;
15874 PyObject * obj0 = 0 ;
15875 PyObject * obj1 = 0 ;
15876 char * kwnames[] = {
15877 (char *) "self",(char *) "menu", NULL
15878 };
15879
15880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
15881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15882 if (!SWIG_IsOK(res1)) {
15883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15884 }
15885 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15886 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
15887 if (!SWIG_IsOK(res2)) {
15888 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15889 }
15890 arg2 = reinterpret_cast< wxMenu * >(argp2);
15891 {
15892 PyThreadState* __tstate = wxPyBeginAllowThreads();
15893 result = (bool)(arg1)->PopupMenu(arg2);
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 {
15898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15899 }
15900 return resultobj;
15901fail:
15902 return NULL;
d55e5bfc
RD
15903}
15904
15905
1bd55598
RD
15906SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15907 PyObject *obj;
15908 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15909 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
15910 return SWIG_Py_Void();
d55e5bfc
RD
15911}
15912
1bd55598
RD
15913SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15914 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
15915}
15916
1bd55598
RD
15917SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj = 0;
15919 wxEventType arg1 ;
15920 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
15921 wxTaskBarIconEvent *result = 0 ;
15922 int val1 ;
15923 int ecode1 = 0 ;
15924 void *argp2 = 0 ;
15925 int res2 = 0 ;
15926 PyObject * obj0 = 0 ;
15927 PyObject * obj1 = 0 ;
15928 char * kwnames[] = {
15929 (char *) "evtType",(char *) "tbIcon", NULL
15930 };
15931
15932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
15933 ecode1 = SWIG_AsVal_int(obj0, &val1);
15934 if (!SWIG_IsOK(ecode1)) {
15935 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15936 }
15937 arg1 = static_cast< wxEventType >(val1);
15938 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
15939 if (!SWIG_IsOK(res2)) {
15940 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15941 }
15942 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
15950 return resultobj;
15951fail:
15952 return NULL;
d55e5bfc
RD
15953}
15954
15955
1bd55598
RD
15956SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15957 PyObject *obj;
15958 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15959 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
15960 return SWIG_Py_Void();
d55e5bfc
RD
15961}
15962
1bd55598
RD
15963SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15964 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
15965}
15966
1bd55598
RD
15967SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
15968 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
15969 return 1;
d55e5bfc
RD
15970}
15971
15972
1bd55598
RD
15973SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
15974 PyObject *pyobj = 0;
15975
15976 {
15977#if wxUSE_UNICODE
15978 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15979#else
15980 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
15981#endif
15982 }
15983 return pyobj;
d55e5bfc
RD
15984}
15985
15986
1bd55598
RD
15987SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
15988 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
15989 return 1;
d55e5bfc
RD
15990}
15991
15992
1bd55598
RD
15993SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
15994 PyObject *pyobj = 0;
15995
15996 {
15997#if wxUSE_UNICODE
15998 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
15999#else
16000 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16001#endif
16002 }
16003 return pyobj;
d55e5bfc
RD
16004}
16005
16006
1bd55598
RD
16007SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16008 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16009 return 1;
d55e5bfc
RD
16010}
16011
16012
1bd55598
RD
16013SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16014 PyObject *pyobj = 0;
16015
16016 {
16017#if wxUSE_UNICODE
16018 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16019#else
16020 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16021#endif
16022 }
16023 return pyobj;
d55e5bfc
RD
16024}
16025
16026
1bd55598
RD
16027SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16028 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16029 return 1;
d55e5bfc
RD
16030}
16031
16032
1bd55598
RD
16033SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16034 PyObject *pyobj = 0;
16035
16036 {
16037#if wxUSE_UNICODE
16038 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16039#else
16040 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16041#endif
16042 }
16043 return pyobj;
d55e5bfc
RD
16044}
16045
16046
1bd55598
RD
16047SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16048 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16049 return 1;
d55e5bfc
RD
16050}
16051
16052
1bd55598
RD
16053SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16054 PyObject *pyobj = 0;
16055
16056 {
16057#if wxUSE_UNICODE
16058 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16059#else
16060 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16061#endif
16062 }
16063 return pyobj;
d55e5bfc
RD
16064}
16065
16066
1bd55598
RD
16067SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16068 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16069 return 1;
d55e5bfc
RD
16070}
16071
16072
1bd55598
RD
16073SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16074 PyObject *pyobj = 0;
16075
16076 {
16077#if wxUSE_UNICODE
16078 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16079#else
16080 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16081#endif
16082 }
16083 return pyobj;
d55e5bfc
RD
16084}
16085
16086
1bd55598
RD
16087SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16088 PyObject *resultobj = 0;
16089 wxColourData *result = 0 ;
16090
16091 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 result = (wxColourData *)new wxColourData();
16095 wxPyEndAllowThreads(__tstate);
16096 if (PyErr_Occurred()) SWIG_fail;
16097 }
16098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16099 return resultobj;
16100fail:
16101 return NULL;
d55e5bfc
RD
16102}
16103
16104
1bd55598
RD
16105SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16106 PyObject *resultobj = 0;
16107 wxColourData *arg1 = (wxColourData *) 0 ;
16108 void *argp1 = 0 ;
16109 int res1 = 0 ;
16110 PyObject *swig_obj[1] ;
16111
16112 if (!args) SWIG_fail;
16113 swig_obj[0] = args;
16114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16115 if (!SWIG_IsOK(res1)) {
16116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16117 }
16118 arg1 = reinterpret_cast< wxColourData * >(argp1);
16119 {
16120 PyThreadState* __tstate = wxPyBeginAllowThreads();
16121 delete arg1;
d55e5bfc 16122
1bd55598
RD
16123 wxPyEndAllowThreads(__tstate);
16124 if (PyErr_Occurred()) SWIG_fail;
16125 }
16126 resultobj = SWIG_Py_Void();
16127 return resultobj;
16128fail:
16129 return NULL;
d55e5bfc
RD
16130}
16131
16132
1bd55598
RD
16133SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16134 PyObject *resultobj = 0;
16135 wxColourData *arg1 = (wxColourData *) 0 ;
16136 bool result;
16137 void *argp1 = 0 ;
16138 int res1 = 0 ;
16139 PyObject *swig_obj[1] ;
16140
16141 if (!args) SWIG_fail;
16142 swig_obj[0] = args;
16143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16144 if (!SWIG_IsOK(res1)) {
16145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16146 }
16147 arg1 = reinterpret_cast< wxColourData * >(argp1);
16148 {
16149 PyThreadState* __tstate = wxPyBeginAllowThreads();
16150 result = (bool)(arg1)->GetChooseFull();
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 {
16155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16156 }
16157 return resultobj;
16158fail:
16159 return NULL;
d55e5bfc
RD
16160}
16161
16162
1bd55598
RD
16163SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16164 PyObject *resultobj = 0;
16165 wxColourData *arg1 = (wxColourData *) 0 ;
16166 wxColour result;
16167 void *argp1 = 0 ;
16168 int res1 = 0 ;
16169 PyObject *swig_obj[1] ;
16170
16171 if (!args) SWIG_fail;
16172 swig_obj[0] = args;
16173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16174 if (!SWIG_IsOK(res1)) {
16175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16176 }
16177 arg1 = reinterpret_cast< wxColourData * >(argp1);
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 result = (arg1)->GetColour();
16181 wxPyEndAllowThreads(__tstate);
16182 if (PyErr_Occurred()) SWIG_fail;
16183 }
16184 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16185 return resultobj;
16186fail:
16187 return NULL;
16188}
16189
16190
16191SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16192 PyObject *resultobj = 0;
16193 wxColourData *arg1 = (wxColourData *) 0 ;
16194 int arg2 ;
16195 wxColour result;
16196 void *argp1 = 0 ;
16197 int res1 = 0 ;
16198 int val2 ;
16199 int ecode2 = 0 ;
16200 PyObject * obj0 = 0 ;
16201 PyObject * obj1 = 0 ;
16202 char * kwnames[] = {
16203 (char *) "self",(char *) "i", NULL
16204 };
16205
16206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16208 if (!SWIG_IsOK(res1)) {
16209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16210 }
16211 arg1 = reinterpret_cast< wxColourData * >(argp1);
16212 ecode2 = SWIG_AsVal_int(obj1, &val2);
16213 if (!SWIG_IsOK(ecode2)) {
16214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16215 }
16216 arg2 = static_cast< int >(val2);
16217 {
16218 PyThreadState* __tstate = wxPyBeginAllowThreads();
16219 result = (arg1)->GetCustomColour(arg2);
16220 wxPyEndAllowThreads(__tstate);
16221 if (PyErr_Occurred()) SWIG_fail;
16222 }
16223 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16224 return resultobj;
16225fail:
16226 return NULL;
16227}
16228
16229
16230SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16231 PyObject *resultobj = 0;
16232 wxColourData *arg1 = (wxColourData *) 0 ;
16233 int arg2 ;
16234 void *argp1 = 0 ;
16235 int res1 = 0 ;
16236 int val2 ;
16237 int ecode2 = 0 ;
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
16240 char * kwnames[] = {
16241 (char *) "self",(char *) "flag", NULL
16242 };
16243
16244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16246 if (!SWIG_IsOK(res1)) {
16247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16248 }
16249 arg1 = reinterpret_cast< wxColourData * >(argp1);
16250 ecode2 = SWIG_AsVal_int(obj1, &val2);
16251 if (!SWIG_IsOK(ecode2)) {
16252 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16253 }
16254 arg2 = static_cast< int >(val2);
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 (arg1)->SetChooseFull(arg2);
16258 wxPyEndAllowThreads(__tstate);
16259 if (PyErr_Occurred()) SWIG_fail;
16260 }
16261 resultobj = SWIG_Py_Void();
16262 return resultobj;
16263fail:
16264 return NULL;
16265}
16266
16267
16268SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj = 0;
16270 wxColourData *arg1 = (wxColourData *) 0 ;
16271 wxColour *arg2 = 0 ;
16272 void *argp1 = 0 ;
16273 int res1 = 0 ;
16274 wxColour temp2 ;
16275 PyObject * obj0 = 0 ;
16276 PyObject * obj1 = 0 ;
16277 char * kwnames[] = {
16278 (char *) "self",(char *) "colour", NULL
16279 };
16280
16281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16283 if (!SWIG_IsOK(res1)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16285 }
16286 arg1 = reinterpret_cast< wxColourData * >(argp1);
16287 {
16288 arg2 = &temp2;
16289 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16290 }
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 (arg1)->SetColour((wxColour const &)*arg2);
16294 wxPyEndAllowThreads(__tstate);
16295 if (PyErr_Occurred()) SWIG_fail;
16296 }
16297 resultobj = SWIG_Py_Void();
16298 return resultobj;
16299fail:
16300 return NULL;
16301}
16302
16303
16304SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16305 PyObject *resultobj = 0;
16306 wxColourData *arg1 = (wxColourData *) 0 ;
16307 int arg2 ;
16308 wxColour *arg3 = 0 ;
16309 void *argp1 = 0 ;
16310 int res1 = 0 ;
16311 int val2 ;
16312 int ecode2 = 0 ;
16313 wxColour temp3 ;
16314 PyObject * obj0 = 0 ;
16315 PyObject * obj1 = 0 ;
16316 PyObject * obj2 = 0 ;
16317 char * kwnames[] = {
16318 (char *) "self",(char *) "i",(char *) "colour", NULL
16319 };
16320
16321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16323 if (!SWIG_IsOK(res1)) {
16324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16325 }
16326 arg1 = reinterpret_cast< wxColourData * >(argp1);
16327 ecode2 = SWIG_AsVal_int(obj1, &val2);
16328 if (!SWIG_IsOK(ecode2)) {
16329 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16330 }
16331 arg2 = static_cast< int >(val2);
16332 {
16333 arg3 = &temp3;
16334 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16335 }
16336 {
16337 PyThreadState* __tstate = wxPyBeginAllowThreads();
16338 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 resultobj = SWIG_Py_Void();
16343 return resultobj;
16344fail:
16345 return NULL;
d55e5bfc
RD
16346}
16347
16348
1bd55598
RD
16349SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16350 PyObject *obj;
16351 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16352 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16353 return SWIG_Py_Void();
d55e5bfc
RD
16354}
16355
1bd55598
RD
16356SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16357 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16358}
16359
1bd55598
RD
16360SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj = 0;
16362 wxWindow *arg1 = (wxWindow *) 0 ;
16363 wxColourData *arg2 = (wxColourData *) NULL ;
16364 wxColourDialog *result = 0 ;
16365 void *argp1 = 0 ;
16366 int res1 = 0 ;
16367 void *argp2 = 0 ;
16368 int res2 = 0 ;
16369 PyObject * obj0 = 0 ;
16370 PyObject * obj1 = 0 ;
16371 char * kwnames[] = {
16372 (char *) "parent",(char *) "data", NULL
16373 };
16374
16375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16377 if (!SWIG_IsOK(res1)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16379 }
16380 arg1 = reinterpret_cast< wxWindow * >(argp1);
16381 if (obj1) {
16382 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16383 if (!SWIG_IsOK(res2)) {
16384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
36ed4f51 16385 }
1bd55598
RD
16386 arg2 = reinterpret_cast< wxColourData * >(argp2);
16387 }
16388 {
16389 if (!wxPyCheckForApp()) SWIG_fail;
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16396 return resultobj;
16397fail:
16398 return NULL;
d55e5bfc
RD
16399}
16400
16401
1bd55598
RD
16402SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16403 PyObject *resultobj = 0;
16404 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16405 wxColourData *result = 0 ;
16406 void *argp1 = 0 ;
16407 int res1 = 0 ;
16408 PyObject *swig_obj[1] ;
16409
16410 if (!args) SWIG_fail;
16411 swig_obj[0] = args;
16412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16413 if (!SWIG_IsOK(res1)) {
16414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16415 }
16416 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 16419 {
1bd55598
RD
16420 wxColourData &_result_ref = (arg1)->GetColourData();
16421 result = (wxColourData *) &_result_ref;
d55e5bfc 16422 }
1bd55598
RD
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16427 return resultobj;
16428fail:
16429 return NULL;
16430}
16431
16432
16433SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16434 PyObject *obj;
16435 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16436 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16437 return SWIG_Py_Void();
16438}
16439
16440SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16441 return SWIG_Python_InitShadowInstance(args);
16442}
16443
16444SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16445 PyObject *resultobj = 0;
16446 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16447 wxColour const &arg2_defvalue = wxNullColour ;
16448 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16449 wxString const &arg3_defvalue = wxPyEmptyString ;
16450 wxString *arg3 = (wxString *) &arg3_defvalue ;
16451 wxColour result;
16452 void *argp1 = 0 ;
16453 int res1 = 0 ;
16454 wxColour temp2 ;
16455 bool temp3 = false ;
16456 PyObject * obj0 = 0 ;
16457 PyObject * obj1 = 0 ;
16458 PyObject * obj2 = 0 ;
16459 char * kwnames[] = {
16460 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16461 };
16462
16463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16464 if (obj0) {
16465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16466 if (!SWIG_IsOK(res1)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16468 }
1bd55598
RD
16469 arg1 = reinterpret_cast< wxWindow * >(argp1);
16470 }
16471 if (obj1) {
d55e5bfc 16472 {
1bd55598
RD
16473 arg2 = &temp2;
16474 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16475 }
1bd55598
RD
16476 }
16477 if (obj2) {
d55e5bfc 16478 {
1bd55598
RD
16479 arg3 = wxString_in_helper(obj2);
16480 if (arg3 == NULL) SWIG_fail;
16481 temp3 = true;
d55e5bfc 16482 }
1bd55598
RD
16483 }
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16491 {
16492 if (temp3)
16493 delete arg3;
16494 }
16495 return resultobj;
16496fail:
16497 {
16498 if (temp3)
16499 delete arg3;
16500 }
16501 return NULL;
16502}
16503
16504
16505SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16506 PyObject *resultobj = 0;
16507 wxWindow *arg1 = (wxWindow *) 0 ;
16508 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16509 wxString *arg2 = (wxString *) &arg2_defvalue ;
16510 wxString const &arg3_defvalue = wxPyEmptyString ;
16511 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16512 long arg4 = (long) wxDD_DEFAULT_STYLE ;
1bd55598
RD
16513 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16514 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16515 wxSize const &arg6_defvalue = wxDefaultSize ;
16516 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16517 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16518 wxString *arg7 = (wxString *) &arg7_defvalue ;
16519 wxDirDialog *result = 0 ;
16520 void *argp1 = 0 ;
16521 int res1 = 0 ;
16522 bool temp2 = false ;
16523 bool temp3 = false ;
16524 long val4 ;
16525 int ecode4 = 0 ;
16526 wxPoint temp5 ;
16527 wxSize temp6 ;
16528 bool temp7 = false ;
16529 PyObject * obj0 = 0 ;
16530 PyObject * obj1 = 0 ;
16531 PyObject * obj2 = 0 ;
16532 PyObject * obj3 = 0 ;
16533 PyObject * obj4 = 0 ;
16534 PyObject * obj5 = 0 ;
16535 PyObject * obj6 = 0 ;
16536 char * kwnames[] = {
16537 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16538 };
16539
16540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16542 if (!SWIG_IsOK(res1)) {
16543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16544 }
16545 arg1 = reinterpret_cast< wxWindow * >(argp1);
16546 if (obj1) {
d55e5bfc 16547 {
1bd55598
RD
16548 arg2 = wxString_in_helper(obj1);
16549 if (arg2 == NULL) SWIG_fail;
16550 temp2 = true;
d55e5bfc 16551 }
1bd55598
RD
16552 }
16553 if (obj2) {
d55e5bfc 16554 {
1bd55598
RD
16555 arg3 = wxString_in_helper(obj2);
16556 if (arg3 == NULL) SWIG_fail;
16557 temp3 = true;
d55e5bfc 16558 }
1bd55598
RD
16559 }
16560 if (obj3) {
16561 ecode4 = SWIG_AsVal_long(obj3, &val4);
16562 if (!SWIG_IsOK(ecode4)) {
16563 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16564 }
16565 arg4 = static_cast< long >(val4);
16566 }
16567 if (obj4) {
d55e5bfc 16568 {
1bd55598
RD
16569 arg5 = &temp5;
16570 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16571 }
1bd55598
RD
16572 }
16573 if (obj5) {
16574 {
16575 arg6 = &temp6;
16576 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16577 }
1bd55598
RD
16578 }
16579 if (obj6) {
d55e5bfc 16580 {
1bd55598
RD
16581 arg7 = wxString_in_helper(obj6);
16582 if (arg7 == NULL) SWIG_fail;
16583 temp7 = true;
16584 }
16585 }
16586 {
16587 if (!wxPyCheckForApp()) SWIG_fail;
16588 PyThreadState* __tstate = wxPyBeginAllowThreads();
16589 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16590 wxPyEndAllowThreads(__tstate);
16591 if (PyErr_Occurred()) SWIG_fail;
16592 }
16593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16594 {
16595 if (temp2)
16596 delete arg2;
16597 }
16598 {
16599 if (temp3)
16600 delete arg3;
16601 }
16602 {
16603 if (temp7)
16604 delete arg7;
16605 }
16606 return resultobj;
16607fail:
16608 {
16609 if (temp2)
16610 delete arg2;
16611 }
16612 {
16613 if (temp3)
16614 delete arg3;
16615 }
16616 {
16617 if (temp7)
16618 delete arg7;
16619 }
16620 return NULL;
d55e5bfc
RD
16621}
16622
16623
1bd55598
RD
16624SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16625 PyObject *resultobj = 0;
16626 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16627 wxString result;
16628 void *argp1 = 0 ;
16629 int res1 = 0 ;
16630 PyObject *swig_obj[1] ;
16631
16632 if (!args) SWIG_fail;
16633 swig_obj[0] = args;
16634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16635 if (!SWIG_IsOK(res1)) {
16636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16637 }
16638 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16639 {
16640 PyThreadState* __tstate = wxPyBeginAllowThreads();
16641 result = (arg1)->GetPath();
16642 wxPyEndAllowThreads(__tstate);
16643 if (PyErr_Occurred()) SWIG_fail;
16644 }
16645 {
16646#if wxUSE_UNICODE
16647 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16648#else
16649 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16650#endif
16651 }
16652 return resultobj;
16653fail:
16654 return NULL;
d55e5bfc
RD
16655}
16656
16657
1bd55598
RD
16658SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16659 PyObject *resultobj = 0;
16660 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16661 wxString result;
16662 void *argp1 = 0 ;
16663 int res1 = 0 ;
16664 PyObject *swig_obj[1] ;
16665
16666 if (!args) SWIG_fail;
16667 swig_obj[0] = args;
16668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16669 if (!SWIG_IsOK(res1)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16671 }
16672 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16673 {
16674 PyThreadState* __tstate = wxPyBeginAllowThreads();
16675 result = (arg1)->GetMessage();
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 {
16680#if wxUSE_UNICODE
16681 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16682#else
16683 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16684#endif
16685 }
16686 return resultobj;
16687fail:
16688 return NULL;
d55e5bfc
RD
16689}
16690
16691
1bd55598
RD
16692SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16693 PyObject *resultobj = 0;
16694 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16695 wxString *arg2 = 0 ;
16696 void *argp1 = 0 ;
16697 int res1 = 0 ;
16698 bool temp2 = false ;
16699 PyObject * obj0 = 0 ;
16700 PyObject * obj1 = 0 ;
16701 char * kwnames[] = {
16702 (char *) "self",(char *) "message", NULL
16703 };
16704
16705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16707 if (!SWIG_IsOK(res1)) {
16708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16709 }
16710 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16711 {
16712 arg2 = wxString_in_helper(obj1);
16713 if (arg2 == NULL) SWIG_fail;
16714 temp2 = true;
16715 }
16716 {
16717 PyThreadState* __tstate = wxPyBeginAllowThreads();
16718 (arg1)->SetMessage((wxString const &)*arg2);
16719 wxPyEndAllowThreads(__tstate);
16720 if (PyErr_Occurred()) SWIG_fail;
16721 }
16722 resultobj = SWIG_Py_Void();
16723 {
16724 if (temp2)
16725 delete arg2;
16726 }
16727 return resultobj;
16728fail:
16729 {
16730 if (temp2)
16731 delete arg2;
16732 }
16733 return NULL;
d55e5bfc
RD
16734}
16735
16736
1bd55598
RD
16737SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj = 0;
16739 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16740 wxString *arg2 = 0 ;
16741 void *argp1 = 0 ;
16742 int res1 = 0 ;
16743 bool temp2 = false ;
16744 PyObject * obj0 = 0 ;
16745 PyObject * obj1 = 0 ;
16746 char * kwnames[] = {
16747 (char *) "self",(char *) "path", NULL
16748 };
16749
16750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16752 if (!SWIG_IsOK(res1)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16754 }
16755 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16756 {
16757 arg2 = wxString_in_helper(obj1);
16758 if (arg2 == NULL) SWIG_fail;
16759 temp2 = true;
16760 }
16761 {
16762 PyThreadState* __tstate = wxPyBeginAllowThreads();
16763 (arg1)->SetPath((wxString const &)*arg2);
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 resultobj = SWIG_Py_Void();
16768 {
16769 if (temp2)
16770 delete arg2;
16771 }
16772 return resultobj;
16773fail:
16774 {
16775 if (temp2)
16776 delete arg2;
16777 }
16778 return NULL;
16779}
16780
16781
16782SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16783 PyObject *obj;
16784 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16785 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16786 return SWIG_Py_Void();
16787}
16788
16789SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16790 return SWIG_Python_InitShadowInstance(args);
16791}
16792
16793SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj = 0;
16795 wxWindow *arg1 = (wxWindow *) 0 ;
16796 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16797 wxString *arg2 = (wxString *) &arg2_defvalue ;
16798 wxString const &arg3_defvalue = wxPyEmptyString ;
16799 wxString *arg3 = (wxString *) &arg3_defvalue ;
16800 wxString const &arg4_defvalue = wxPyEmptyString ;
16801 wxString *arg4 = (wxString *) &arg4_defvalue ;
16802 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
16803 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 16804 long arg6 = (long) wxFD_DEFAULT_STYLE ;
1bd55598
RD
16805 wxPoint const &arg7_defvalue = wxDefaultPosition ;
16806 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
16807 wxFileDialog *result = 0 ;
16808 void *argp1 = 0 ;
16809 int res1 = 0 ;
16810 bool temp2 = false ;
16811 bool temp3 = false ;
16812 bool temp4 = false ;
16813 bool temp5 = false ;
16814 long val6 ;
16815 int ecode6 = 0 ;
16816 wxPoint temp7 ;
16817 PyObject * obj0 = 0 ;
16818 PyObject * obj1 = 0 ;
16819 PyObject * obj2 = 0 ;
16820 PyObject * obj3 = 0 ;
16821 PyObject * obj4 = 0 ;
16822 PyObject * obj5 = 0 ;
16823 PyObject * obj6 = 0 ;
16824 char * kwnames[] = {
16825 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16826 };
16827
16828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16830 if (!SWIG_IsOK(res1)) {
16831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16832 }
16833 arg1 = reinterpret_cast< wxWindow * >(argp1);
16834 if (obj1) {
d55e5bfc 16835 {
1bd55598
RD
16836 arg2 = wxString_in_helper(obj1);
16837 if (arg2 == NULL) SWIG_fail;
16838 temp2 = true;
d55e5bfc 16839 }
1bd55598
RD
16840 }
16841 if (obj2) {
16842 {
16843 arg3 = wxString_in_helper(obj2);
16844 if (arg3 == NULL) SWIG_fail;
16845 temp3 = true;
d55e5bfc 16846 }
1bd55598
RD
16847 }
16848 if (obj3) {
d55e5bfc 16849 {
1bd55598
RD
16850 arg4 = wxString_in_helper(obj3);
16851 if (arg4 == NULL) SWIG_fail;
16852 temp4 = true;
16853 }
16854 }
16855 if (obj4) {
d55e5bfc 16856 {
1bd55598
RD
16857 arg5 = wxString_in_helper(obj4);
16858 if (arg5 == NULL) SWIG_fail;
16859 temp5 = true;
d55e5bfc 16860 }
1bd55598
RD
16861 }
16862 if (obj5) {
16863 ecode6 = SWIG_AsVal_long(obj5, &val6);
16864 if (!SWIG_IsOK(ecode6)) {
16865 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16866 }
16867 arg6 = static_cast< long >(val6);
16868 }
16869 if (obj6) {
d55e5bfc 16870 {
1bd55598
RD
16871 arg7 = &temp7;
16872 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 16873 }
1bd55598
RD
16874 }
16875 {
16876 if (!wxPyCheckForApp()) SWIG_fail;
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
16883 {
16884 if (temp2)
16885 delete arg2;
16886 }
16887 {
16888 if (temp3)
16889 delete arg3;
16890 }
16891 {
16892 if (temp4)
16893 delete arg4;
16894 }
16895 {
16896 if (temp5)
16897 delete arg5;
16898 }
16899 return resultobj;
16900fail:
16901 {
16902 if (temp2)
16903 delete arg2;
16904 }
16905 {
16906 if (temp3)
16907 delete arg3;
16908 }
16909 {
16910 if (temp4)
16911 delete arg4;
16912 }
16913 {
16914 if (temp5)
16915 delete arg5;
16916 }
16917 return NULL;
d55e5bfc
RD
16918}
16919
16920
1bd55598
RD
16921SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16922 PyObject *resultobj = 0;
16923 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
16924 wxString *arg2 = 0 ;
16925 void *argp1 = 0 ;
16926 int res1 = 0 ;
16927 bool temp2 = false ;
16928 PyObject * obj0 = 0 ;
16929 PyObject * obj1 = 0 ;
16930 char * kwnames[] = {
16931 (char *) "self",(char *) "message", NULL
16932 };
16933
16934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16936 if (!SWIG_IsOK(res1)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16938 }
16939 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
16940 {
16941 arg2 = wxString_in_helper(obj1);
16942 if (arg2 == NULL) SWIG_fail;
16943 temp2 = true;
16944 }
16945 {
16946 PyThreadState* __tstate = wxPyBeginAllowThreads();
16947 (arg1)->SetMessage((wxString const &)*arg2);
16948 wxPyEndAllowThreads(__tstate);
16949 if (PyErr_Occurred()) SWIG_fail;
16950 }
16951 resultobj = SWIG_Py_Void();
16952 {
16953 if (temp2)
16954 delete arg2;
16955 }
16956 return resultobj;
16957fail:
16958 {
16959 if (temp2)
16960 delete arg2;
16961 }
16962 return NULL;
d55e5bfc
RD
16963}
16964
16965
1bd55598
RD
16966SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16967 PyObject *resultobj = 0;
16968 wxFileDialog *arg1 = (wxFileDialog *) 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 *) "path", NULL
16977 };
16978
16979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
16981 if (!SWIG_IsOK(res1)) {
16982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16983 }
16984 arg1 = reinterpret_cast< wxFileDialog * >(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)->SetPath((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;
d55e5bfc
RD
17008}
17009
17010
1bd55598
RD
17011SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj = 0;
17013 wxFileDialog *arg1 = (wxFileDialog *) 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 *) "dir", NULL
17022 };
17023
17024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17026 if (!SWIG_IsOK(res1)) {
17027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17028 }
17029 arg1 = reinterpret_cast< wxFileDialog * >(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)->SetDirectory((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;
d55e5bfc
RD
17053}
17054
17055
1bd55598
RD
17056SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17057 PyObject *resultobj = 0;
17058 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17059 wxString *arg2 = 0 ;
17060 void *argp1 = 0 ;
17061 int res1 = 0 ;
17062 bool temp2 = false ;
17063 PyObject * obj0 = 0 ;
17064 PyObject * obj1 = 0 ;
17065 char * kwnames[] = {
17066 (char *) "self",(char *) "name", NULL
17067 };
17068
17069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17071 if (!SWIG_IsOK(res1)) {
17072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17073 }
17074 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17075 {
17076 arg2 = wxString_in_helper(obj1);
17077 if (arg2 == NULL) SWIG_fail;
17078 temp2 = true;
17079 }
17080 {
17081 PyThreadState* __tstate = wxPyBeginAllowThreads();
17082 (arg1)->SetFilename((wxString const &)*arg2);
17083 wxPyEndAllowThreads(__tstate);
17084 if (PyErr_Occurred()) SWIG_fail;
17085 }
17086 resultobj = SWIG_Py_Void();
17087 {
17088 if (temp2)
17089 delete arg2;
17090 }
17091 return resultobj;
17092fail:
17093 {
17094 if (temp2)
17095 delete arg2;
17096 }
17097 return NULL;
d55e5bfc
RD
17098}
17099
17100
1bd55598
RD
17101SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17102 PyObject *resultobj = 0;
17103 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17104 wxString *arg2 = 0 ;
17105 void *argp1 = 0 ;
17106 int res1 = 0 ;
17107 bool temp2 = false ;
17108 PyObject * obj0 = 0 ;
17109 PyObject * obj1 = 0 ;
17110 char * kwnames[] = {
17111 (char *) "self",(char *) "wildCard", NULL
17112 };
17113
17114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17116 if (!SWIG_IsOK(res1)) {
17117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17118 }
17119 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17120 {
17121 arg2 = wxString_in_helper(obj1);
17122 if (arg2 == NULL) SWIG_fail;
17123 temp2 = true;
17124 }
17125 {
17126 PyThreadState* __tstate = wxPyBeginAllowThreads();
17127 (arg1)->SetWildcard((wxString const &)*arg2);
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 resultobj = SWIG_Py_Void();
17132 {
17133 if (temp2)
17134 delete arg2;
17135 }
17136 return resultobj;
17137fail:
17138 {
17139 if (temp2)
17140 delete arg2;
17141 }
17142 return NULL;
17143}
17144
17145
1bd55598
RD
17146SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17147 PyObject *resultobj = 0;
17148 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17149 int arg2 ;
17150 void *argp1 = 0 ;
17151 int res1 = 0 ;
17152 int val2 ;
17153 int ecode2 = 0 ;
17154 PyObject * obj0 = 0 ;
17155 PyObject * obj1 = 0 ;
17156 char * kwnames[] = {
17157 (char *) "self",(char *) "filterIndex", NULL
17158 };
17159
17160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17162 if (!SWIG_IsOK(res1)) {
17163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17164 }
17165 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17166 ecode2 = SWIG_AsVal_int(obj1, &val2);
17167 if (!SWIG_IsOK(ecode2)) {
17168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17169 }
17170 arg2 = static_cast< int >(val2);
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->SetFilterIndex(arg2);
17174 wxPyEndAllowThreads(__tstate);
17175 if (PyErr_Occurred()) SWIG_fail;
17176 }
17177 resultobj = SWIG_Py_Void();
17178 return resultobj;
17179fail:
17180 return NULL;
d55e5bfc
RD
17181}
17182
17183
1bd55598
RD
17184SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17185 PyObject *resultobj = 0;
17186 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17187 wxString result;
17188 void *argp1 = 0 ;
17189 int res1 = 0 ;
17190 PyObject *swig_obj[1] ;
17191
17192 if (!args) SWIG_fail;
17193 swig_obj[0] = args;
17194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17195 if (!SWIG_IsOK(res1)) {
17196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17197 }
17198 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 result = ((wxFileDialog const *)arg1)->GetMessage();
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 {
17206#if wxUSE_UNICODE
17207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17208#else
17209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17210#endif
17211 }
17212 return resultobj;
17213fail:
17214 return NULL;
d55e5bfc
RD
17215}
17216
17217
1bd55598
RD
17218SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17219 PyObject *resultobj = 0;
17220 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17221 wxString result;
17222 void *argp1 = 0 ;
17223 int res1 = 0 ;
17224 PyObject *swig_obj[1] ;
17225
17226 if (!args) SWIG_fail;
17227 swig_obj[0] = args;
17228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17229 if (!SWIG_IsOK(res1)) {
17230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17231 }
17232 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 result = ((wxFileDialog const *)arg1)->GetPath();
17236 wxPyEndAllowThreads(__tstate);
17237 if (PyErr_Occurred()) SWIG_fail;
17238 }
17239 {
17240#if wxUSE_UNICODE
17241 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17242#else
17243 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17244#endif
17245 }
17246 return resultobj;
17247fail:
17248 return NULL;
d55e5bfc
RD
17249}
17250
17251
1bd55598
RD
17252SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17253 PyObject *resultobj = 0;
17254 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17255 wxString result;
17256 void *argp1 = 0 ;
17257 int res1 = 0 ;
17258 PyObject *swig_obj[1] ;
17259
17260 if (!args) SWIG_fail;
17261 swig_obj[0] = args;
17262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17263 if (!SWIG_IsOK(res1)) {
17264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17265 }
17266 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17267 {
17268 PyThreadState* __tstate = wxPyBeginAllowThreads();
17269 result = ((wxFileDialog const *)arg1)->GetDirectory();
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 {
17274#if wxUSE_UNICODE
17275 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17276#else
17277 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17278#endif
17279 }
17280 return resultobj;
17281fail:
17282 return NULL;
d55e5bfc
RD
17283}
17284
17285
1bd55598
RD
17286SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17287 PyObject *resultobj = 0;
17288 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17289 wxString result;
17290 void *argp1 = 0 ;
17291 int res1 = 0 ;
17292 PyObject *swig_obj[1] ;
17293
17294 if (!args) SWIG_fail;
17295 swig_obj[0] = args;
17296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17297 if (!SWIG_IsOK(res1)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17299 }
17300 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17301 {
17302 PyThreadState* __tstate = wxPyBeginAllowThreads();
17303 result = ((wxFileDialog const *)arg1)->GetFilename();
17304 wxPyEndAllowThreads(__tstate);
17305 if (PyErr_Occurred()) SWIG_fail;
17306 }
17307 {
17308#if wxUSE_UNICODE
17309 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17310#else
17311 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17312#endif
17313 }
17314 return resultobj;
17315fail:
17316 return NULL;
d55e5bfc
RD
17317}
17318
17319
1bd55598
RD
17320SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17321 PyObject *resultobj = 0;
17322 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17323 wxString result;
17324 void *argp1 = 0 ;
17325 int res1 = 0 ;
17326 PyObject *swig_obj[1] ;
17327
17328 if (!args) SWIG_fail;
17329 swig_obj[0] = args;
17330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17331 if (!SWIG_IsOK(res1)) {
17332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17333 }
17334 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17335 {
17336 PyThreadState* __tstate = wxPyBeginAllowThreads();
17337 result = ((wxFileDialog const *)arg1)->GetWildcard();
17338 wxPyEndAllowThreads(__tstate);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 }
17341 {
17342#if wxUSE_UNICODE
17343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17344#else
17345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17346#endif
17347 }
17348 return resultobj;
17349fail:
17350 return NULL;
d55e5bfc
RD
17351}
17352
17353
1bd55598
RD
17354SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17355 PyObject *resultobj = 0;
17356 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17357 int result;
17358 void *argp1 = 0 ;
17359 int res1 = 0 ;
17360 PyObject *swig_obj[1] ;
17361
17362 if (!args) SWIG_fail;
17363 swig_obj[0] = args;
17364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17365 if (!SWIG_IsOK(res1)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17367 }
17368 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 resultobj = SWIG_From_int(static_cast< int >(result));
17376 return resultobj;
17377fail:
17378 return NULL;
d55e5bfc
RD
17379}
17380
17381
1bd55598
RD
17382SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17383 PyObject *resultobj = 0;
17384 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17385 PyObject *result = 0 ;
17386 void *argp1 = 0 ;
17387 int res1 = 0 ;
17388 PyObject *swig_obj[1] ;
17389
17390 if (!args) SWIG_fail;
17391 swig_obj[0] = args;
17392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17393 if (!SWIG_IsOK(res1)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17395 }
17396 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17397 {
17398 PyThreadState* __tstate = wxPyBeginAllowThreads();
17399 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17400 wxPyEndAllowThreads(__tstate);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
17403 resultobj = result;
17404 return resultobj;
17405fail:
17406 return NULL;
d55e5bfc
RD
17407}
17408
17409
1bd55598
RD
17410SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17411 PyObject *resultobj = 0;
17412 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17413 PyObject *result = 0 ;
17414 void *argp1 = 0 ;
17415 int res1 = 0 ;
17416 PyObject *swig_obj[1] ;
17417
17418 if (!args) SWIG_fail;
17419 swig_obj[0] = args;
17420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17421 if (!SWIG_IsOK(res1)) {
17422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17423 }
17424 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17425 {
17426 PyThreadState* __tstate = wxPyBeginAllowThreads();
17427 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 resultobj = result;
17432 return resultobj;
17433fail:
17434 return NULL;
17435}
17436
17437
17438SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17439 PyObject *obj;
17440 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17441 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17442 return SWIG_Py_Void();
17443}
17444
17445SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17446 return SWIG_Python_InitShadowInstance(args);
17447}
17448
17449SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17450 PyObject *resultobj = 0;
17451 wxWindow *arg1 = (wxWindow *) 0 ;
17452 wxString *arg2 = 0 ;
17453 wxString *arg3 = 0 ;
17454 int arg4 = (int) 0 ;
17455 wxString *arg5 = (wxString *) NULL ;
17456 long arg6 = (long) wxCHOICEDLG_STYLE ;
17457 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17458 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17459 wxMultiChoiceDialog *result = 0 ;
17460 void *argp1 = 0 ;
17461 int res1 = 0 ;
17462 bool temp2 = false ;
17463 bool temp3 = false ;
17464 long val6 ;
17465 int ecode6 = 0 ;
17466 wxPoint temp7 ;
17467 PyObject * obj0 = 0 ;
17468 PyObject * obj1 = 0 ;
17469 PyObject * obj2 = 0 ;
17470 PyObject * obj3 = 0 ;
17471 PyObject * obj4 = 0 ;
17472 PyObject * obj5 = 0 ;
17473 char * kwnames[] = {
17474 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17475 };
17476
17477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17479 if (!SWIG_IsOK(res1)) {
17480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17481 }
17482 arg1 = reinterpret_cast< wxWindow * >(argp1);
17483 {
17484 arg2 = wxString_in_helper(obj1);
17485 if (arg2 == NULL) SWIG_fail;
17486 temp2 = true;
17487 }
17488 {
17489 arg3 = wxString_in_helper(obj2);
17490 if (arg3 == NULL) SWIG_fail;
17491 temp3 = true;
17492 }
17493 if (obj3) {
d55e5bfc 17494 {
1bd55598
RD
17495 arg4 = PyList_Size(obj3);
17496 arg5 = wxString_LIST_helper(obj3);
17497 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17498 }
1bd55598
RD
17499 }
17500 if (obj4) {
17501 ecode6 = SWIG_AsVal_long(obj4, &val6);
17502 if (!SWIG_IsOK(ecode6)) {
17503 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17504 }
17505 arg6 = static_cast< long >(val6);
17506 }
17507 if (obj5) {
36ed4f51 17508 {
1bd55598
RD
17509 arg7 = &temp7;
17510 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 17511 }
1bd55598
RD
17512 }
17513 {
17514 if (!wxPyCheckForApp()) SWIG_fail;
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17521 {
17522 if (temp2)
17523 delete arg2;
17524 }
17525 {
17526 if (temp3)
17527 delete arg3;
17528 }
17529 {
17530 if (arg5) delete [] arg5;
17531 }
17532 return resultobj;
17533fail:
17534 {
17535 if (temp2)
17536 delete arg2;
17537 }
17538 {
17539 if (temp3)
17540 delete arg3;
17541 }
17542 {
17543 if (arg5) delete [] arg5;
17544 }
17545 return NULL;
d55e5bfc
RD
17546}
17547
17548
1bd55598
RD
17549SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17550 PyObject *resultobj = 0;
17551 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17552 wxArrayInt *arg2 = 0 ;
17553 void *argp1 = 0 ;
17554 int res1 = 0 ;
17555 bool temp2 = false ;
17556 PyObject * obj0 = 0 ;
17557 PyObject * obj1 = 0 ;
17558 char * kwnames[] = {
17559 (char *) "self",(char *) "selections", NULL
17560 };
17561
17562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17564 if (!SWIG_IsOK(res1)) {
17565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17566 }
17567 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17568 {
17569 if (! PySequence_Check(obj1)) {
17570 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17571 SWIG_fail;
17572 }
17573 arg2 = new wxArrayInt;
17574 temp2 = true;
17575 int i, len=PySequence_Length(obj1);
17576 for (i=0; i<len; i++) {
17577 PyObject* item = PySequence_GetItem(obj1, i);
17578 PyObject* number = PyNumber_Int(item);
17579 arg2->Add(PyInt_AS_LONG(number));
17580 Py_DECREF(item);
17581 Py_DECREF(number);
36ed4f51 17582 }
1bd55598
RD
17583 }
17584 {
17585 PyThreadState* __tstate = wxPyBeginAllowThreads();
17586 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17587 wxPyEndAllowThreads(__tstate);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 }
17590 resultobj = SWIG_Py_Void();
17591 {
17592 if (temp2) delete arg2;
17593 }
17594 return resultobj;
17595fail:
17596 {
17597 if (temp2) delete arg2;
17598 }
17599 return NULL;
d55e5bfc
RD
17600}
17601
17602
1bd55598
RD
17603SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17604 PyObject *resultobj = 0;
17605 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17606 PyObject *result = 0 ;
17607 void *argp1 = 0 ;
17608 int res1 = 0 ;
17609 PyObject *swig_obj[1] ;
17610
17611 if (!args) SWIG_fail;
17612 swig_obj[0] = args;
17613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17614 if (!SWIG_IsOK(res1)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17616 }
17617 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17621 wxPyEndAllowThreads(__tstate);
17622 if (PyErr_Occurred()) SWIG_fail;
17623 }
17624 resultobj = result;
17625 return resultobj;
17626fail:
17627 return NULL;
17628}
17629
17630
17631SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17632 PyObject *obj;
17633 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17634 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17635 return SWIG_Py_Void();
17636}
17637
17638SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17639 return SWIG_Python_InitShadowInstance(args);
17640}
17641
17642SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj = 0;
17644 wxWindow *arg1 = (wxWindow *) 0 ;
17645 wxString *arg2 = 0 ;
17646 wxString *arg3 = 0 ;
17647 int arg4 ;
17648 wxString *arg5 = (wxString *) 0 ;
17649 long arg6 = (long) wxCHOICEDLG_STYLE ;
17650 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17651 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17652 wxSingleChoiceDialog *result = 0 ;
17653 void *argp1 = 0 ;
17654 int res1 = 0 ;
17655 bool temp2 = false ;
17656 bool temp3 = false ;
17657 long val6 ;
17658 int ecode6 = 0 ;
17659 wxPoint temp7 ;
17660 PyObject * obj0 = 0 ;
17661 PyObject * obj1 = 0 ;
17662 PyObject * obj2 = 0 ;
17663 PyObject * obj3 = 0 ;
17664 PyObject * obj4 = 0 ;
17665 PyObject * obj5 = 0 ;
17666 char * kwnames[] = {
17667 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17668 };
17669
17670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17672 if (!SWIG_IsOK(res1)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17674 }
17675 arg1 = reinterpret_cast< wxWindow * >(argp1);
17676 {
17677 arg2 = wxString_in_helper(obj1);
17678 if (arg2 == NULL) SWIG_fail;
17679 temp2 = true;
17680 }
17681 {
17682 arg3 = wxString_in_helper(obj2);
17683 if (arg3 == NULL) SWIG_fail;
17684 temp3 = true;
17685 }
17686 {
17687 arg4 = PyList_Size(obj3);
17688 arg5 = wxString_LIST_helper(obj3);
17689 if (arg5 == NULL) SWIG_fail;
17690 }
17691 if (obj4) {
17692 ecode6 = SWIG_AsVal_long(obj4, &val6);
17693 if (!SWIG_IsOK(ecode6)) {
17694 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17695 }
17696 arg6 = static_cast< long >(val6);
17697 }
17698 if (obj5) {
36ed4f51 17699 {
1bd55598
RD
17700 arg7 = &temp7;
17701 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 17702 }
1bd55598
RD
17703 }
17704 {
17705 if (!wxPyCheckForApp()) SWIG_fail;
17706 PyThreadState* __tstate = wxPyBeginAllowThreads();
17707 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17712 {
17713 if (temp2)
17714 delete arg2;
17715 }
17716 {
17717 if (temp3)
17718 delete arg3;
17719 }
17720 {
17721 if (arg5) delete [] arg5;
17722 }
17723 return resultobj;
17724fail:
17725 {
17726 if (temp2)
17727 delete arg2;
17728 }
17729 {
17730 if (temp3)
17731 delete arg3;
17732 }
17733 {
17734 if (arg5) delete [] arg5;
17735 }
17736 return NULL;
d55e5bfc
RD
17737}
17738
17739
1bd55598
RD
17740SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17741 PyObject *resultobj = 0;
17742 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17743 int result;
17744 void *argp1 = 0 ;
17745 int res1 = 0 ;
17746 PyObject *swig_obj[1] ;
17747
17748 if (!args) SWIG_fail;
17749 swig_obj[0] = args;
17750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17751 if (!SWIG_IsOK(res1)) {
17752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17753 }
17754 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 result = (int)(arg1)->GetSelection();
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
17761 resultobj = SWIG_From_int(static_cast< int >(result));
17762 return resultobj;
17763fail:
17764 return NULL;
d55e5bfc
RD
17765}
17766
17767
1bd55598
RD
17768SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17769 PyObject *resultobj = 0;
17770 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17771 wxString result;
17772 void *argp1 = 0 ;
17773 int res1 = 0 ;
17774 PyObject *swig_obj[1] ;
17775
17776 if (!args) SWIG_fail;
17777 swig_obj[0] = args;
17778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17779 if (!SWIG_IsOK(res1)) {
17780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17781 }
17782 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17783 {
17784 PyThreadState* __tstate = wxPyBeginAllowThreads();
17785 result = (arg1)->GetStringSelection();
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 {
17790#if wxUSE_UNICODE
17791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17792#else
17793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17794#endif
17795 }
17796 return resultobj;
17797fail:
17798 return NULL;
17799}
17800
17801
17802SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17803 PyObject *resultobj = 0;
17804 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17805 int arg2 ;
17806 void *argp1 = 0 ;
17807 int res1 = 0 ;
17808 int val2 ;
17809 int ecode2 = 0 ;
17810 PyObject * obj0 = 0 ;
17811 PyObject * obj1 = 0 ;
17812 char * kwnames[] = {
17813 (char *) "self",(char *) "sel", NULL
17814 };
17815
17816 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17817 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17818 if (!SWIG_IsOK(res1)) {
17819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17820 }
17821 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17822 ecode2 = SWIG_AsVal_int(obj1, &val2);
17823 if (!SWIG_IsOK(ecode2)) {
17824 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17825 }
17826 arg2 = static_cast< int >(val2);
17827 {
17828 PyThreadState* __tstate = wxPyBeginAllowThreads();
17829 (arg1)->SetSelection(arg2);
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 resultobj = SWIG_Py_Void();
17834 return resultobj;
17835fail:
17836 return NULL;
17837}
17838
17839
17840SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17841 PyObject *obj;
17842 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17843 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
17844 return SWIG_Py_Void();
17845}
17846
17847SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17848 return SWIG_Python_InitShadowInstance(args);
17849}
17850
17851SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17852 PyObject *resultobj = 0;
17853 wxWindow *arg1 = (wxWindow *) 0 ;
17854 wxString *arg2 = 0 ;
17855 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
17856 wxString *arg3 = (wxString *) &arg3_defvalue ;
17857 wxString const &arg4_defvalue = wxPyEmptyString ;
17858 wxString *arg4 = (wxString *) &arg4_defvalue ;
17859 long arg5 = (long) wxTextEntryDialogStyle ;
17860 wxPoint const &arg6_defvalue = wxDefaultPosition ;
17861 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
17862 wxTextEntryDialog *result = 0 ;
17863 void *argp1 = 0 ;
17864 int res1 = 0 ;
17865 bool temp2 = false ;
17866 bool temp3 = false ;
17867 bool temp4 = false ;
17868 long val5 ;
17869 int ecode5 = 0 ;
17870 wxPoint temp6 ;
17871 PyObject * obj0 = 0 ;
17872 PyObject * obj1 = 0 ;
17873 PyObject * obj2 = 0 ;
17874 PyObject * obj3 = 0 ;
17875 PyObject * obj4 = 0 ;
17876 PyObject * obj5 = 0 ;
17877 char * kwnames[] = {
17878 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17879 };
17880
17881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17883 if (!SWIG_IsOK(res1)) {
17884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17885 }
17886 arg1 = reinterpret_cast< wxWindow * >(argp1);
17887 {
17888 arg2 = wxString_in_helper(obj1);
17889 if (arg2 == NULL) SWIG_fail;
17890 temp2 = true;
17891 }
17892 if (obj2) {
36ed4f51 17893 {
1bd55598
RD
17894 arg3 = wxString_in_helper(obj2);
17895 if (arg3 == NULL) SWIG_fail;
17896 temp3 = true;
36ed4f51 17897 }
1bd55598
RD
17898 }
17899 if (obj3) {
d55e5bfc 17900 {
1bd55598
RD
17901 arg4 = wxString_in_helper(obj3);
17902 if (arg4 == NULL) SWIG_fail;
17903 temp4 = true;
d55e5bfc 17904 }
1bd55598
RD
17905 }
17906 if (obj4) {
17907 ecode5 = SWIG_AsVal_long(obj4, &val5);
17908 if (!SWIG_IsOK(ecode5)) {
17909 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17910 }
17911 arg5 = static_cast< long >(val5);
17912 }
17913 if (obj5) {
d55e5bfc 17914 {
1bd55598
RD
17915 arg6 = &temp6;
17916 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17917 }
1bd55598
RD
17918 }
17919 {
17920 if (!wxPyCheckForApp()) SWIG_fail;
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
17927 {
17928 if (temp2)
17929 delete arg2;
17930 }
17931 {
17932 if (temp3)
17933 delete arg3;
17934 }
17935 {
17936 if (temp4)
17937 delete arg4;
17938 }
17939 return resultobj;
17940fail:
17941 {
17942 if (temp2)
17943 delete arg2;
17944 }
17945 {
17946 if (temp3)
17947 delete arg3;
17948 }
17949 {
17950 if (temp4)
17951 delete arg4;
17952 }
17953 return NULL;
d55e5bfc
RD
17954}
17955
17956
1bd55598
RD
17957SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17958 PyObject *resultobj = 0;
17959 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17960 wxString result;
17961 void *argp1 = 0 ;
17962 int res1 = 0 ;
17963 PyObject *swig_obj[1] ;
17964
17965 if (!args) SWIG_fail;
17966 swig_obj[0] = args;
17967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
17968 if (!SWIG_IsOK(res1)) {
17969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17970 }
17971 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
17972 {
17973 PyThreadState* __tstate = wxPyBeginAllowThreads();
17974 result = (arg1)->GetValue();
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 {
17979#if wxUSE_UNICODE
17980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17981#else
17982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17983#endif
17984 }
17985 return resultobj;
17986fail:
17987 return NULL;
17988}
17989
17990
17991SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj = 0;
17993 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
17994 wxString *arg2 = 0 ;
17995 void *argp1 = 0 ;
17996 int res1 = 0 ;
17997 bool temp2 = false ;
17998 PyObject * obj0 = 0 ;
17999 PyObject * obj1 = 0 ;
18000 char * kwnames[] = {
18001 (char *) "self",(char *) "value", NULL
18002 };
18003
18004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18006 if (!SWIG_IsOK(res1)) {
18007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18008 }
18009 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18010 {
18011 arg2 = wxString_in_helper(obj1);
18012 if (arg2 == NULL) SWIG_fail;
18013 temp2 = true;
18014 }
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 (arg1)->SetValue((wxString const &)*arg2);
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 resultobj = SWIG_Py_Void();
18022 {
18023 if (temp2)
18024 delete arg2;
18025 }
18026 return resultobj;
18027fail:
18028 {
18029 if (temp2)
18030 delete arg2;
18031 }
18032 return NULL;
7993762b
RD
18033}
18034
18035
1bd55598
RD
18036SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18037 PyObject *obj;
18038 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18039 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18040 return SWIG_Py_Void();
7993762b
RD
18041}
18042
1bd55598
RD
18043SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18044 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 18045}
1bd55598
RD
18046
18047SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18048 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18049 return 1;
d55e5bfc
RD
18050}
18051
18052
1bd55598
RD
18053SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18054 PyObject *pyobj = 0;
18055
18056 {
d55e5bfc 18057#if wxUSE_UNICODE
1bd55598 18058 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18059#else
1bd55598 18060 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18061#endif
1bd55598
RD
18062 }
18063 return pyobj;
18064}
18065
18066
18067SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj = 0;
18069 wxWindow *arg1 = (wxWindow *) 0 ;
18070 wxString *arg2 = 0 ;
18071 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18072 wxString *arg3 = (wxString *) &arg3_defvalue ;
18073 wxString const &arg4_defvalue = wxPyEmptyString ;
18074 wxString *arg4 = (wxString *) &arg4_defvalue ;
18075 long arg5 = (long) wxTextEntryDialogStyle ;
18076 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18077 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18078 wxPasswordEntryDialog *result = 0 ;
18079 void *argp1 = 0 ;
18080 int res1 = 0 ;
18081 bool temp2 = false ;
18082 bool temp3 = false ;
18083 bool temp4 = false ;
18084 long val5 ;
18085 int ecode5 = 0 ;
18086 wxPoint temp6 ;
18087 PyObject * obj0 = 0 ;
18088 PyObject * obj1 = 0 ;
18089 PyObject * obj2 = 0 ;
18090 PyObject * obj3 = 0 ;
18091 PyObject * obj4 = 0 ;
18092 PyObject * obj5 = 0 ;
18093 char * kwnames[] = {
18094 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18095 };
18096
18097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18099 if (!SWIG_IsOK(res1)) {
18100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18101 }
18102 arg1 = reinterpret_cast< wxWindow * >(argp1);
18103 {
18104 arg2 = wxString_in_helper(obj1);
18105 if (arg2 == NULL) SWIG_fail;
18106 temp2 = true;
18107 }
18108 if (obj2) {
d55e5bfc 18109 {
1bd55598
RD
18110 arg3 = wxString_in_helper(obj2);
18111 if (arg3 == NULL) SWIG_fail;
18112 temp3 = true;
d55e5bfc 18113 }
1bd55598
RD
18114 }
18115 if (obj3) {
d55e5bfc 18116 {
1bd55598
RD
18117 arg4 = wxString_in_helper(obj3);
18118 if (arg4 == NULL) SWIG_fail;
18119 temp4 = true;
d55e5bfc 18120 }
1bd55598
RD
18121 }
18122 if (obj4) {
18123 ecode5 = SWIG_AsVal_long(obj4, &val5);
18124 if (!SWIG_IsOK(ecode5)) {
18125 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18126 }
18127 arg5 = static_cast< long >(val5);
18128 }
18129 if (obj5) {
d55e5bfc 18130 {
1bd55598
RD
18131 arg6 = &temp6;
18132 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18133 }
18134 }
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18142 {
18143 if (temp2)
18144 delete arg2;
18145 }
18146 {
18147 if (temp3)
18148 delete arg3;
18149 }
18150 {
18151 if (temp4)
18152 delete arg4;
18153 }
18154 return resultobj;
18155fail:
18156 {
18157 if (temp2)
18158 delete arg2;
18159 }
18160 {
18161 if (temp3)
18162 delete arg3;
18163 }
18164 {
18165 if (temp4)
18166 delete arg4;
18167 }
18168 return NULL;
d55e5bfc
RD
18169}
18170
18171
1bd55598
RD
18172SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18173 PyObject *obj;
18174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18175 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18176 return SWIG_Py_Void();
d55e5bfc
RD
18177}
18178
1bd55598
RD
18179SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18180 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18181}
18182
27e45892
RD
18183SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18184 PyObject *resultobj = 0;
18185 wxWindow *arg1 = (wxWindow *) 0 ;
18186 wxString *arg2 = 0 ;
18187 wxString *arg3 = 0 ;
18188 wxString *arg4 = 0 ;
18189 long arg5 ;
18190 long arg6 ;
18191 long arg7 ;
18192 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18193 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18194 wxNumberEntryDialog *result = 0 ;
18195 void *argp1 = 0 ;
18196 int res1 = 0 ;
18197 bool temp2 = false ;
18198 bool temp3 = false ;
18199 bool temp4 = false ;
18200 long val5 ;
18201 int ecode5 = 0 ;
18202 long val6 ;
18203 int ecode6 = 0 ;
18204 long val7 ;
18205 int ecode7 = 0 ;
18206 wxPoint temp8 ;
18207 PyObject * obj0 = 0 ;
18208 PyObject * obj1 = 0 ;
18209 PyObject * obj2 = 0 ;
18210 PyObject * obj3 = 0 ;
18211 PyObject * obj4 = 0 ;
18212 PyObject * obj5 = 0 ;
18213 PyObject * obj6 = 0 ;
18214 PyObject * obj7 = 0 ;
18215 char * kwnames[] = {
18216 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18217 };
18218
18219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18221 if (!SWIG_IsOK(res1)) {
18222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18223 }
18224 arg1 = reinterpret_cast< wxWindow * >(argp1);
18225 {
18226 arg2 = wxString_in_helper(obj1);
18227 if (arg2 == NULL) SWIG_fail;
18228 temp2 = true;
18229 }
18230 {
18231 arg3 = wxString_in_helper(obj2);
18232 if (arg3 == NULL) SWIG_fail;
18233 temp3 = true;
18234 }
18235 {
18236 arg4 = wxString_in_helper(obj3);
18237 if (arg4 == NULL) SWIG_fail;
18238 temp4 = true;
18239 }
18240 ecode5 = SWIG_AsVal_long(obj4, &val5);
18241 if (!SWIG_IsOK(ecode5)) {
18242 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18243 }
18244 arg5 = static_cast< long >(val5);
18245 ecode6 = SWIG_AsVal_long(obj5, &val6);
18246 if (!SWIG_IsOK(ecode6)) {
18247 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18248 }
18249 arg6 = static_cast< long >(val6);
18250 ecode7 = SWIG_AsVal_long(obj6, &val7);
18251 if (!SWIG_IsOK(ecode7)) {
18252 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18253 }
18254 arg7 = static_cast< long >(val7);
18255 if (obj7) {
18256 {
18257 arg8 = &temp8;
18258 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18259 }
18260 }
18261 {
18262 if (!wxPyCheckForApp()) SWIG_fail;
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18269 {
18270 if (temp2)
18271 delete arg2;
18272 }
18273 {
18274 if (temp3)
18275 delete arg3;
18276 }
18277 {
18278 if (temp4)
18279 delete arg4;
18280 }
18281 return resultobj;
18282fail:
18283 {
18284 if (temp2)
18285 delete arg2;
18286 }
18287 {
18288 if (temp3)
18289 delete arg3;
18290 }
18291 {
18292 if (temp4)
18293 delete arg4;
18294 }
18295 return NULL;
18296}
18297
18298
18299SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18300 PyObject *resultobj = 0;
18301 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18302 long result;
18303 void *argp1 = 0 ;
18304 int res1 = 0 ;
18305 PyObject *swig_obj[1] ;
18306
18307 if (!args) SWIG_fail;
18308 swig_obj[0] = args;
18309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18310 if (!SWIG_IsOK(res1)) {
18311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18312 }
18313 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18314 {
18315 PyThreadState* __tstate = wxPyBeginAllowThreads();
18316 result = (long)(arg1)->GetValue();
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 resultobj = SWIG_From_long(static_cast< long >(result));
18321 return resultobj;
18322fail:
18323 return NULL;
18324}
18325
18326
18327SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18328 PyObject *obj;
18329 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18330 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18331 return SWIG_Py_Void();
18332}
18333
18334SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18335 return SWIG_Python_InitShadowInstance(args);
18336}
18337
1bd55598
RD
18338SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18339 PyObject *resultobj = 0;
18340 wxFontData *result = 0 ;
18341
18342 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
18345 result = (wxFontData *)new wxFontData();
18346 wxPyEndAllowThreads(__tstate);
18347 if (PyErr_Occurred()) SWIG_fail;
18348 }
18349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18350 return resultobj;
18351fail:
18352 return NULL;
d55e5bfc
RD
18353}
18354
18355
1bd55598
RD
18356SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18357 PyObject *resultobj = 0;
18358 wxFontData *arg1 = (wxFontData *) 0 ;
18359 void *argp1 = 0 ;
18360 int res1 = 0 ;
18361 PyObject *swig_obj[1] ;
18362
18363 if (!args) SWIG_fail;
18364 swig_obj[0] = args;
18365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18366 if (!SWIG_IsOK(res1)) {
18367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18368 }
18369 arg1 = reinterpret_cast< wxFontData * >(argp1);
18370 {
18371 PyThreadState* __tstate = wxPyBeginAllowThreads();
18372 delete arg1;
d55e5bfc 18373
1bd55598
RD
18374 wxPyEndAllowThreads(__tstate);
18375 if (PyErr_Occurred()) SWIG_fail;
18376 }
18377 resultobj = SWIG_Py_Void();
18378 return resultobj;
18379fail:
18380 return NULL;
18381}
18382
18383
18384SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj = 0;
18386 wxFontData *arg1 = (wxFontData *) 0 ;
18387 bool arg2 ;
18388 void *argp1 = 0 ;
18389 int res1 = 0 ;
18390 bool val2 ;
18391 int ecode2 = 0 ;
18392 PyObject * obj0 = 0 ;
18393 PyObject * obj1 = 0 ;
18394 char * kwnames[] = {
18395 (char *) "self",(char *) "enable", NULL
18396 };
18397
18398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18400 if (!SWIG_IsOK(res1)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18402 }
18403 arg1 = reinterpret_cast< wxFontData * >(argp1);
18404 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18405 if (!SWIG_IsOK(ecode2)) {
18406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18407 }
18408 arg2 = static_cast< bool >(val2);
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 (arg1)->EnableEffects(arg2);
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
18415 resultobj = SWIG_Py_Void();
18416 return resultobj;
18417fail:
18418 return NULL;
d55e5bfc
RD
18419}
18420
18421
1bd55598
RD
18422SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18423 PyObject *resultobj = 0;
18424 wxFontData *arg1 = (wxFontData *) 0 ;
18425 bool result;
18426 void *argp1 = 0 ;
18427 int res1 = 0 ;
18428 PyObject *swig_obj[1] ;
18429
18430 if (!args) SWIG_fail;
18431 swig_obj[0] = args;
18432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18433 if (!SWIG_IsOK(res1)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18435 }
18436 arg1 = reinterpret_cast< wxFontData * >(argp1);
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = (bool)(arg1)->GetAllowSymbols();
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 {
18444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18445 }
18446 return resultobj;
18447fail:
18448 return NULL;
d55e5bfc
RD
18449}
18450
18451
1bd55598
RD
18452SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18453 PyObject *resultobj = 0;
18454 wxFontData *arg1 = (wxFontData *) 0 ;
18455 wxColour result;
18456 void *argp1 = 0 ;
18457 int res1 = 0 ;
18458 PyObject *swig_obj[1] ;
18459
18460 if (!args) SWIG_fail;
18461 swig_obj[0] = args;
18462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18463 if (!SWIG_IsOK(res1)) {
18464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18465 }
18466 arg1 = reinterpret_cast< wxFontData * >(argp1);
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 result = (arg1)->GetColour();
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18474 return resultobj;
18475fail:
18476 return NULL;
d55e5bfc
RD
18477}
18478
18479
1bd55598
RD
18480SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18481 PyObject *resultobj = 0;
18482 wxFontData *arg1 = (wxFontData *) 0 ;
18483 wxFont result;
18484 void *argp1 = 0 ;
18485 int res1 = 0 ;
18486 PyObject *swig_obj[1] ;
18487
18488 if (!args) SWIG_fail;
18489 swig_obj[0] = args;
18490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18491 if (!SWIG_IsOK(res1)) {
18492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18493 }
18494 arg1 = reinterpret_cast< wxFontData * >(argp1);
18495 {
18496 PyThreadState* __tstate = wxPyBeginAllowThreads();
18497 result = (arg1)->GetChosenFont();
18498 wxPyEndAllowThreads(__tstate);
18499 if (PyErr_Occurred()) SWIG_fail;
18500 }
18501 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18502 return resultobj;
18503fail:
18504 return NULL;
d55e5bfc
RD
18505}
18506
18507
1bd55598
RD
18508SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18509 PyObject *resultobj = 0;
18510 wxFontData *arg1 = (wxFontData *) 0 ;
18511 bool result;
18512 void *argp1 = 0 ;
18513 int res1 = 0 ;
18514 PyObject *swig_obj[1] ;
18515
18516 if (!args) SWIG_fail;
18517 swig_obj[0] = args;
18518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18519 if (!SWIG_IsOK(res1)) {
18520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18521 }
18522 arg1 = reinterpret_cast< wxFontData * >(argp1);
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 result = (bool)(arg1)->GetEnableEffects();
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 {
18530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18531 }
18532 return resultobj;
18533fail:
18534 return NULL;
d55e5bfc
RD
18535}
18536
18537
1bd55598
RD
18538SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18539 PyObject *resultobj = 0;
18540 wxFontData *arg1 = (wxFontData *) 0 ;
18541 wxFont result;
18542 void *argp1 = 0 ;
18543 int res1 = 0 ;
18544 PyObject *swig_obj[1] ;
18545
18546 if (!args) SWIG_fail;
18547 swig_obj[0] = args;
18548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18549 if (!SWIG_IsOK(res1)) {
18550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18551 }
18552 arg1 = reinterpret_cast< wxFontData * >(argp1);
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 result = (arg1)->GetInitialFont();
18556 wxPyEndAllowThreads(__tstate);
18557 if (PyErr_Occurred()) SWIG_fail;
18558 }
18559 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18560 return resultobj;
18561fail:
18562 return NULL;
d55e5bfc
RD
18563}
18564
18565
1bd55598
RD
18566SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18567 PyObject *resultobj = 0;
18568 wxFontData *arg1 = (wxFontData *) 0 ;
18569 bool result;
18570 void *argp1 = 0 ;
18571 int res1 = 0 ;
18572 PyObject *swig_obj[1] ;
18573
18574 if (!args) SWIG_fail;
18575 swig_obj[0] = args;
18576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18577 if (!SWIG_IsOK(res1)) {
18578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18579 }
18580 arg1 = reinterpret_cast< wxFontData * >(argp1);
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 result = (bool)(arg1)->GetShowHelp();
18584 wxPyEndAllowThreads(__tstate);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
18587 {
18588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18589 }
18590 return resultobj;
18591fail:
18592 return NULL;
18593}
18594
18595
18596SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18597 PyObject *resultobj = 0;
18598 wxFontData *arg1 = (wxFontData *) 0 ;
18599 bool arg2 ;
18600 void *argp1 = 0 ;
18601 int res1 = 0 ;
18602 bool val2 ;
18603 int ecode2 = 0 ;
18604 PyObject * obj0 = 0 ;
18605 PyObject * obj1 = 0 ;
18606 char * kwnames[] = {
18607 (char *) "self",(char *) "allowSymbols", NULL
18608 };
18609
18610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18612 if (!SWIG_IsOK(res1)) {
18613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18614 }
18615 arg1 = reinterpret_cast< wxFontData * >(argp1);
18616 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18617 if (!SWIG_IsOK(ecode2)) {
18618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18619 }
18620 arg2 = static_cast< bool >(val2);
18621 {
18622 PyThreadState* __tstate = wxPyBeginAllowThreads();
18623 (arg1)->SetAllowSymbols(arg2);
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 resultobj = SWIG_Py_Void();
18628 return resultobj;
18629fail:
18630 return NULL;
18631}
18632
18633
18634SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18635 PyObject *resultobj = 0;
18636 wxFontData *arg1 = (wxFontData *) 0 ;
18637 wxFont *arg2 = 0 ;
18638 void *argp1 = 0 ;
18639 int res1 = 0 ;
18640 void *argp2 = 0 ;
18641 int res2 = 0 ;
18642 PyObject * obj0 = 0 ;
18643 PyObject * obj1 = 0 ;
18644 char * kwnames[] = {
18645 (char *) "self",(char *) "font", NULL
18646 };
18647
18648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18650 if (!SWIG_IsOK(res1)) {
18651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18652 }
18653 arg1 = reinterpret_cast< wxFontData * >(argp1);
18654 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18655 if (!SWIG_IsOK(res2)) {
18656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18657 }
18658 if (!argp2) {
18659 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18660 }
18661 arg2 = reinterpret_cast< wxFont * >(argp2);
18662 {
18663 PyThreadState* __tstate = wxPyBeginAllowThreads();
18664 (arg1)->SetChosenFont((wxFont const &)*arg2);
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 resultobj = SWIG_Py_Void();
18669 return resultobj;
18670fail:
18671 return NULL;
18672}
18673
18674
18675SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj = 0;
18677 wxFontData *arg1 = (wxFontData *) 0 ;
18678 wxColour *arg2 = 0 ;
18679 void *argp1 = 0 ;
18680 int res1 = 0 ;
18681 wxColour temp2 ;
18682 PyObject * obj0 = 0 ;
18683 PyObject * obj1 = 0 ;
18684 char * kwnames[] = {
18685 (char *) "self",(char *) "colour", NULL
18686 };
18687
18688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18690 if (!SWIG_IsOK(res1)) {
18691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18692 }
18693 arg1 = reinterpret_cast< wxFontData * >(argp1);
18694 {
18695 arg2 = &temp2;
18696 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18697 }
18698 {
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 (arg1)->SetColour((wxColour const &)*arg2);
18701 wxPyEndAllowThreads(__tstate);
18702 if (PyErr_Occurred()) SWIG_fail;
18703 }
18704 resultobj = SWIG_Py_Void();
18705 return resultobj;
18706fail:
18707 return NULL;
18708}
18709
18710
18711SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18712 PyObject *resultobj = 0;
18713 wxFontData *arg1 = (wxFontData *) 0 ;
18714 wxFont *arg2 = 0 ;
18715 void *argp1 = 0 ;
18716 int res1 = 0 ;
18717 void *argp2 = 0 ;
18718 int res2 = 0 ;
18719 PyObject * obj0 = 0 ;
18720 PyObject * obj1 = 0 ;
18721 char * kwnames[] = {
18722 (char *) "self",(char *) "font", NULL
18723 };
18724
18725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18727 if (!SWIG_IsOK(res1)) {
18728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18729 }
18730 arg1 = reinterpret_cast< wxFontData * >(argp1);
18731 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18732 if (!SWIG_IsOK(res2)) {
18733 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18734 }
18735 if (!argp2) {
18736 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18737 }
18738 arg2 = reinterpret_cast< wxFont * >(argp2);
18739 {
18740 PyThreadState* __tstate = wxPyBeginAllowThreads();
18741 (arg1)->SetInitialFont((wxFont const &)*arg2);
18742 wxPyEndAllowThreads(__tstate);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 resultobj = SWIG_Py_Void();
18746 return resultobj;
18747fail:
18748 return NULL;
18749}
18750
18751
18752SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18753 PyObject *resultobj = 0;
18754 wxFontData *arg1 = (wxFontData *) 0 ;
18755 int arg2 ;
18756 int arg3 ;
18757 void *argp1 = 0 ;
18758 int res1 = 0 ;
18759 int val2 ;
18760 int ecode2 = 0 ;
18761 int val3 ;
18762 int ecode3 = 0 ;
18763 PyObject * obj0 = 0 ;
18764 PyObject * obj1 = 0 ;
18765 PyObject * obj2 = 0 ;
18766 char * kwnames[] = {
18767 (char *) "self",(char *) "min",(char *) "max", NULL
18768 };
18769
18770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18772 if (!SWIG_IsOK(res1)) {
18773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18774 }
18775 arg1 = reinterpret_cast< wxFontData * >(argp1);
18776 ecode2 = SWIG_AsVal_int(obj1, &val2);
18777 if (!SWIG_IsOK(ecode2)) {
18778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18779 }
18780 arg2 = static_cast< int >(val2);
18781 ecode3 = SWIG_AsVal_int(obj2, &val3);
18782 if (!SWIG_IsOK(ecode3)) {
18783 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18784 }
18785 arg3 = static_cast< int >(val3);
18786 {
18787 PyThreadState* __tstate = wxPyBeginAllowThreads();
18788 (arg1)->SetRange(arg2,arg3);
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
18792 resultobj = SWIG_Py_Void();
18793 return resultobj;
18794fail:
18795 return NULL;
18796}
18797
18798
18799SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj = 0;
18801 wxFontData *arg1 = (wxFontData *) 0 ;
18802 bool arg2 ;
18803 void *argp1 = 0 ;
18804 int res1 = 0 ;
18805 bool val2 ;
18806 int ecode2 = 0 ;
18807 PyObject * obj0 = 0 ;
18808 PyObject * obj1 = 0 ;
18809 char * kwnames[] = {
18810 (char *) "self",(char *) "showHelp", NULL
18811 };
18812
18813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
18814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18815 if (!SWIG_IsOK(res1)) {
18816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18817 }
18818 arg1 = reinterpret_cast< wxFontData * >(argp1);
18819 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18820 if (!SWIG_IsOK(ecode2)) {
18821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18822 }
18823 arg2 = static_cast< bool >(val2);
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 (arg1)->SetShowHelp(arg2);
18827 wxPyEndAllowThreads(__tstate);
18828 if (PyErr_Occurred()) SWIG_fail;
18829 }
18830 resultobj = SWIG_Py_Void();
18831 return resultobj;
18832fail:
18833 return NULL;
d55e5bfc
RD
18834}
18835
18836
1bd55598
RD
18837SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18838 PyObject *obj;
18839 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18840 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
18841 return SWIG_Py_Void();
d55e5bfc
RD
18842}
18843
1bd55598
RD
18844SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18845 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18846}
18847
1bd55598
RD
18848SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj = 0;
18850 wxWindow *arg1 = (wxWindow *) 0 ;
18851 wxFontData *arg2 = 0 ;
18852 wxFontDialog *result = 0 ;
18853 void *argp1 = 0 ;
18854 int res1 = 0 ;
18855 void *argp2 = 0 ;
18856 int res2 = 0 ;
18857 PyObject * obj0 = 0 ;
18858 PyObject * obj1 = 0 ;
18859 char * kwnames[] = {
18860 (char *) "parent",(char *) "data", NULL
18861 };
18862
18863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
18864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18865 if (!SWIG_IsOK(res1)) {
18866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18867 }
18868 arg1 = reinterpret_cast< wxWindow * >(argp1);
18869 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
18870 if (!SWIG_IsOK(res2)) {
18871 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18872 }
18873 if (!argp2) {
18874 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18875 }
18876 arg2 = reinterpret_cast< wxFontData * >(argp2);
18877 {
18878 if (!wxPyCheckForApp()) SWIG_fail;
18879 PyThreadState* __tstate = wxPyBeginAllowThreads();
18880 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
18881 wxPyEndAllowThreads(__tstate);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
18885 return resultobj;
18886fail:
18887 return NULL;
d55e5bfc
RD
18888}
18889
18890
1bd55598
RD
18891SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18892 PyObject *resultobj = 0;
18893 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
18894 wxFontData *result = 0 ;
18895 void *argp1 = 0 ;
18896 int res1 = 0 ;
18897 PyObject *swig_obj[1] ;
18898
18899 if (!args) SWIG_fail;
18900 swig_obj[0] = args;
18901 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
18902 if (!SWIG_IsOK(res1)) {
18903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18904 }
18905 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
18906 {
18907 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 18908 {
1bd55598
RD
18909 wxFontData &_result_ref = (arg1)->GetFontData();
18910 result = (wxFontData *) &_result_ref;
36ed4f51 18911 }
1bd55598
RD
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
18916 return resultobj;
18917fail:
18918 return NULL;
18919}
18920
18921
18922SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18923 PyObject *obj;
18924 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18925 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
18926 return SWIG_Py_Void();
18927}
18928
18929SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18930 return SWIG_Python_InitShadowInstance(args);
18931}
18932
18933SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18934 PyObject *resultobj = 0;
18935 wxWindow *arg1 = (wxWindow *) NULL ;
18936 wxFont const &arg2_defvalue = wxNullFont ;
18937 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
18938 wxString const &arg3_defvalue = wxPyEmptyString ;
18939 wxString *arg3 = (wxString *) &arg3_defvalue ;
18940 wxFont result;
18941 void *argp1 = 0 ;
18942 int res1 = 0 ;
18943 void *argp2 = 0 ;
18944 int res2 = 0 ;
18945 bool temp3 = false ;
18946 PyObject * obj0 = 0 ;
18947 PyObject * obj1 = 0 ;
18948 PyObject * obj2 = 0 ;
18949 char * kwnames[] = {
18950 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18951 };
18952
18953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18954 if (obj0) {
18955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18956 if (!SWIG_IsOK(res1)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
36ed4f51 18958 }
1bd55598
RD
18959 arg1 = reinterpret_cast< wxWindow * >(argp1);
18960 }
18961 if (obj1) {
18962 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18963 if (!SWIG_IsOK(res2)) {
18964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 18965 }
1bd55598
RD
18966 if (!argp2) {
18967 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 18968 }
1bd55598
RD
18969 arg2 = reinterpret_cast< wxFont * >(argp2);
18970 }
18971 if (obj2) {
d55e5bfc 18972 {
1bd55598
RD
18973 arg3 = wxString_in_helper(obj2);
18974 if (arg3 == NULL) SWIG_fail;
18975 temp3 = true;
d55e5bfc 18976 }
1bd55598
RD
18977 }
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
18981 wxPyEndAllowThreads(__tstate);
18982 if (PyErr_Occurred()) SWIG_fail;
18983 }
18984 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18985 {
18986 if (temp3)
18987 delete arg3;
18988 }
18989 return resultobj;
18990fail:
18991 {
18992 if (temp3)
18993 delete arg3;
18994 }
18995 return NULL;
18996}
18997
18998
18999SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj = 0;
19001 wxWindow *arg1 = (wxWindow *) 0 ;
19002 wxString *arg2 = 0 ;
19003 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19004 wxString *arg3 = (wxString *) &arg3_defvalue ;
19005 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19006 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19007 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19008 wxMessageDialog *result = 0 ;
19009 void *argp1 = 0 ;
19010 int res1 = 0 ;
19011 bool temp2 = false ;
19012 bool temp3 = false ;
19013 long val4 ;
19014 int ecode4 = 0 ;
19015 wxPoint temp5 ;
19016 PyObject * obj0 = 0 ;
19017 PyObject * obj1 = 0 ;
19018 PyObject * obj2 = 0 ;
19019 PyObject * obj3 = 0 ;
19020 PyObject * obj4 = 0 ;
19021 char * kwnames[] = {
19022 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19023 };
19024
19025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19027 if (!SWIG_IsOK(res1)) {
19028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19029 }
19030 arg1 = reinterpret_cast< wxWindow * >(argp1);
19031 {
19032 arg2 = wxString_in_helper(obj1);
19033 if (arg2 == NULL) SWIG_fail;
19034 temp2 = true;
19035 }
19036 if (obj2) {
36ed4f51 19037 {
1bd55598
RD
19038 arg3 = wxString_in_helper(obj2);
19039 if (arg3 == NULL) SWIG_fail;
19040 temp3 = true;
36ed4f51 19041 }
1bd55598
RD
19042 }
19043 if (obj3) {
19044 ecode4 = SWIG_AsVal_long(obj3, &val4);
19045 if (!SWIG_IsOK(ecode4)) {
19046 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19047 }
19048 arg4 = static_cast< long >(val4);
19049 }
19050 if (obj4) {
36ed4f51 19051 {
1bd55598
RD
19052 arg5 = &temp5;
19053 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 19054 }
1bd55598
RD
19055 }
19056 {
19057 if (!wxPyCheckForApp()) SWIG_fail;
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19064 {
19065 if (temp2)
19066 delete arg2;
19067 }
19068 {
19069 if (temp3)
19070 delete arg3;
19071 }
19072 return resultobj;
19073fail:
19074 {
19075 if (temp2)
19076 delete arg2;
19077 }
19078 {
19079 if (temp3)
19080 delete arg3;
19081 }
19082 return NULL;
19083}
19084
19085
19086SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19087 PyObject *obj;
19088 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19089 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19090 return SWIG_Py_Void();
19091}
19092
19093SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19094 return SWIG_Python_InitShadowInstance(args);
19095}
19096
19097SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19098 PyObject *resultobj = 0;
19099 wxString *arg1 = 0 ;
19100 wxString *arg2 = 0 ;
19101 int arg3 = (int) 100 ;
19102 wxWindow *arg4 = (wxWindow *) NULL ;
19103 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19104 wxProgressDialog *result = 0 ;
19105 bool temp1 = false ;
19106 bool temp2 = false ;
19107 int val3 ;
19108 int ecode3 = 0 ;
19109 void *argp4 = 0 ;
19110 int res4 = 0 ;
19111 int val5 ;
19112 int ecode5 = 0 ;
19113 PyObject * obj0 = 0 ;
19114 PyObject * obj1 = 0 ;
19115 PyObject * obj2 = 0 ;
19116 PyObject * obj3 = 0 ;
19117 PyObject * obj4 = 0 ;
19118 char * kwnames[] = {
19119 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19120 };
19121
19122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19123 {
19124 arg1 = wxString_in_helper(obj0);
19125 if (arg1 == NULL) SWIG_fail;
19126 temp1 = true;
19127 }
19128 {
19129 arg2 = wxString_in_helper(obj1);
19130 if (arg2 == NULL) SWIG_fail;
19131 temp2 = true;
19132 }
19133 if (obj2) {
19134 ecode3 = SWIG_AsVal_int(obj2, &val3);
19135 if (!SWIG_IsOK(ecode3)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19137 }
19138 arg3 = static_cast< int >(val3);
19139 }
19140 if (obj3) {
19141 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19142 if (!SWIG_IsOK(res4)) {
19143 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19144 }
1bd55598
RD
19145 arg4 = reinterpret_cast< wxWindow * >(argp4);
19146 }
19147 if (obj4) {
19148 ecode5 = SWIG_AsVal_int(obj4, &val5);
19149 if (!SWIG_IsOK(ecode5)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19151 }
19152 arg5 = static_cast< int >(val5);
19153 }
19154 {
19155 if (!wxPyCheckForApp()) SWIG_fail;
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19162 {
19163 if (temp1)
19164 delete arg1;
19165 }
19166 {
19167 if (temp2)
19168 delete arg2;
19169 }
19170 return resultobj;
19171fail:
19172 {
19173 if (temp1)
19174 delete arg1;
19175 }
19176 {
19177 if (temp2)
19178 delete arg2;
19179 }
19180 return NULL;
19181}
19182
19183
19184SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19185 PyObject *resultobj = 0;
19186 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19187 int arg2 ;
19188 wxString const &arg3_defvalue = wxPyEmptyString ;
19189 wxString *arg3 = (wxString *) &arg3_defvalue ;
2131d850 19190 bool *arg4 = (bool *) 0 ;
1bd55598
RD
19191 bool result;
19192 void *argp1 = 0 ;
19193 int res1 = 0 ;
19194 int val2 ;
19195 int ecode2 = 0 ;
19196 bool temp3 = false ;
2131d850
RD
19197 bool temp4 ;
19198 int res4 = SWIG_TMPOBJ ;
1bd55598
RD
19199 PyObject * obj0 = 0 ;
19200 PyObject * obj1 = 0 ;
19201 PyObject * obj2 = 0 ;
19202 char * kwnames[] = {
19203 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19204 };
19205
2131d850 19206 arg4 = &temp4;
1bd55598
RD
19207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19209 if (!SWIG_IsOK(res1)) {
19210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19211 }
19212 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19213 ecode2 = SWIG_AsVal_int(obj1, &val2);
19214 if (!SWIG_IsOK(ecode2)) {
19215 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19216 }
19217 arg2 = static_cast< int >(val2);
19218 if (obj2) {
d55e5bfc 19219 {
1bd55598
RD
19220 arg3 = wxString_in_helper(obj2);
19221 if (arg3 == NULL) SWIG_fail;
19222 temp3 = true;
d55e5bfc 19223 }
1bd55598
RD
19224 }
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131d850 19227 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
1bd55598
RD
19228 wxPyEndAllowThreads(__tstate);
19229 if (PyErr_Occurred()) SWIG_fail;
19230 }
19231 {
19232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19233 }
2131d850
RD
19234 if (SWIG_IsTmpObj(res4)) {
19235 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19236 } else {
19237 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19238 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19239 }
1bd55598
RD
19240 {
19241 if (temp3)
19242 delete arg3;
19243 }
19244 return resultobj;
19245fail:
19246 {
19247 if (temp3)
19248 delete arg3;
19249 }
19250 return NULL;
d55e5bfc
RD
19251}
19252
19253
1bd55598
RD
19254SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19255 PyObject *resultobj = 0;
19256 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19257 void *argp1 = 0 ;
19258 int res1 = 0 ;
19259 PyObject *swig_obj[1] ;
19260
19261 if (!args) SWIG_fail;
19262 swig_obj[0] = args;
19263 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19264 if (!SWIG_IsOK(res1)) {
19265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19266 }
19267 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 (arg1)->Resume();
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 resultobj = SWIG_Py_Void();
19275 return resultobj;
19276fail:
19277 return NULL;
d55e5bfc
RD
19278}
19279
19280
1bd55598
RD
19281SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19282 PyObject *obj;
19283 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19284 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19285 return SWIG_Py_Void();
d55e5bfc
RD
19286}
19287
1bd55598
RD
19288SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19289 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19290}
19291
1bd55598
RD
19292SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj = 0;
19294 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19295 int arg2 = (int) 0 ;
19296 wxFindDialogEvent *result = 0 ;
19297 int val1 ;
19298 int ecode1 = 0 ;
19299 int val2 ;
19300 int ecode2 = 0 ;
19301 PyObject * obj0 = 0 ;
19302 PyObject * obj1 = 0 ;
19303 char * kwnames[] = {
19304 (char *) "commandType",(char *) "id", NULL
19305 };
19306
19307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19308 if (obj0) {
19309 ecode1 = SWIG_AsVal_int(obj0, &val1);
19310 if (!SWIG_IsOK(ecode1)) {
19311 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19312 }
19313 arg1 = static_cast< wxEventType >(val1);
19314 }
19315 if (obj1) {
19316 ecode2 = SWIG_AsVal_int(obj1, &val2);
19317 if (!SWIG_IsOK(ecode2)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19319 }
19320 arg2 = static_cast< int >(val2);
19321 }
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19325 wxPyEndAllowThreads(__tstate);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 }
19328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19329 return resultobj;
19330fail:
19331 return NULL;
d55e5bfc
RD
19332}
19333
19334
1bd55598
RD
19335SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19336 PyObject *resultobj = 0;
19337 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19338 int result;
19339 void *argp1 = 0 ;
19340 int res1 = 0 ;
19341 PyObject *swig_obj[1] ;
19342
19343 if (!args) SWIG_fail;
19344 swig_obj[0] = args;
19345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19346 if (!SWIG_IsOK(res1)) {
19347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19348 }
19349 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 result = (int)(arg1)->GetFlags();
19353 wxPyEndAllowThreads(__tstate);
19354 if (PyErr_Occurred()) SWIG_fail;
19355 }
19356 resultobj = SWIG_From_int(static_cast< int >(result));
19357 return resultobj;
19358fail:
19359 return NULL;
d55e5bfc
RD
19360}
19361
19362
1bd55598
RD
19363SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19364 PyObject *resultobj = 0;
19365 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19366 wxString *result = 0 ;
19367 void *argp1 = 0 ;
19368 int res1 = 0 ;
19369 PyObject *swig_obj[1] ;
19370
19371 if (!args) SWIG_fail;
19372 swig_obj[0] = args;
19373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19374 if (!SWIG_IsOK(res1)) {
19375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19376 }
19377 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19380 {
1bd55598
RD
19381 wxString const &_result_ref = (arg1)->GetFindString();
19382 result = (wxString *) &_result_ref;
d55e5bfc 19383 }
1bd55598
RD
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 {
19388#if wxUSE_UNICODE
19389 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19390#else
19391 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19392#endif
19393 }
19394 return resultobj;
19395fail:
19396 return NULL;
d55e5bfc
RD
19397}
19398
19399
1bd55598
RD
19400SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19401 PyObject *resultobj = 0;
19402 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19403 wxString *result = 0 ;
19404 void *argp1 = 0 ;
19405 int res1 = 0 ;
19406 PyObject *swig_obj[1] ;
19407
19408 if (!args) SWIG_fail;
19409 swig_obj[0] = args;
19410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19411 if (!SWIG_IsOK(res1)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19413 }
19414 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19415 {
19416 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19417 {
1bd55598
RD
19418 wxString const &_result_ref = (arg1)->GetReplaceString();
19419 result = (wxString *) &_result_ref;
d55e5bfc 19420 }
1bd55598
RD
19421 wxPyEndAllowThreads(__tstate);
19422 if (PyErr_Occurred()) SWIG_fail;
19423 }
19424 {
19425#if wxUSE_UNICODE
19426 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19427#else
19428 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19429#endif
19430 }
19431 return resultobj;
19432fail:
19433 return NULL;
d55e5bfc
RD
19434}
19435
19436
1bd55598
RD
19437SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19438 PyObject *resultobj = 0;
19439 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19440 wxFindReplaceDialog *result = 0 ;
19441 void *argp1 = 0 ;
19442 int res1 = 0 ;
19443 PyObject *swig_obj[1] ;
19444
19445 if (!args) SWIG_fail;
19446 swig_obj[0] = args;
19447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19448 if (!SWIG_IsOK(res1)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19450 }
19451 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
19454 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19455 wxPyEndAllowThreads(__tstate);
19456 if (PyErr_Occurred()) SWIG_fail;
19457 }
19458 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19459 return resultobj;
19460fail:
19461 return NULL;
19462}
19463
19464
19465SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19466 PyObject *resultobj = 0;
19467 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19468 int arg2 ;
19469 void *argp1 = 0 ;
19470 int res1 = 0 ;
19471 int val2 ;
19472 int ecode2 = 0 ;
19473 PyObject * obj0 = 0 ;
19474 PyObject * obj1 = 0 ;
19475 char * kwnames[] = {
19476 (char *) "self",(char *) "flags", NULL
19477 };
19478
19479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19481 if (!SWIG_IsOK(res1)) {
19482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19483 }
19484 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19485 ecode2 = SWIG_AsVal_int(obj1, &val2);
19486 if (!SWIG_IsOK(ecode2)) {
19487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19488 }
19489 arg2 = static_cast< int >(val2);
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 (arg1)->SetFlags(arg2);
19493 wxPyEndAllowThreads(__tstate);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 }
19496 resultobj = SWIG_Py_Void();
19497 return resultobj;
19498fail:
19499 return NULL;
19500}
19501
19502
19503SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19504 PyObject *resultobj = 0;
19505 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19506 wxString *arg2 = 0 ;
19507 void *argp1 = 0 ;
19508 int res1 = 0 ;
19509 bool temp2 = false ;
19510 PyObject * obj0 = 0 ;
19511 PyObject * obj1 = 0 ;
19512 char * kwnames[] = {
19513 (char *) "self",(char *) "str", NULL
19514 };
19515
19516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19518 if (!SWIG_IsOK(res1)) {
19519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19520 }
19521 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19522 {
19523 arg2 = wxString_in_helper(obj1);
19524 if (arg2 == NULL) SWIG_fail;
19525 temp2 = true;
19526 }
19527 {
19528 PyThreadState* __tstate = wxPyBeginAllowThreads();
19529 (arg1)->SetFindString((wxString const &)*arg2);
19530 wxPyEndAllowThreads(__tstate);
19531 if (PyErr_Occurred()) SWIG_fail;
19532 }
19533 resultobj = SWIG_Py_Void();
19534 {
19535 if (temp2)
19536 delete arg2;
19537 }
19538 return resultobj;
19539fail:
19540 {
19541 if (temp2)
19542 delete arg2;
19543 }
19544 return NULL;
d55e5bfc
RD
19545}
19546
19547
1bd55598
RD
19548SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19549 PyObject *resultobj = 0;
19550 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19551 wxString *arg2 = 0 ;
19552 void *argp1 = 0 ;
19553 int res1 = 0 ;
19554 bool temp2 = false ;
19555 PyObject * obj0 = 0 ;
19556 PyObject * obj1 = 0 ;
19557 char * kwnames[] = {
19558 (char *) "self",(char *) "str", NULL
19559 };
19560
19561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19563 if (!SWIG_IsOK(res1)) {
19564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19565 }
19566 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19567 {
19568 arg2 = wxString_in_helper(obj1);
19569 if (arg2 == NULL) SWIG_fail;
19570 temp2 = true;
19571 }
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 (arg1)->SetReplaceString((wxString const &)*arg2);
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 resultobj = SWIG_Py_Void();
19579 {
19580 if (temp2)
19581 delete arg2;
19582 }
19583 return resultobj;
19584fail:
19585 {
19586 if (temp2)
19587 delete arg2;
19588 }
19589 return NULL;
d55e5bfc
RD
19590}
19591
19592
1bd55598
RD
19593SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19594 PyObject *obj;
19595 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19596 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19597 return SWIG_Py_Void();
d55e5bfc
RD
19598}
19599
1bd55598
RD
19600SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19601 return SWIG_Python_InitShadowInstance(args);
19602}
d55e5bfc 19603
1bd55598
RD
19604SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19605 PyObject *resultobj = 0;
19606 int arg1 = (int) 0 ;
19607 wxFindReplaceData *result = 0 ;
19608 int val1 ;
19609 int ecode1 = 0 ;
19610 PyObject * obj0 = 0 ;
19611 char * kwnames[] = {
19612 (char *) "flags", NULL
19613 };
19614
19615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19616 if (obj0) {
19617 ecode1 = SWIG_AsVal_int(obj0, &val1);
19618 if (!SWIG_IsOK(ecode1)) {
19619 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19620 }
19621 arg1 = static_cast< int >(val1);
19622 }
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19630 return resultobj;
19631fail:
19632 return NULL;
d6c14a4c
RD
19633}
19634
19635
1bd55598
RD
19636SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19637 PyObject *resultobj = 0;
19638 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19639 void *argp1 = 0 ;
19640 int res1 = 0 ;
19641 PyObject *swig_obj[1] ;
19642
19643 if (!args) SWIG_fail;
19644 swig_obj[0] = args;
19645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19646 if (!SWIG_IsOK(res1)) {
19647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19648 }
19649 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 delete arg1;
d55e5bfc 19653
1bd55598
RD
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 resultobj = SWIG_Py_Void();
19658 return resultobj;
19659fail:
19660 return NULL;
d55e5bfc
RD
19661}
19662
19663
1bd55598
RD
19664SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19665 PyObject *resultobj = 0;
19666 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19667 wxString *result = 0 ;
19668 void *argp1 = 0 ;
19669 int res1 = 0 ;
19670 PyObject *swig_obj[1] ;
19671
19672 if (!args) SWIG_fail;
19673 swig_obj[0] = args;
19674 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19675 if (!SWIG_IsOK(res1)) {
19676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19677 }
19678 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19681 {
1bd55598
RD
19682 wxString const &_result_ref = (arg1)->GetFindString();
19683 result = (wxString *) &_result_ref;
19684 }
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 {
19689#if wxUSE_UNICODE
19690 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19691#else
19692 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19693#endif
19694 }
19695 return resultobj;
19696fail:
19697 return NULL;
7e08d4ef
RD
19698}
19699
19700
1bd55598
RD
19701SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19702 PyObject *resultobj = 0;
19703 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19704 wxString *result = 0 ;
19705 void *argp1 = 0 ;
19706 int res1 = 0 ;
19707 PyObject *swig_obj[1] ;
19708
19709 if (!args) SWIG_fail;
19710 swig_obj[0] = args;
19711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19712 if (!SWIG_IsOK(res1)) {
19713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19714 }
19715 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19716 {
19717 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19718 {
1bd55598
RD
19719 wxString const &_result_ref = (arg1)->GetReplaceString();
19720 result = (wxString *) &_result_ref;
36ed4f51 19721 }
1bd55598
RD
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 {
19726#if wxUSE_UNICODE
19727 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19728#else
19729 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19730#endif
19731 }
19732 return resultobj;
19733fail:
19734 return NULL;
d55e5bfc
RD
19735}
19736
19737
1bd55598
RD
19738SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19739 PyObject *resultobj = 0;
19740 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19741 int result;
19742 void *argp1 = 0 ;
19743 int res1 = 0 ;
19744 PyObject *swig_obj[1] ;
19745
19746 if (!args) SWIG_fail;
19747 swig_obj[0] = args;
19748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19749 if (!SWIG_IsOK(res1)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19751 }
19752 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19753 {
19754 PyThreadState* __tstate = wxPyBeginAllowThreads();
19755 result = (int)(arg1)->GetFlags();
19756 wxPyEndAllowThreads(__tstate);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 }
19759 resultobj = SWIG_From_int(static_cast< int >(result));
19760 return resultobj;
19761fail:
19762 return NULL;
19763}
19764
19765
19766SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19767 PyObject *resultobj = 0;
19768 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19769 int arg2 ;
19770 void *argp1 = 0 ;
19771 int res1 = 0 ;
19772 int val2 ;
19773 int ecode2 = 0 ;
19774 PyObject * obj0 = 0 ;
19775 PyObject * obj1 = 0 ;
19776 char * kwnames[] = {
19777 (char *) "self",(char *) "flags", NULL
19778 };
19779
19780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19782 if (!SWIG_IsOK(res1)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19784 }
19785 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19786 ecode2 = SWIG_AsVal_int(obj1, &val2);
19787 if (!SWIG_IsOK(ecode2)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19789 }
19790 arg2 = static_cast< int >(val2);
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 (arg1)->SetFlags(arg2);
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 resultobj = SWIG_Py_Void();
19798 return resultobj;
19799fail:
19800 return NULL;
19801}
19802
19803
19804SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj = 0;
19806 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19807 wxString *arg2 = 0 ;
19808 void *argp1 = 0 ;
19809 int res1 = 0 ;
19810 bool temp2 = false ;
19811 PyObject * obj0 = 0 ;
19812 PyObject * obj1 = 0 ;
19813 char * kwnames[] = {
19814 (char *) "self",(char *) "str", NULL
19815 };
19816
19817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19819 if (!SWIG_IsOK(res1)) {
19820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19821 }
19822 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19823 {
19824 arg2 = wxString_in_helper(obj1);
19825 if (arg2 == NULL) SWIG_fail;
19826 temp2 = true;
19827 }
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 (arg1)->SetFindString((wxString const &)*arg2);
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 resultobj = SWIG_Py_Void();
19835 {
19836 if (temp2)
19837 delete arg2;
19838 }
19839 return resultobj;
19840fail:
19841 {
19842 if (temp2)
19843 delete arg2;
19844 }
19845 return NULL;
d55e5bfc
RD
19846}
19847
19848
1bd55598
RD
19849SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj = 0;
19851 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19852 wxString *arg2 = 0 ;
19853 void *argp1 = 0 ;
19854 int res1 = 0 ;
19855 bool temp2 = false ;
19856 PyObject * obj0 = 0 ;
19857 PyObject * obj1 = 0 ;
19858 char * kwnames[] = {
19859 (char *) "self",(char *) "str", NULL
19860 };
19861
19862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19864 if (!SWIG_IsOK(res1)) {
19865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19866 }
19867 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19868 {
19869 arg2 = wxString_in_helper(obj1);
19870 if (arg2 == NULL) SWIG_fail;
19871 temp2 = true;
19872 }
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 (arg1)->SetReplaceString((wxString const &)*arg2);
19876 wxPyEndAllowThreads(__tstate);
19877 if (PyErr_Occurred()) SWIG_fail;
19878 }
19879 resultobj = SWIG_Py_Void();
19880 {
19881 if (temp2)
19882 delete arg2;
19883 }
19884 return resultobj;
19885fail:
19886 {
19887 if (temp2)
19888 delete arg2;
19889 }
19890 return NULL;
19891}
19892
19893
19894SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19895 PyObject *obj;
19896 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19897 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
19898 return SWIG_Py_Void();
19899}
19900
19901SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19902 return SWIG_Python_InitShadowInstance(args);
19903}
19904
19905SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19906 PyObject *resultobj = 0;
19907 wxWindow *arg1 = (wxWindow *) 0 ;
19908 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
19909 wxString *arg3 = 0 ;
19910 int arg4 = (int) 0 ;
19911 wxFindReplaceDialog *result = 0 ;
19912 void *argp1 = 0 ;
19913 int res1 = 0 ;
19914 void *argp2 = 0 ;
19915 int res2 = 0 ;
19916 bool temp3 = false ;
19917 int val4 ;
19918 int ecode4 = 0 ;
19919 PyObject * obj0 = 0 ;
19920 PyObject * obj1 = 0 ;
19921 PyObject * obj2 = 0 ;
19922 PyObject * obj3 = 0 ;
19923 char * kwnames[] = {
19924 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19925 };
19926
19927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
19928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19929 if (!SWIG_IsOK(res1)) {
19930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19931 }
19932 arg1 = reinterpret_cast< wxWindow * >(argp1);
19933 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19934 if (!SWIG_IsOK(res2)) {
19935 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19936 }
19937 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
19938 {
19939 arg3 = wxString_in_helper(obj2);
19940 if (arg3 == NULL) SWIG_fail;
19941 temp3 = true;
19942 }
19943 if (obj3) {
19944 ecode4 = SWIG_AsVal_int(obj3, &val4);
19945 if (!SWIG_IsOK(ecode4)) {
19946 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19947 }
19948 arg4 = static_cast< int >(val4);
19949 }
19950 {
19951 if (!wxPyCheckForApp()) SWIG_fail;
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
19958 {
19959 if (temp3)
19960 delete arg3;
19961 }
19962 return resultobj;
19963fail:
19964 {
19965 if (temp3)
19966 delete arg3;
19967 }
19968 return NULL;
b411df4a
RD
19969}
19970
19971
1bd55598
RD
19972SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19973 PyObject *resultobj = 0;
19974 wxFindReplaceDialog *result = 0 ;
19975
19976 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
19977 {
19978 if (!wxPyCheckForApp()) SWIG_fail;
19979 PyThreadState* __tstate = wxPyBeginAllowThreads();
19980 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
19981 wxPyEndAllowThreads(__tstate);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 }
19984 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
19985 return resultobj;
19986fail:
19987 return NULL;
19988}
19989
19990
19991SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19992 PyObject *resultobj = 0;
19993 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
19994 wxWindow *arg2 = (wxWindow *) 0 ;
19995 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
19996 wxString *arg4 = 0 ;
19997 int arg5 = (int) 0 ;
19998 bool result;
19999 void *argp1 = 0 ;
20000 int res1 = 0 ;
20001 void *argp2 = 0 ;
20002 int res2 = 0 ;
20003 void *argp3 = 0 ;
20004 int res3 = 0 ;
20005 bool temp4 = false ;
20006 int val5 ;
20007 int ecode5 = 0 ;
20008 PyObject * obj0 = 0 ;
20009 PyObject * obj1 = 0 ;
20010 PyObject * obj2 = 0 ;
20011 PyObject * obj3 = 0 ;
20012 PyObject * obj4 = 0 ;
20013 char * kwnames[] = {
20014 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20015 };
20016
20017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20019 if (!SWIG_IsOK(res1)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20021 }
20022 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20023 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20024 if (!SWIG_IsOK(res2)) {
20025 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20026 }
20027 arg2 = reinterpret_cast< wxWindow * >(argp2);
20028 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20029 if (!SWIG_IsOK(res3)) {
20030 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20031 }
20032 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20033 {
20034 arg4 = wxString_in_helper(obj3);
20035 if (arg4 == NULL) SWIG_fail;
20036 temp4 = true;
20037 }
20038 if (obj4) {
20039 ecode5 = SWIG_AsVal_int(obj4, &val5);
20040 if (!SWIG_IsOK(ecode5)) {
20041 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20042 }
20043 arg5 = static_cast< int >(val5);
20044 }
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 {
20052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20053 }
20054 {
20055 if (temp4)
20056 delete arg4;
20057 }
20058 return resultobj;
20059fail:
20060 {
20061 if (temp4)
20062 delete arg4;
20063 }
20064 return NULL;
b411df4a
RD
20065}
20066
20067
1bd55598
RD
20068SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20069 PyObject *resultobj = 0;
20070 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20071 wxFindReplaceData *result = 0 ;
20072 void *argp1 = 0 ;
20073 int res1 = 0 ;
20074 PyObject *swig_obj[1] ;
20075
20076 if (!args) SWIG_fail;
20077 swig_obj[0] = args;
20078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20079 if (!SWIG_IsOK(res1)) {
20080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20081 }
20082 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20083 {
20084 PyThreadState* __tstate = wxPyBeginAllowThreads();
20085 result = (wxFindReplaceData *)(arg1)->GetData();
20086 wxPyEndAllowThreads(__tstate);
20087 if (PyErr_Occurred()) SWIG_fail;
20088 }
20089 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20090 return resultobj;
20091fail:
20092 return NULL;
20093}
20094
20095
20096SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20097 PyObject *resultobj = 0;
20098 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20099 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20100 void *argp1 = 0 ;
20101 int res1 = 0 ;
20102 void *argp2 = 0 ;
20103 int res2 = 0 ;
20104 PyObject * obj0 = 0 ;
20105 PyObject * obj1 = 0 ;
20106 char * kwnames[] = {
20107 (char *) "self",(char *) "data", NULL
20108 };
20109
20110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20112 if (!SWIG_IsOK(res1)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20114 }
20115 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20116 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20117 if (!SWIG_IsOK(res2)) {
20118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20119 }
20120 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20121 {
20122 PyThreadState* __tstate = wxPyBeginAllowThreads();
20123 (arg1)->SetData(arg2);
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = SWIG_Py_Void();
20128 return resultobj;
20129fail:
20130 return NULL;
20131}
20132
20133
20134SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20135 PyObject *obj;
20136 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20137 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20138 return SWIG_Py_Void();
20139}
20140
20141SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20142 return SWIG_Python_InitShadowInstance(args);
20143}
20144
20145SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20146 PyObject *resultobj = 0;
20147 wxWindow *arg1 = (wxWindow *) 0 ;
20148 int arg2 = (int) (int)-1 ;
20149 wxString const &arg3_defvalue = wxPyEmptyString ;
20150 wxString *arg3 = (wxString *) &arg3_defvalue ;
20151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20153 wxSize const &arg5_defvalue = wxDefaultSize ;
20154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20155 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20156 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20157 wxString *arg7 = (wxString *) &arg7_defvalue ;
20158 wxMDIParentFrame *result = 0 ;
20159 void *argp1 = 0 ;
20160 int res1 = 0 ;
20161 int val2 ;
20162 int ecode2 = 0 ;
20163 bool temp3 = false ;
20164 wxPoint temp4 ;
20165 wxSize temp5 ;
20166 long val6 ;
20167 int ecode6 = 0 ;
20168 bool temp7 = false ;
20169 PyObject * obj0 = 0 ;
20170 PyObject * obj1 = 0 ;
20171 PyObject * obj2 = 0 ;
20172 PyObject * obj3 = 0 ;
20173 PyObject * obj4 = 0 ;
20174 PyObject * obj5 = 0 ;
20175 PyObject * obj6 = 0 ;
20176 char * kwnames[] = {
20177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20178 };
20179
20180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20182 if (!SWIG_IsOK(res1)) {
20183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20184 }
20185 arg1 = reinterpret_cast< wxWindow * >(argp1);
20186 if (obj1) {
20187 ecode2 = SWIG_AsVal_int(obj1, &val2);
20188 if (!SWIG_IsOK(ecode2)) {
20189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20190 }
20191 arg2 = static_cast< int >(val2);
20192 }
20193 if (obj2) {
b411df4a 20194 {
1bd55598
RD
20195 arg3 = wxString_in_helper(obj2);
20196 if (arg3 == NULL) SWIG_fail;
20197 temp3 = true;
b411df4a 20198 }
1bd55598
RD
20199 }
20200 if (obj3) {
b411df4a 20201 {
1bd55598
RD
20202 arg4 = &temp4;
20203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b411df4a 20204 }
1bd55598
RD
20205 }
20206 if (obj4) {
b411df4a 20207 {
1bd55598
RD
20208 arg5 = &temp5;
20209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20210 }
1bd55598
RD
20211 }
20212 if (obj5) {
20213 ecode6 = SWIG_AsVal_long(obj5, &val6);
20214 if (!SWIG_IsOK(ecode6)) {
20215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20216 }
20217 arg6 = static_cast< long >(val6);
20218 }
20219 if (obj6) {
b411df4a 20220 {
1bd55598
RD
20221 arg7 = wxString_in_helper(obj6);
20222 if (arg7 == NULL) SWIG_fail;
20223 temp7 = true;
b411df4a 20224 }
1bd55598
RD
20225 }
20226 {
20227 if (!wxPyCheckForApp()) SWIG_fail;
20228 PyThreadState* __tstate = wxPyBeginAllowThreads();
20229 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20230 wxPyEndAllowThreads(__tstate);
20231 if (PyErr_Occurred()) SWIG_fail;
20232 }
20233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20234 {
20235 if (temp3)
20236 delete arg3;
20237 }
20238 {
20239 if (temp7)
20240 delete arg7;
20241 }
20242 return resultobj;
20243fail:
20244 {
20245 if (temp3)
20246 delete arg3;
20247 }
20248 {
20249 if (temp7)
20250 delete arg7;
20251 }
20252 return NULL;
b411df4a
RD
20253}
20254
20255
1bd55598
RD
20256SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20257 PyObject *resultobj = 0;
20258 wxMDIParentFrame *result = 0 ;
20259
20260 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20261 {
20262 if (!wxPyCheckForApp()) SWIG_fail;
20263 PyThreadState* __tstate = wxPyBeginAllowThreads();
20264 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20265 wxPyEndAllowThreads(__tstate);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 }
20268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20269 return resultobj;
20270fail:
20271 return NULL;
20272}
20273
20274
20275SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20276 PyObject *resultobj = 0;
20277 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20278 wxWindow *arg2 = (wxWindow *) 0 ;
20279 int arg3 = (int) (int)-1 ;
20280 wxString const &arg4_defvalue = wxPyEmptyString ;
20281 wxString *arg4 = (wxString *) &arg4_defvalue ;
20282 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20283 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20284 wxSize const &arg6_defvalue = wxDefaultSize ;
20285 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20286 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20287 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20288 wxString *arg8 = (wxString *) &arg8_defvalue ;
20289 bool result;
20290 void *argp1 = 0 ;
20291 int res1 = 0 ;
20292 void *argp2 = 0 ;
20293 int res2 = 0 ;
20294 int val3 ;
20295 int ecode3 = 0 ;
20296 bool temp4 = false ;
20297 wxPoint temp5 ;
20298 wxSize temp6 ;
20299 long val7 ;
20300 int ecode7 = 0 ;
20301 bool temp8 = false ;
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 PyObject * obj2 = 0 ;
20305 PyObject * obj3 = 0 ;
20306 PyObject * obj4 = 0 ;
20307 PyObject * obj5 = 0 ;
20308 PyObject * obj6 = 0 ;
20309 PyObject * obj7 = 0 ;
20310 char * kwnames[] = {
20311 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20312 };
20313
20314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20316 if (!SWIG_IsOK(res1)) {
20317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20318 }
20319 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20320 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20321 if (!SWIG_IsOK(res2)) {
20322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20323 }
20324 arg2 = reinterpret_cast< wxWindow * >(argp2);
20325 if (obj2) {
20326 ecode3 = SWIG_AsVal_int(obj2, &val3);
20327 if (!SWIG_IsOK(ecode3)) {
20328 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20329 }
20330 arg3 = static_cast< int >(val3);
20331 }
20332 if (obj3) {
b411df4a 20333 {
1bd55598
RD
20334 arg4 = wxString_in_helper(obj3);
20335 if (arg4 == NULL) SWIG_fail;
20336 temp4 = true;
b411df4a 20337 }
1bd55598
RD
20338 }
20339 if (obj4) {
b411df4a 20340 {
1bd55598
RD
20341 arg5 = &temp5;
20342 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20343 }
1bd55598
RD
20344 }
20345 if (obj5) {
b411df4a 20346 {
1bd55598
RD
20347 arg6 = &temp6;
20348 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b411df4a 20349 }
1bd55598
RD
20350 }
20351 if (obj6) {
20352 ecode7 = SWIG_AsVal_long(obj6, &val7);
20353 if (!SWIG_IsOK(ecode7)) {
20354 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20355 }
20356 arg7 = static_cast< long >(val7);
20357 }
20358 if (obj7) {
36ed4f51 20359 {
1bd55598
RD
20360 arg8 = wxString_in_helper(obj7);
20361 if (arg8 == NULL) SWIG_fail;
20362 temp8 = true;
36ed4f51 20363 }
1bd55598
RD
20364 }
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 {
20372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20373 }
20374 {
20375 if (temp4)
20376 delete arg4;
20377 }
20378 {
20379 if (temp8)
20380 delete arg8;
20381 }
20382 return resultobj;
20383fail:
20384 {
20385 if (temp4)
20386 delete arg4;
20387 }
20388 {
20389 if (temp8)
20390 delete arg8;
20391 }
20392 return NULL;
d55e5bfc
RD
20393}
20394
20395
1bd55598
RD
20396SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20397 PyObject *resultobj = 0;
20398 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20399 void *argp1 = 0 ;
20400 int res1 = 0 ;
20401 PyObject *swig_obj[1] ;
20402
20403 if (!args) SWIG_fail;
20404 swig_obj[0] = args;
20405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20406 if (!SWIG_IsOK(res1)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20408 }
20409 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20410 {
20411 PyThreadState* __tstate = wxPyBeginAllowThreads();
20412 (arg1)->ActivateNext();
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
20416 resultobj = SWIG_Py_Void();
20417 return resultobj;
20418fail:
20419 return NULL;
d55e5bfc
RD
20420}
20421
20422
1bd55598
RD
20423SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20424 PyObject *resultobj = 0;
20425 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20426 void *argp1 = 0 ;
20427 int res1 = 0 ;
20428 PyObject *swig_obj[1] ;
20429
20430 if (!args) SWIG_fail;
20431 swig_obj[0] = args;
20432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20433 if (!SWIG_IsOK(res1)) {
20434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20435 }
20436 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20437 {
20438 PyThreadState* __tstate = wxPyBeginAllowThreads();
20439 (arg1)->ActivatePrevious();
20440 wxPyEndAllowThreads(__tstate);
20441 if (PyErr_Occurred()) SWIG_fail;
20442 }
20443 resultobj = SWIG_Py_Void();
20444 return resultobj;
20445fail:
20446 return NULL;
d55e5bfc
RD
20447}
20448
20449
1bd55598
RD
20450SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20451 PyObject *resultobj = 0;
20452 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20453 void *argp1 = 0 ;
20454 int res1 = 0 ;
20455 PyObject *swig_obj[1] ;
20456
20457 if (!args) SWIG_fail;
20458 swig_obj[0] = args;
20459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20460 if (!SWIG_IsOK(res1)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20462 }
20463 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 (arg1)->ArrangeIcons();
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 resultobj = SWIG_Py_Void();
20471 return resultobj;
20472fail:
20473 return NULL;
d55e5bfc
RD
20474}
20475
20476
1bd55598
RD
20477SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20478 PyObject *resultobj = 0;
20479 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20480 void *argp1 = 0 ;
20481 int res1 = 0 ;
20482 PyObject *swig_obj[1] ;
20483
20484 if (!args) SWIG_fail;
20485 swig_obj[0] = args;
20486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20487 if (!SWIG_IsOK(res1)) {
20488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20489 }
20490 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20491 {
20492 PyThreadState* __tstate = wxPyBeginAllowThreads();
20493 (arg1)->Cascade();
20494 wxPyEndAllowThreads(__tstate);
20495 if (PyErr_Occurred()) SWIG_fail;
20496 }
20497 resultobj = SWIG_Py_Void();
20498 return resultobj;
20499fail:
20500 return NULL;
d55e5bfc
RD
20501}
20502
20503
1bd55598
RD
20504SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20505 PyObject *resultobj = 0;
20506 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20507 wxMDIChildFrame *result = 0 ;
20508 void *argp1 = 0 ;
20509 int res1 = 0 ;
20510 PyObject *swig_obj[1] ;
20511
20512 if (!args) SWIG_fail;
20513 swig_obj[0] = args;
20514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20515 if (!SWIG_IsOK(res1)) {
20516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20517 }
20518 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20522 wxPyEndAllowThreads(__tstate);
20523 if (PyErr_Occurred()) SWIG_fail;
20524 }
20525 {
20526 resultobj = wxPyMake_wxObject(result, (bool)0);
20527 }
20528 return resultobj;
20529fail:
20530 return NULL;
d55e5bfc
RD
20531}
20532
20533
1bd55598
RD
20534SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20535 PyObject *resultobj = 0;
20536 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20537 wxMDIClientWindow *result = 0 ;
20538 void *argp1 = 0 ;
20539 int res1 = 0 ;
20540 PyObject *swig_obj[1] ;
20541
20542 if (!args) SWIG_fail;
20543 swig_obj[0] = args;
20544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20545 if (!SWIG_IsOK(res1)) {
20546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20547 }
20548 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20549 {
20550 PyThreadState* __tstate = wxPyBeginAllowThreads();
20551 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20552 wxPyEndAllowThreads(__tstate);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 {
20556 resultobj = wxPyMake_wxObject(result, (bool)0);
20557 }
20558 return resultobj;
20559fail:
20560 return NULL;
d55e5bfc
RD
20561}
20562
20563
1bd55598
RD
20564SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20565 PyObject *resultobj = 0;
20566 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20567 wxWindow *result = 0 ;
20568 void *argp1 = 0 ;
20569 int res1 = 0 ;
20570 PyObject *swig_obj[1] ;
20571
20572 if (!args) SWIG_fail;
20573 swig_obj[0] = args;
20574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20575 if (!SWIG_IsOK(res1)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20577 }
20578 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20579 {
20580 PyThreadState* __tstate = wxPyBeginAllowThreads();
20581 result = (wxWindow *)(arg1)->GetToolBar();
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 {
20586 resultobj = wxPyMake_wxObject(result, 0);
20587 }
20588 return resultobj;
20589fail:
20590 return NULL;
20591}
20592
20593
20594SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20595 PyObject *resultobj = 0;
20596 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20597 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20598 void *argp1 = 0 ;
20599 int res1 = 0 ;
20600 int val2 ;
20601 int ecode2 = 0 ;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 char * kwnames[] = {
20605 (char *) "self",(char *) "orient", NULL
20606 };
20607
20608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20610 if (!SWIG_IsOK(res1)) {
20611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20612 }
20613 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20614 if (obj1) {
20615 ecode2 = SWIG_AsVal_int(obj1, &val2);
20616 if (!SWIG_IsOK(ecode2)) {
20617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20618 }
20619 arg2 = static_cast< wxOrientation >(val2);
20620 }
20621 {
20622 PyThreadState* __tstate = wxPyBeginAllowThreads();
20623 (arg1)->Tile(arg2);
20624 wxPyEndAllowThreads(__tstate);
20625 if (PyErr_Occurred()) SWIG_fail;
20626 }
20627 resultobj = SWIG_Py_Void();
20628 return resultobj;
20629fail:
20630 return NULL;
20631}
20632
20633
20634SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20635 PyObject *obj;
20636 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20637 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20638 return SWIG_Py_Void();
20639}
20640
20641SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20642 return SWIG_Python_InitShadowInstance(args);
20643}
20644
20645SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20646 PyObject *resultobj = 0;
20647 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20648 int arg2 = (int) (int)-1 ;
20649 wxString const &arg3_defvalue = wxPyEmptyString ;
20650 wxString *arg3 = (wxString *) &arg3_defvalue ;
20651 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20652 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20653 wxSize const &arg5_defvalue = wxDefaultSize ;
20654 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20655 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20656 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20657 wxString *arg7 = (wxString *) &arg7_defvalue ;
20658 wxMDIChildFrame *result = 0 ;
20659 void *argp1 = 0 ;
20660 int res1 = 0 ;
20661 int val2 ;
20662 int ecode2 = 0 ;
20663 bool temp3 = false ;
20664 wxPoint temp4 ;
20665 wxSize temp5 ;
20666 long val6 ;
20667 int ecode6 = 0 ;
20668 bool temp7 = false ;
20669 PyObject * obj0 = 0 ;
20670 PyObject * obj1 = 0 ;
20671 PyObject * obj2 = 0 ;
20672 PyObject * obj3 = 0 ;
20673 PyObject * obj4 = 0 ;
20674 PyObject * obj5 = 0 ;
20675 PyObject * obj6 = 0 ;
20676 char * kwnames[] = {
20677 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20678 };
20679
20680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20682 if (!SWIG_IsOK(res1)) {
20683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20684 }
20685 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20686 if (obj1) {
20687 ecode2 = SWIG_AsVal_int(obj1, &val2);
20688 if (!SWIG_IsOK(ecode2)) {
20689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20690 }
20691 arg2 = static_cast< int >(val2);
20692 }
20693 if (obj2) {
d55e5bfc 20694 {
1bd55598
RD
20695 arg3 = wxString_in_helper(obj2);
20696 if (arg3 == NULL) SWIG_fail;
20697 temp3 = true;
d55e5bfc 20698 }
1bd55598
RD
20699 }
20700 if (obj3) {
d55e5bfc 20701 {
1bd55598
RD
20702 arg4 = &temp4;
20703 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20704 }
1bd55598
RD
20705 }
20706 if (obj4) {
d55e5bfc 20707 {
1bd55598
RD
20708 arg5 = &temp5;
20709 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20710 }
1bd55598
RD
20711 }
20712 if (obj5) {
20713 ecode6 = SWIG_AsVal_long(obj5, &val6);
20714 if (!SWIG_IsOK(ecode6)) {
20715 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20716 }
20717 arg6 = static_cast< long >(val6);
20718 }
20719 if (obj6) {
d55e5bfc 20720 {
1bd55598
RD
20721 arg7 = wxString_in_helper(obj6);
20722 if (arg7 == NULL) SWIG_fail;
20723 temp7 = true;
d55e5bfc 20724 }
1bd55598
RD
20725 }
20726 {
20727 if (!wxPyCheckForApp()) SWIG_fail;
20728 PyThreadState* __tstate = wxPyBeginAllowThreads();
20729 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20730 wxPyEndAllowThreads(__tstate);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
20733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
20734 {
20735 if (temp3)
20736 delete arg3;
20737 }
20738 {
20739 if (temp7)
20740 delete arg7;
20741 }
20742 return resultobj;
20743fail:
20744 {
20745 if (temp3)
20746 delete arg3;
20747 }
20748 {
20749 if (temp7)
20750 delete arg7;
20751 }
20752 return NULL;
d55e5bfc
RD
20753}
20754
20755
1bd55598
RD
20756SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20757 PyObject *resultobj = 0;
20758 wxMDIChildFrame *result = 0 ;
20759
20760 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
20761 {
20762 if (!wxPyCheckForApp()) SWIG_fail;
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 result = (wxMDIChildFrame *)new wxMDIChildFrame();
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
20769 return resultobj;
20770fail:
20771 return NULL;
20772}
20773
20774
20775SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20776 PyObject *resultobj = 0;
20777 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20778 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20779 int arg3 = (int) (int)-1 ;
20780 wxString const &arg4_defvalue = wxPyEmptyString ;
20781 wxString *arg4 = (wxString *) &arg4_defvalue ;
20782 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20783 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20784 wxSize const &arg6_defvalue = wxDefaultSize ;
20785 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20786 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
20787 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20788 wxString *arg8 = (wxString *) &arg8_defvalue ;
20789 bool result;
20790 void *argp1 = 0 ;
20791 int res1 = 0 ;
20792 void *argp2 = 0 ;
20793 int res2 = 0 ;
20794 int val3 ;
20795 int ecode3 = 0 ;
20796 bool temp4 = false ;
20797 wxPoint temp5 ;
20798 wxSize temp6 ;
20799 long val7 ;
20800 int ecode7 = 0 ;
20801 bool temp8 = false ;
20802 PyObject * obj0 = 0 ;
20803 PyObject * obj1 = 0 ;
20804 PyObject * obj2 = 0 ;
20805 PyObject * obj3 = 0 ;
20806 PyObject * obj4 = 0 ;
20807 PyObject * obj5 = 0 ;
20808 PyObject * obj6 = 0 ;
20809 PyObject * obj7 = 0 ;
20810 char * kwnames[] = {
20811 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20812 };
20813
20814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20816 if (!SWIG_IsOK(res1)) {
20817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20818 }
20819 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20820 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20821 if (!SWIG_IsOK(res2)) {
20822 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20823 }
20824 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
20825 if (obj2) {
20826 ecode3 = SWIG_AsVal_int(obj2, &val3);
20827 if (!SWIG_IsOK(ecode3)) {
20828 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20829 }
20830 arg3 = static_cast< int >(val3);
20831 }
20832 if (obj3) {
36ed4f51 20833 {
1bd55598
RD
20834 arg4 = wxString_in_helper(obj3);
20835 if (arg4 == NULL) SWIG_fail;
20836 temp4 = true;
36ed4f51 20837 }
1bd55598
RD
20838 }
20839 if (obj4) {
d55e5bfc 20840 {
1bd55598
RD
20841 arg5 = &temp5;
20842 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20843 }
1bd55598
RD
20844 }
20845 if (obj5) {
d55e5bfc 20846 {
1bd55598
RD
20847 arg6 = &temp6;
20848 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 20849 }
1bd55598
RD
20850 }
20851 if (obj6) {
20852 ecode7 = SWIG_AsVal_long(obj6, &val7);
20853 if (!SWIG_IsOK(ecode7)) {
20854 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20855 }
20856 arg7 = static_cast< long >(val7);
20857 }
20858 if (obj7) {
36ed4f51 20859 {
1bd55598
RD
20860 arg8 = wxString_in_helper(obj7);
20861 if (arg8 == NULL) SWIG_fail;
20862 temp8 = true;
36ed4f51 20863 }
1bd55598
RD
20864 }
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 {
20872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20873 }
20874 {
20875 if (temp4)
20876 delete arg4;
20877 }
20878 {
20879 if (temp8)
20880 delete arg8;
20881 }
20882 return resultobj;
20883fail:
20884 {
20885 if (temp4)
20886 delete arg4;
20887 }
20888 {
20889 if (temp8)
20890 delete arg8;
20891 }
20892 return NULL;
d55e5bfc
RD
20893}
20894
20895
1bd55598
RD
20896SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20897 PyObject *resultobj = 0;
20898 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
20899 void *argp1 = 0 ;
20900 int res1 = 0 ;
20901 PyObject *swig_obj[1] ;
20902
20903 if (!args) SWIG_fail;
20904 swig_obj[0] = args;
20905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
20906 if (!SWIG_IsOK(res1)) {
20907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20908 }
20909 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
20910 {
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 (arg1)->Activate();
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 resultobj = SWIG_Py_Void();
20917 return resultobj;
20918fail:
20919 return NULL;
d55e5bfc
RD
20920}
20921
20922
1bd55598
RD
20923SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20924 PyObject *obj;
20925 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20926 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
20927 return SWIG_Py_Void();
d55e5bfc
RD
20928}
20929
1bd55598
RD
20930SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20931 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
20932}
20933
1bd55598
RD
20934SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20935 PyObject *resultobj = 0;
20936 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20937 long arg2 = (long) 0 ;
20938 wxMDIClientWindow *result = 0 ;
20939 void *argp1 = 0 ;
20940 int res1 = 0 ;
20941 long val2 ;
20942 int ecode2 = 0 ;
20943 PyObject * obj0 = 0 ;
20944 PyObject * obj1 = 0 ;
20945 char * kwnames[] = {
20946 (char *) "parent",(char *) "style", NULL
20947 };
20948
20949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
20950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20951 if (!SWIG_IsOK(res1)) {
20952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20953 }
20954 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20955 if (obj1) {
20956 ecode2 = SWIG_AsVal_long(obj1, &val2);
20957 if (!SWIG_IsOK(ecode2)) {
20958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20959 }
20960 arg2 = static_cast< long >(val2);
20961 }
20962 {
20963 if (!wxPyCheckForApp()) SWIG_fail;
20964 PyThreadState* __tstate = wxPyBeginAllowThreads();
20965 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
20966 wxPyEndAllowThreads(__tstate);
20967 if (PyErr_Occurred()) SWIG_fail;
20968 }
20969 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
20970 return resultobj;
20971fail:
20972 return NULL;
d55e5bfc
RD
20973}
20974
20975
1bd55598
RD
20976SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20977 PyObject *resultobj = 0;
20978 wxMDIClientWindow *result = 0 ;
20979
20980 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
20981 {
20982 if (!wxPyCheckForApp()) SWIG_fail;
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 result = (wxMDIClientWindow *)new wxMDIClientWindow();
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
20989 return resultobj;
20990fail:
20991 return NULL;
20992}
20993
20994
20995SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20996 PyObject *resultobj = 0;
20997 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
20998 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
20999 long arg3 = (long) 0 ;
21000 bool result;
21001 void *argp1 = 0 ;
21002 int res1 = 0 ;
21003 void *argp2 = 0 ;
21004 int res2 = 0 ;
21005 long val3 ;
21006 int ecode3 = 0 ;
21007 PyObject * obj0 = 0 ;
21008 PyObject * obj1 = 0 ;
21009 PyObject * obj2 = 0 ;
21010 char * kwnames[] = {
21011 (char *) "self",(char *) "parent",(char *) "style", NULL
21012 };
21013
21014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21016 if (!SWIG_IsOK(res1)) {
21017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21018 }
21019 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21020 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21021 if (!SWIG_IsOK(res2)) {
21022 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21023 }
21024 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21025 if (obj2) {
21026 ecode3 = SWIG_AsVal_long(obj2, &val3);
21027 if (!SWIG_IsOK(ecode3)) {
21028 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21029 }
21030 arg3 = static_cast< long >(val3);
21031 }
21032 {
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 result = (bool)(arg1)->Create(arg2,arg3);
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 {
21039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21040 }
21041 return resultobj;
21042fail:
21043 return NULL;
21044}
21045
21046
21047SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21048 PyObject *obj;
21049 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21050 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21051 return SWIG_Py_Void();
21052}
21053
21054SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21055 return SWIG_Python_InitShadowInstance(args);
21056}
21057
21058SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21059 PyObject *resultobj = 0;
21060 wxWindow *arg1 = (wxWindow *) 0 ;
21061 int arg2 = (int) (int)-1 ;
21062 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21063 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21064 wxSize const &arg4_defvalue = wxDefaultSize ;
21065 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21066 long arg5 = (long) 0 ;
21067 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21068 wxString *arg6 = (wxString *) &arg6_defvalue ;
21069 wxPyWindow *result = 0 ;
21070 void *argp1 = 0 ;
21071 int res1 = 0 ;
21072 int val2 ;
21073 int ecode2 = 0 ;
21074 wxPoint temp3 ;
21075 wxSize temp4 ;
21076 long val5 ;
21077 int ecode5 = 0 ;
21078 bool temp6 = false ;
21079 PyObject * obj0 = 0 ;
21080 PyObject * obj1 = 0 ;
21081 PyObject * obj2 = 0 ;
21082 PyObject * obj3 = 0 ;
21083 PyObject * obj4 = 0 ;
21084 PyObject * obj5 = 0 ;
21085 char * kwnames[] = {
21086 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21087 };
21088
21089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21091 if (!SWIG_IsOK(res1)) {
21092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21093 }
21094 arg1 = reinterpret_cast< wxWindow * >(argp1);
21095 if (obj1) {
21096 ecode2 = SWIG_AsVal_int(obj1, &val2);
21097 if (!SWIG_IsOK(ecode2)) {
21098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21099 }
21100 arg2 = static_cast< int >(val2);
21101 }
21102 if (obj2) {
32fe5131 21103 {
1bd55598
RD
21104 arg3 = &temp3;
21105 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 21106 }
1bd55598
RD
21107 }
21108 if (obj3) {
32fe5131 21109 {
1bd55598
RD
21110 arg4 = &temp4;
21111 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 21112 }
1bd55598
RD
21113 }
21114 if (obj4) {
21115 ecode5 = SWIG_AsVal_long(obj4, &val5);
21116 if (!SWIG_IsOK(ecode5)) {
21117 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21118 }
21119 arg5 = static_cast< long >(val5);
21120 }
21121 if (obj5) {
32fe5131 21122 {
1bd55598
RD
21123 arg6 = wxString_in_helper(obj5);
21124 if (arg6 == NULL) SWIG_fail;
21125 temp6 = true;
32fe5131 21126 }
1bd55598
RD
21127 }
21128 {
21129 if (!wxPyCheckForApp()) SWIG_fail;
21130 PyThreadState* __tstate = wxPyBeginAllowThreads();
21131 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21132 wxPyEndAllowThreads(__tstate);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 }
21135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21136 {
21137 if (temp6)
21138 delete arg6;
21139 }
21140 return resultobj;
21141fail:
21142 {
21143 if (temp6)
21144 delete arg6;
21145 }
21146 return NULL;
32fe5131
RD
21147}
21148
21149
1bd55598
RD
21150SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21151 PyObject *resultobj = 0;
21152 wxPyWindow *result = 0 ;
21153
21154 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21155 {
21156 if (!wxPyCheckForApp()) SWIG_fail;
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 result = (wxPyWindow *)new wxPyWindow();
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21163 return resultobj;
21164fail:
21165 return NULL;
21166}
21167
21168
21169SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21170 PyObject *resultobj = 0;
21171 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21172 PyObject *arg2 = (PyObject *) 0 ;
21173 PyObject *arg3 = (PyObject *) 0 ;
21174 void *argp1 = 0 ;
21175 int res1 = 0 ;
21176 PyObject * obj0 = 0 ;
21177 PyObject * obj1 = 0 ;
21178 PyObject * obj2 = 0 ;
21179 char * kwnames[] = {
21180 (char *) "self",(char *) "self",(char *) "_class", NULL
21181 };
21182
21183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21184 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21185 if (!SWIG_IsOK(res1)) {
21186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21187 }
21188 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21189 arg2 = obj1;
21190 arg3 = obj2;
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 (arg1)->_setCallbackInfo(arg2,arg3);
21194 wxPyEndAllowThreads(__tstate);
21195 if (PyErr_Occurred()) SWIG_fail;
21196 }
21197 resultobj = SWIG_Py_Void();
21198 return resultobj;
21199fail:
21200 return NULL;
21201}
21202
21203
21204SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21205 PyObject *resultobj = 0;
21206 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21207 wxSize *arg2 = 0 ;
21208 void *argp1 = 0 ;
21209 int res1 = 0 ;
21210 wxSize temp2 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char * kwnames[] = {
21214 (char *) "self",(char *) "size", NULL
21215 };
21216
21217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21219 if (!SWIG_IsOK(res1)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21221 }
21222 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21223 {
21224 arg2 = &temp2;
21225 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21226 }
21227 {
21228 PyThreadState* __tstate = wxPyBeginAllowThreads();
21229 (arg1)->SetBestSize((wxSize const &)*arg2);
21230 wxPyEndAllowThreads(__tstate);
21231 if (PyErr_Occurred()) SWIG_fail;
21232 }
21233 resultobj = SWIG_Py_Void();
21234 return resultobj;
21235fail:
21236 return NULL;
21237}
21238
21239
21240SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj = 0;
21242 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21243 wxDC *arg2 = (wxDC *) 0 ;
21244 bool result;
21245 void *argp1 = 0 ;
21246 int res1 = 0 ;
21247 void *argp2 = 0 ;
21248 int res2 = 0 ;
21249 PyObject * obj0 = 0 ;
21250 PyObject * obj1 = 0 ;
21251 char * kwnames[] = {
21252 (char *) "self",(char *) "dc", NULL
21253 };
21254
21255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21257 if (!SWIG_IsOK(res1)) {
21258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21259 }
21260 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21261 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21262 if (!SWIG_IsOK(res2)) {
21263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21264 }
21265 arg2 = reinterpret_cast< wxDC * >(argp2);
21266 {
21267 PyThreadState* __tstate = wxPyBeginAllowThreads();
21268 result = (bool)(arg1)->DoEraseBackground(arg2);
21269 wxPyEndAllowThreads(__tstate);
21270 if (PyErr_Occurred()) SWIG_fail;
21271 }
21272 {
21273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21274 }
21275 return resultobj;
21276fail:
21277 return NULL;
21278}
21279
21280
21281SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21282 PyObject *resultobj = 0;
21283 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21284 int arg2 ;
21285 int arg3 ;
21286 int arg4 ;
21287 int arg5 ;
21288 void *argp1 = 0 ;
21289 int res1 = 0 ;
21290 int val2 ;
21291 int ecode2 = 0 ;
21292 int val3 ;
21293 int ecode3 = 0 ;
21294 int val4 ;
21295 int ecode4 = 0 ;
21296 int val5 ;
21297 int ecode5 = 0 ;
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 PyObject * obj2 = 0 ;
21301 PyObject * obj3 = 0 ;
21302 PyObject * obj4 = 0 ;
21303 char * kwnames[] = {
21304 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21305 };
21306
21307 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21308 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21309 if (!SWIG_IsOK(res1)) {
21310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21311 }
21312 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21313 ecode2 = SWIG_AsVal_int(obj1, &val2);
21314 if (!SWIG_IsOK(ecode2)) {
21315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21316 }
21317 arg2 = static_cast< int >(val2);
21318 ecode3 = SWIG_AsVal_int(obj2, &val3);
21319 if (!SWIG_IsOK(ecode3)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21321 }
21322 arg3 = static_cast< int >(val3);
21323 ecode4 = SWIG_AsVal_int(obj3, &val4);
21324 if (!SWIG_IsOK(ecode4)) {
21325 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21326 }
21327 arg4 = static_cast< int >(val4);
21328 ecode5 = SWIG_AsVal_int(obj4, &val5);
21329 if (!SWIG_IsOK(ecode5)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21331 }
21332 arg5 = static_cast< int >(val5);
21333 {
21334 PyThreadState* __tstate = wxPyBeginAllowThreads();
21335 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 resultobj = SWIG_Py_Void();
21340 return resultobj;
21341fail:
21342 return NULL;
21343}
21344
21345
21346SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21347 PyObject *resultobj = 0;
21348 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21349 int arg2 ;
21350 int arg3 ;
21351 int arg4 ;
21352 int arg5 ;
21353 int arg6 = (int) wxSIZE_AUTO ;
21354 void *argp1 = 0 ;
21355 int res1 = 0 ;
21356 int val2 ;
21357 int ecode2 = 0 ;
21358 int val3 ;
21359 int ecode3 = 0 ;
21360 int val4 ;
21361 int ecode4 = 0 ;
21362 int val5 ;
21363 int ecode5 = 0 ;
21364 int val6 ;
21365 int ecode6 = 0 ;
21366 PyObject * obj0 = 0 ;
21367 PyObject * obj1 = 0 ;
21368 PyObject * obj2 = 0 ;
21369 PyObject * obj3 = 0 ;
21370 PyObject * obj4 = 0 ;
21371 PyObject * obj5 = 0 ;
21372 char * kwnames[] = {
21373 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21374 };
21375
21376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21378 if (!SWIG_IsOK(res1)) {
21379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21380 }
21381 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21382 ecode2 = SWIG_AsVal_int(obj1, &val2);
21383 if (!SWIG_IsOK(ecode2)) {
21384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21385 }
21386 arg2 = static_cast< int >(val2);
21387 ecode3 = SWIG_AsVal_int(obj2, &val3);
21388 if (!SWIG_IsOK(ecode3)) {
21389 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21390 }
21391 arg3 = static_cast< int >(val3);
21392 ecode4 = SWIG_AsVal_int(obj3, &val4);
21393 if (!SWIG_IsOK(ecode4)) {
21394 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21395 }
21396 arg4 = static_cast< int >(val4);
21397 ecode5 = SWIG_AsVal_int(obj4, &val5);
21398 if (!SWIG_IsOK(ecode5)) {
21399 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21400 }
21401 arg5 = static_cast< int >(val5);
21402 if (obj5) {
21403 ecode6 = SWIG_AsVal_int(obj5, &val6);
21404 if (!SWIG_IsOK(ecode6)) {
21405 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21406 }
21407 arg6 = static_cast< int >(val6);
21408 }
21409 {
21410 PyThreadState* __tstate = wxPyBeginAllowThreads();
21411 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21412 wxPyEndAllowThreads(__tstate);
21413 if (PyErr_Occurred()) SWIG_fail;
21414 }
21415 resultobj = SWIG_Py_Void();
21416 return resultobj;
21417fail:
21418 return NULL;
21419}
21420
21421
21422SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21423 PyObject *resultobj = 0;
21424 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21425 int arg2 ;
21426 int arg3 ;
21427 void *argp1 = 0 ;
21428 int res1 = 0 ;
21429 int val2 ;
21430 int ecode2 = 0 ;
21431 int val3 ;
21432 int ecode3 = 0 ;
21433 PyObject * obj0 = 0 ;
21434 PyObject * obj1 = 0 ;
21435 PyObject * obj2 = 0 ;
21436 char * kwnames[] = {
21437 (char *) "self",(char *) "width",(char *) "height", NULL
21438 };
21439
21440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) 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_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21444 }
21445 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21446 ecode2 = SWIG_AsVal_int(obj1, &val2);
21447 if (!SWIG_IsOK(ecode2)) {
21448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21449 }
21450 arg2 = static_cast< int >(val2);
21451 ecode3 = SWIG_AsVal_int(obj2, &val3);
21452 if (!SWIG_IsOK(ecode3)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21454 }
21455 arg3 = static_cast< int >(val3);
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 (arg1)->DoSetClientSize(arg2,arg3);
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 resultobj = SWIG_Py_Void();
21463 return resultobj;
21464fail:
21465 return NULL;
21466}
21467
21468
21469SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj = 0;
21471 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21472 int arg2 ;
21473 int arg3 ;
21474 void *argp1 = 0 ;
21475 int res1 = 0 ;
21476 int val2 ;
21477 int ecode2 = 0 ;
21478 int val3 ;
21479 int ecode3 = 0 ;
21480 PyObject * obj0 = 0 ;
21481 PyObject * obj1 = 0 ;
21482 PyObject * obj2 = 0 ;
21483 char * kwnames[] = {
21484 (char *) "self",(char *) "x",(char *) "y", NULL
21485 };
21486
21487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21489 if (!SWIG_IsOK(res1)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21491 }
21492 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21493 ecode2 = SWIG_AsVal_int(obj1, &val2);
21494 if (!SWIG_IsOK(ecode2)) {
21495 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21496 }
21497 arg2 = static_cast< int >(val2);
21498 ecode3 = SWIG_AsVal_int(obj2, &val3);
21499 if (!SWIG_IsOK(ecode3)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21501 }
21502 arg3 = static_cast< int >(val3);
21503 {
21504 PyThreadState* __tstate = wxPyBeginAllowThreads();
21505 (arg1)->DoSetVirtualSize(arg2,arg3);
21506 wxPyEndAllowThreads(__tstate);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 }
21509 resultobj = SWIG_Py_Void();
21510 return resultobj;
21511fail:
21512 return NULL;
21513}
21514
21515
21516SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21517 PyObject *resultobj = 0;
21518 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21519 int *arg2 = (int *) 0 ;
21520 int *arg3 = (int *) 0 ;
21521 void *argp1 = 0 ;
21522 int res1 = 0 ;
21523 int temp2 ;
21524 int res2 = SWIG_TMPOBJ ;
21525 int temp3 ;
21526 int res3 = SWIG_TMPOBJ ;
21527 PyObject *swig_obj[1] ;
21528
21529 arg2 = &temp2;
21530 arg3 = &temp3;
21531 if (!args) SWIG_fail;
21532 swig_obj[0] = args;
21533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21534 if (!SWIG_IsOK(res1)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21536 }
21537 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21538 {
21539 PyThreadState* __tstate = wxPyBeginAllowThreads();
21540 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21541 wxPyEndAllowThreads(__tstate);
21542 if (PyErr_Occurred()) SWIG_fail;
21543 }
21544 resultobj = SWIG_Py_Void();
21545 if (SWIG_IsTmpObj(res2)) {
21546 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21547 } else {
21548 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21549 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21550 }
21551 if (SWIG_IsTmpObj(res3)) {
21552 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21553 } else {
21554 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21556 }
21557 return resultobj;
21558fail:
21559 return NULL;
21560}
21561
21562
21563SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21564 PyObject *resultobj = 0;
21565 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21566 int *arg2 = (int *) 0 ;
21567 int *arg3 = (int *) 0 ;
21568 void *argp1 = 0 ;
21569 int res1 = 0 ;
21570 int temp2 ;
21571 int res2 = SWIG_TMPOBJ ;
21572 int temp3 ;
21573 int res3 = SWIG_TMPOBJ ;
21574 PyObject *swig_obj[1] ;
21575
21576 arg2 = &temp2;
21577 arg3 = &temp3;
21578 if (!args) SWIG_fail;
21579 swig_obj[0] = args;
21580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21581 if (!SWIG_IsOK(res1)) {
21582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21583 }
21584 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21585 {
21586 PyThreadState* __tstate = wxPyBeginAllowThreads();
21587 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 resultobj = SWIG_Py_Void();
21592 if (SWIG_IsTmpObj(res2)) {
21593 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21594 } else {
21595 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21596 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21597 }
21598 if (SWIG_IsTmpObj(res3)) {
21599 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21600 } else {
21601 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21602 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21603 }
21604 return resultobj;
21605fail:
21606 return NULL;
21607}
21608
21609
21610SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21611 PyObject *resultobj = 0;
21612 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21613 int *arg2 = (int *) 0 ;
21614 int *arg3 = (int *) 0 ;
21615 void *argp1 = 0 ;
21616 int res1 = 0 ;
21617 int temp2 ;
21618 int res2 = SWIG_TMPOBJ ;
21619 int temp3 ;
21620 int res3 = SWIG_TMPOBJ ;
21621 PyObject *swig_obj[1] ;
21622
21623 arg2 = &temp2;
21624 arg3 = &temp3;
21625 if (!args) SWIG_fail;
21626 swig_obj[0] = args;
21627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21628 if (!SWIG_IsOK(res1)) {
21629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21630 }
21631 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21635 wxPyEndAllowThreads(__tstate);
21636 if (PyErr_Occurred()) SWIG_fail;
21637 }
21638 resultobj = SWIG_Py_Void();
21639 if (SWIG_IsTmpObj(res2)) {
21640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21641 } else {
21642 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21643 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21644 }
21645 if (SWIG_IsTmpObj(res3)) {
21646 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21647 } else {
21648 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21650 }
21651 return resultobj;
21652fail:
21653 return NULL;
d55e5bfc
RD
21654}
21655
21656
1bd55598
RD
21657SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21658 PyObject *resultobj = 0;
21659 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21660 wxSize result;
21661 void *argp1 = 0 ;
21662 int res1 = 0 ;
21663 PyObject *swig_obj[1] ;
21664
21665 if (!args) SWIG_fail;
21666 swig_obj[0] = args;
21667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21668 if (!SWIG_IsOK(res1)) {
21669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21670 }
21671 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21679 return resultobj;
21680fail:
21681 return NULL;
d55e5bfc
RD
21682}
21683
21684
1bd55598
RD
21685SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21686 PyObject *resultobj = 0;
21687 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21688 wxSize result;
21689 void *argp1 = 0 ;
21690 int res1 = 0 ;
21691 PyObject *swig_obj[1] ;
21692
21693 if (!args) SWIG_fail;
21694 swig_obj[0] = args;
21695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21696 if (!SWIG_IsOK(res1)) {
21697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21698 }
21699 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21700 {
21701 PyThreadState* __tstate = wxPyBeginAllowThreads();
21702 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21707 return resultobj;
21708fail:
21709 return NULL;
d55e5bfc
RD
21710}
21711
21712
1bd55598
RD
21713SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21714 PyObject *resultobj = 0;
21715 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21716 SwigValueWrapper<wxVisualAttributes > result;
21717 void *argp1 = 0 ;
21718 int res1 = 0 ;
21719 PyObject *swig_obj[1] ;
21720
21721 if (!args) SWIG_fail;
21722 swig_obj[0] = args;
21723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21724 if (!SWIG_IsOK(res1)) {
21725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21726 }
21727 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 result = (arg1)->GetDefaultAttributes();
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
21735 return resultobj;
21736fail:
21737 return NULL;
d55e5bfc
RD
21738}
21739
21740
1bd55598
RD
21741SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21742 PyObject *resultobj = 0;
21743 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21744 void *argp1 = 0 ;
21745 int res1 = 0 ;
21746 PyObject *swig_obj[1] ;
21747
21748 if (!args) SWIG_fail;
21749 swig_obj[0] = args;
21750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21751 if (!SWIG_IsOK(res1)) {
21752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21753 }
21754 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21755 {
21756 PyThreadState* __tstate = wxPyBeginAllowThreads();
21757 (arg1)->OnInternalIdle();
21758 wxPyEndAllowThreads(__tstate);
21759 if (PyErr_Occurred()) SWIG_fail;
21760 }
21761 resultobj = SWIG_Py_Void();
21762 return resultobj;
21763fail:
21764 return NULL;
21765}
21766
21767
21768SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21769 PyObject *obj;
21770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
21772 return SWIG_Py_Void();
21773}
21774
21775SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21776 return SWIG_Python_InitShadowInstance(args);
21777}
21778
21779SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21780 PyObject *resultobj = 0;
21781 wxWindow *arg1 = (wxWindow *) 0 ;
21782 int arg2 = (int) (int)-1 ;
21783 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21784 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21785 wxSize const &arg4_defvalue = wxDefaultSize ;
21786 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21787 long arg5 = (long) 0 ;
21788 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21789 wxString *arg6 = (wxString *) &arg6_defvalue ;
21790 wxPyPanel *result = 0 ;
21791 void *argp1 = 0 ;
21792 int res1 = 0 ;
21793 int val2 ;
21794 int ecode2 = 0 ;
21795 wxPoint temp3 ;
21796 wxSize temp4 ;
21797 long val5 ;
21798 int ecode5 = 0 ;
21799 bool temp6 = false ;
21800 PyObject * obj0 = 0 ;
21801 PyObject * obj1 = 0 ;
21802 PyObject * obj2 = 0 ;
21803 PyObject * obj3 = 0 ;
21804 PyObject * obj4 = 0 ;
21805 PyObject * obj5 = 0 ;
21806 char * kwnames[] = {
21807 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21808 };
21809
21810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21812 if (!SWIG_IsOK(res1)) {
21813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21814 }
21815 arg1 = reinterpret_cast< wxWindow * >(argp1);
21816 if (obj1) {
21817 ecode2 = SWIG_AsVal_int(obj1, &val2);
21818 if (!SWIG_IsOK(ecode2)) {
21819 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21820 }
21821 arg2 = static_cast< int >(val2);
21822 }
21823 if (obj2) {
d55e5bfc 21824 {
1bd55598
RD
21825 arg3 = &temp3;
21826 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 21827 }
1bd55598
RD
21828 }
21829 if (obj3) {
d55e5bfc 21830 {
1bd55598
RD
21831 arg4 = &temp4;
21832 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21833 }
1bd55598
RD
21834 }
21835 if (obj4) {
21836 ecode5 = SWIG_AsVal_long(obj4, &val5);
21837 if (!SWIG_IsOK(ecode5)) {
21838 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21839 }
21840 arg5 = static_cast< long >(val5);
21841 }
21842 if (obj5) {
d55e5bfc 21843 {
1bd55598
RD
21844 arg6 = wxString_in_helper(obj5);
21845 if (arg6 == NULL) SWIG_fail;
21846 temp6 = true;
d55e5bfc 21847 }
1bd55598
RD
21848 }
21849 {
21850 if (!wxPyCheckForApp()) SWIG_fail;
21851 PyThreadState* __tstate = wxPyBeginAllowThreads();
21852 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21853 wxPyEndAllowThreads(__tstate);
21854 if (PyErr_Occurred()) SWIG_fail;
21855 }
21856 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
21857 {
21858 if (temp6)
21859 delete arg6;
21860 }
21861 return resultobj;
21862fail:
21863 {
21864 if (temp6)
21865 delete arg6;
21866 }
21867 return NULL;
d55e5bfc
RD
21868}
21869
21870
1bd55598
RD
21871SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21872 PyObject *resultobj = 0;
21873 wxPyPanel *result = 0 ;
21874
21875 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
21876 {
21877 if (!wxPyCheckForApp()) SWIG_fail;
21878 PyThreadState* __tstate = wxPyBeginAllowThreads();
21879 result = (wxPyPanel *)new wxPyPanel();
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
21884 return resultobj;
21885fail:
21886 return NULL;
21887}
21888
21889
21890SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21891 PyObject *resultobj = 0;
21892 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21893 PyObject *arg2 = (PyObject *) 0 ;
21894 PyObject *arg3 = (PyObject *) 0 ;
21895 void *argp1 = 0 ;
21896 int res1 = 0 ;
21897 PyObject * obj0 = 0 ;
21898 PyObject * obj1 = 0 ;
21899 PyObject * obj2 = 0 ;
21900 char * kwnames[] = {
21901 (char *) "self",(char *) "self",(char *) "_class", NULL
21902 };
21903
21904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21906 if (!SWIG_IsOK(res1)) {
21907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21908 }
21909 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21910 arg2 = obj1;
21911 arg3 = obj2;
21912 {
21913 PyThreadState* __tstate = wxPyBeginAllowThreads();
21914 (arg1)->_setCallbackInfo(arg2,arg3);
21915 wxPyEndAllowThreads(__tstate);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 resultobj = SWIG_Py_Void();
21919 return resultobj;
21920fail:
21921 return NULL;
21922}
21923
21924
21925SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj = 0;
21927 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21928 wxSize *arg2 = 0 ;
21929 void *argp1 = 0 ;
21930 int res1 = 0 ;
21931 wxSize temp2 ;
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 char * kwnames[] = {
21935 (char *) "self",(char *) "size", NULL
21936 };
21937
21938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21940 if (!SWIG_IsOK(res1)) {
21941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21942 }
21943 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21944 {
21945 arg2 = &temp2;
21946 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21947 }
21948 {
21949 PyThreadState* __tstate = wxPyBeginAllowThreads();
21950 (arg1)->SetBestSize((wxSize const &)*arg2);
21951 wxPyEndAllowThreads(__tstate);
21952 if (PyErr_Occurred()) SWIG_fail;
21953 }
21954 resultobj = SWIG_Py_Void();
21955 return resultobj;
21956fail:
21957 return NULL;
21958}
21959
21960
21961SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj = 0;
21963 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
21964 wxDC *arg2 = (wxDC *) 0 ;
21965 bool result;
21966 void *argp1 = 0 ;
21967 int res1 = 0 ;
21968 void *argp2 = 0 ;
21969 int res2 = 0 ;
21970 PyObject * obj0 = 0 ;
21971 PyObject * obj1 = 0 ;
21972 char * kwnames[] = {
21973 (char *) "self",(char *) "dc", NULL
21974 };
21975
21976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
21978 if (!SWIG_IsOK(res1)) {
21979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21980 }
21981 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
21982 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21983 if (!SWIG_IsOK(res2)) {
21984 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21985 }
21986 arg2 = reinterpret_cast< wxDC * >(argp2);
21987 {
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 result = (bool)(arg1)->DoEraseBackground(arg2);
21990 wxPyEndAllowThreads(__tstate);
21991 if (PyErr_Occurred()) SWIG_fail;
21992 }
21993 {
21994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21995 }
21996 return resultobj;
21997fail:
21998 return NULL;
21999}
22000
22001
22002SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22003 PyObject *resultobj = 0;
22004 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22005 int arg2 ;
22006 int arg3 ;
22007 int arg4 ;
22008 int arg5 ;
22009 void *argp1 = 0 ;
22010 int res1 = 0 ;
22011 int val2 ;
22012 int ecode2 = 0 ;
22013 int val3 ;
22014 int ecode3 = 0 ;
22015 int val4 ;
22016 int ecode4 = 0 ;
22017 int val5 ;
22018 int ecode5 = 0 ;
22019 PyObject * obj0 = 0 ;
22020 PyObject * obj1 = 0 ;
22021 PyObject * obj2 = 0 ;
22022 PyObject * obj3 = 0 ;
22023 PyObject * obj4 = 0 ;
22024 char * kwnames[] = {
22025 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22026 };
22027
22028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22030 if (!SWIG_IsOK(res1)) {
22031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22032 }
22033 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22034 ecode2 = SWIG_AsVal_int(obj1, &val2);
22035 if (!SWIG_IsOK(ecode2)) {
22036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22037 }
22038 arg2 = static_cast< int >(val2);
22039 ecode3 = SWIG_AsVal_int(obj2, &val3);
22040 if (!SWIG_IsOK(ecode3)) {
22041 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22042 }
22043 arg3 = static_cast< int >(val3);
22044 ecode4 = SWIG_AsVal_int(obj3, &val4);
22045 if (!SWIG_IsOK(ecode4)) {
22046 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22047 }
22048 arg4 = static_cast< int >(val4);
22049 ecode5 = SWIG_AsVal_int(obj4, &val5);
22050 if (!SWIG_IsOK(ecode5)) {
22051 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22052 }
22053 arg5 = static_cast< int >(val5);
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22057 wxPyEndAllowThreads(__tstate);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 }
22060 resultobj = SWIG_Py_Void();
22061 return resultobj;
22062fail:
22063 return NULL;
22064}
22065
22066
22067SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22068 PyObject *resultobj = 0;
22069 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22070 int arg2 ;
22071 int arg3 ;
22072 int arg4 ;
22073 int arg5 ;
22074 int arg6 = (int) wxSIZE_AUTO ;
22075 void *argp1 = 0 ;
22076 int res1 = 0 ;
22077 int val2 ;
22078 int ecode2 = 0 ;
22079 int val3 ;
22080 int ecode3 = 0 ;
22081 int val4 ;
22082 int ecode4 = 0 ;
22083 int val5 ;
22084 int ecode5 = 0 ;
22085 int val6 ;
22086 int ecode6 = 0 ;
22087 PyObject * obj0 = 0 ;
22088 PyObject * obj1 = 0 ;
22089 PyObject * obj2 = 0 ;
22090 PyObject * obj3 = 0 ;
22091 PyObject * obj4 = 0 ;
22092 PyObject * obj5 = 0 ;
22093 char * kwnames[] = {
22094 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22095 };
22096
22097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22099 if (!SWIG_IsOK(res1)) {
22100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22101 }
22102 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22103 ecode2 = SWIG_AsVal_int(obj1, &val2);
22104 if (!SWIG_IsOK(ecode2)) {
22105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22106 }
22107 arg2 = static_cast< int >(val2);
22108 ecode3 = SWIG_AsVal_int(obj2, &val3);
22109 if (!SWIG_IsOK(ecode3)) {
22110 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22111 }
22112 arg3 = static_cast< int >(val3);
22113 ecode4 = SWIG_AsVal_int(obj3, &val4);
22114 if (!SWIG_IsOK(ecode4)) {
22115 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22116 }
22117 arg4 = static_cast< int >(val4);
22118 ecode5 = SWIG_AsVal_int(obj4, &val5);
22119 if (!SWIG_IsOK(ecode5)) {
22120 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22121 }
22122 arg5 = static_cast< int >(val5);
22123 if (obj5) {
22124 ecode6 = SWIG_AsVal_int(obj5, &val6);
22125 if (!SWIG_IsOK(ecode6)) {
22126 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22127 }
22128 arg6 = static_cast< int >(val6);
22129 }
22130 {
22131 PyThreadState* __tstate = wxPyBeginAllowThreads();
22132 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22133 wxPyEndAllowThreads(__tstate);
22134 if (PyErr_Occurred()) SWIG_fail;
22135 }
22136 resultobj = SWIG_Py_Void();
22137 return resultobj;
22138fail:
22139 return NULL;
22140}
22141
22142
22143SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22144 PyObject *resultobj = 0;
22145 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22146 int arg2 ;
22147 int arg3 ;
22148 void *argp1 = 0 ;
22149 int res1 = 0 ;
22150 int val2 ;
22151 int ecode2 = 0 ;
22152 int val3 ;
22153 int ecode3 = 0 ;
22154 PyObject * obj0 = 0 ;
22155 PyObject * obj1 = 0 ;
22156 PyObject * obj2 = 0 ;
22157 char * kwnames[] = {
22158 (char *) "self",(char *) "width",(char *) "height", NULL
22159 };
22160
22161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) 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_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22165 }
22166 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22167 ecode2 = SWIG_AsVal_int(obj1, &val2);
22168 if (!SWIG_IsOK(ecode2)) {
22169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22170 }
22171 arg2 = static_cast< int >(val2);
22172 ecode3 = SWIG_AsVal_int(obj2, &val3);
22173 if (!SWIG_IsOK(ecode3)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22175 }
22176 arg3 = static_cast< int >(val3);
22177 {
22178 PyThreadState* __tstate = wxPyBeginAllowThreads();
22179 (arg1)->DoSetClientSize(arg2,arg3);
22180 wxPyEndAllowThreads(__tstate);
22181 if (PyErr_Occurred()) SWIG_fail;
22182 }
22183 resultobj = SWIG_Py_Void();
22184 return resultobj;
22185fail:
22186 return NULL;
22187}
22188
22189
22190SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22191 PyObject *resultobj = 0;
22192 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22193 int arg2 ;
22194 int arg3 ;
22195 void *argp1 = 0 ;
22196 int res1 = 0 ;
22197 int val2 ;
22198 int ecode2 = 0 ;
22199 int val3 ;
22200 int ecode3 = 0 ;
22201 PyObject * obj0 = 0 ;
22202 PyObject * obj1 = 0 ;
22203 PyObject * obj2 = 0 ;
22204 char * kwnames[] = {
22205 (char *) "self",(char *) "x",(char *) "y", NULL
22206 };
22207
22208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22210 if (!SWIG_IsOK(res1)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22212 }
22213 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22214 ecode2 = SWIG_AsVal_int(obj1, &val2);
22215 if (!SWIG_IsOK(ecode2)) {
22216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22217 }
22218 arg2 = static_cast< int >(val2);
22219 ecode3 = SWIG_AsVal_int(obj2, &val3);
22220 if (!SWIG_IsOK(ecode3)) {
22221 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22222 }
22223 arg3 = static_cast< int >(val3);
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 (arg1)->DoSetVirtualSize(arg2,arg3);
22227 wxPyEndAllowThreads(__tstate);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 }
22230 resultobj = SWIG_Py_Void();
22231 return resultobj;
22232fail:
22233 return NULL;
22234}
22235
22236
22237SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22238 PyObject *resultobj = 0;
22239 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22240 int *arg2 = (int *) 0 ;
22241 int *arg3 = (int *) 0 ;
22242 void *argp1 = 0 ;
22243 int res1 = 0 ;
22244 int temp2 ;
22245 int res2 = SWIG_TMPOBJ ;
22246 int temp3 ;
22247 int res3 = SWIG_TMPOBJ ;
22248 PyObject *swig_obj[1] ;
22249
22250 arg2 = &temp2;
22251 arg3 = &temp3;
22252 if (!args) SWIG_fail;
22253 swig_obj[0] = args;
22254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22255 if (!SWIG_IsOK(res1)) {
22256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22257 }
22258 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22262 wxPyEndAllowThreads(__tstate);
22263 if (PyErr_Occurred()) SWIG_fail;
22264 }
22265 resultobj = SWIG_Py_Void();
22266 if (SWIG_IsTmpObj(res2)) {
22267 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22268 } else {
22269 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22270 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22271 }
22272 if (SWIG_IsTmpObj(res3)) {
22273 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22274 } else {
22275 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22276 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22277 }
22278 return resultobj;
22279fail:
22280 return NULL;
22281}
22282
22283
22284SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22285 PyObject *resultobj = 0;
22286 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22287 int *arg2 = (int *) 0 ;
22288 int *arg3 = (int *) 0 ;
22289 void *argp1 = 0 ;
22290 int res1 = 0 ;
22291 int temp2 ;
22292 int res2 = SWIG_TMPOBJ ;
22293 int temp3 ;
22294 int res3 = SWIG_TMPOBJ ;
22295 PyObject *swig_obj[1] ;
22296
22297 arg2 = &temp2;
22298 arg3 = &temp3;
22299 if (!args) SWIG_fail;
22300 swig_obj[0] = args;
22301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22302 if (!SWIG_IsOK(res1)) {
22303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22304 }
22305 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22309 wxPyEndAllowThreads(__tstate);
22310 if (PyErr_Occurred()) SWIG_fail;
22311 }
22312 resultobj = SWIG_Py_Void();
22313 if (SWIG_IsTmpObj(res2)) {
22314 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22315 } else {
22316 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22317 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22318 }
22319 if (SWIG_IsTmpObj(res3)) {
22320 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22321 } else {
22322 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22323 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22324 }
22325 return resultobj;
22326fail:
22327 return NULL;
22328}
22329
22330
22331SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22332 PyObject *resultobj = 0;
22333 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22334 int *arg2 = (int *) 0 ;
22335 int *arg3 = (int *) 0 ;
22336 void *argp1 = 0 ;
22337 int res1 = 0 ;
22338 int temp2 ;
22339 int res2 = SWIG_TMPOBJ ;
22340 int temp3 ;
22341 int res3 = SWIG_TMPOBJ ;
22342 PyObject *swig_obj[1] ;
22343
22344 arg2 = &temp2;
22345 arg3 = &temp3;
22346 if (!args) SWIG_fail;
22347 swig_obj[0] = args;
22348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22349 if (!SWIG_IsOK(res1)) {
22350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22351 }
22352 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22353 {
22354 PyThreadState* __tstate = wxPyBeginAllowThreads();
22355 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 resultobj = SWIG_Py_Void();
22360 if (SWIG_IsTmpObj(res2)) {
22361 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22362 } else {
22363 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22364 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22365 }
22366 if (SWIG_IsTmpObj(res3)) {
22367 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22368 } else {
22369 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22370 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22371 }
22372 return resultobj;
22373fail:
22374 return NULL;
d55e5bfc
RD
22375}
22376
22377
1bd55598
RD
22378SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22379 PyObject *resultobj = 0;
22380 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22381 wxSize result;
22382 void *argp1 = 0 ;
22383 int res1 = 0 ;
22384 PyObject *swig_obj[1] ;
22385
22386 if (!args) SWIG_fail;
22387 swig_obj[0] = args;
22388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22389 if (!SWIG_IsOK(res1)) {
22390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22391 }
22392 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22393 {
22394 PyThreadState* __tstate = wxPyBeginAllowThreads();
22395 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22396 wxPyEndAllowThreads(__tstate);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22400 return resultobj;
22401fail:
22402 return NULL;
d55e5bfc
RD
22403}
22404
22405
1bd55598
RD
22406SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22407 PyObject *resultobj = 0;
22408 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22409 wxSize result;
22410 void *argp1 = 0 ;
22411 int res1 = 0 ;
22412 PyObject *swig_obj[1] ;
22413
22414 if (!args) SWIG_fail;
22415 swig_obj[0] = args;
22416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22417 if (!SWIG_IsOK(res1)) {
22418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22419 }
22420 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22424 wxPyEndAllowThreads(__tstate);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22428 return resultobj;
22429fail:
22430 return NULL;
d55e5bfc
RD
22431}
22432
22433
1bd55598
RD
22434SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22435 PyObject *resultobj = 0;
22436 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22437 SwigValueWrapper<wxVisualAttributes > result;
22438 void *argp1 = 0 ;
22439 int res1 = 0 ;
22440 PyObject *swig_obj[1] ;
22441
22442 if (!args) SWIG_fail;
22443 swig_obj[0] = args;
22444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22445 if (!SWIG_IsOK(res1)) {
22446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22447 }
22448 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 result = (arg1)->GetDefaultAttributes();
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22456 return resultobj;
22457fail:
22458 return NULL;
d55e5bfc
RD
22459}
22460
22461
1bd55598
RD
22462SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22463 PyObject *resultobj = 0;
22464 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22465 void *argp1 = 0 ;
22466 int res1 = 0 ;
22467 PyObject *swig_obj[1] ;
22468
22469 if (!args) SWIG_fail;
22470 swig_obj[0] = args;
22471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22472 if (!SWIG_IsOK(res1)) {
22473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22474 }
22475 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22476 {
22477 PyThreadState* __tstate = wxPyBeginAllowThreads();
22478 (arg1)->OnInternalIdle();
22479 wxPyEndAllowThreads(__tstate);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 resultobj = SWIG_Py_Void();
22483 return resultobj;
22484fail:
22485 return NULL;
22486}
22487
22488
22489SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22490 PyObject *obj;
22491 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22492 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22493 return SWIG_Py_Void();
22494}
22495
22496SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22497 return SWIG_Python_InitShadowInstance(args);
22498}
22499
22500SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj = 0;
22502 wxWindow *arg1 = (wxWindow *) 0 ;
22503 int arg2 = (int) (int)-1 ;
22504 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22505 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22506 wxSize const &arg4_defvalue = wxDefaultSize ;
22507 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22508 long arg5 = (long) 0 ;
22509 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22510 wxString *arg6 = (wxString *) &arg6_defvalue ;
22511 wxPyScrolledWindow *result = 0 ;
22512 void *argp1 = 0 ;
22513 int res1 = 0 ;
22514 int val2 ;
22515 int ecode2 = 0 ;
22516 wxPoint temp3 ;
22517 wxSize temp4 ;
22518 long val5 ;
22519 int ecode5 = 0 ;
22520 bool temp6 = false ;
22521 PyObject * obj0 = 0 ;
22522 PyObject * obj1 = 0 ;
22523 PyObject * obj2 = 0 ;
22524 PyObject * obj3 = 0 ;
22525 PyObject * obj4 = 0 ;
22526 PyObject * obj5 = 0 ;
22527 char * kwnames[] = {
22528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22529 };
22530
22531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22533 if (!SWIG_IsOK(res1)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22535 }
22536 arg1 = reinterpret_cast< wxWindow * >(argp1);
22537 if (obj1) {
22538 ecode2 = SWIG_AsVal_int(obj1, &val2);
22539 if (!SWIG_IsOK(ecode2)) {
22540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22541 }
22542 arg2 = static_cast< int >(val2);
22543 }
22544 if (obj2) {
d55e5bfc 22545 {
1bd55598
RD
22546 arg3 = &temp3;
22547 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22548 }
1bd55598
RD
22549 }
22550 if (obj3) {
d55e5bfc 22551 {
1bd55598
RD
22552 arg4 = &temp4;
22553 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22554 }
1bd55598
RD
22555 }
22556 if (obj4) {
22557 ecode5 = SWIG_AsVal_long(obj4, &val5);
22558 if (!SWIG_IsOK(ecode5)) {
22559 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22560 }
22561 arg5 = static_cast< long >(val5);
22562 }
22563 if (obj5) {
d55e5bfc 22564 {
1bd55598
RD
22565 arg6 = wxString_in_helper(obj5);
22566 if (arg6 == NULL) SWIG_fail;
22567 temp6 = true;
d55e5bfc 22568 }
1bd55598
RD
22569 }
22570 {
22571 if (!wxPyCheckForApp()) SWIG_fail;
22572 PyThreadState* __tstate = wxPyBeginAllowThreads();
22573 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22578 {
22579 if (temp6)
22580 delete arg6;
22581 }
22582 return resultobj;
22583fail:
22584 {
22585 if (temp6)
22586 delete arg6;
22587 }
22588 return NULL;
d55e5bfc
RD
22589}
22590
22591
1bd55598
RD
22592SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22593 PyObject *resultobj = 0;
22594 wxPyScrolledWindow *result = 0 ;
22595
22596 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22597 {
22598 if (!wxPyCheckForApp()) SWIG_fail;
22599 PyThreadState* __tstate = wxPyBeginAllowThreads();
22600 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22605 return resultobj;
22606fail:
22607 return NULL;
22608}
22609
22610
22611SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22612 PyObject *resultobj = 0;
22613 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22614 PyObject *arg2 = (PyObject *) 0 ;
22615 PyObject *arg3 = (PyObject *) 0 ;
22616 void *argp1 = 0 ;
22617 int res1 = 0 ;
22618 PyObject * obj0 = 0 ;
22619 PyObject * obj1 = 0 ;
22620 PyObject * obj2 = 0 ;
22621 char * kwnames[] = {
22622 (char *) "self",(char *) "self",(char *) "_class", NULL
22623 };
22624
22625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22627 if (!SWIG_IsOK(res1)) {
22628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22629 }
22630 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22631 arg2 = obj1;
22632 arg3 = obj2;
22633 {
22634 PyThreadState* __tstate = wxPyBeginAllowThreads();
22635 (arg1)->_setCallbackInfo(arg2,arg3);
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 resultobj = SWIG_Py_Void();
22640 return resultobj;
22641fail:
22642 return NULL;
22643}
22644
22645
22646SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22647 PyObject *resultobj = 0;
22648 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22649 wxSize *arg2 = 0 ;
22650 void *argp1 = 0 ;
22651 int res1 = 0 ;
22652 wxSize temp2 ;
22653 PyObject * obj0 = 0 ;
22654 PyObject * obj1 = 0 ;
22655 char * kwnames[] = {
22656 (char *) "self",(char *) "size", NULL
22657 };
22658
22659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22661 if (!SWIG_IsOK(res1)) {
22662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22663 }
22664 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22665 {
22666 arg2 = &temp2;
22667 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22668 }
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 (arg1)->SetBestSize((wxSize const &)*arg2);
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 resultobj = SWIG_Py_Void();
22676 return resultobj;
22677fail:
22678 return NULL;
22679}
22680
22681
22682SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22683 PyObject *resultobj = 0;
22684 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22685 wxDC *arg2 = (wxDC *) 0 ;
22686 bool result;
22687 void *argp1 = 0 ;
22688 int res1 = 0 ;
22689 void *argp2 = 0 ;
22690 int res2 = 0 ;
22691 PyObject * obj0 = 0 ;
22692 PyObject * obj1 = 0 ;
22693 char * kwnames[] = {
22694 (char *) "self",(char *) "dc", NULL
22695 };
22696
22697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22699 if (!SWIG_IsOK(res1)) {
22700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22701 }
22702 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22703 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22704 if (!SWIG_IsOK(res2)) {
22705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22706 }
22707 arg2 = reinterpret_cast< wxDC * >(argp2);
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 result = (bool)(arg1)->DoEraseBackground(arg2);
22711 wxPyEndAllowThreads(__tstate);
22712 if (PyErr_Occurred()) SWIG_fail;
22713 }
22714 {
22715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22716 }
22717 return resultobj;
22718fail:
22719 return NULL;
22720}
22721
22722
22723SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22724 PyObject *resultobj = 0;
22725 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22726 int arg2 ;
22727 int arg3 ;
22728 int arg4 ;
22729 int arg5 ;
22730 void *argp1 = 0 ;
22731 int res1 = 0 ;
22732 int val2 ;
22733 int ecode2 = 0 ;
22734 int val3 ;
22735 int ecode3 = 0 ;
22736 int val4 ;
22737 int ecode4 = 0 ;
22738 int val5 ;
22739 int ecode5 = 0 ;
22740 PyObject * obj0 = 0 ;
22741 PyObject * obj1 = 0 ;
22742 PyObject * obj2 = 0 ;
22743 PyObject * obj3 = 0 ;
22744 PyObject * obj4 = 0 ;
22745 char * kwnames[] = {
22746 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22747 };
22748
22749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22751 if (!SWIG_IsOK(res1)) {
22752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22753 }
22754 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22755 ecode2 = SWIG_AsVal_int(obj1, &val2);
22756 if (!SWIG_IsOK(ecode2)) {
22757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22758 }
22759 arg2 = static_cast< int >(val2);
22760 ecode3 = SWIG_AsVal_int(obj2, &val3);
22761 if (!SWIG_IsOK(ecode3)) {
22762 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22763 }
22764 arg3 = static_cast< int >(val3);
22765 ecode4 = SWIG_AsVal_int(obj3, &val4);
22766 if (!SWIG_IsOK(ecode4)) {
22767 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22768 }
22769 arg4 = static_cast< int >(val4);
22770 ecode5 = SWIG_AsVal_int(obj4, &val5);
22771 if (!SWIG_IsOK(ecode5)) {
22772 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22773 }
22774 arg5 = static_cast< int >(val5);
22775 {
22776 PyThreadState* __tstate = wxPyBeginAllowThreads();
22777 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22778 wxPyEndAllowThreads(__tstate);
22779 if (PyErr_Occurred()) SWIG_fail;
22780 }
22781 resultobj = SWIG_Py_Void();
22782 return resultobj;
22783fail:
22784 return NULL;
22785}
22786
22787
22788SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22789 PyObject *resultobj = 0;
22790 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22791 int arg2 ;
22792 int arg3 ;
22793 int arg4 ;
22794 int arg5 ;
22795 int arg6 = (int) wxSIZE_AUTO ;
22796 void *argp1 = 0 ;
22797 int res1 = 0 ;
22798 int val2 ;
22799 int ecode2 = 0 ;
22800 int val3 ;
22801 int ecode3 = 0 ;
22802 int val4 ;
22803 int ecode4 = 0 ;
22804 int val5 ;
22805 int ecode5 = 0 ;
22806 int val6 ;
22807 int ecode6 = 0 ;
22808 PyObject * obj0 = 0 ;
22809 PyObject * obj1 = 0 ;
22810 PyObject * obj2 = 0 ;
22811 PyObject * obj3 = 0 ;
22812 PyObject * obj4 = 0 ;
22813 PyObject * obj5 = 0 ;
22814 char * kwnames[] = {
22815 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22816 };
22817
22818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22820 if (!SWIG_IsOK(res1)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22822 }
22823 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22824 ecode2 = SWIG_AsVal_int(obj1, &val2);
22825 if (!SWIG_IsOK(ecode2)) {
22826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22827 }
22828 arg2 = static_cast< int >(val2);
22829 ecode3 = SWIG_AsVal_int(obj2, &val3);
22830 if (!SWIG_IsOK(ecode3)) {
22831 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22832 }
22833 arg3 = static_cast< int >(val3);
22834 ecode4 = SWIG_AsVal_int(obj3, &val4);
22835 if (!SWIG_IsOK(ecode4)) {
22836 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22837 }
22838 arg4 = static_cast< int >(val4);
22839 ecode5 = SWIG_AsVal_int(obj4, &val5);
22840 if (!SWIG_IsOK(ecode5)) {
22841 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22842 }
22843 arg5 = static_cast< int >(val5);
22844 if (obj5) {
22845 ecode6 = SWIG_AsVal_int(obj5, &val6);
22846 if (!SWIG_IsOK(ecode6)) {
22847 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22848 }
22849 arg6 = static_cast< int >(val6);
22850 }
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22854 wxPyEndAllowThreads(__tstate);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 }
22857 resultobj = SWIG_Py_Void();
22858 return resultobj;
22859fail:
22860 return NULL;
22861}
22862
22863
22864SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22865 PyObject *resultobj = 0;
22866 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22867 int arg2 ;
22868 int arg3 ;
22869 void *argp1 = 0 ;
22870 int res1 = 0 ;
22871 int val2 ;
22872 int ecode2 = 0 ;
22873 int val3 ;
22874 int ecode3 = 0 ;
22875 PyObject * obj0 = 0 ;
22876 PyObject * obj1 = 0 ;
22877 PyObject * obj2 = 0 ;
22878 char * kwnames[] = {
22879 (char *) "self",(char *) "width",(char *) "height", NULL
22880 };
22881
22882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) 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_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22886 }
22887 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22888 ecode2 = SWIG_AsVal_int(obj1, &val2);
22889 if (!SWIG_IsOK(ecode2)) {
22890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22891 }
22892 arg2 = static_cast< int >(val2);
22893 ecode3 = SWIG_AsVal_int(obj2, &val3);
22894 if (!SWIG_IsOK(ecode3)) {
22895 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22896 }
22897 arg3 = static_cast< int >(val3);
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 (arg1)->DoSetClientSize(arg2,arg3);
22901 wxPyEndAllowThreads(__tstate);
22902 if (PyErr_Occurred()) SWIG_fail;
22903 }
22904 resultobj = SWIG_Py_Void();
22905 return resultobj;
22906fail:
22907 return NULL;
22908}
22909
22910
22911SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22912 PyObject *resultobj = 0;
22913 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22914 int arg2 ;
22915 int arg3 ;
22916 void *argp1 = 0 ;
22917 int res1 = 0 ;
22918 int val2 ;
22919 int ecode2 = 0 ;
22920 int val3 ;
22921 int ecode3 = 0 ;
22922 PyObject * obj0 = 0 ;
22923 PyObject * obj1 = 0 ;
22924 PyObject * obj2 = 0 ;
22925 char * kwnames[] = {
22926 (char *) "self",(char *) "x",(char *) "y", NULL
22927 };
22928
22929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22931 if (!SWIG_IsOK(res1)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22933 }
22934 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22935 ecode2 = SWIG_AsVal_int(obj1, &val2);
22936 if (!SWIG_IsOK(ecode2)) {
22937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22938 }
22939 arg2 = static_cast< int >(val2);
22940 ecode3 = SWIG_AsVal_int(obj2, &val3);
22941 if (!SWIG_IsOK(ecode3)) {
22942 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22943 }
22944 arg3 = static_cast< int >(val3);
22945 {
22946 PyThreadState* __tstate = wxPyBeginAllowThreads();
22947 (arg1)->DoSetVirtualSize(arg2,arg3);
22948 wxPyEndAllowThreads(__tstate);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 resultobj = SWIG_Py_Void();
22952 return resultobj;
22953fail:
22954 return NULL;
22955}
22956
22957
22958SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22959 PyObject *resultobj = 0;
22960 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22961 int *arg2 = (int *) 0 ;
22962 int *arg3 = (int *) 0 ;
22963 void *argp1 = 0 ;
22964 int res1 = 0 ;
22965 int temp2 ;
22966 int res2 = SWIG_TMPOBJ ;
22967 int temp3 ;
22968 int res3 = SWIG_TMPOBJ ;
22969 PyObject *swig_obj[1] ;
22970
22971 arg2 = &temp2;
22972 arg3 = &temp3;
22973 if (!args) SWIG_fail;
22974 swig_obj[0] = args;
22975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22976 if (!SWIG_IsOK(res1)) {
22977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22978 }
22979 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22980 {
22981 PyThreadState* __tstate = wxPyBeginAllowThreads();
22982 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 resultobj = SWIG_Py_Void();
22987 if (SWIG_IsTmpObj(res2)) {
22988 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22989 } else {
22990 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22991 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22992 }
22993 if (SWIG_IsTmpObj(res3)) {
22994 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22995 } else {
22996 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22997 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22998 }
22999 return resultobj;
23000fail:
23001 return NULL;
23002}
23003
23004
23005SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23006 PyObject *resultobj = 0;
23007 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23008 int *arg2 = (int *) 0 ;
23009 int *arg3 = (int *) 0 ;
23010 void *argp1 = 0 ;
23011 int res1 = 0 ;
23012 int temp2 ;
23013 int res2 = SWIG_TMPOBJ ;
23014 int temp3 ;
23015 int res3 = SWIG_TMPOBJ ;
23016 PyObject *swig_obj[1] ;
23017
23018 arg2 = &temp2;
23019 arg3 = &temp3;
23020 if (!args) SWIG_fail;
23021 swig_obj[0] = args;
23022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23023 if (!SWIG_IsOK(res1)) {
23024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23025 }
23026 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23030 wxPyEndAllowThreads(__tstate);
23031 if (PyErr_Occurred()) SWIG_fail;
23032 }
23033 resultobj = SWIG_Py_Void();
23034 if (SWIG_IsTmpObj(res2)) {
23035 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23036 } else {
23037 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23038 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23039 }
23040 if (SWIG_IsTmpObj(res3)) {
23041 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23042 } else {
23043 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23044 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23045 }
23046 return resultobj;
23047fail:
23048 return NULL;
23049}
23050
23051
23052SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23053 PyObject *resultobj = 0;
23054 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23055 int *arg2 = (int *) 0 ;
23056 int *arg3 = (int *) 0 ;
23057 void *argp1 = 0 ;
23058 int res1 = 0 ;
23059 int temp2 ;
23060 int res2 = SWIG_TMPOBJ ;
23061 int temp3 ;
23062 int res3 = SWIG_TMPOBJ ;
23063 PyObject *swig_obj[1] ;
23064
23065 arg2 = &temp2;
23066 arg3 = &temp3;
23067 if (!args) SWIG_fail;
23068 swig_obj[0] = args;
23069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23070 if (!SWIG_IsOK(res1)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23072 }
23073 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23074 {
23075 PyThreadState* __tstate = wxPyBeginAllowThreads();
23076 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23077 wxPyEndAllowThreads(__tstate);
23078 if (PyErr_Occurred()) SWIG_fail;
23079 }
23080 resultobj = SWIG_Py_Void();
23081 if (SWIG_IsTmpObj(res2)) {
23082 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23083 } else {
23084 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23085 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23086 }
23087 if (SWIG_IsTmpObj(res3)) {
23088 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23089 } else {
23090 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23091 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23092 }
23093 return resultobj;
23094fail:
23095 return NULL;
d55e5bfc
RD
23096}
23097
23098
1bd55598
RD
23099SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23100 PyObject *resultobj = 0;
23101 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23102 wxSize result;
23103 void *argp1 = 0 ;
23104 int res1 = 0 ;
23105 PyObject *swig_obj[1] ;
23106
23107 if (!args) SWIG_fail;
23108 swig_obj[0] = args;
23109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23110 if (!SWIG_IsOK(res1)) {
23111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23112 }
23113 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23117 wxPyEndAllowThreads(__tstate);
23118 if (PyErr_Occurred()) SWIG_fail;
23119 }
23120 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23121 return resultobj;
23122fail:
23123 return NULL;
d55e5bfc
RD
23124}
23125
23126
1bd55598
RD
23127SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23128 PyObject *resultobj = 0;
23129 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23130 wxSize result;
23131 void *argp1 = 0 ;
23132 int res1 = 0 ;
23133 PyObject *swig_obj[1] ;
23134
23135 if (!args) SWIG_fail;
23136 swig_obj[0] = args;
23137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23138 if (!SWIG_IsOK(res1)) {
23139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23140 }
23141 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23142 {
23143 PyThreadState* __tstate = wxPyBeginAllowThreads();
23144 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23145 wxPyEndAllowThreads(__tstate);
23146 if (PyErr_Occurred()) SWIG_fail;
23147 }
23148 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23149 return resultobj;
23150fail:
23151 return NULL;
d55e5bfc
RD
23152}
23153
23154
1bd55598
RD
23155SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23156 PyObject *resultobj = 0;
23157 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23158 SwigValueWrapper<wxVisualAttributes > result;
23159 void *argp1 = 0 ;
23160 int res1 = 0 ;
23161 PyObject *swig_obj[1] ;
23162
23163 if (!args) SWIG_fail;
23164 swig_obj[0] = args;
23165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23166 if (!SWIG_IsOK(res1)) {
23167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23168 }
23169 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23170 {
23171 PyThreadState* __tstate = wxPyBeginAllowThreads();
23172 result = (arg1)->GetDefaultAttributes();
23173 wxPyEndAllowThreads(__tstate);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 }
23176 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23177 return resultobj;
23178fail:
23179 return NULL;
d55e5bfc
RD
23180}
23181
23182
1bd55598
RD
23183SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23184 PyObject *resultobj = 0;
23185 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23186 void *argp1 = 0 ;
23187 int res1 = 0 ;
23188 PyObject *swig_obj[1] ;
23189
23190 if (!args) SWIG_fail;
23191 swig_obj[0] = args;
23192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23193 if (!SWIG_IsOK(res1)) {
23194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23195 }
23196 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 (arg1)->OnInternalIdle();
23200 wxPyEndAllowThreads(__tstate);
23201 if (PyErr_Occurred()) SWIG_fail;
23202 }
23203 resultobj = SWIG_Py_Void();
23204 return resultobj;
23205fail:
23206 return NULL;
d55e5bfc
RD
23207}
23208
23209
1bd55598
RD
23210SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23211 PyObject *obj;
23212 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23213 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23214 return SWIG_Py_Void();
d55e5bfc
RD
23215}
23216
1bd55598
RD
23217SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23218 return SWIG_Python_InitShadowInstance(args);
23219}
d55e5bfc 23220
1bd55598
RD
23221SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23222 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23223 return 1;
d55e5bfc
RD
23224}
23225
23226
1bd55598
RD
23227SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23228 PyObject *pyobj = 0;
23229
23230 {
d55e5bfc 23231#if wxUSE_UNICODE
1bd55598 23232 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23233#else
1bd55598 23234 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23235#endif
1bd55598
RD
23236 }
23237 return pyobj;
d55e5bfc
RD
23238}
23239
23240
1bd55598
RD
23241SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23242 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23243 return 1;
23244}
23245
23246
23247SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23248 PyObject *pyobj = 0;
23249
23250 {
d55e5bfc 23251#if wxUSE_UNICODE
1bd55598 23252 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23253#else
1bd55598 23254 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23255#endif
1bd55598
RD
23256 }
23257 return pyobj;
d55e5bfc
RD
23258}
23259
23260
1bd55598
RD
23261SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23262 PyObject *resultobj = 0;
23263 wxPrintData *result = 0 ;
23264
23265 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (wxPrintData *)new wxPrintData();
23269 wxPyEndAllowThreads(__tstate);
23270 if (PyErr_Occurred()) SWIG_fail;
23271 }
23272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23273 return resultobj;
23274fail:
23275 return NULL;
d55e5bfc
RD
23276}
23277
23278
1bd55598
RD
23279SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23280 PyObject *resultobj = 0;
23281 wxPrintData *arg1 = 0 ;
23282 wxPrintData *result = 0 ;
23283 void *argp1 = 0 ;
23284 int res1 = 0 ;
23285
23286 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23288 if (!SWIG_IsOK(res1)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23290 }
23291 if (!argp1) {
23292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23293 }
23294 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23302 return resultobj;
23303fail:
23304 return NULL;
d55e5bfc
RD
23305}
23306
23307
1bd55598
RD
23308SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23309 int argc;
23310 PyObject *argv[2];
23311
23312 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23313 --argc;
23314 if (argc == 0) {
23315 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23316 }
23317 if (argc == 1) {
23318 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23319 }
23320
23321fail:
23322 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23323 return NULL;
d55e5bfc
RD
23324}
23325
23326
1bd55598
RD
23327SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23328 PyObject *resultobj = 0;
23329 wxPrintData *arg1 = (wxPrintData *) 0 ;
23330 void *argp1 = 0 ;
23331 int res1 = 0 ;
23332 PyObject *swig_obj[1] ;
23333
23334 if (!args) SWIG_fail;
23335 swig_obj[0] = args;
23336 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23337 if (!SWIG_IsOK(res1)) {
23338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23339 }
23340 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23341 {
23342 PyThreadState* __tstate = wxPyBeginAllowThreads();
23343 delete arg1;
d55e5bfc 23344
1bd55598
RD
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 resultobj = SWIG_Py_Void();
23349 return resultobj;
23350fail:
23351 return NULL;
d55e5bfc
RD
23352}
23353
23354
1bd55598
RD
23355SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23356 PyObject *resultobj = 0;
23357 wxPrintData *arg1 = (wxPrintData *) 0 ;
23358 int result;
23359 void *argp1 = 0 ;
23360 int res1 = 0 ;
23361 PyObject *swig_obj[1] ;
23362
23363 if (!args) SWIG_fail;
23364 swig_obj[0] = args;
23365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23366 if (!SWIG_IsOK(res1)) {
23367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23368 }
23369 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23370 {
23371 PyThreadState* __tstate = wxPyBeginAllowThreads();
23372 result = (int)(arg1)->GetNoCopies();
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 resultobj = SWIG_From_int(static_cast< int >(result));
23377 return resultobj;
23378fail:
23379 return NULL;
d55e5bfc
RD
23380}
23381
23382
1bd55598
RD
23383SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23384 PyObject *resultobj = 0;
23385 wxPrintData *arg1 = (wxPrintData *) 0 ;
23386 bool result;
23387 void *argp1 = 0 ;
23388 int res1 = 0 ;
23389 PyObject *swig_obj[1] ;
23390
23391 if (!args) SWIG_fail;
23392 swig_obj[0] = args;
23393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23394 if (!SWIG_IsOK(res1)) {
23395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23396 }
23397 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23398 {
23399 PyThreadState* __tstate = wxPyBeginAllowThreads();
23400 result = (bool)(arg1)->GetCollate();
23401 wxPyEndAllowThreads(__tstate);
23402 if (PyErr_Occurred()) SWIG_fail;
23403 }
23404 {
23405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23406 }
23407 return resultobj;
23408fail:
23409 return NULL;
d55e5bfc
RD
23410}
23411
23412
1bd55598
RD
23413SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23414 PyObject *resultobj = 0;
23415 wxPrintData *arg1 = (wxPrintData *) 0 ;
23416 int result;
23417 void *argp1 = 0 ;
23418 int res1 = 0 ;
23419 PyObject *swig_obj[1] ;
23420
23421 if (!args) SWIG_fail;
23422 swig_obj[0] = args;
23423 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23424 if (!SWIG_IsOK(res1)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23426 }
23427 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23428 {
23429 PyThreadState* __tstate = wxPyBeginAllowThreads();
23430 result = (int)(arg1)->GetOrientation();
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 resultobj = SWIG_From_int(static_cast< int >(result));
23435 return resultobj;
23436fail:
23437 return NULL;
d55e5bfc
RD
23438}
23439
23440
1bd55598
RD
23441SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23442 PyObject *resultobj = 0;
23443 wxPrintData *arg1 = (wxPrintData *) 0 ;
23444 bool result;
23445 void *argp1 = 0 ;
23446 int res1 = 0 ;
23447 PyObject *swig_obj[1] ;
23448
23449 if (!args) SWIG_fail;
23450 swig_obj[0] = args;
23451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23452 if (!SWIG_IsOK(res1)) {
23453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23454 }
23455 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23456 {
23457 PyThreadState* __tstate = wxPyBeginAllowThreads();
23458 result = (bool)(arg1)->Ok();
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 {
23463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23464 }
23465 return resultobj;
23466fail:
23467 return NULL;
d55e5bfc
RD
23468}
23469
23470
1bd55598
RD
23471SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23472 PyObject *resultobj = 0;
23473 wxPrintData *arg1 = (wxPrintData *) 0 ;
23474 wxString *result = 0 ;
23475 void *argp1 = 0 ;
23476 int res1 = 0 ;
23477 PyObject *swig_obj[1] ;
23478
23479 if (!args) SWIG_fail;
23480 swig_obj[0] = args;
23481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23482 if (!SWIG_IsOK(res1)) {
23483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23484 }
23485 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23486 {
23487 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23488 {
1bd55598
RD
23489 wxString const &_result_ref = (arg1)->GetPrinterName();
23490 result = (wxString *) &_result_ref;
d55e5bfc 23491 }
1bd55598
RD
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 {
d55e5bfc 23496#if wxUSE_UNICODE
1bd55598 23497 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23498#else
1bd55598 23499 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23500#endif
1bd55598
RD
23501 }
23502 return resultobj;
23503fail:
23504 return NULL;
d55e5bfc
RD
23505}
23506
23507
1bd55598
RD
23508SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23509 PyObject *resultobj = 0;
23510 wxPrintData *arg1 = (wxPrintData *) 0 ;
23511 bool result;
23512 void *argp1 = 0 ;
23513 int res1 = 0 ;
23514 PyObject *swig_obj[1] ;
23515
23516 if (!args) SWIG_fail;
23517 swig_obj[0] = args;
23518 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23519 if (!SWIG_IsOK(res1)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23521 }
23522 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23523 {
23524 PyThreadState* __tstate = wxPyBeginAllowThreads();
23525 result = (bool)(arg1)->GetColour();
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 {
23530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23531 }
23532 return resultobj;
23533fail:
23534 return NULL;
d55e5bfc
RD
23535}
23536
23537
1bd55598
RD
23538SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23539 PyObject *resultobj = 0;
23540 wxPrintData *arg1 = (wxPrintData *) 0 ;
23541 wxDuplexMode result;
23542 void *argp1 = 0 ;
23543 int res1 = 0 ;
23544 PyObject *swig_obj[1] ;
23545
23546 if (!args) SWIG_fail;
23547 swig_obj[0] = args;
23548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23549 if (!SWIG_IsOK(res1)) {
23550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23551 }
23552 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23553 {
23554 PyThreadState* __tstate = wxPyBeginAllowThreads();
23555 result = (wxDuplexMode)(arg1)->GetDuplex();
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 resultobj = SWIG_From_int(static_cast< int >(result));
23560 return resultobj;
23561fail:
23562 return NULL;
d55e5bfc
RD
23563}
23564
23565
1bd55598
RD
23566SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23567 PyObject *resultobj = 0;
23568 wxPrintData *arg1 = (wxPrintData *) 0 ;
23569 wxPaperSize result;
23570 void *argp1 = 0 ;
23571 int res1 = 0 ;
23572 PyObject *swig_obj[1] ;
23573
23574 if (!args) SWIG_fail;
23575 swig_obj[0] = args;
23576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23577 if (!SWIG_IsOK(res1)) {
23578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23579 }
23580 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23581 {
23582 PyThreadState* __tstate = wxPyBeginAllowThreads();
23583 result = (wxPaperSize)(arg1)->GetPaperId();
23584 wxPyEndAllowThreads(__tstate);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 }
23587 resultobj = SWIG_From_int(static_cast< int >(result));
23588 return resultobj;
23589fail:
23590 return NULL;
070c48b4
RD
23591}
23592
23593
1bd55598
RD
23594SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23595 PyObject *resultobj = 0;
23596 wxPrintData *arg1 = (wxPrintData *) 0 ;
23597 wxSize *result = 0 ;
23598 void *argp1 = 0 ;
23599 int res1 = 0 ;
23600 PyObject *swig_obj[1] ;
23601
23602 if (!args) SWIG_fail;
23603 swig_obj[0] = args;
23604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23605 if (!SWIG_IsOK(res1)) {
23606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23607 }
23608 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23609 {
23610 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 23611 {
1bd55598
RD
23612 wxSize const &_result_ref = (arg1)->GetPaperSize();
23613 result = (wxSize *) &_result_ref;
070c48b4 23614 }
1bd55598
RD
23615 wxPyEndAllowThreads(__tstate);
23616 if (PyErr_Occurred()) SWIG_fail;
23617 }
23618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23619 return resultobj;
23620fail:
23621 return NULL;
d55e5bfc
RD
23622}
23623
23624
1bd55598
RD
23625SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23626 PyObject *resultobj = 0;
23627 wxPrintData *arg1 = (wxPrintData *) 0 ;
23628 int result;
23629 void *argp1 = 0 ;
23630 int res1 = 0 ;
23631 PyObject *swig_obj[1] ;
23632
23633 if (!args) SWIG_fail;
23634 swig_obj[0] = args;
23635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23636 if (!SWIG_IsOK(res1)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23638 }
23639 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 result = (int)(arg1)->GetQuality();
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 resultobj = SWIG_From_int(static_cast< int >(result));
23647 return resultobj;
23648fail:
23649 return NULL;
d55e5bfc
RD
23650}
23651
23652
1bd55598
RD
23653SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23654 PyObject *resultobj = 0;
23655 wxPrintData *arg1 = (wxPrintData *) 0 ;
23656 wxPrintBin result;
23657 void *argp1 = 0 ;
23658 int res1 = 0 ;
23659 PyObject *swig_obj[1] ;
23660
23661 if (!args) SWIG_fail;
23662 swig_obj[0] = args;
23663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23664 if (!SWIG_IsOK(res1)) {
23665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23666 }
23667 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 result = (wxPrintBin)(arg1)->GetBin();
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 resultobj = SWIG_From_int(static_cast< int >(result));
23675 return resultobj;
23676fail:
23677 return NULL;
d55e5bfc
RD
23678}
23679
23680
1bd55598
RD
23681SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23682 PyObject *resultobj = 0;
23683 wxPrintData *arg1 = (wxPrintData *) 0 ;
23684 wxPrintMode result;
23685 void *argp1 = 0 ;
23686 int res1 = 0 ;
23687 PyObject *swig_obj[1] ;
23688
23689 if (!args) SWIG_fail;
23690 swig_obj[0] = args;
23691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23692 if (!SWIG_IsOK(res1)) {
23693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23694 }
23695 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 resultobj = SWIG_From_int(static_cast< int >(result));
23703 return resultobj;
23704fail:
23705 return NULL;
23706}
23707
23708
23709SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj = 0;
23711 wxPrintData *arg1 = (wxPrintData *) 0 ;
23712 int arg2 ;
23713 void *argp1 = 0 ;
23714 int res1 = 0 ;
23715 int val2 ;
23716 int ecode2 = 0 ;
23717 PyObject * obj0 = 0 ;
23718 PyObject * obj1 = 0 ;
23719 char * kwnames[] = {
23720 (char *) "self",(char *) "v", NULL
23721 };
23722
23723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23725 if (!SWIG_IsOK(res1)) {
23726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23727 }
23728 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23729 ecode2 = SWIG_AsVal_int(obj1, &val2);
23730 if (!SWIG_IsOK(ecode2)) {
23731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23732 }
23733 arg2 = static_cast< int >(val2);
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 (arg1)->SetNoCopies(arg2);
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 resultobj = SWIG_Py_Void();
23741 return resultobj;
23742fail:
23743 return NULL;
23744}
23745
23746
23747SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23748 PyObject *resultobj = 0;
23749 wxPrintData *arg1 = (wxPrintData *) 0 ;
23750 bool arg2 ;
23751 void *argp1 = 0 ;
23752 int res1 = 0 ;
23753 bool val2 ;
23754 int ecode2 = 0 ;
23755 PyObject * obj0 = 0 ;
23756 PyObject * obj1 = 0 ;
23757 char * kwnames[] = {
23758 (char *) "self",(char *) "flag", NULL
23759 };
23760
23761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
23762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23763 if (!SWIG_IsOK(res1)) {
23764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23765 }
23766 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23767 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23768 if (!SWIG_IsOK(ecode2)) {
23769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23770 }
23771 arg2 = static_cast< bool >(val2);
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 (arg1)->SetCollate(arg2);
23775 wxPyEndAllowThreads(__tstate);
23776 if (PyErr_Occurred()) SWIG_fail;
23777 }
23778 resultobj = SWIG_Py_Void();
23779 return resultobj;
23780fail:
23781 return NULL;
23782}
23783
23784
23785SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23786 PyObject *resultobj = 0;
23787 wxPrintData *arg1 = (wxPrintData *) 0 ;
23788 int arg2 ;
23789 void *argp1 = 0 ;
23790 int res1 = 0 ;
23791 int val2 ;
23792 int ecode2 = 0 ;
23793 PyObject * obj0 = 0 ;
23794 PyObject * obj1 = 0 ;
23795 char * kwnames[] = {
23796 (char *) "self",(char *) "orient", NULL
23797 };
23798
23799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
23800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23801 if (!SWIG_IsOK(res1)) {
23802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23803 }
23804 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23805 ecode2 = SWIG_AsVal_int(obj1, &val2);
23806 if (!SWIG_IsOK(ecode2)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23808 }
23809 arg2 = static_cast< int >(val2);
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 (arg1)->SetOrientation(arg2);
23813 wxPyEndAllowThreads(__tstate);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 }
23816 resultobj = SWIG_Py_Void();
23817 return resultobj;
23818fail:
23819 return NULL;
23820}
23821
23822
23823SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23824 PyObject *resultobj = 0;
23825 wxPrintData *arg1 = (wxPrintData *) 0 ;
23826 wxString *arg2 = 0 ;
23827 void *argp1 = 0 ;
23828 int res1 = 0 ;
23829 bool temp2 = false ;
23830 PyObject * obj0 = 0 ;
23831 PyObject * obj1 = 0 ;
23832 char * kwnames[] = {
23833 (char *) "self",(char *) "name", NULL
23834 };
23835
23836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
23837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23838 if (!SWIG_IsOK(res1)) {
23839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23840 }
23841 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23842 {
23843 arg2 = wxString_in_helper(obj1);
23844 if (arg2 == NULL) SWIG_fail;
23845 temp2 = true;
23846 }
23847 {
23848 PyThreadState* __tstate = wxPyBeginAllowThreads();
23849 (arg1)->SetPrinterName((wxString const &)*arg2);
23850 wxPyEndAllowThreads(__tstate);
23851 if (PyErr_Occurred()) SWIG_fail;
23852 }
23853 resultobj = SWIG_Py_Void();
23854 {
23855 if (temp2)
23856 delete arg2;
23857 }
23858 return resultobj;
23859fail:
23860 {
23861 if (temp2)
23862 delete arg2;
23863 }
23864 return NULL;
23865}
23866
23867
23868SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23869 PyObject *resultobj = 0;
23870 wxPrintData *arg1 = (wxPrintData *) 0 ;
23871 bool arg2 ;
23872 void *argp1 = 0 ;
23873 int res1 = 0 ;
23874 bool val2 ;
23875 int ecode2 = 0 ;
23876 PyObject * obj0 = 0 ;
23877 PyObject * obj1 = 0 ;
23878 char * kwnames[] = {
23879 (char *) "self",(char *) "colour", NULL
23880 };
23881
23882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
23883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23884 if (!SWIG_IsOK(res1)) {
23885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23886 }
23887 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23888 ecode2 = SWIG_AsVal_bool(obj1, &val2);
23889 if (!SWIG_IsOK(ecode2)) {
23890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23891 }
23892 arg2 = static_cast< bool >(val2);
23893 {
23894 PyThreadState* __tstate = wxPyBeginAllowThreads();
23895 (arg1)->SetColour(arg2);
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 resultobj = SWIG_Py_Void();
23900 return resultobj;
23901fail:
23902 return NULL;
23903}
23904
23905
23906SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj = 0;
23908 wxPrintData *arg1 = (wxPrintData *) 0 ;
23909 wxDuplexMode arg2 ;
23910 void *argp1 = 0 ;
23911 int res1 = 0 ;
23912 int val2 ;
23913 int ecode2 = 0 ;
23914 PyObject * obj0 = 0 ;
23915 PyObject * obj1 = 0 ;
23916 char * kwnames[] = {
23917 (char *) "self",(char *) "duplex", NULL
23918 };
23919
23920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
23921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23922 if (!SWIG_IsOK(res1)) {
23923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23924 }
23925 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23926 ecode2 = SWIG_AsVal_int(obj1, &val2);
23927 if (!SWIG_IsOK(ecode2)) {
23928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23929 }
23930 arg2 = static_cast< wxDuplexMode >(val2);
23931 {
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 (arg1)->SetDuplex(arg2);
23934 wxPyEndAllowThreads(__tstate);
23935 if (PyErr_Occurred()) SWIG_fail;
23936 }
23937 resultobj = SWIG_Py_Void();
23938 return resultobj;
23939fail:
23940 return NULL;
23941}
23942
23943
23944SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23945 PyObject *resultobj = 0;
23946 wxPrintData *arg1 = (wxPrintData *) 0 ;
23947 wxPaperSize arg2 ;
23948 void *argp1 = 0 ;
23949 int res1 = 0 ;
23950 int val2 ;
23951 int ecode2 = 0 ;
23952 PyObject * obj0 = 0 ;
23953 PyObject * obj1 = 0 ;
23954 char * kwnames[] = {
23955 (char *) "self",(char *) "sizeId", NULL
23956 };
23957
23958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
23959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23960 if (!SWIG_IsOK(res1)) {
23961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23962 }
23963 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23964 ecode2 = SWIG_AsVal_int(obj1, &val2);
23965 if (!SWIG_IsOK(ecode2)) {
23966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23967 }
23968 arg2 = static_cast< wxPaperSize >(val2);
23969 {
23970 PyThreadState* __tstate = wxPyBeginAllowThreads();
23971 (arg1)->SetPaperId(arg2);
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 resultobj = SWIG_Py_Void();
23976 return resultobj;
23977fail:
23978 return NULL;
23979}
23980
23981
23982SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23983 PyObject *resultobj = 0;
23984 wxPrintData *arg1 = (wxPrintData *) 0 ;
23985 wxSize *arg2 = 0 ;
23986 void *argp1 = 0 ;
23987 int res1 = 0 ;
23988 wxSize temp2 ;
23989 PyObject * obj0 = 0 ;
23990 PyObject * obj1 = 0 ;
23991 char * kwnames[] = {
23992 (char *) "self",(char *) "sz", NULL
23993 };
23994
23995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
23996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23997 if (!SWIG_IsOK(res1)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23999 }
24000 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24001 {
24002 arg2 = &temp2;
24003 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24004 }
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->SetPaperSize((wxSize const &)*arg2);
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 resultobj = SWIG_Py_Void();
24012 return resultobj;
24013fail:
24014 return NULL;
24015}
24016
24017
24018SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj = 0;
24020 wxPrintData *arg1 = (wxPrintData *) 0 ;
24021 int arg2 ;
24022 void *argp1 = 0 ;
24023 int res1 = 0 ;
24024 int val2 ;
24025 int ecode2 = 0 ;
24026 PyObject * obj0 = 0 ;
24027 PyObject * obj1 = 0 ;
24028 char * kwnames[] = {
24029 (char *) "self",(char *) "quality", NULL
24030 };
24031
24032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24034 if (!SWIG_IsOK(res1)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24036 }
24037 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24038 ecode2 = SWIG_AsVal_int(obj1, &val2);
24039 if (!SWIG_IsOK(ecode2)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24041 }
24042 arg2 = static_cast< int >(val2);
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 (arg1)->SetQuality(arg2);
24046 wxPyEndAllowThreads(__tstate);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 }
24049 resultobj = SWIG_Py_Void();
24050 return resultobj;
24051fail:
24052 return NULL;
24053}
24054
24055
24056SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24057 PyObject *resultobj = 0;
24058 wxPrintData *arg1 = (wxPrintData *) 0 ;
24059 wxPrintBin arg2 ;
24060 void *argp1 = 0 ;
24061 int res1 = 0 ;
24062 int val2 ;
24063 int ecode2 = 0 ;
24064 PyObject * obj0 = 0 ;
24065 PyObject * obj1 = 0 ;
24066 char * kwnames[] = {
24067 (char *) "self",(char *) "bin", NULL
24068 };
24069
24070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24072 if (!SWIG_IsOK(res1)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24074 }
24075 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24076 ecode2 = SWIG_AsVal_int(obj1, &val2);
24077 if (!SWIG_IsOK(ecode2)) {
24078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24079 }
24080 arg2 = static_cast< wxPrintBin >(val2);
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 (arg1)->SetBin(arg2);
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 resultobj = SWIG_Py_Void();
24088 return resultobj;
24089fail:
24090 return NULL;
24091}
24092
24093
24094SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24095 PyObject *resultobj = 0;
24096 wxPrintData *arg1 = (wxPrintData *) 0 ;
24097 wxPrintMode arg2 ;
24098 void *argp1 = 0 ;
24099 int res1 = 0 ;
24100 int val2 ;
24101 int ecode2 = 0 ;
24102 PyObject * obj0 = 0 ;
24103 PyObject * obj1 = 0 ;
24104 char * kwnames[] = {
24105 (char *) "self",(char *) "printMode", NULL
24106 };
24107
24108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24110 if (!SWIG_IsOK(res1)) {
24111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24112 }
24113 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24114 ecode2 = SWIG_AsVal_int(obj1, &val2);
24115 if (!SWIG_IsOK(ecode2)) {
24116 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24117 }
24118 arg2 = static_cast< wxPrintMode >(val2);
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 (arg1)->SetPrintMode(arg2);
24122 wxPyEndAllowThreads(__tstate);
24123 if (PyErr_Occurred()) SWIG_fail;
24124 }
24125 resultobj = SWIG_Py_Void();
24126 return resultobj;
24127fail:
24128 return NULL;
24129}
d55e5bfc
RD
24130
24131
1bd55598
RD
24132SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24133 PyObject *resultobj = 0;
24134 wxPrintData *arg1 = (wxPrintData *) 0 ;
24135 wxString result;
24136 void *argp1 = 0 ;
24137 int res1 = 0 ;
24138 PyObject *swig_obj[1] ;
24139
24140 if (!args) SWIG_fail;
24141 swig_obj[0] = args;
24142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24143 if (!SWIG_IsOK(res1)) {
24144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24145 }
24146 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = ((wxPrintData const *)arg1)->GetFilename();
24150 wxPyEndAllowThreads(__tstate);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 {
24154#if wxUSE_UNICODE
24155 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24156#else
24157 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24158#endif
24159 }
24160 return resultobj;
24161fail:
24162 return NULL;
24163}
24164
24165
24166SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24167 PyObject *resultobj = 0;
24168 wxPrintData *arg1 = (wxPrintData *) 0 ;
24169 wxString *arg2 = 0 ;
24170 void *argp1 = 0 ;
24171 int res1 = 0 ;
24172 bool temp2 = false ;
24173 PyObject * obj0 = 0 ;
24174 PyObject * obj1 = 0 ;
24175 char * kwnames[] = {
24176 (char *) "self",(char *) "filename", NULL
24177 };
24178
24179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24181 if (!SWIG_IsOK(res1)) {
24182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24183 }
24184 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24185 {
24186 arg2 = wxString_in_helper(obj1);
24187 if (arg2 == NULL) SWIG_fail;
24188 temp2 = true;
24189 }
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 (arg1)->SetFilename((wxString const &)*arg2);
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 resultobj = SWIG_Py_Void();
24197 {
24198 if (temp2)
24199 delete arg2;
24200 }
24201 return resultobj;
24202fail:
24203 {
24204 if (temp2)
24205 delete arg2;
24206 }
24207 return NULL;
d55e5bfc
RD
24208}
24209
24210
1bd55598
RD
24211SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24212 PyObject *resultobj = 0;
24213 wxPrintData *arg1 = (wxPrintData *) 0 ;
24214 PyObject *result = 0 ;
24215 void *argp1 = 0 ;
24216 int res1 = 0 ;
24217 PyObject *swig_obj[1] ;
24218
24219 if (!args) SWIG_fail;
24220 swig_obj[0] = args;
24221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24222 if (!SWIG_IsOK(res1)) {
24223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24224 }
24225 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24226 {
24227 PyThreadState* __tstate = wxPyBeginAllowThreads();
24228 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24229 wxPyEndAllowThreads(__tstate);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
24232 resultobj = result;
24233 return resultobj;
24234fail:
24235 return NULL;
24236}
24237
24238
24239SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24240 PyObject *resultobj = 0;
24241 wxPrintData *arg1 = (wxPrintData *) 0 ;
24242 PyObject *arg2 = (PyObject *) 0 ;
24243 void *argp1 = 0 ;
24244 int res1 = 0 ;
24245 PyObject * obj0 = 0 ;
24246 PyObject * obj1 = 0 ;
24247 char * kwnames[] = {
24248 (char *) "self",(char *) "data", NULL
24249 };
24250
24251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24253 if (!SWIG_IsOK(res1)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24255 }
24256 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24257 arg2 = obj1;
24258 {
24259 PyThreadState* __tstate = wxPyBeginAllowThreads();
24260 wxPrintData_SetPrivData(arg1,arg2);
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 resultobj = SWIG_Py_Void();
24265 return resultobj;
24266fail:
24267 return NULL;
d55e5bfc
RD
24268}
24269
24270
1bd55598
RD
24271SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24272 PyObject *obj;
24273 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24275 return SWIG_Py_Void();
d55e5bfc
RD
24276}
24277
1bd55598
RD
24278SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24279 return SWIG_Python_InitShadowInstance(args);
24280}
d55e5bfc 24281
1bd55598
RD
24282SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24283 PyObject *resultobj = 0;
24284 wxPageSetupDialogData *result = 0 ;
24285
24286 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24287 {
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24294 return resultobj;
24295fail:
24296 return NULL;
d55e5bfc
RD
24297}
24298
24299
1bd55598
RD
24300SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24301 PyObject *resultobj = 0;
24302 wxPageSetupDialogData *arg1 = 0 ;
24303 wxPageSetupDialogData *result = 0 ;
24304 void *argp1 = 0 ;
24305 int res1 = 0 ;
24306
24307 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24309 if (!SWIG_IsOK(res1)) {
24310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24311 }
24312 if (!argp1) {
24313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24314 }
24315 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24316 {
24317 PyThreadState* __tstate = wxPyBeginAllowThreads();
24318 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24319 wxPyEndAllowThreads(__tstate);
24320 if (PyErr_Occurred()) SWIG_fail;
24321 }
24322 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24323 return resultobj;
24324fail:
24325 return NULL;
d55e5bfc
RD
24326}
24327
24328
1bd55598
RD
24329SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24330 PyObject *resultobj = 0;
24331 wxPrintData *arg1 = 0 ;
24332 wxPageSetupDialogData *result = 0 ;
24333 void *argp1 = 0 ;
24334 int res1 = 0 ;
24335
24336 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24338 if (!SWIG_IsOK(res1)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24340 }
24341 if (!argp1) {
24342 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24343 }
24344 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24345 {
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24348 wxPyEndAllowThreads(__tstate);
24349 if (PyErr_Occurred()) SWIG_fail;
24350 }
24351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24352 return resultobj;
24353fail:
24354 return NULL;
d55e5bfc
RD
24355}
24356
24357
1bd55598
RD
24358SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24359 int argc;
24360 PyObject *argv[2];
24361
24362 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24363 --argc;
24364 if (argc == 0) {
24365 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24366 }
24367 if (argc == 1) {
24368 int _v = 0;
36ed4f51 24369 {
1bd55598
RD
24370 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24371 _v = SWIG_CheckState(res);
d55e5bfc 24372 }
1bd55598
RD
24373 if (!_v) goto check_2;
24374 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24375 }
24376check_2:
24377
24378 if (argc == 1) {
24379 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24380 }
24381
24382fail:
24383 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24384 return NULL;
d55e5bfc
RD
24385}
24386
24387
1bd55598
RD
24388SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24389 PyObject *resultobj = 0;
24390 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24391 void *argp1 = 0 ;
24392 int res1 = 0 ;
24393 PyObject *swig_obj[1] ;
24394
24395 if (!args) SWIG_fail;
24396 swig_obj[0] = args;
24397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24398 if (!SWIG_IsOK(res1)) {
24399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24400 }
24401 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24402 {
24403 PyThreadState* __tstate = wxPyBeginAllowThreads();
24404 delete arg1;
d55e5bfc 24405
1bd55598
RD
24406 wxPyEndAllowThreads(__tstate);
24407 if (PyErr_Occurred()) SWIG_fail;
24408 }
24409 resultobj = SWIG_Py_Void();
24410 return resultobj;
24411fail:
24412 return NULL;
24413}
24414
24415
24416SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24417 PyObject *resultobj = 0;
24418 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24419 bool arg2 ;
24420 void *argp1 = 0 ;
24421 int res1 = 0 ;
24422 bool val2 ;
24423 int ecode2 = 0 ;
24424 PyObject * obj0 = 0 ;
24425 PyObject * obj1 = 0 ;
24426 char * kwnames[] = {
24427 (char *) "self",(char *) "flag", NULL
24428 };
24429
24430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24432 if (!SWIG_IsOK(res1)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24434 }
24435 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24436 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24437 if (!SWIG_IsOK(ecode2)) {
24438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24439 }
24440 arg2 = static_cast< bool >(val2);
24441 {
24442 PyThreadState* __tstate = wxPyBeginAllowThreads();
24443 (arg1)->EnableHelp(arg2);
24444 wxPyEndAllowThreads(__tstate);
24445 if (PyErr_Occurred()) SWIG_fail;
24446 }
24447 resultobj = SWIG_Py_Void();
24448 return resultobj;
24449fail:
24450 return NULL;
24451}
24452
24453
24454SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj = 0;
24456 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24457 bool arg2 ;
24458 void *argp1 = 0 ;
24459 int res1 = 0 ;
24460 bool val2 ;
24461 int ecode2 = 0 ;
24462 PyObject * obj0 = 0 ;
24463 PyObject * obj1 = 0 ;
24464 char * kwnames[] = {
24465 (char *) "self",(char *) "flag", NULL
24466 };
24467
24468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24470 if (!SWIG_IsOK(res1)) {
24471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24472 }
24473 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24474 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24475 if (!SWIG_IsOK(ecode2)) {
24476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24477 }
24478 arg2 = static_cast< bool >(val2);
24479 {
24480 PyThreadState* __tstate = wxPyBeginAllowThreads();
24481 (arg1)->EnableMargins(arg2);
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 resultobj = SWIG_Py_Void();
24486 return resultobj;
24487fail:
24488 return NULL;
24489}
24490
24491
24492SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24493 PyObject *resultobj = 0;
24494 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24495 bool arg2 ;
24496 void *argp1 = 0 ;
24497 int res1 = 0 ;
24498 bool val2 ;
24499 int ecode2 = 0 ;
24500 PyObject * obj0 = 0 ;
24501 PyObject * obj1 = 0 ;
24502 char * kwnames[] = {
24503 (char *) "self",(char *) "flag", NULL
24504 };
24505
24506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24508 if (!SWIG_IsOK(res1)) {
24509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24510 }
24511 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24512 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24513 if (!SWIG_IsOK(ecode2)) {
24514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24515 }
24516 arg2 = static_cast< bool >(val2);
24517 {
24518 PyThreadState* __tstate = wxPyBeginAllowThreads();
24519 (arg1)->EnableOrientation(arg2);
24520 wxPyEndAllowThreads(__tstate);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 }
24523 resultobj = SWIG_Py_Void();
24524 return resultobj;
24525fail:
24526 return NULL;
24527}
24528
24529
24530SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24531 PyObject *resultobj = 0;
24532 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24533 bool arg2 ;
24534 void *argp1 = 0 ;
24535 int res1 = 0 ;
24536 bool val2 ;
24537 int ecode2 = 0 ;
24538 PyObject * obj0 = 0 ;
24539 PyObject * obj1 = 0 ;
24540 char * kwnames[] = {
24541 (char *) "self",(char *) "flag", NULL
24542 };
24543
24544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24546 if (!SWIG_IsOK(res1)) {
24547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24548 }
24549 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24550 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24551 if (!SWIG_IsOK(ecode2)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24553 }
24554 arg2 = static_cast< bool >(val2);
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 (arg1)->EnablePaper(arg2);
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 resultobj = SWIG_Py_Void();
24562 return resultobj;
24563fail:
24564 return NULL;
24565}
24566
24567
24568SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24569 PyObject *resultobj = 0;
24570 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24571 bool arg2 ;
24572 void *argp1 = 0 ;
24573 int res1 = 0 ;
24574 bool val2 ;
24575 int ecode2 = 0 ;
24576 PyObject * obj0 = 0 ;
24577 PyObject * obj1 = 0 ;
24578 char * kwnames[] = {
24579 (char *) "self",(char *) "flag", NULL
24580 };
24581
24582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24584 if (!SWIG_IsOK(res1)) {
24585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24586 }
24587 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24588 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24589 if (!SWIG_IsOK(ecode2)) {
24590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24591 }
24592 arg2 = static_cast< bool >(val2);
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 (arg1)->EnablePrinter(arg2);
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 resultobj = SWIG_Py_Void();
24600 return resultobj;
24601fail:
24602 return NULL;
d55e5bfc
RD
24603}
24604
24605
1bd55598
RD
24606SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24607 PyObject *resultobj = 0;
24608 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24609 bool result;
24610 void *argp1 = 0 ;
24611 int res1 = 0 ;
24612 PyObject *swig_obj[1] ;
24613
24614 if (!args) SWIG_fail;
24615 swig_obj[0] = args;
24616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24617 if (!SWIG_IsOK(res1)) {
24618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24619 }
24620 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 result = (bool)(arg1)->GetDefaultMinMargins();
24624 wxPyEndAllowThreads(__tstate);
24625 if (PyErr_Occurred()) SWIG_fail;
24626 }
24627 {
24628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24629 }
24630 return resultobj;
24631fail:
24632 return NULL;
d55e5bfc
RD
24633}
24634
24635
1bd55598
RD
24636SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24637 PyObject *resultobj = 0;
24638 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24639 bool result;
24640 void *argp1 = 0 ;
24641 int res1 = 0 ;
24642 PyObject *swig_obj[1] ;
24643
24644 if (!args) SWIG_fail;
24645 swig_obj[0] = args;
24646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24647 if (!SWIG_IsOK(res1)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24649 }
24650 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24651 {
24652 PyThreadState* __tstate = wxPyBeginAllowThreads();
24653 result = (bool)(arg1)->GetEnableMargins();
24654 wxPyEndAllowThreads(__tstate);
24655 if (PyErr_Occurred()) SWIG_fail;
24656 }
24657 {
24658 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24659 }
24660 return resultobj;
24661fail:
24662 return NULL;
d55e5bfc
RD
24663}
24664
24665
1bd55598
RD
24666SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24667 PyObject *resultobj = 0;
24668 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24669 bool result;
24670 void *argp1 = 0 ;
24671 int res1 = 0 ;
24672 PyObject *swig_obj[1] ;
24673
24674 if (!args) SWIG_fail;
24675 swig_obj[0] = args;
24676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24677 if (!SWIG_IsOK(res1)) {
24678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24679 }
24680 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24681 {
24682 PyThreadState* __tstate = wxPyBeginAllowThreads();
24683 result = (bool)(arg1)->GetEnableOrientation();
24684 wxPyEndAllowThreads(__tstate);
24685 if (PyErr_Occurred()) SWIG_fail;
24686 }
24687 {
24688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24689 }
24690 return resultobj;
24691fail:
24692 return NULL;
d55e5bfc
RD
24693}
24694
24695
1bd55598
RD
24696SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24697 PyObject *resultobj = 0;
24698 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24699 bool result;
24700 void *argp1 = 0 ;
24701 int res1 = 0 ;
24702 PyObject *swig_obj[1] ;
24703
24704 if (!args) SWIG_fail;
24705 swig_obj[0] = args;
24706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24707 if (!SWIG_IsOK(res1)) {
24708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24709 }
24710 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24711 {
24712 PyThreadState* __tstate = wxPyBeginAllowThreads();
24713 result = (bool)(arg1)->GetEnablePaper();
24714 wxPyEndAllowThreads(__tstate);
24715 if (PyErr_Occurred()) SWIG_fail;
24716 }
24717 {
24718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24719 }
24720 return resultobj;
24721fail:
24722 return NULL;
d55e5bfc
RD
24723}
24724
24725
1bd55598
RD
24726SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24727 PyObject *resultobj = 0;
24728 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24729 bool result;
24730 void *argp1 = 0 ;
24731 int res1 = 0 ;
24732 PyObject *swig_obj[1] ;
24733
24734 if (!args) SWIG_fail;
24735 swig_obj[0] = args;
24736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24737 if (!SWIG_IsOK(res1)) {
24738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24739 }
24740 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24741 {
24742 PyThreadState* __tstate = wxPyBeginAllowThreads();
24743 result = (bool)(arg1)->GetEnablePrinter();
24744 wxPyEndAllowThreads(__tstate);
24745 if (PyErr_Occurred()) SWIG_fail;
24746 }
24747 {
24748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24749 }
24750 return resultobj;
24751fail:
24752 return NULL;
32fe5131
RD
24753}
24754
24755
1bd55598
RD
24756SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24757 PyObject *resultobj = 0;
24758 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24759 bool result;
24760 void *argp1 = 0 ;
24761 int res1 = 0 ;
24762 PyObject *swig_obj[1] ;
24763
24764 if (!args) SWIG_fail;
24765 swig_obj[0] = args;
24766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24767 if (!SWIG_IsOK(res1)) {
24768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24769 }
24770 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 result = (bool)(arg1)->GetEnableHelp();
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 {
24778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24779 }
24780 return resultobj;
24781fail:
24782 return NULL;
d55e5bfc
RD
24783}
24784
24785
1bd55598
RD
24786SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24787 PyObject *resultobj = 0;
24788 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24789 bool result;
24790 void *argp1 = 0 ;
24791 int res1 = 0 ;
24792 PyObject *swig_obj[1] ;
24793
24794 if (!args) SWIG_fail;
24795 swig_obj[0] = args;
24796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24797 if (!SWIG_IsOK(res1)) {
24798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24799 }
24800 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24801 {
24802 PyThreadState* __tstate = wxPyBeginAllowThreads();
24803 result = (bool)(arg1)->GetDefaultInfo();
24804 wxPyEndAllowThreads(__tstate);
24805 if (PyErr_Occurred()) SWIG_fail;
24806 }
24807 {
24808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24809 }
24810 return resultobj;
24811fail:
24812 return NULL;
d55e5bfc
RD
24813}
24814
24815
1bd55598
RD
24816SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24817 PyObject *resultobj = 0;
24818 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24819 wxPoint result;
24820 void *argp1 = 0 ;
24821 int res1 = 0 ;
24822 PyObject *swig_obj[1] ;
24823
24824 if (!args) SWIG_fail;
24825 swig_obj[0] = args;
24826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24827 if (!SWIG_IsOK(res1)) {
24828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24829 }
24830 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24831 {
24832 PyThreadState* __tstate = wxPyBeginAllowThreads();
24833 result = (arg1)->GetMarginTopLeft();
24834 wxPyEndAllowThreads(__tstate);
24835 if (PyErr_Occurred()) SWIG_fail;
24836 }
24837 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24838 return resultobj;
24839fail:
24840 return NULL;
d55e5bfc
RD
24841}
24842
24843
1bd55598
RD
24844SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24845 PyObject *resultobj = 0;
24846 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24847 wxPoint result;
24848 void *argp1 = 0 ;
24849 int res1 = 0 ;
24850 PyObject *swig_obj[1] ;
24851
24852 if (!args) SWIG_fail;
24853 swig_obj[0] = args;
24854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24855 if (!SWIG_IsOK(res1)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24857 }
24858 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 result = (arg1)->GetMarginBottomRight();
24862 wxPyEndAllowThreads(__tstate);
24863 if (PyErr_Occurred()) SWIG_fail;
24864 }
24865 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24866 return resultobj;
24867fail:
24868 return NULL;
d55e5bfc
RD
24869}
24870
24871
1bd55598
RD
24872SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24873 PyObject *resultobj = 0;
24874 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24875 wxPoint result;
24876 void *argp1 = 0 ;
24877 int res1 = 0 ;
24878 PyObject *swig_obj[1] ;
24879
24880 if (!args) SWIG_fail;
24881 swig_obj[0] = args;
24882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24883 if (!SWIG_IsOK(res1)) {
24884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24885 }
24886 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24887 {
24888 PyThreadState* __tstate = wxPyBeginAllowThreads();
24889 result = (arg1)->GetMinMarginTopLeft();
24890 wxPyEndAllowThreads(__tstate);
24891 if (PyErr_Occurred()) SWIG_fail;
24892 }
24893 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24894 return resultobj;
24895fail:
24896 return NULL;
d55e5bfc
RD
24897}
24898
24899
1bd55598
RD
24900SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24901 PyObject *resultobj = 0;
24902 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24903 wxPoint result;
24904 void *argp1 = 0 ;
24905 int res1 = 0 ;
24906 PyObject *swig_obj[1] ;
24907
24908 if (!args) SWIG_fail;
24909 swig_obj[0] = args;
24910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24911 if (!SWIG_IsOK(res1)) {
24912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24913 }
24914 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24915 {
24916 PyThreadState* __tstate = wxPyBeginAllowThreads();
24917 result = (arg1)->GetMinMarginBottomRight();
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
24922 return resultobj;
24923fail:
24924 return NULL;
d55e5bfc
RD
24925}
24926
24927
1bd55598
RD
24928SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24929 PyObject *resultobj = 0;
24930 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24931 wxPaperSize result;
24932 void *argp1 = 0 ;
24933 int res1 = 0 ;
24934 PyObject *swig_obj[1] ;
24935
24936 if (!args) SWIG_fail;
24937 swig_obj[0] = args;
24938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24939 if (!SWIG_IsOK(res1)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24941 }
24942 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24943 {
24944 PyThreadState* __tstate = wxPyBeginAllowThreads();
24945 result = (wxPaperSize)(arg1)->GetPaperId();
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 resultobj = SWIG_From_int(static_cast< int >(result));
24950 return resultobj;
24951fail:
24952 return NULL;
d55e5bfc
RD
24953}
24954
24955
1bd55598
RD
24956SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24957 PyObject *resultobj = 0;
24958 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24959 wxSize result;
24960 void *argp1 = 0 ;
24961 int res1 = 0 ;
24962 PyObject *swig_obj[1] ;
24963
24964 if (!args) SWIG_fail;
24965 swig_obj[0] = args;
24966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24967 if (!SWIG_IsOK(res1)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24969 }
24970 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24971 {
24972 PyThreadState* __tstate = wxPyBeginAllowThreads();
24973 result = (arg1)->GetPaperSize();
24974 wxPyEndAllowThreads(__tstate);
24975 if (PyErr_Occurred()) SWIG_fail;
24976 }
24977 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24978 return resultobj;
24979fail:
24980 return NULL;
d55e5bfc
RD
24981}
24982
24983
1bd55598
RD
24984SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24985 PyObject *resultobj = 0;
24986 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24987 wxPrintData *result = 0 ;
24988 void *argp1 = 0 ;
24989 int res1 = 0 ;
24990 PyObject *swig_obj[1] ;
24991
24992 if (!args) SWIG_fail;
24993 swig_obj[0] = args;
24994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24995 if (!SWIG_IsOK(res1)) {
24996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24997 }
24998 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25001 {
1bd55598
RD
25002 wxPrintData &_result_ref = (arg1)->GetPrintData();
25003 result = (wxPrintData *) &_result_ref;
d55e5bfc 25004 }
1bd55598
RD
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25009 return resultobj;
25010fail:
25011 return NULL;
d55e5bfc
RD
25012}
25013
25014
1bd55598
RD
25015SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25016 PyObject *resultobj = 0;
25017 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25018 bool result;
25019 void *argp1 = 0 ;
25020 int res1 = 0 ;
25021 PyObject *swig_obj[1] ;
25022
25023 if (!args) SWIG_fail;
25024 swig_obj[0] = args;
25025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25026 if (!SWIG_IsOK(res1)) {
25027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25028 }
25029 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 result = (bool)(arg1)->Ok();
25033 wxPyEndAllowThreads(__tstate);
25034 if (PyErr_Occurred()) SWIG_fail;
25035 }
25036 {
25037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25038 }
25039 return resultobj;
25040fail:
25041 return NULL;
25042}
25043
25044
25045SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25046 PyObject *resultobj = 0;
25047 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25048 bool arg2 ;
25049 void *argp1 = 0 ;
25050 int res1 = 0 ;
25051 bool val2 ;
25052 int ecode2 = 0 ;
25053 PyObject * obj0 = 0 ;
25054 PyObject * obj1 = 0 ;
25055 char * kwnames[] = {
25056 (char *) "self",(char *) "flag", NULL
25057 };
25058
25059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25061 if (!SWIG_IsOK(res1)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25063 }
25064 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25065 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25066 if (!SWIG_IsOK(ecode2)) {
25067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25068 }
25069 arg2 = static_cast< bool >(val2);
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 (arg1)->SetDefaultInfo(arg2);
25073 wxPyEndAllowThreads(__tstate);
25074 if (PyErr_Occurred()) SWIG_fail;
25075 }
25076 resultobj = SWIG_Py_Void();
25077 return resultobj;
25078fail:
25079 return NULL;
25080}
25081
25082
25083SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25084 PyObject *resultobj = 0;
25085 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25086 bool arg2 ;
25087 void *argp1 = 0 ;
25088 int res1 = 0 ;
25089 bool val2 ;
25090 int ecode2 = 0 ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 char * kwnames[] = {
25094 (char *) "self",(char *) "flag", NULL
25095 };
25096
25097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25099 if (!SWIG_IsOK(res1)) {
25100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25101 }
25102 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25103 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25104 if (!SWIG_IsOK(ecode2)) {
25105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25106 }
25107 arg2 = static_cast< bool >(val2);
25108 {
25109 PyThreadState* __tstate = wxPyBeginAllowThreads();
25110 (arg1)->SetDefaultMinMargins(arg2);
25111 wxPyEndAllowThreads(__tstate);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 }
25114 resultobj = SWIG_Py_Void();
25115 return resultobj;
25116fail:
25117 return NULL;
25118}
25119
25120
25121SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25122 PyObject *resultobj = 0;
25123 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25124 wxPoint *arg2 = 0 ;
25125 void *argp1 = 0 ;
25126 int res1 = 0 ;
25127 wxPoint temp2 ;
25128 PyObject * obj0 = 0 ;
25129 PyObject * obj1 = 0 ;
25130 char * kwnames[] = {
25131 (char *) "self",(char *) "pt", NULL
25132 };
25133
25134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25136 if (!SWIG_IsOK(res1)) {
25137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25138 }
25139 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25140 {
25141 arg2 = &temp2;
25142 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25143 }
25144 {
25145 PyThreadState* __tstate = wxPyBeginAllowThreads();
25146 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 resultobj = SWIG_Py_Void();
25151 return resultobj;
25152fail:
25153 return NULL;
25154}
25155
25156
25157SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25158 PyObject *resultobj = 0;
25159 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25160 wxPoint *arg2 = 0 ;
25161 void *argp1 = 0 ;
25162 int res1 = 0 ;
25163 wxPoint temp2 ;
25164 PyObject * obj0 = 0 ;
25165 PyObject * obj1 = 0 ;
25166 char * kwnames[] = {
25167 (char *) "self",(char *) "pt", NULL
25168 };
25169
25170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25172 if (!SWIG_IsOK(res1)) {
25173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25174 }
25175 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25176 {
25177 arg2 = &temp2;
25178 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25179 }
25180 {
25181 PyThreadState* __tstate = wxPyBeginAllowThreads();
25182 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25183 wxPyEndAllowThreads(__tstate);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 resultobj = SWIG_Py_Void();
25187 return resultobj;
25188fail:
25189 return NULL;
25190}
25191
25192
25193SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25194 PyObject *resultobj = 0;
25195 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25196 wxPoint *arg2 = 0 ;
25197 void *argp1 = 0 ;
25198 int res1 = 0 ;
25199 wxPoint temp2 ;
25200 PyObject * obj0 = 0 ;
25201 PyObject * obj1 = 0 ;
25202 char * kwnames[] = {
25203 (char *) "self",(char *) "pt", NULL
25204 };
25205
25206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25208 if (!SWIG_IsOK(res1)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25210 }
25211 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25212 {
25213 arg2 = &temp2;
25214 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25215 }
25216 {
25217 PyThreadState* __tstate = wxPyBeginAllowThreads();
25218 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 resultobj = SWIG_Py_Void();
25223 return resultobj;
25224fail:
25225 return NULL;
25226}
25227
25228
25229SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25230 PyObject *resultobj = 0;
25231 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25232 wxPoint *arg2 = 0 ;
25233 void *argp1 = 0 ;
25234 int res1 = 0 ;
25235 wxPoint temp2 ;
25236 PyObject * obj0 = 0 ;
25237 PyObject * obj1 = 0 ;
25238 char * kwnames[] = {
25239 (char *) "self",(char *) "pt", NULL
25240 };
25241
25242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25244 if (!SWIG_IsOK(res1)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25246 }
25247 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25248 {
25249 arg2 = &temp2;
25250 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25251 }
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25255 wxPyEndAllowThreads(__tstate);
25256 if (PyErr_Occurred()) SWIG_fail;
25257 }
25258 resultobj = SWIG_Py_Void();
25259 return resultobj;
25260fail:
25261 return NULL;
25262}
25263
25264
25265SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25266 PyObject *resultobj = 0;
25267 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25268 wxPaperSize arg2 ;
25269 void *argp1 = 0 ;
25270 int res1 = 0 ;
25271 int val2 ;
25272 int ecode2 = 0 ;
25273 PyObject * obj0 = 0 ;
25274 PyObject * obj1 = 0 ;
25275 char * kwnames[] = {
25276 (char *) "self",(char *) "id", NULL
25277 };
25278
25279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25281 if (!SWIG_IsOK(res1)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25283 }
25284 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25285 ecode2 = SWIG_AsVal_int(obj1, &val2);
25286 if (!SWIG_IsOK(ecode2)) {
25287 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25288 }
25289 arg2 = static_cast< wxPaperSize >(val2);
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 (arg1)->SetPaperId(arg2);
25293 wxPyEndAllowThreads(__tstate);
25294 if (PyErr_Occurred()) SWIG_fail;
25295 }
25296 resultobj = SWIG_Py_Void();
25297 return resultobj;
25298fail:
25299 return NULL;
25300}
25301
25302
25303SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25304 PyObject *resultobj = 0;
25305 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25306 wxSize *arg2 = 0 ;
25307 void *argp1 = 0 ;
25308 int res1 = 0 ;
25309 wxSize temp2 ;
25310 PyObject * obj0 = 0 ;
25311 PyObject * obj1 = 0 ;
25312 char * kwnames[] = {
25313 (char *) "self",(char *) "size", NULL
25314 };
25315
25316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25318 if (!SWIG_IsOK(res1)) {
25319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25320 }
25321 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25322 {
25323 arg2 = &temp2;
25324 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25325 }
25326 {
25327 PyThreadState* __tstate = wxPyBeginAllowThreads();
25328 (arg1)->SetPaperSize((wxSize const &)*arg2);
25329 wxPyEndAllowThreads(__tstate);
25330 if (PyErr_Occurred()) SWIG_fail;
25331 }
25332 resultobj = SWIG_Py_Void();
25333 return resultobj;
25334fail:
25335 return NULL;
25336}
25337
25338
25339SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25340 PyObject *resultobj = 0;
25341 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25342 wxPrintData *arg2 = 0 ;
25343 void *argp1 = 0 ;
25344 int res1 = 0 ;
25345 void *argp2 = 0 ;
25346 int res2 = 0 ;
25347 PyObject * obj0 = 0 ;
25348 PyObject * obj1 = 0 ;
25349 char * kwnames[] = {
25350 (char *) "self",(char *) "printData", NULL
25351 };
25352
25353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25355 if (!SWIG_IsOK(res1)) {
25356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25357 }
25358 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25359 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25360 if (!SWIG_IsOK(res2)) {
25361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25362 }
25363 if (!argp2) {
25364 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25365 }
25366 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25367 {
25368 PyThreadState* __tstate = wxPyBeginAllowThreads();
25369 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25370 wxPyEndAllowThreads(__tstate);
25371 if (PyErr_Occurred()) SWIG_fail;
25372 }
25373 resultobj = SWIG_Py_Void();
25374 return resultobj;
25375fail:
25376 return NULL;
d55e5bfc
RD
25377}
25378
25379
1bd55598
RD
25380SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25381 PyObject *resultobj = 0;
25382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25383 void *argp1 = 0 ;
25384 int res1 = 0 ;
25385 PyObject *swig_obj[1] ;
25386
25387 if (!args) SWIG_fail;
25388 swig_obj[0] = args;
25389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25390 if (!SWIG_IsOK(res1)) {
25391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25392 }
25393 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25394 {
25395 PyThreadState* __tstate = wxPyBeginAllowThreads();
25396 (arg1)->CalculateIdFromPaperSize();
25397 wxPyEndAllowThreads(__tstate);
25398 if (PyErr_Occurred()) SWIG_fail;
25399 }
25400 resultobj = SWIG_Py_Void();
25401 return resultobj;
25402fail:
25403 return NULL;
d55e5bfc
RD
25404}
25405
25406
1bd55598
RD
25407SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25408 PyObject *resultobj = 0;
25409 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25410 void *argp1 = 0 ;
25411 int res1 = 0 ;
25412 PyObject *swig_obj[1] ;
25413
25414 if (!args) SWIG_fail;
25415 swig_obj[0] = args;
25416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25417 if (!SWIG_IsOK(res1)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25419 }
25420 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25421 {
25422 PyThreadState* __tstate = wxPyBeginAllowThreads();
25423 (arg1)->CalculatePaperSizeFromId();
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 resultobj = SWIG_Py_Void();
25428 return resultobj;
25429fail:
25430 return NULL;
d55e5bfc
RD
25431}
25432
25433
1bd55598
RD
25434SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25435 PyObject *obj;
25436 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25437 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25438 return SWIG_Py_Void();
d55e5bfc
RD
25439}
25440
1bd55598
RD
25441SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25442 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25443}
25444
1bd55598
RD
25445SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25446 PyObject *resultobj = 0;
25447 wxWindow *arg1 = (wxWindow *) 0 ;
25448 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25449 wxPageSetupDialog *result = 0 ;
25450 void *argp1 = 0 ;
25451 int res1 = 0 ;
25452 void *argp2 = 0 ;
25453 int res2 = 0 ;
25454 PyObject * obj0 = 0 ;
25455 PyObject * obj1 = 0 ;
25456 char * kwnames[] = {
25457 (char *) "parent",(char *) "data", NULL
25458 };
25459
25460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25462 if (!SWIG_IsOK(res1)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25464 }
25465 arg1 = reinterpret_cast< wxWindow * >(argp1);
25466 if (obj1) {
25467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25468 if (!SWIG_IsOK(res2)) {
25469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
36ed4f51 25470 }
1bd55598
RD
25471 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25472 }
25473 {
25474 if (!wxPyCheckForApp()) SWIG_fail;
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25481 return resultobj;
25482fail:
25483 return NULL;
d55e5bfc
RD
25484}
25485
25486
06810ecf
RD
25487SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25488 PyObject *resultobj = 0;
25489 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25490 void *argp1 = 0 ;
25491 int res1 = 0 ;
25492 PyObject *swig_obj[1] ;
25493
25494 if (!args) SWIG_fail;
25495 swig_obj[0] = args;
25496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25497 if (!SWIG_IsOK(res1)) {
25498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25499 }
25500 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25501 {
25502 PyThreadState* __tstate = wxPyBeginAllowThreads();
25503 delete arg1;
25504
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 resultobj = SWIG_Py_Void();
25509 return resultobj;
25510fail:
25511 return NULL;
25512}
25513
25514
1bd55598
RD
25515SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25516 PyObject *resultobj = 0;
25517 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25518 wxPageSetupDialogData *result = 0 ;
25519 void *argp1 = 0 ;
25520 int res1 = 0 ;
25521 PyObject *swig_obj[1] ;
25522
25523 if (!args) SWIG_fail;
25524 swig_obj[0] = args;
25525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25526 if (!SWIG_IsOK(res1)) {
25527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25528 }
25529 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25530 {
25531 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 25532 {
1bd55598
RD
25533 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25534 result = (wxPageSetupDialogData *) &_result_ref;
36ed4f51 25535 }
1bd55598
RD
25536 wxPyEndAllowThreads(__tstate);
25537 if (PyErr_Occurred()) SWIG_fail;
25538 }
25539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25540 return resultobj;
25541fail:
25542 return NULL;
d55e5bfc
RD
25543}
25544
25545
1bd55598
RD
25546SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25547 PyObject *resultobj = 0;
25548 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25549 wxPageSetupDialogData *result = 0 ;
25550 void *argp1 = 0 ;
25551 int res1 = 0 ;
25552 PyObject *swig_obj[1] ;
25553
25554 if (!args) SWIG_fail;
25555 swig_obj[0] = args;
25556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25557 if (!SWIG_IsOK(res1)) {
25558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25559 }
25560 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25561 {
25562 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25563 {
1bd55598
RD
25564 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25565 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 25566 }
1bd55598
RD
25567 wxPyEndAllowThreads(__tstate);
25568 if (PyErr_Occurred()) SWIG_fail;
25569 }
25570 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25571 return resultobj;
25572fail:
25573 return NULL;
d55e5bfc
RD
25574}
25575
25576
1bd55598
RD
25577SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25578 PyObject *resultobj = 0;
25579 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25580 int result;
25581 void *argp1 = 0 ;
25582 int res1 = 0 ;
25583 PyObject *swig_obj[1] ;
25584
25585 if (!args) SWIG_fail;
25586 swig_obj[0] = args;
25587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25588 if (!SWIG_IsOK(res1)) {
25589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25590 }
25591 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25592 {
25593 PyThreadState* __tstate = wxPyBeginAllowThreads();
25594 result = (int)(arg1)->ShowModal();
25595 wxPyEndAllowThreads(__tstate);
25596 if (PyErr_Occurred()) SWIG_fail;
25597 }
25598 resultobj = SWIG_From_int(static_cast< int >(result));
25599 return resultobj;
25600fail:
25601 return NULL;
d55e5bfc
RD
25602}
25603
25604
1bd55598
RD
25605SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25606 PyObject *obj;
25607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25608 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25609 return SWIG_Py_Void();
d55e5bfc
RD
25610}
25611
1bd55598
RD
25612SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25613 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25614}
25615
1bd55598
RD
25616SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25617 PyObject *resultobj = 0;
25618 wxPrintDialogData *result = 0 ;
25619
25620 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = (wxPrintDialogData *)new wxPrintDialogData();
25624 wxPyEndAllowThreads(__tstate);
25625 if (PyErr_Occurred()) SWIG_fail;
25626 }
25627 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25628 return resultobj;
25629fail:
25630 return NULL;
d55e5bfc
RD
25631}
25632
25633
1bd55598
RD
25634SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25635 PyObject *resultobj = 0;
25636 wxPrintData *arg1 = 0 ;
25637 wxPrintDialogData *result = 0 ;
25638 void *argp1 = 0 ;
25639 int res1 = 0 ;
25640
25641 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25643 if (!SWIG_IsOK(res1)) {
25644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25645 }
25646 if (!argp1) {
25647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25648 }
25649 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25657 return resultobj;
25658fail:
25659 return NULL;
d55e5bfc
RD
25660}
25661
25662
1bd55598
RD
25663SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25664 PyObject *resultobj = 0;
25665 wxPrintDialogData *arg1 = 0 ;
25666 wxPrintDialogData *result = 0 ;
25667 void *argp1 = 0 ;
25668 int res1 = 0 ;
25669
25670 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25672 if (!SWIG_IsOK(res1)) {
25673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25674 }
25675 if (!argp1) {
25676 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25677 }
25678 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25679 {
25680 PyThreadState* __tstate = wxPyBeginAllowThreads();
25681 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25682 wxPyEndAllowThreads(__tstate);
25683 if (PyErr_Occurred()) SWIG_fail;
25684 }
25685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25686 return resultobj;
25687fail:
25688 return NULL;
d55e5bfc
RD
25689}
25690
25691
1bd55598
RD
25692SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25693 int argc;
25694 PyObject *argv[2];
25695
25696 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25697 --argc;
25698 if (argc == 0) {
25699 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25700 }
25701 if (argc == 1) {
25702 int _v = 0;
d55e5bfc 25703 {
1bd55598
RD
25704 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25705 _v = SWIG_CheckState(res);
d55e5bfc 25706 }
1bd55598
RD
25707 if (!_v) goto check_2;
25708 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25709 }
25710check_2:
25711
25712 if (argc == 1) {
25713 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25714 }
25715
25716fail:
25717 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25718 return NULL;
d55e5bfc
RD
25719}
25720
25721
1bd55598
RD
25722SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25723 PyObject *resultobj = 0;
25724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25725 void *argp1 = 0 ;
25726 int res1 = 0 ;
25727 PyObject *swig_obj[1] ;
25728
25729 if (!args) SWIG_fail;
25730 swig_obj[0] = args;
25731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
25732 if (!SWIG_IsOK(res1)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25734 }
25735 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25736 {
25737 PyThreadState* __tstate = wxPyBeginAllowThreads();
25738 delete arg1;
d55e5bfc 25739
1bd55598
RD
25740 wxPyEndAllowThreads(__tstate);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
25743 resultobj = SWIG_Py_Void();
25744 return resultobj;
25745fail:
25746 return NULL;
d55e5bfc
RD
25747}
25748
25749
1bd55598
RD
25750SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25751 PyObject *resultobj = 0;
25752 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25753 int result;
25754 void *argp1 = 0 ;
25755 int res1 = 0 ;
25756 PyObject *swig_obj[1] ;
25757
25758 if (!args) SWIG_fail;
25759 swig_obj[0] = args;
25760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25761 if (!SWIG_IsOK(res1)) {
25762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25763 }
25764 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25765 {
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
25768 wxPyEndAllowThreads(__tstate);
25769 if (PyErr_Occurred()) SWIG_fail;
25770 }
25771 resultobj = SWIG_From_int(static_cast< int >(result));
25772 return resultobj;
25773fail:
25774 return NULL;
d55e5bfc
RD
25775}
25776
25777
1bd55598
RD
25778SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25779 PyObject *resultobj = 0;
25780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25781 int result;
25782 void *argp1 = 0 ;
25783 int res1 = 0 ;
25784 PyObject *swig_obj[1] ;
25785
25786 if (!args) SWIG_fail;
25787 swig_obj[0] = args;
25788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25789 if (!SWIG_IsOK(res1)) {
25790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25791 }
25792 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25793 {
25794 PyThreadState* __tstate = wxPyBeginAllowThreads();
25795 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
25796 wxPyEndAllowThreads(__tstate);
25797 if (PyErr_Occurred()) SWIG_fail;
25798 }
25799 resultobj = SWIG_From_int(static_cast< int >(result));
25800 return resultobj;
25801fail:
25802 return NULL;
d55e5bfc
RD
25803}
25804
25805
1bd55598
RD
25806SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25807 PyObject *resultobj = 0;
25808 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25809 int result;
25810 void *argp1 = 0 ;
25811 int res1 = 0 ;
25812 PyObject *swig_obj[1] ;
25813
25814 if (!args) SWIG_fail;
25815 swig_obj[0] = args;
25816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25817 if (!SWIG_IsOK(res1)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25819 }
25820 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25821 {
25822 PyThreadState* __tstate = wxPyBeginAllowThreads();
25823 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 resultobj = SWIG_From_int(static_cast< int >(result));
25828 return resultobj;
25829fail:
25830 return NULL;
d55e5bfc
RD
25831}
25832
25833
1bd55598
RD
25834SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25835 PyObject *resultobj = 0;
25836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25837 int result;
25838 void *argp1 = 0 ;
25839 int res1 = 0 ;
25840 PyObject *swig_obj[1] ;
25841
25842 if (!args) SWIG_fail;
25843 swig_obj[0] = args;
25844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25845 if (!SWIG_IsOK(res1)) {
25846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25847 }
25848 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25849 {
25850 PyThreadState* __tstate = wxPyBeginAllowThreads();
25851 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
25852 wxPyEndAllowThreads(__tstate);
25853 if (PyErr_Occurred()) SWIG_fail;
25854 }
25855 resultobj = SWIG_From_int(static_cast< int >(result));
25856 return resultobj;
25857fail:
25858 return NULL;
d55e5bfc
RD
25859}
25860
25861
1bd55598
RD
25862SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25863 PyObject *resultobj = 0;
25864 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25865 int result;
25866 void *argp1 = 0 ;
25867 int res1 = 0 ;
25868 PyObject *swig_obj[1] ;
25869
25870 if (!args) SWIG_fail;
25871 swig_obj[0] = args;
25872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25873 if (!SWIG_IsOK(res1)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25875 }
25876 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25877 {
25878 PyThreadState* __tstate = wxPyBeginAllowThreads();
25879 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
25880 wxPyEndAllowThreads(__tstate);
25881 if (PyErr_Occurred()) SWIG_fail;
25882 }
25883 resultobj = SWIG_From_int(static_cast< int >(result));
25884 return resultobj;
25885fail:
25886 return NULL;
d55e5bfc
RD
25887}
25888
25889
1bd55598
RD
25890SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25891 PyObject *resultobj = 0;
25892 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25893 bool result;
25894 void *argp1 = 0 ;
25895 int res1 = 0 ;
25896 PyObject *swig_obj[1] ;
25897
25898 if (!args) SWIG_fail;
25899 swig_obj[0] = args;
25900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25901 if (!SWIG_IsOK(res1)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25903 }
25904 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25905 {
25906 PyThreadState* __tstate = wxPyBeginAllowThreads();
25907 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
25908 wxPyEndAllowThreads(__tstate);
25909 if (PyErr_Occurred()) SWIG_fail;
25910 }
25911 {
25912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25913 }
25914 return resultobj;
25915fail:
25916 return NULL;
d55e5bfc
RD
25917}
25918
25919
1bd55598
RD
25920SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25921 PyObject *resultobj = 0;
25922 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25923 bool result;
25924 void *argp1 = 0 ;
25925 int res1 = 0 ;
25926 PyObject *swig_obj[1] ;
25927
25928 if (!args) SWIG_fail;
25929 swig_obj[0] = args;
25930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25931 if (!SWIG_IsOK(res1)) {
25932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25933 }
25934 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25935 {
25936 PyThreadState* __tstate = wxPyBeginAllowThreads();
25937 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
25938 wxPyEndAllowThreads(__tstate);
25939 if (PyErr_Occurred()) SWIG_fail;
25940 }
25941 {
25942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25943 }
25944 return resultobj;
25945fail:
25946 return NULL;
d55e5bfc
RD
25947}
25948
25949
1bd55598
RD
25950SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25951 PyObject *resultobj = 0;
25952 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25953 bool result;
25954 void *argp1 = 0 ;
25955 int res1 = 0 ;
25956 PyObject *swig_obj[1] ;
25957
25958 if (!args) SWIG_fail;
25959 swig_obj[0] = args;
25960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25961 if (!SWIG_IsOK(res1)) {
25962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25963 }
25964 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25965 {
25966 PyThreadState* __tstate = wxPyBeginAllowThreads();
25967 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
25968 wxPyEndAllowThreads(__tstate);
25969 if (PyErr_Occurred()) SWIG_fail;
25970 }
25971 {
25972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25973 }
25974 return resultobj;
25975fail:
25976 return NULL;
d55e5bfc
RD
25977}
25978
25979
1bd55598
RD
25980SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25981 PyObject *resultobj = 0;
25982 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25983 bool result;
25984 void *argp1 = 0 ;
25985 int res1 = 0 ;
25986 PyObject *swig_obj[1] ;
25987
25988 if (!args) SWIG_fail;
25989 swig_obj[0] = args;
25990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
25991 if (!SWIG_IsOK(res1)) {
25992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25993 }
25994 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25995 {
25996 PyThreadState* __tstate = wxPyBeginAllowThreads();
25997 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
25998 wxPyEndAllowThreads(__tstate);
25999 if (PyErr_Occurred()) SWIG_fail;
26000 }
26001 {
26002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26003 }
26004 return resultobj;
26005fail:
26006 return NULL;
26007}
26008
26009
26010SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26011 PyObject *resultobj = 0;
26012 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26013 int arg2 ;
26014 void *argp1 = 0 ;
26015 int res1 = 0 ;
26016 int val2 ;
26017 int ecode2 = 0 ;
26018 PyObject * obj0 = 0 ;
26019 PyObject * obj1 = 0 ;
26020 char * kwnames[] = {
26021 (char *) "self",(char *) "v", NULL
26022 };
26023
26024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26026 if (!SWIG_IsOK(res1)) {
26027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26028 }
26029 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26030 ecode2 = SWIG_AsVal_int(obj1, &val2);
26031 if (!SWIG_IsOK(ecode2)) {
26032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26033 }
26034 arg2 = static_cast< int >(val2);
26035 {
26036 PyThreadState* __tstate = wxPyBeginAllowThreads();
26037 (arg1)->SetFromPage(arg2);
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 resultobj = SWIG_Py_Void();
26042 return resultobj;
26043fail:
26044 return NULL;
26045}
26046
26047
26048SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26049 PyObject *resultobj = 0;
26050 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26051 int arg2 ;
26052 void *argp1 = 0 ;
26053 int res1 = 0 ;
26054 int val2 ;
26055 int ecode2 = 0 ;
26056 PyObject * obj0 = 0 ;
26057 PyObject * obj1 = 0 ;
26058 char * kwnames[] = {
26059 (char *) "self",(char *) "v", NULL
26060 };
26061
26062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26064 if (!SWIG_IsOK(res1)) {
26065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26066 }
26067 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26068 ecode2 = SWIG_AsVal_int(obj1, &val2);
26069 if (!SWIG_IsOK(ecode2)) {
26070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26071 }
26072 arg2 = static_cast< int >(val2);
26073 {
26074 PyThreadState* __tstate = wxPyBeginAllowThreads();
26075 (arg1)->SetToPage(arg2);
26076 wxPyEndAllowThreads(__tstate);
26077 if (PyErr_Occurred()) SWIG_fail;
26078 }
26079 resultobj = SWIG_Py_Void();
26080 return resultobj;
26081fail:
26082 return NULL;
26083}
26084
26085
26086SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26087 PyObject *resultobj = 0;
26088 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26089 int arg2 ;
26090 void *argp1 = 0 ;
26091 int res1 = 0 ;
26092 int val2 ;
26093 int ecode2 = 0 ;
26094 PyObject * obj0 = 0 ;
26095 PyObject * obj1 = 0 ;
26096 char * kwnames[] = {
26097 (char *) "self",(char *) "v", NULL
26098 };
26099
26100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26102 if (!SWIG_IsOK(res1)) {
26103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26104 }
26105 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26106 ecode2 = SWIG_AsVal_int(obj1, &val2);
26107 if (!SWIG_IsOK(ecode2)) {
26108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26109 }
26110 arg2 = static_cast< int >(val2);
26111 {
26112 PyThreadState* __tstate = wxPyBeginAllowThreads();
26113 (arg1)->SetMinPage(arg2);
26114 wxPyEndAllowThreads(__tstate);
26115 if (PyErr_Occurred()) SWIG_fail;
26116 }
26117 resultobj = SWIG_Py_Void();
26118 return resultobj;
26119fail:
26120 return NULL;
26121}
26122
26123
26124SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26125 PyObject *resultobj = 0;
26126 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26127 int arg2 ;
26128 void *argp1 = 0 ;
26129 int res1 = 0 ;
26130 int val2 ;
26131 int ecode2 = 0 ;
26132 PyObject * obj0 = 0 ;
26133 PyObject * obj1 = 0 ;
26134 char * kwnames[] = {
26135 (char *) "self",(char *) "v", NULL
26136 };
26137
26138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26140 if (!SWIG_IsOK(res1)) {
26141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26142 }
26143 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26144 ecode2 = SWIG_AsVal_int(obj1, &val2);
26145 if (!SWIG_IsOK(ecode2)) {
26146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26147 }
26148 arg2 = static_cast< int >(val2);
26149 {
26150 PyThreadState* __tstate = wxPyBeginAllowThreads();
26151 (arg1)->SetMaxPage(arg2);
26152 wxPyEndAllowThreads(__tstate);
26153 if (PyErr_Occurred()) SWIG_fail;
26154 }
26155 resultobj = SWIG_Py_Void();
26156 return resultobj;
26157fail:
26158 return NULL;
26159}
26160
26161
26162SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26163 PyObject *resultobj = 0;
26164 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26165 int arg2 ;
26166 void *argp1 = 0 ;
26167 int res1 = 0 ;
26168 int val2 ;
26169 int ecode2 = 0 ;
26170 PyObject * obj0 = 0 ;
26171 PyObject * obj1 = 0 ;
26172 char * kwnames[] = {
26173 (char *) "self",(char *) "v", NULL
26174 };
26175
26176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26178 if (!SWIG_IsOK(res1)) {
26179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26180 }
26181 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26182 ecode2 = SWIG_AsVal_int(obj1, &val2);
26183 if (!SWIG_IsOK(ecode2)) {
26184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26185 }
26186 arg2 = static_cast< int >(val2);
26187 {
26188 PyThreadState* __tstate = wxPyBeginAllowThreads();
26189 (arg1)->SetNoCopies(arg2);
26190 wxPyEndAllowThreads(__tstate);
26191 if (PyErr_Occurred()) SWIG_fail;
26192 }
26193 resultobj = SWIG_Py_Void();
26194 return resultobj;
26195fail:
26196 return NULL;
26197}
26198
26199
26200SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26201 PyObject *resultobj = 0;
26202 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26203 bool arg2 ;
26204 void *argp1 = 0 ;
26205 int res1 = 0 ;
26206 bool val2 ;
26207 int ecode2 = 0 ;
26208 PyObject * obj0 = 0 ;
26209 PyObject * obj1 = 0 ;
26210 char * kwnames[] = {
26211 (char *) "self",(char *) "flag", NULL
26212 };
26213
26214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26216 if (!SWIG_IsOK(res1)) {
26217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26218 }
26219 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26220 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26221 if (!SWIG_IsOK(ecode2)) {
26222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26223 }
26224 arg2 = static_cast< bool >(val2);
26225 {
26226 PyThreadState* __tstate = wxPyBeginAllowThreads();
26227 (arg1)->SetAllPages(arg2);
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
26231 resultobj = SWIG_Py_Void();
26232 return resultobj;
26233fail:
26234 return NULL;
26235}
26236
26237
26238SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26239 PyObject *resultobj = 0;
26240 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26241 bool arg2 ;
26242 void *argp1 = 0 ;
26243 int res1 = 0 ;
26244 bool val2 ;
26245 int ecode2 = 0 ;
26246 PyObject * obj0 = 0 ;
26247 PyObject * obj1 = 0 ;
26248 char * kwnames[] = {
26249 (char *) "self",(char *) "flag", NULL
26250 };
26251
26252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26254 if (!SWIG_IsOK(res1)) {
26255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26256 }
26257 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26258 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26259 if (!SWIG_IsOK(ecode2)) {
26260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26261 }
26262 arg2 = static_cast< bool >(val2);
26263 {
26264 PyThreadState* __tstate = wxPyBeginAllowThreads();
26265 (arg1)->SetSelection(arg2);
26266 wxPyEndAllowThreads(__tstate);
26267 if (PyErr_Occurred()) SWIG_fail;
26268 }
26269 resultobj = SWIG_Py_Void();
26270 return resultobj;
26271fail:
26272 return NULL;
26273}
26274
26275
26276SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26277 PyObject *resultobj = 0;
26278 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26279 bool arg2 ;
26280 void *argp1 = 0 ;
26281 int res1 = 0 ;
26282 bool val2 ;
26283 int ecode2 = 0 ;
26284 PyObject * obj0 = 0 ;
26285 PyObject * obj1 = 0 ;
26286 char * kwnames[] = {
26287 (char *) "self",(char *) "flag", NULL
26288 };
26289
26290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26292 if (!SWIG_IsOK(res1)) {
26293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26294 }
26295 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26296 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26297 if (!SWIG_IsOK(ecode2)) {
26298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26299 }
26300 arg2 = static_cast< bool >(val2);
26301 {
26302 PyThreadState* __tstate = wxPyBeginAllowThreads();
26303 (arg1)->SetCollate(arg2);
26304 wxPyEndAllowThreads(__tstate);
26305 if (PyErr_Occurred()) SWIG_fail;
26306 }
26307 resultobj = SWIG_Py_Void();
26308 return resultobj;
26309fail:
26310 return NULL;
26311}
26312
26313
26314SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26315 PyObject *resultobj = 0;
26316 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26317 bool arg2 ;
26318 void *argp1 = 0 ;
26319 int res1 = 0 ;
26320 bool val2 ;
26321 int ecode2 = 0 ;
26322 PyObject * obj0 = 0 ;
26323 PyObject * obj1 = 0 ;
26324 char * kwnames[] = {
26325 (char *) "self",(char *) "flag", NULL
26326 };
26327
26328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26330 if (!SWIG_IsOK(res1)) {
26331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26332 }
26333 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26334 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26335 if (!SWIG_IsOK(ecode2)) {
26336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26337 }
26338 arg2 = static_cast< bool >(val2);
26339 {
26340 PyThreadState* __tstate = wxPyBeginAllowThreads();
26341 (arg1)->SetPrintToFile(arg2);
26342 wxPyEndAllowThreads(__tstate);
26343 if (PyErr_Occurred()) SWIG_fail;
26344 }
26345 resultobj = SWIG_Py_Void();
26346 return resultobj;
26347fail:
26348 return NULL;
26349}
26350
26351
26352SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26353 PyObject *resultobj = 0;
26354 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26355 bool arg2 ;
26356 void *argp1 = 0 ;
26357 int res1 = 0 ;
26358 bool val2 ;
26359 int ecode2 = 0 ;
26360 PyObject * obj0 = 0 ;
26361 PyObject * obj1 = 0 ;
26362 char * kwnames[] = {
26363 (char *) "self",(char *) "flag", NULL
26364 };
26365
26366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26368 if (!SWIG_IsOK(res1)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26370 }
26371 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26372 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26373 if (!SWIG_IsOK(ecode2)) {
26374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26375 }
26376 arg2 = static_cast< bool >(val2);
26377 {
26378 PyThreadState* __tstate = wxPyBeginAllowThreads();
26379 (arg1)->EnablePrintToFile(arg2);
26380 wxPyEndAllowThreads(__tstate);
26381 if (PyErr_Occurred()) SWIG_fail;
26382 }
26383 resultobj = SWIG_Py_Void();
26384 return resultobj;
26385fail:
26386 return NULL;
26387}
26388
26389
26390SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26391 PyObject *resultobj = 0;
26392 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26393 bool arg2 ;
26394 void *argp1 = 0 ;
26395 int res1 = 0 ;
26396 bool val2 ;
26397 int ecode2 = 0 ;
26398 PyObject * obj0 = 0 ;
26399 PyObject * obj1 = 0 ;
26400 char * kwnames[] = {
26401 (char *) "self",(char *) "flag", NULL
26402 };
26403
26404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26406 if (!SWIG_IsOK(res1)) {
26407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26408 }
26409 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26410 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26411 if (!SWIG_IsOK(ecode2)) {
26412 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26413 }
26414 arg2 = static_cast< bool >(val2);
26415 {
26416 PyThreadState* __tstate = wxPyBeginAllowThreads();
26417 (arg1)->EnableSelection(arg2);
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 resultobj = SWIG_Py_Void();
26422 return resultobj;
26423fail:
26424 return NULL;
26425}
26426
26427
26428SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26429 PyObject *resultobj = 0;
26430 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26431 bool arg2 ;
26432 void *argp1 = 0 ;
26433 int res1 = 0 ;
26434 bool val2 ;
26435 int ecode2 = 0 ;
26436 PyObject * obj0 = 0 ;
26437 PyObject * obj1 = 0 ;
26438 char * kwnames[] = {
26439 (char *) "self",(char *) "flag", NULL
26440 };
26441
26442 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26443 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26444 if (!SWIG_IsOK(res1)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26446 }
26447 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26448 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26449 if (!SWIG_IsOK(ecode2)) {
26450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26451 }
26452 arg2 = static_cast< bool >(val2);
26453 {
26454 PyThreadState* __tstate = wxPyBeginAllowThreads();
26455 (arg1)->EnablePageNumbers(arg2);
26456 wxPyEndAllowThreads(__tstate);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 resultobj = SWIG_Py_Void();
26460 return resultobj;
26461fail:
26462 return NULL;
26463}
26464
26465
26466SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26467 PyObject *resultobj = 0;
26468 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26469 bool arg2 ;
26470 void *argp1 = 0 ;
26471 int res1 = 0 ;
26472 bool val2 ;
26473 int ecode2 = 0 ;
26474 PyObject * obj0 = 0 ;
26475 PyObject * obj1 = 0 ;
26476 char * kwnames[] = {
26477 (char *) "self",(char *) "flag", NULL
26478 };
26479
26480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26482 if (!SWIG_IsOK(res1)) {
26483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26484 }
26485 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26486 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26487 if (!SWIG_IsOK(ecode2)) {
26488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26489 }
26490 arg2 = static_cast< bool >(val2);
26491 {
26492 PyThreadState* __tstate = wxPyBeginAllowThreads();
26493 (arg1)->EnableHelp(arg2);
26494 wxPyEndAllowThreads(__tstate);
26495 if (PyErr_Occurred()) SWIG_fail;
26496 }
26497 resultobj = SWIG_Py_Void();
26498 return resultobj;
26499fail:
26500 return NULL;
26501}
d55e5bfc 26502
1bd55598
RD
26503
26504SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26505 PyObject *resultobj = 0;
26506 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26507 bool result;
26508 void *argp1 = 0 ;
26509 int res1 = 0 ;
26510 PyObject *swig_obj[1] ;
26511
26512 if (!args) SWIG_fail;
26513 swig_obj[0] = args;
26514 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26515 if (!SWIG_IsOK(res1)) {
26516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26517 }
26518 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26519 {
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26522 wxPyEndAllowThreads(__tstate);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 }
26525 {
26526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26527 }
26528 return resultobj;
26529fail:
26530 return NULL;
d55e5bfc
RD
26531}
26532
26533
1bd55598
RD
26534SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26535 PyObject *resultobj = 0;
26536 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26537 bool result;
26538 void *argp1 = 0 ;
26539 int res1 = 0 ;
26540 PyObject *swig_obj[1] ;
26541
26542 if (!args) SWIG_fail;
26543 swig_obj[0] = args;
26544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26545 if (!SWIG_IsOK(res1)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26547 }
26548 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26549 {
26550 PyThreadState* __tstate = wxPyBeginAllowThreads();
26551 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26552 wxPyEndAllowThreads(__tstate);
26553 if (PyErr_Occurred()) SWIG_fail;
26554 }
26555 {
26556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26557 }
26558 return resultobj;
26559fail:
26560 return NULL;
d55e5bfc
RD
26561}
26562
26563
1bd55598
RD
26564SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26565 PyObject *resultobj = 0;
26566 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26567 bool result;
26568 void *argp1 = 0 ;
26569 int res1 = 0 ;
26570 PyObject *swig_obj[1] ;
26571
26572 if (!args) SWIG_fail;
26573 swig_obj[0] = args;
26574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26575 if (!SWIG_IsOK(res1)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26577 }
26578 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26579 {
26580 PyThreadState* __tstate = wxPyBeginAllowThreads();
26581 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26582 wxPyEndAllowThreads(__tstate);
26583 if (PyErr_Occurred()) SWIG_fail;
26584 }
26585 {
26586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26587 }
26588 return resultobj;
26589fail:
26590 return NULL;
d55e5bfc
RD
26591}
26592
26593
1bd55598
RD
26594SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26595 PyObject *resultobj = 0;
26596 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26597 bool result;
26598 void *argp1 = 0 ;
26599 int res1 = 0 ;
26600 PyObject *swig_obj[1] ;
26601
26602 if (!args) SWIG_fail;
26603 swig_obj[0] = args;
26604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26605 if (!SWIG_IsOK(res1)) {
26606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26607 }
26608 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26609 {
26610 PyThreadState* __tstate = wxPyBeginAllowThreads();
26611 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26612 wxPyEndAllowThreads(__tstate);
26613 if (PyErr_Occurred()) SWIG_fail;
26614 }
26615 {
26616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26617 }
26618 return resultobj;
26619fail:
26620 return NULL;
d55e5bfc
RD
26621}
26622
26623
1bd55598
RD
26624SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26625 PyObject *resultobj = 0;
26626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26627 bool result;
26628 void *argp1 = 0 ;
26629 int res1 = 0 ;
26630 PyObject *swig_obj[1] ;
26631
26632 if (!args) SWIG_fail;
26633 swig_obj[0] = args;
26634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26635 if (!SWIG_IsOK(res1)) {
26636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26637 }
26638 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 {
26646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26647 }
26648 return resultobj;
26649fail:
26650 return NULL;
d55e5bfc
RD
26651}
26652
26653
1bd55598
RD
26654SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26655 PyObject *resultobj = 0;
26656 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26657 wxPrintData *result = 0 ;
26658 void *argp1 = 0 ;
26659 int res1 = 0 ;
26660 PyObject *swig_obj[1] ;
26661
26662 if (!args) SWIG_fail;
26663 swig_obj[0] = args;
26664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26665 if (!SWIG_IsOK(res1)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26667 }
26668 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26669 {
26670 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26671 {
1bd55598
RD
26672 wxPrintData &_result_ref = (arg1)->GetPrintData();
26673 result = (wxPrintData *) &_result_ref;
26674 }
26675 wxPyEndAllowThreads(__tstate);
26676 if (PyErr_Occurred()) SWIG_fail;
26677 }
26678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26679 return resultobj;
26680fail:
26681 return NULL;
26682}
26683
26684
26685SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26686 PyObject *resultobj = 0;
26687 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26688 wxPrintData *arg2 = 0 ;
26689 void *argp1 = 0 ;
26690 int res1 = 0 ;
26691 void *argp2 = 0 ;
26692 int res2 = 0 ;
26693 PyObject * obj0 = 0 ;
26694 PyObject * obj1 = 0 ;
26695 char * kwnames[] = {
26696 (char *) "self",(char *) "printData", NULL
26697 };
26698
26699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26701 if (!SWIG_IsOK(res1)) {
26702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26703 }
26704 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26705 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26706 if (!SWIG_IsOK(res2)) {
26707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26708 }
26709 if (!argp2) {
26710 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26711 }
26712 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26713 {
26714 PyThreadState* __tstate = wxPyBeginAllowThreads();
26715 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26716 wxPyEndAllowThreads(__tstate);
26717 if (PyErr_Occurred()) SWIG_fail;
26718 }
26719 resultobj = SWIG_Py_Void();
26720 return resultobj;
26721fail:
26722 return NULL;
d55e5bfc
RD
26723}
26724
26725
1bd55598
RD
26726SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26727 PyObject *obj;
26728 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26729 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26730 return SWIG_Py_Void();
26731}
26732
26733SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26734 return SWIG_Python_InitShadowInstance(args);
26735}
26736
26737SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26738 PyObject *resultobj = 0;
26739 wxWindow *arg1 = (wxWindow *) 0 ;
26740 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
26741 wxPrintDialog *result = 0 ;
26742 void *argp1 = 0 ;
26743 int res1 = 0 ;
26744 void *argp2 = 0 ;
26745 int res2 = 0 ;
26746 PyObject * obj0 = 0 ;
26747 PyObject * obj1 = 0 ;
26748 char * kwnames[] = {
26749 (char *) "parent",(char *) "data", NULL
26750 };
26751
26752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26754 if (!SWIG_IsOK(res1)) {
26755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26756 }
26757 arg1 = reinterpret_cast< wxWindow * >(argp1);
26758 if (obj1) {
26759 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26760 if (!SWIG_IsOK(res2)) {
26761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 26762 }
1bd55598
RD
26763 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
26764 }
26765 {
26766 if (!wxPyCheckForApp()) SWIG_fail;
26767 PyThreadState* __tstate = wxPyBeginAllowThreads();
26768 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
26773 return resultobj;
26774fail:
26775 return NULL;
d55e5bfc
RD
26776}
26777
26778
06810ecf
RD
26779SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26780 PyObject *resultobj = 0;
26781 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26782 void *argp1 = 0 ;
26783 int res1 = 0 ;
26784 PyObject *swig_obj[1] ;
26785
26786 if (!args) SWIG_fail;
26787 swig_obj[0] = args;
26788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
26789 if (!SWIG_IsOK(res1)) {
26790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26791 }
26792 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26793 {
26794 PyThreadState* __tstate = wxPyBeginAllowThreads();
26795 delete arg1;
26796
26797 wxPyEndAllowThreads(__tstate);
26798 if (PyErr_Occurred()) SWIG_fail;
26799 }
26800 resultobj = SWIG_Py_Void();
26801 return resultobj;
26802fail:
26803 return NULL;
26804}
26805
26806
1bd55598
RD
26807SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26808 PyObject *resultobj = 0;
26809 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26810 int result;
26811 void *argp1 = 0 ;
26812 int res1 = 0 ;
26813 PyObject *swig_obj[1] ;
26814
26815 if (!args) SWIG_fail;
26816 swig_obj[0] = args;
26817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26818 if (!SWIG_IsOK(res1)) {
26819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26820 }
26821 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26822 {
26823 PyThreadState* __tstate = wxPyBeginAllowThreads();
26824 result = (int)(arg1)->ShowModal();
26825 wxPyEndAllowThreads(__tstate);
26826 if (PyErr_Occurred()) SWIG_fail;
26827 }
26828 resultobj = SWIG_From_int(static_cast< int >(result));
26829 return resultobj;
26830fail:
26831 return NULL;
d55e5bfc
RD
26832}
26833
26834
1bd55598
RD
26835SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26836 PyObject *resultobj = 0;
26837 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26838 wxPrintDialogData *result = 0 ;
26839 void *argp1 = 0 ;
26840 int res1 = 0 ;
26841 PyObject *swig_obj[1] ;
26842
26843 if (!args) SWIG_fail;
26844 swig_obj[0] = args;
26845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26846 if (!SWIG_IsOK(res1)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26848 }
26849 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26850 {
26851 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26852 {
1bd55598
RD
26853 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
26854 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 26855 }
1bd55598
RD
26856 wxPyEndAllowThreads(__tstate);
26857 if (PyErr_Occurred()) SWIG_fail;
26858 }
26859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26860 return resultobj;
26861fail:
26862 return NULL;
d55e5bfc
RD
26863}
26864
26865
1bd55598
RD
26866SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26867 PyObject *resultobj = 0;
26868 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26869 wxPrintData *result = 0 ;
26870 void *argp1 = 0 ;
26871 int res1 = 0 ;
26872 PyObject *swig_obj[1] ;
26873
26874 if (!args) SWIG_fail;
26875 swig_obj[0] = args;
26876 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26877 if (!SWIG_IsOK(res1)) {
26878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26879 }
26880 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26881 {
26882 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26883 {
1bd55598
RD
26884 wxPrintData &_result_ref = (arg1)->GetPrintData();
26885 result = (wxPrintData *) &_result_ref;
d55e5bfc 26886 }
1bd55598
RD
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26891 return resultobj;
26892fail:
26893 return NULL;
d55e5bfc
RD
26894}
26895
26896
1bd55598
RD
26897SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26898 PyObject *resultobj = 0;
26899 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
26900 wxDC *result = 0 ;
26901 void *argp1 = 0 ;
26902 int res1 = 0 ;
26903 PyObject *swig_obj[1] ;
26904
26905 if (!args) SWIG_fail;
26906 swig_obj[0] = args;
26907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
26908 if (!SWIG_IsOK(res1)) {
26909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26910 }
26911 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
26912 {
26913 PyThreadState* __tstate = wxPyBeginAllowThreads();
26914 result = (wxDC *)(arg1)->GetPrintDC();
26915 wxPyEndAllowThreads(__tstate);
26916 if (PyErr_Occurred()) SWIG_fail;
26917 }
26918 {
26919 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
26920 }
26921 return resultobj;
26922fail:
26923 return NULL;
d55e5bfc
RD
26924}
26925
26926
1bd55598
RD
26927SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26928 PyObject *obj;
26929 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26930 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
26931 return SWIG_Py_Void();
d55e5bfc
RD
26932}
26933
1bd55598
RD
26934SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26935 return SWIG_Python_InitShadowInstance(args);
26936}
d55e5bfc 26937
1bd55598
RD
26938SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26939 PyObject *resultobj = 0;
26940 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
26941 wxPrinter *result = 0 ;
26942 void *argp1 = 0 ;
26943 int res1 = 0 ;
26944 PyObject * obj0 = 0 ;
26945 char * kwnames[] = {
26946 (char *) "data", NULL
26947 };
26948
26949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
26950 if (obj0) {
26951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26952 if (!SWIG_IsOK(res1)) {
26953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d55e5bfc 26954 }
1bd55598
RD
26955 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26956 }
26957 {
26958 if (!wxPyCheckForApp()) SWIG_fail;
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 result = (wxPrinter *)new wxPrinter(arg1);
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
26964 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
26965 return resultobj;
26966fail:
26967 return NULL;
d55e5bfc
RD
26968}
26969
26970
1bd55598
RD
26971SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26972 PyObject *resultobj = 0;
26973 wxPrinter *arg1 = (wxPrinter *) 0 ;
26974 void *argp1 = 0 ;
26975 int res1 = 0 ;
26976 PyObject *swig_obj[1] ;
26977
26978 if (!args) SWIG_fail;
26979 swig_obj[0] = args;
26980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
26981 if (!SWIG_IsOK(res1)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26983 }
26984 arg1 = reinterpret_cast< wxPrinter * >(argp1);
26985 {
26986 PyThreadState* __tstate = wxPyBeginAllowThreads();
26987 delete arg1;
d55e5bfc 26988
1bd55598
RD
26989 wxPyEndAllowThreads(__tstate);
26990 if (PyErr_Occurred()) SWIG_fail;
26991 }
26992 resultobj = SWIG_Py_Void();
26993 return resultobj;
26994fail:
26995 return NULL;
26996}
26997
26998
26999SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27000 PyObject *resultobj = 0;
27001 wxPrinter *arg1 = (wxPrinter *) 0 ;
27002 wxWindow *arg2 = (wxWindow *) 0 ;
27003 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27004 wxWindow *result = 0 ;
27005 void *argp1 = 0 ;
27006 int res1 = 0 ;
27007 void *argp2 = 0 ;
27008 int res2 = 0 ;
27009 void *argp3 = 0 ;
27010 int res3 = 0 ;
27011 PyObject * obj0 = 0 ;
27012 PyObject * obj1 = 0 ;
27013 PyObject * obj2 = 0 ;
27014 char * kwnames[] = {
27015 (char *) "self",(char *) "parent",(char *) "printout", NULL
27016 };
27017
27018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27020 if (!SWIG_IsOK(res1)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27022 }
27023 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27024 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27025 if (!SWIG_IsOK(res2)) {
27026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27027 }
27028 arg2 = reinterpret_cast< wxWindow * >(argp2);
27029 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27030 if (!SWIG_IsOK(res3)) {
27031 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27032 }
27033 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27034 {
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
27036 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
27040 {
27041 resultobj = wxPyMake_wxObject(result, 0);
27042 }
27043 return resultobj;
27044fail:
27045 return NULL;
27046}
27047
27048
27049SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27050 PyObject *resultobj = 0;
27051 wxPrinter *arg1 = (wxPrinter *) 0 ;
27052 wxWindow *arg2 = (wxWindow *) 0 ;
27053 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27054 wxString *arg4 = 0 ;
27055 void *argp1 = 0 ;
27056 int res1 = 0 ;
27057 void *argp2 = 0 ;
27058 int res2 = 0 ;
27059 void *argp3 = 0 ;
27060 int res3 = 0 ;
27061 bool temp4 = false ;
27062 PyObject * obj0 = 0 ;
27063 PyObject * obj1 = 0 ;
27064 PyObject * obj2 = 0 ;
27065 PyObject * obj3 = 0 ;
27066 char * kwnames[] = {
27067 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27068 };
27069
27070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27072 if (!SWIG_IsOK(res1)) {
27073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27074 }
27075 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27076 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27077 if (!SWIG_IsOK(res2)) {
27078 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27079 }
27080 arg2 = reinterpret_cast< wxWindow * >(argp2);
27081 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27082 if (!SWIG_IsOK(res3)) {
27083 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27084 }
27085 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27086 {
27087 arg4 = wxString_in_helper(obj3);
27088 if (arg4 == NULL) SWIG_fail;
27089 temp4 = true;
27090 }
27091 {
27092 PyThreadState* __tstate = wxPyBeginAllowThreads();
27093 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27094 wxPyEndAllowThreads(__tstate);
27095 if (PyErr_Occurred()) SWIG_fail;
27096 }
27097 resultobj = SWIG_Py_Void();
27098 {
27099 if (temp4)
27100 delete arg4;
27101 }
27102 return resultobj;
27103fail:
27104 {
27105 if (temp4)
27106 delete arg4;
27107 }
27108 return NULL;
27109}
27110
27111
27112SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27113 PyObject *resultobj = 0;
27114 wxPrinter *arg1 = (wxPrinter *) 0 ;
27115 wxWindow *arg2 = (wxWindow *) 0 ;
27116 bool result;
27117 void *argp1 = 0 ;
27118 int res1 = 0 ;
27119 void *argp2 = 0 ;
27120 int res2 = 0 ;
27121 PyObject * obj0 = 0 ;
27122 PyObject * obj1 = 0 ;
27123 char * kwnames[] = {
27124 (char *) "self",(char *) "parent", NULL
27125 };
27126
27127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27129 if (!SWIG_IsOK(res1)) {
27130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27131 }
27132 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27133 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27134 if (!SWIG_IsOK(res2)) {
27135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27136 }
27137 arg2 = reinterpret_cast< wxWindow * >(argp2);
27138 {
27139 PyThreadState* __tstate = wxPyBeginAllowThreads();
27140 result = (bool)(arg1)->Setup(arg2);
27141 wxPyEndAllowThreads(__tstate);
27142 if (PyErr_Occurred()) SWIG_fail;
27143 }
27144 {
27145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27146 }
27147 return resultobj;
27148fail:
27149 return NULL;
27150}
27151
27152
27153SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27154 PyObject *resultobj = 0;
27155 wxPrinter *arg1 = (wxPrinter *) 0 ;
27156 wxWindow *arg2 = (wxWindow *) 0 ;
27157 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27158 bool arg4 = (bool) true ;
27159 bool result;
27160 void *argp1 = 0 ;
27161 int res1 = 0 ;
27162 void *argp2 = 0 ;
27163 int res2 = 0 ;
27164 void *argp3 = 0 ;
27165 int res3 = 0 ;
27166 bool val4 ;
27167 int ecode4 = 0 ;
27168 PyObject * obj0 = 0 ;
27169 PyObject * obj1 = 0 ;
27170 PyObject * obj2 = 0 ;
27171 PyObject * obj3 = 0 ;
27172 char * kwnames[] = {
27173 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27174 };
27175
27176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27178 if (!SWIG_IsOK(res1)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27180 }
27181 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27182 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27183 if (!SWIG_IsOK(res2)) {
27184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27185 }
27186 arg2 = reinterpret_cast< wxWindow * >(argp2);
27187 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27188 if (!SWIG_IsOK(res3)) {
27189 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27190 }
27191 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27192 if (obj3) {
27193 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27194 if (!SWIG_IsOK(ecode4)) {
27195 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27196 }
27197 arg4 = static_cast< bool >(val4);
27198 }
27199 {
27200 PyThreadState* __tstate = wxPyBeginAllowThreads();
27201 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27202 wxPyEndAllowThreads(__tstate);
27203 if (PyErr_Occurred()) SWIG_fail;
27204 }
27205 {
27206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27207 }
27208 return resultobj;
27209fail:
27210 return NULL;
27211}
27212
27213
27214SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27215 PyObject *resultobj = 0;
27216 wxPrinter *arg1 = (wxPrinter *) 0 ;
27217 wxWindow *arg2 = (wxWindow *) 0 ;
27218 wxDC *result = 0 ;
27219 void *argp1 = 0 ;
27220 int res1 = 0 ;
27221 void *argp2 = 0 ;
27222 int res2 = 0 ;
27223 PyObject * obj0 = 0 ;
27224 PyObject * obj1 = 0 ;
27225 char * kwnames[] = {
27226 (char *) "self",(char *) "parent", NULL
27227 };
27228
27229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27231 if (!SWIG_IsOK(res1)) {
27232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27233 }
27234 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27235 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27236 if (!SWIG_IsOK(res2)) {
27237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27238 }
27239 arg2 = reinterpret_cast< wxWindow * >(argp2);
27240 {
27241 PyThreadState* __tstate = wxPyBeginAllowThreads();
27242 result = (wxDC *)(arg1)->PrintDialog(arg2);
27243 wxPyEndAllowThreads(__tstate);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 {
27247 resultobj = wxPyMake_wxObject(result, (bool)0);
27248 }
27249 return resultobj;
27250fail:
27251 return NULL;
d55e5bfc
RD
27252}
27253
27254
1bd55598
RD
27255SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27256 PyObject *resultobj = 0;
27257 wxPrinter *arg1 = (wxPrinter *) 0 ;
27258 wxPrintDialogData *result = 0 ;
27259 void *argp1 = 0 ;
27260 int res1 = 0 ;
27261 PyObject *swig_obj[1] ;
27262
27263 if (!args) SWIG_fail;
27264 swig_obj[0] = args;
27265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27266 if (!SWIG_IsOK(res1)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27268 }
27269 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27270 {
27271 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 27272 {
1bd55598
RD
27273 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27274 result = (wxPrintDialogData *) &_result_ref;
36ed4f51 27275 }
1bd55598
RD
27276 wxPyEndAllowThreads(__tstate);
27277 if (PyErr_Occurred()) SWIG_fail;
27278 }
27279 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27280 return resultobj;
27281fail:
27282 return NULL;
d55e5bfc
RD
27283}
27284
27285
1bd55598
RD
27286SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27287 PyObject *resultobj = 0;
27288 wxPrinter *arg1 = (wxPrinter *) 0 ;
27289 bool result;
27290 void *argp1 = 0 ;
27291 int res1 = 0 ;
27292 PyObject *swig_obj[1] ;
27293
27294 if (!args) SWIG_fail;
27295 swig_obj[0] = args;
27296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27297 if (!SWIG_IsOK(res1)) {
27298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27299 }
27300 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27301 {
27302 PyThreadState* __tstate = wxPyBeginAllowThreads();
27303 result = (bool)(arg1)->GetAbort();
27304 wxPyEndAllowThreads(__tstate);
27305 if (PyErr_Occurred()) SWIG_fail;
27306 }
27307 {
27308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27309 }
27310 return resultobj;
27311fail:
27312 return NULL;
d55e5bfc
RD
27313}
27314
27315
1bd55598
RD
27316SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27317 PyObject *resultobj = 0;
27318 wxPrinterError result;
27319
27320 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27321 {
27322 PyThreadState* __tstate = wxPyBeginAllowThreads();
27323 result = (wxPrinterError)wxPrinter::GetLastError();
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 resultobj = SWIG_From_int(static_cast< int >(result));
27328 return resultobj;
27329fail:
27330 return NULL;
d55e5bfc
RD
27331}
27332
27333
1bd55598
RD
27334SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27335 PyObject *obj;
27336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27337 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27338 return SWIG_Py_Void();
d55e5bfc
RD
27339}
27340
1bd55598
RD
27341SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27342 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27343}
27344
1bd55598
RD
27345SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27346 PyObject *resultobj = 0;
27347 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27348 wxString *arg1 = (wxString *) &arg1_defvalue ;
27349 wxPyPrintout *result = 0 ;
27350 bool temp1 = false ;
27351 PyObject * obj0 = 0 ;
27352 char * kwnames[] = {
27353 (char *) "title", NULL
27354 };
27355
27356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27357 if (obj0) {
d55e5bfc 27358 {
1bd55598
RD
27359 arg1 = wxString_in_helper(obj0);
27360 if (arg1 == NULL) SWIG_fail;
27361 temp1 = true;
d55e5bfc 27362 }
1bd55598
RD
27363 }
27364 {
27365 if (!wxPyCheckForApp()) SWIG_fail;
27366 PyThreadState* __tstate = wxPyBeginAllowThreads();
27367 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27368 wxPyEndAllowThreads(__tstate);
27369 if (PyErr_Occurred()) SWIG_fail;
27370 }
27371 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27372 {
27373 if (temp1)
27374 delete arg1;
27375 }
27376 return resultobj;
27377fail:
27378 {
27379 if (temp1)
27380 delete arg1;
27381 }
27382 return NULL;
d55e5bfc
RD
27383}
27384
27385
1bd55598
RD
27386SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27387 PyObject *resultobj = 0;
27388 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27389 void *argp1 = 0 ;
27390 int res1 = 0 ;
27391 PyObject *swig_obj[1] ;
27392
27393 if (!args) SWIG_fail;
27394 swig_obj[0] = args;
27395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27396 if (!SWIG_IsOK(res1)) {
27397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27398 }
27399 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27400 {
27401 PyThreadState* __tstate = wxPyBeginAllowThreads();
27402 delete arg1;
d55e5bfc 27403
1bd55598
RD
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
27407 resultobj = SWIG_Py_Void();
27408 return resultobj;
27409fail:
27410 return NULL;
27411}
27412
27413
27414SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27415 PyObject *resultobj = 0;
27416 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27417 PyObject *arg2 = (PyObject *) 0 ;
27418 PyObject *arg3 = (PyObject *) 0 ;
27419 void *argp1 = 0 ;
27420 int res1 = 0 ;
27421 PyObject * obj0 = 0 ;
27422 PyObject * obj1 = 0 ;
27423 PyObject * obj2 = 0 ;
27424 char * kwnames[] = {
27425 (char *) "self",(char *) "self",(char *) "_class", NULL
27426 };
27427
27428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27430 if (!SWIG_IsOK(res1)) {
27431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27432 }
27433 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27434 arg2 = obj1;
27435 arg3 = obj2;
27436 {
27437 PyThreadState* __tstate = wxPyBeginAllowThreads();
27438 (arg1)->_setCallbackInfo(arg2,arg3);
27439 wxPyEndAllowThreads(__tstate);
27440 if (PyErr_Occurred()) SWIG_fail;
27441 }
27442 resultobj = SWIG_Py_Void();
27443 return resultobj;
27444fail:
27445 return NULL;
d55e5bfc
RD
27446}
27447
27448
1bd55598
RD
27449SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27450 PyObject *resultobj = 0;
27451 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27452 wxString result;
27453 void *argp1 = 0 ;
27454 int res1 = 0 ;
27455 PyObject *swig_obj[1] ;
27456
27457 if (!args) SWIG_fail;
27458 swig_obj[0] = args;
27459 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27460 if (!SWIG_IsOK(res1)) {
27461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27462 }
27463 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
27466 result = ((wxPyPrintout const *)arg1)->GetTitle();
27467 wxPyEndAllowThreads(__tstate);
27468 if (PyErr_Occurred()) SWIG_fail;
27469 }
27470 {
27471#if wxUSE_UNICODE
27472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27473#else
27474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27475#endif
27476 }
27477 return resultobj;
27478fail:
27479 return NULL;
d55e5bfc
RD
27480}
27481
27482
1bd55598
RD
27483SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27484 PyObject *resultobj = 0;
27485 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27486 wxDC *result = 0 ;
27487 void *argp1 = 0 ;
27488 int res1 = 0 ;
27489 PyObject *swig_obj[1] ;
27490
27491 if (!args) SWIG_fail;
27492 swig_obj[0] = args;
27493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27494 if (!SWIG_IsOK(res1)) {
27495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27496 }
27497 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27498 {
27499 PyThreadState* __tstate = wxPyBeginAllowThreads();
27500 result = (wxDC *)(arg1)->GetDC();
27501 wxPyEndAllowThreads(__tstate);
27502 if (PyErr_Occurred()) SWIG_fail;
27503 }
27504 {
27505 resultobj = wxPyMake_wxObject(result, (bool)0);
27506 }
27507 return resultobj;
27508fail:
27509 return NULL;
27510}
27511
27512
27513SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27514 PyObject *resultobj = 0;
27515 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27516 wxDC *arg2 = (wxDC *) 0 ;
27517 void *argp1 = 0 ;
27518 int res1 = 0 ;
27519 void *argp2 = 0 ;
27520 int res2 = 0 ;
27521 PyObject * obj0 = 0 ;
27522 PyObject * obj1 = 0 ;
27523 char * kwnames[] = {
27524 (char *) "self",(char *) "dc", NULL
27525 };
27526
27527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27529 if (!SWIG_IsOK(res1)) {
27530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27531 }
27532 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27533 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27534 if (!SWIG_IsOK(res2)) {
27535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27536 }
27537 arg2 = reinterpret_cast< wxDC * >(argp2);
27538 {
27539 PyThreadState* __tstate = wxPyBeginAllowThreads();
27540 (arg1)->SetDC(arg2);
27541 wxPyEndAllowThreads(__tstate);
27542 if (PyErr_Occurred()) SWIG_fail;
27543 }
27544 resultobj = SWIG_Py_Void();
27545 return resultobj;
27546fail:
27547 return NULL;
27548}
27549
27550
27551SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27552 PyObject *resultobj = 0;
27553 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27554 int arg2 ;
27555 int arg3 ;
27556 void *argp1 = 0 ;
27557 int res1 = 0 ;
27558 int val2 ;
27559 int ecode2 = 0 ;
27560 int val3 ;
27561 int ecode3 = 0 ;
27562 PyObject * obj0 = 0 ;
27563 PyObject * obj1 = 0 ;
27564 PyObject * obj2 = 0 ;
27565 char * kwnames[] = {
27566 (char *) "self",(char *) "w",(char *) "h", NULL
27567 };
27568
27569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27571 if (!SWIG_IsOK(res1)) {
27572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27573 }
27574 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27575 ecode2 = SWIG_AsVal_int(obj1, &val2);
27576 if (!SWIG_IsOK(ecode2)) {
27577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27578 }
27579 arg2 = static_cast< int >(val2);
27580 ecode3 = SWIG_AsVal_int(obj2, &val3);
27581 if (!SWIG_IsOK(ecode3)) {
27582 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27583 }
27584 arg3 = static_cast< int >(val3);
27585 {
27586 PyThreadState* __tstate = wxPyBeginAllowThreads();
27587 (arg1)->SetPageSizePixels(arg2,arg3);
27588 wxPyEndAllowThreads(__tstate);
27589 if (PyErr_Occurred()) SWIG_fail;
27590 }
27591 resultobj = SWIG_Py_Void();
27592 return resultobj;
27593fail:
27594 return NULL;
27595}
27596
27597
27598SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27599 PyObject *resultobj = 0;
27600 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27601 int *arg2 = (int *) 0 ;
27602 int *arg3 = (int *) 0 ;
27603 void *argp1 = 0 ;
27604 int res1 = 0 ;
27605 int temp2 ;
27606 int res2 = SWIG_TMPOBJ ;
27607 int temp3 ;
27608 int res3 = SWIG_TMPOBJ ;
27609 PyObject *swig_obj[1] ;
27610
27611 arg2 = &temp2;
27612 arg3 = &temp3;
27613 if (!args) SWIG_fail;
27614 swig_obj[0] = args;
27615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27616 if (!SWIG_IsOK(res1)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27618 }
27619 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27620 {
27621 PyThreadState* __tstate = wxPyBeginAllowThreads();
27622 (arg1)->GetPageSizePixels(arg2,arg3);
27623 wxPyEndAllowThreads(__tstate);
27624 if (PyErr_Occurred()) SWIG_fail;
27625 }
27626 resultobj = SWIG_Py_Void();
27627 if (SWIG_IsTmpObj(res2)) {
27628 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27629 } else {
27630 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27631 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27632 }
27633 if (SWIG_IsTmpObj(res3)) {
27634 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27635 } else {
27636 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27637 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27638 }
27639 return resultobj;
27640fail:
27641 return NULL;
27642}
27643
27644
27645SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27646 PyObject *resultobj = 0;
27647 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27648 int arg2 ;
27649 int arg3 ;
27650 void *argp1 = 0 ;
27651 int res1 = 0 ;
27652 int val2 ;
27653 int ecode2 = 0 ;
27654 int val3 ;
27655 int ecode3 = 0 ;
27656 PyObject * obj0 = 0 ;
27657 PyObject * obj1 = 0 ;
27658 PyObject * obj2 = 0 ;
27659 char * kwnames[] = {
27660 (char *) "self",(char *) "w",(char *) "h", NULL
27661 };
27662
27663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27665 if (!SWIG_IsOK(res1)) {
27666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27667 }
27668 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27669 ecode2 = SWIG_AsVal_int(obj1, &val2);
27670 if (!SWIG_IsOK(ecode2)) {
27671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27672 }
27673 arg2 = static_cast< int >(val2);
27674 ecode3 = SWIG_AsVal_int(obj2, &val3);
27675 if (!SWIG_IsOK(ecode3)) {
27676 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27677 }
27678 arg3 = static_cast< int >(val3);
27679 {
27680 PyThreadState* __tstate = wxPyBeginAllowThreads();
27681 (arg1)->SetPageSizeMM(arg2,arg3);
27682 wxPyEndAllowThreads(__tstate);
27683 if (PyErr_Occurred()) SWIG_fail;
27684 }
27685 resultobj = SWIG_Py_Void();
27686 return resultobj;
27687fail:
27688 return NULL;
27689}
27690
27691
27692SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27693 PyObject *resultobj = 0;
27694 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27695 int *arg2 = (int *) 0 ;
27696 int *arg3 = (int *) 0 ;
27697 void *argp1 = 0 ;
27698 int res1 = 0 ;
27699 int temp2 ;
27700 int res2 = SWIG_TMPOBJ ;
27701 int temp3 ;
27702 int res3 = SWIG_TMPOBJ ;
27703 PyObject *swig_obj[1] ;
27704
27705 arg2 = &temp2;
27706 arg3 = &temp3;
27707 if (!args) SWIG_fail;
27708 swig_obj[0] = args;
27709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27710 if (!SWIG_IsOK(res1)) {
27711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27712 }
27713 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27714 {
27715 PyThreadState* __tstate = wxPyBeginAllowThreads();
27716 (arg1)->GetPageSizeMM(arg2,arg3);
27717 wxPyEndAllowThreads(__tstate);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 resultobj = SWIG_Py_Void();
27721 if (SWIG_IsTmpObj(res2)) {
27722 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27723 } else {
27724 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27725 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27726 }
27727 if (SWIG_IsTmpObj(res3)) {
27728 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27729 } else {
27730 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27731 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27732 }
27733 return resultobj;
27734fail:
27735 return NULL;
27736}
27737
27738
27739SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27740 PyObject *resultobj = 0;
27741 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27742 int arg2 ;
27743 int arg3 ;
27744 void *argp1 = 0 ;
27745 int res1 = 0 ;
27746 int val2 ;
27747 int ecode2 = 0 ;
27748 int val3 ;
27749 int ecode3 = 0 ;
27750 PyObject * obj0 = 0 ;
27751 PyObject * obj1 = 0 ;
27752 PyObject * obj2 = 0 ;
27753 char * kwnames[] = {
27754 (char *) "self",(char *) "x",(char *) "y", NULL
27755 };
27756
27757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27759 if (!SWIG_IsOK(res1)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27761 }
27762 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27763 ecode2 = SWIG_AsVal_int(obj1, &val2);
27764 if (!SWIG_IsOK(ecode2)) {
27765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27766 }
27767 arg2 = static_cast< int >(val2);
27768 ecode3 = SWIG_AsVal_int(obj2, &val3);
27769 if (!SWIG_IsOK(ecode3)) {
27770 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27771 }
27772 arg3 = static_cast< int >(val3);
27773 {
27774 PyThreadState* __tstate = wxPyBeginAllowThreads();
27775 (arg1)->SetPPIScreen(arg2,arg3);
27776 wxPyEndAllowThreads(__tstate);
27777 if (PyErr_Occurred()) SWIG_fail;
27778 }
27779 resultobj = SWIG_Py_Void();
27780 return resultobj;
27781fail:
27782 return NULL;
27783}
27784
27785
27786SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27787 PyObject *resultobj = 0;
27788 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27789 int *arg2 = (int *) 0 ;
27790 int *arg3 = (int *) 0 ;
27791 void *argp1 = 0 ;
27792 int res1 = 0 ;
27793 int temp2 ;
27794 int res2 = SWIG_TMPOBJ ;
27795 int temp3 ;
27796 int res3 = SWIG_TMPOBJ ;
27797 PyObject *swig_obj[1] ;
27798
27799 arg2 = &temp2;
27800 arg3 = &temp3;
27801 if (!args) SWIG_fail;
27802 swig_obj[0] = args;
27803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27804 if (!SWIG_IsOK(res1)) {
27805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27806 }
27807 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27808 {
27809 PyThreadState* __tstate = wxPyBeginAllowThreads();
27810 (arg1)->GetPPIScreen(arg2,arg3);
27811 wxPyEndAllowThreads(__tstate);
27812 if (PyErr_Occurred()) SWIG_fail;
27813 }
27814 resultobj = SWIG_Py_Void();
27815 if (SWIG_IsTmpObj(res2)) {
27816 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27817 } else {
27818 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27819 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27820 }
27821 if (SWIG_IsTmpObj(res3)) {
27822 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27823 } else {
27824 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27825 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27826 }
27827 return resultobj;
27828fail:
27829 return NULL;
27830}
27831
27832
27833SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27834 PyObject *resultobj = 0;
27835 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27836 int arg2 ;
27837 int arg3 ;
27838 void *argp1 = 0 ;
27839 int res1 = 0 ;
27840 int val2 ;
27841 int ecode2 = 0 ;
27842 int val3 ;
27843 int ecode3 = 0 ;
27844 PyObject * obj0 = 0 ;
27845 PyObject * obj1 = 0 ;
27846 PyObject * obj2 = 0 ;
27847 char * kwnames[] = {
27848 (char *) "self",(char *) "x",(char *) "y", NULL
27849 };
27850
27851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27853 if (!SWIG_IsOK(res1)) {
27854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27855 }
27856 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27857 ecode2 = SWIG_AsVal_int(obj1, &val2);
27858 if (!SWIG_IsOK(ecode2)) {
27859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27860 }
27861 arg2 = static_cast< int >(val2);
27862 ecode3 = SWIG_AsVal_int(obj2, &val3);
27863 if (!SWIG_IsOK(ecode3)) {
27864 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27865 }
27866 arg3 = static_cast< int >(val3);
27867 {
27868 PyThreadState* __tstate = wxPyBeginAllowThreads();
27869 (arg1)->SetPPIPrinter(arg2,arg3);
27870 wxPyEndAllowThreads(__tstate);
27871 if (PyErr_Occurred()) SWIG_fail;
27872 }
27873 resultobj = SWIG_Py_Void();
27874 return resultobj;
27875fail:
27876 return NULL;
27877}
27878
27879
27880SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27881 PyObject *resultobj = 0;
27882 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27883 int *arg2 = (int *) 0 ;
27884 int *arg3 = (int *) 0 ;
27885 void *argp1 = 0 ;
27886 int res1 = 0 ;
27887 int temp2 ;
27888 int res2 = SWIG_TMPOBJ ;
27889 int temp3 ;
27890 int res3 = SWIG_TMPOBJ ;
27891 PyObject *swig_obj[1] ;
27892
27893 arg2 = &temp2;
27894 arg3 = &temp3;
27895 if (!args) SWIG_fail;
27896 swig_obj[0] = args;
27897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27898 if (!SWIG_IsOK(res1)) {
27899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27900 }
27901 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27902 {
27903 PyThreadState* __tstate = wxPyBeginAllowThreads();
27904 (arg1)->GetPPIPrinter(arg2,arg3);
27905 wxPyEndAllowThreads(__tstate);
27906 if (PyErr_Occurred()) SWIG_fail;
27907 }
27908 resultobj = SWIG_Py_Void();
27909 if (SWIG_IsTmpObj(res2)) {
27910 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27911 } else {
27912 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27913 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27914 }
27915 if (SWIG_IsTmpObj(res3)) {
27916 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27917 } else {
27918 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27919 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27920 }
27921 return resultobj;
27922fail:
27923 return NULL;
d55e5bfc
RD
27924}
27925
27926
1bd55598
RD
27927SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27928 PyObject *resultobj = 0;
27929 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27930 bool result;
27931 void *argp1 = 0 ;
27932 int res1 = 0 ;
27933 PyObject *swig_obj[1] ;
27934
27935 if (!args) SWIG_fail;
27936 swig_obj[0] = args;
27937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27938 if (!SWIG_IsOK(res1)) {
27939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27940 }
27941 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27942 {
27943 PyThreadState* __tstate = wxPyBeginAllowThreads();
27944 result = (bool)(arg1)->IsPreview();
27945 wxPyEndAllowThreads(__tstate);
27946 if (PyErr_Occurred()) SWIG_fail;
27947 }
27948 {
27949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27950 }
27951 return resultobj;
27952fail:
27953 return NULL;
27954}
27955
27956
27957SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27958 PyObject *resultobj = 0;
27959 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27960 bool arg2 ;
27961 void *argp1 = 0 ;
27962 int res1 = 0 ;
27963 bool val2 ;
27964 int ecode2 = 0 ;
27965 PyObject * obj0 = 0 ;
27966 PyObject * obj1 = 0 ;
27967 char * kwnames[] = {
27968 (char *) "self",(char *) "p", NULL
27969 };
27970
27971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
27972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27973 if (!SWIG_IsOK(res1)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27975 }
27976 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27977 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27978 if (!SWIG_IsOK(ecode2)) {
27979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27980 }
27981 arg2 = static_cast< bool >(val2);
27982 {
27983 PyThreadState* __tstate = wxPyBeginAllowThreads();
27984 (arg1)->SetIsPreview(arg2);
27985 wxPyEndAllowThreads(__tstate);
27986 if (PyErr_Occurred()) SWIG_fail;
27987 }
27988 resultobj = SWIG_Py_Void();
27989 return resultobj;
27990fail:
27991 return NULL;
27992}
27993
27994
27995SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27996 PyObject *resultobj = 0;
27997 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27998 int arg2 ;
27999 int arg3 ;
28000 bool result;
28001 void *argp1 = 0 ;
28002 int res1 = 0 ;
28003 int val2 ;
28004 int ecode2 = 0 ;
28005 int val3 ;
28006 int ecode3 = 0 ;
28007 PyObject * obj0 = 0 ;
28008 PyObject * obj1 = 0 ;
28009 PyObject * obj2 = 0 ;
28010 char * kwnames[] = {
28011 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28012 };
28013
28014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28016 if (!SWIG_IsOK(res1)) {
28017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28018 }
28019 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28020 ecode2 = SWIG_AsVal_int(obj1, &val2);
28021 if (!SWIG_IsOK(ecode2)) {
28022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28023 }
28024 arg2 = static_cast< int >(val2);
28025 ecode3 = SWIG_AsVal_int(obj2, &val3);
28026 if (!SWIG_IsOK(ecode3)) {
28027 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28028 }
28029 arg3 = static_cast< int >(val3);
28030 {
28031 PyThreadState* __tstate = wxPyBeginAllowThreads();
28032 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28033 wxPyEndAllowThreads(__tstate);
28034 if (PyErr_Occurred()) SWIG_fail;
28035 }
28036 {
28037 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28038 }
28039 return resultobj;
28040fail:
28041 return NULL;
d55e5bfc
RD
28042}
28043
28044
1bd55598
RD
28045SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28046 PyObject *resultobj = 0;
28047 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28048 void *argp1 = 0 ;
28049 int res1 = 0 ;
28050 PyObject *swig_obj[1] ;
28051
28052 if (!args) SWIG_fail;
28053 swig_obj[0] = args;
28054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28055 if (!SWIG_IsOK(res1)) {
28056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28057 }
28058 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28059 {
28060 PyThreadState* __tstate = wxPyBeginAllowThreads();
28061 (arg1)->OnEndDocument();
28062 wxPyEndAllowThreads(__tstate);
28063 if (PyErr_Occurred()) SWIG_fail;
28064 }
28065 resultobj = SWIG_Py_Void();
28066 return resultobj;
28067fail:
28068 return NULL;
28069}
28070
28071
28072SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28073 PyObject *resultobj = 0;
28074 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28075 void *argp1 = 0 ;
28076 int res1 = 0 ;
28077 PyObject *swig_obj[1] ;
28078
28079 if (!args) SWIG_fail;
28080 swig_obj[0] = args;
28081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28082 if (!SWIG_IsOK(res1)) {
28083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28084 }
28085 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28086 {
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 (arg1)->OnBeginPrinting();
28089 wxPyEndAllowThreads(__tstate);
28090 if (PyErr_Occurred()) SWIG_fail;
28091 }
28092 resultobj = SWIG_Py_Void();
28093 return resultobj;
28094fail:
28095 return NULL;
28096}
28097
28098
28099SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28100 PyObject *resultobj = 0;
28101 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28102 void *argp1 = 0 ;
28103 int res1 = 0 ;
28104 PyObject *swig_obj[1] ;
28105
28106 if (!args) SWIG_fail;
28107 swig_obj[0] = args;
28108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28109 if (!SWIG_IsOK(res1)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28111 }
28112 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28113 {
28114 PyThreadState* __tstate = wxPyBeginAllowThreads();
28115 (arg1)->OnEndPrinting();
28116 wxPyEndAllowThreads(__tstate);
28117 if (PyErr_Occurred()) SWIG_fail;
28118 }
28119 resultobj = SWIG_Py_Void();
28120 return resultobj;
28121fail:
28122 return NULL;
28123}
28124
28125
28126SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28127 PyObject *resultobj = 0;
28128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28129 void *argp1 = 0 ;
28130 int res1 = 0 ;
28131 PyObject *swig_obj[1] ;
28132
28133 if (!args) SWIG_fail;
28134 swig_obj[0] = args;
28135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28136 if (!SWIG_IsOK(res1)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28138 }
28139 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28140 {
28141 PyThreadState* __tstate = wxPyBeginAllowThreads();
28142 (arg1)->OnPreparePrinting();
28143 wxPyEndAllowThreads(__tstate);
28144 if (PyErr_Occurred()) SWIG_fail;
28145 }
28146 resultobj = SWIG_Py_Void();
28147 return resultobj;
28148fail:
28149 return NULL;
28150}
28151
28152
28153SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28154 PyObject *resultobj = 0;
28155 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28156 int arg2 ;
28157 bool result;
28158 void *argp1 = 0 ;
28159 int res1 = 0 ;
28160 int val2 ;
28161 int ecode2 = 0 ;
28162 PyObject * obj0 = 0 ;
28163 PyObject * obj1 = 0 ;
28164 char * kwnames[] = {
28165 (char *) "self",(char *) "page", NULL
28166 };
28167
28168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28170 if (!SWIG_IsOK(res1)) {
28171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28172 }
28173 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28174 ecode2 = SWIG_AsVal_int(obj1, &val2);
28175 if (!SWIG_IsOK(ecode2)) {
28176 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28177 }
28178 arg2 = static_cast< int >(val2);
28179 {
28180 PyThreadState* __tstate = wxPyBeginAllowThreads();
28181 result = (bool)(arg1)->HasPage(arg2);
28182 wxPyEndAllowThreads(__tstate);
28183 if (PyErr_Occurred()) SWIG_fail;
28184 }
28185 {
28186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28187 }
28188 return resultobj;
28189fail:
28190 return NULL;
28191}
28192
28193
28194SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28195 PyObject *resultobj = 0;
28196 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28197 int *arg2 = (int *) 0 ;
28198 int *arg3 = (int *) 0 ;
28199 int *arg4 = (int *) 0 ;
28200 int *arg5 = (int *) 0 ;
28201 void *argp1 = 0 ;
28202 int res1 = 0 ;
28203 int temp2 ;
28204 int res2 = SWIG_TMPOBJ ;
28205 int temp3 ;
28206 int res3 = SWIG_TMPOBJ ;
28207 int temp4 ;
28208 int res4 = SWIG_TMPOBJ ;
28209 int temp5 ;
28210 int res5 = SWIG_TMPOBJ ;
28211 PyObject *swig_obj[1] ;
28212
28213 arg2 = &temp2;
28214 arg3 = &temp3;
28215 arg4 = &temp4;
28216 arg5 = &temp5;
28217 if (!args) SWIG_fail;
28218 swig_obj[0] = args;
28219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28220 if (!SWIG_IsOK(res1)) {
28221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28222 }
28223 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28224 {
28225 PyThreadState* __tstate = wxPyBeginAllowThreads();
28226 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28227 wxPyEndAllowThreads(__tstate);
28228 if (PyErr_Occurred()) SWIG_fail;
28229 }
28230 resultobj = SWIG_Py_Void();
28231 if (SWIG_IsTmpObj(res2)) {
28232 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28233 } else {
28234 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28235 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28236 }
28237 if (SWIG_IsTmpObj(res3)) {
28238 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28239 } else {
28240 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28241 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28242 }
28243 if (SWIG_IsTmpObj(res4)) {
28244 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28245 } else {
28246 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28247 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28248 }
28249 if (SWIG_IsTmpObj(res5)) {
28250 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28251 } else {
28252 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28253 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28254 }
28255 return resultobj;
28256fail:
28257 return NULL;
28258}
28259
28260
28261SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28262 PyObject *obj;
28263 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28264 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28265 return SWIG_Py_Void();
28266}
28267
28268SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28269 return SWIG_Python_InitShadowInstance(args);
28270}
28271
28272SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28273 PyObject *resultobj = 0;
28274 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28275 wxWindow *arg2 = (wxWindow *) 0 ;
28276 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28277 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28278 wxSize const &arg4_defvalue = wxDefaultSize ;
28279 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28280 long arg5 = (long) 0 ;
28281 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28282 wxString *arg6 = (wxString *) &arg6_defvalue ;
28283 wxPreviewCanvas *result = 0 ;
28284 void *argp1 = 0 ;
28285 int res1 = 0 ;
28286 void *argp2 = 0 ;
28287 int res2 = 0 ;
28288 wxPoint temp3 ;
28289 wxSize temp4 ;
28290 long val5 ;
28291 int ecode5 = 0 ;
28292 bool temp6 = false ;
28293 PyObject * obj0 = 0 ;
28294 PyObject * obj1 = 0 ;
28295 PyObject * obj2 = 0 ;
28296 PyObject * obj3 = 0 ;
28297 PyObject * obj4 = 0 ;
28298 PyObject * obj5 = 0 ;
28299 char * kwnames[] = {
28300 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28301 };
28302
28303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28305 if (!SWIG_IsOK(res1)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28307 }
28308 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28309 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28310 if (!SWIG_IsOK(res2)) {
28311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28312 }
28313 arg2 = reinterpret_cast< wxWindow * >(argp2);
28314 if (obj2) {
d55e5bfc 28315 {
1bd55598
RD
28316 arg3 = &temp3;
28317 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 28318 }
1bd55598
RD
28319 }
28320 if (obj3) {
d55e5bfc 28321 {
1bd55598
RD
28322 arg4 = &temp4;
28323 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28324 }
1bd55598
RD
28325 }
28326 if (obj4) {
28327 ecode5 = SWIG_AsVal_long(obj4, &val5);
28328 if (!SWIG_IsOK(ecode5)) {
28329 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28330 }
28331 arg5 = static_cast< long >(val5);
28332 }
28333 if (obj5) {
d55e5bfc 28334 {
1bd55598
RD
28335 arg6 = wxString_in_helper(obj5);
28336 if (arg6 == NULL) SWIG_fail;
28337 temp6 = true;
d55e5bfc 28338 }
1bd55598
RD
28339 }
28340 {
28341 if (!wxPyCheckForApp()) SWIG_fail;
28342 PyThreadState* __tstate = wxPyBeginAllowThreads();
28343 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28344 wxPyEndAllowThreads(__tstate);
28345 if (PyErr_Occurred()) SWIG_fail;
28346 }
28347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28348 {
28349 if (temp6)
28350 delete arg6;
28351 }
28352 return resultobj;
28353fail:
28354 {
28355 if (temp6)
28356 delete arg6;
28357 }
28358 return NULL;
28359}
28360
28361
28362SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28363 PyObject *obj;
28364 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28365 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28366 return SWIG_Py_Void();
28367}
28368
28369SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28370 return SWIG_Python_InitShadowInstance(args);
28371}
28372
28373SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28374 PyObject *resultobj = 0;
28375 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28376 wxFrame *arg2 = (wxFrame *) 0 ;
28377 wxString *arg3 = 0 ;
28378 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28379 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28380 wxSize const &arg5_defvalue = wxDefaultSize ;
28381 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28382 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28383 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28384 wxString *arg7 = (wxString *) &arg7_defvalue ;
28385 wxPreviewFrame *result = 0 ;
28386 int res1 = 0 ;
28387 void *argp2 = 0 ;
28388 int res2 = 0 ;
28389 bool temp3 = false ;
28390 wxPoint temp4 ;
28391 wxSize temp5 ;
28392 long val6 ;
28393 int ecode6 = 0 ;
28394 bool temp7 = false ;
28395 PyObject * obj0 = 0 ;
28396 PyObject * obj1 = 0 ;
28397 PyObject * obj2 = 0 ;
28398 PyObject * obj3 = 0 ;
28399 PyObject * obj4 = 0 ;
28400 PyObject * obj5 = 0 ;
28401 PyObject * obj6 = 0 ;
28402 char * kwnames[] = {
28403 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28404 };
28405
28406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28407 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28408 if (!SWIG_IsOK(res1)) {
28409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28410 }
28411 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28412 if (!SWIG_IsOK(res2)) {
28413 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28414 }
28415 arg2 = reinterpret_cast< wxFrame * >(argp2);
28416 {
28417 arg3 = wxString_in_helper(obj2);
28418 if (arg3 == NULL) SWIG_fail;
28419 temp3 = true;
28420 }
28421 if (obj3) {
d55e5bfc 28422 {
1bd55598
RD
28423 arg4 = &temp4;
28424 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28425 }
1bd55598
RD
28426 }
28427 if (obj4) {
d55e5bfc 28428 {
1bd55598
RD
28429 arg5 = &temp5;
28430 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 28431 }
1bd55598
RD
28432 }
28433 if (obj5) {
28434 ecode6 = SWIG_AsVal_long(obj5, &val6);
28435 if (!SWIG_IsOK(ecode6)) {
28436 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28437 }
28438 arg6 = static_cast< long >(val6);
28439 }
28440 if (obj6) {
d55e5bfc 28441 {
1bd55598
RD
28442 arg7 = wxString_in_helper(obj6);
28443 if (arg7 == NULL) SWIG_fail;
28444 temp7 = true;
d55e5bfc 28445 }
1bd55598
RD
28446 }
28447 {
28448 if (!wxPyCheckForApp()) SWIG_fail;
28449 PyThreadState* __tstate = wxPyBeginAllowThreads();
28450 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28451 wxPyEndAllowThreads(__tstate);
28452 if (PyErr_Occurred()) SWIG_fail;
28453 }
28454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28455 {
28456 if (temp3)
28457 delete arg3;
28458 }
28459 {
28460 if (temp7)
28461 delete arg7;
28462 }
28463 return resultobj;
28464fail:
28465 {
28466 if (temp3)
28467 delete arg3;
28468 }
28469 {
28470 if (temp7)
28471 delete arg7;
28472 }
28473 return NULL;
d55e5bfc
RD
28474}
28475
28476
1bd55598
RD
28477SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28478 PyObject *resultobj = 0;
28479 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28480 void *argp1 = 0 ;
28481 int res1 = 0 ;
28482 PyObject *swig_obj[1] ;
28483
28484 if (!args) SWIG_fail;
28485 swig_obj[0] = args;
28486 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28487 if (!SWIG_IsOK(res1)) {
28488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28489 }
28490 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28491 {
28492 PyThreadState* __tstate = wxPyBeginAllowThreads();
28493 (arg1)->Initialize();
28494 wxPyEndAllowThreads(__tstate);
28495 if (PyErr_Occurred()) SWIG_fail;
28496 }
28497 resultobj = SWIG_Py_Void();
28498 return resultobj;
28499fail:
28500 return NULL;
d55e5bfc
RD
28501}
28502
28503
1bd55598
RD
28504SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28505 PyObject *resultobj = 0;
28506 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28507 void *argp1 = 0 ;
28508 int res1 = 0 ;
28509 PyObject *swig_obj[1] ;
28510
28511 if (!args) SWIG_fail;
28512 swig_obj[0] = args;
28513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28514 if (!SWIG_IsOK(res1)) {
28515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28516 }
28517 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28518 {
28519 PyThreadState* __tstate = wxPyBeginAllowThreads();
28520 (arg1)->CreateControlBar();
28521 wxPyEndAllowThreads(__tstate);
28522 if (PyErr_Occurred()) SWIG_fail;
28523 }
28524 resultobj = SWIG_Py_Void();
28525 return resultobj;
28526fail:
28527 return NULL;
d55e5bfc
RD
28528}
28529
28530
1bd55598
RD
28531SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28532 PyObject *resultobj = 0;
28533 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28534 void *argp1 = 0 ;
28535 int res1 = 0 ;
28536 PyObject *swig_obj[1] ;
28537
28538 if (!args) SWIG_fail;
28539 swig_obj[0] = args;
28540 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28541 if (!SWIG_IsOK(res1)) {
28542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28543 }
28544 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28545 {
28546 PyThreadState* __tstate = wxPyBeginAllowThreads();
28547 (arg1)->CreateCanvas();
28548 wxPyEndAllowThreads(__tstate);
28549 if (PyErr_Occurred()) SWIG_fail;
28550 }
28551 resultobj = SWIG_Py_Void();
28552 return resultobj;
28553fail:
28554 return NULL;
d55e5bfc
RD
28555}
28556
28557
1bd55598
RD
28558SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28559 PyObject *resultobj = 0;
28560 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28561 wxPreviewControlBar *result = 0 ;
28562 void *argp1 = 0 ;
28563 int res1 = 0 ;
28564 PyObject *swig_obj[1] ;
28565
28566 if (!args) SWIG_fail;
28567 swig_obj[0] = args;
28568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28569 if (!SWIG_IsOK(res1)) {
28570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28571 }
28572 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28573 {
28574 PyThreadState* __tstate = wxPyBeginAllowThreads();
28575 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28576 wxPyEndAllowThreads(__tstate);
28577 if (PyErr_Occurred()) SWIG_fail;
28578 }
28579 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28580 return resultobj;
28581fail:
28582 return NULL;
28583}
28584
28585
28586SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28587 PyObject *obj;
28588 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28589 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28590 return SWIG_Py_Void();
28591}
28592
28593SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28594 return SWIG_Python_InitShadowInstance(args);
28595}
28596
28597SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28598 PyObject *resultobj = 0;
28599 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28600 long arg2 ;
28601 wxWindow *arg3 = (wxWindow *) 0 ;
28602 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28603 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28604 wxSize const &arg5_defvalue = wxDefaultSize ;
28605 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28606 long arg6 = (long) wxTAB_TRAVERSAL ;
28607 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28608 wxString *arg7 = (wxString *) &arg7_defvalue ;
28609 wxPreviewControlBar *result = 0 ;
28610 void *argp1 = 0 ;
28611 int res1 = 0 ;
28612 long val2 ;
28613 int ecode2 = 0 ;
28614 void *argp3 = 0 ;
28615 int res3 = 0 ;
28616 wxPoint temp4 ;
28617 wxSize temp5 ;
28618 long val6 ;
28619 int ecode6 = 0 ;
28620 bool temp7 = false ;
28621 PyObject * obj0 = 0 ;
28622 PyObject * obj1 = 0 ;
28623 PyObject * obj2 = 0 ;
28624 PyObject * obj3 = 0 ;
28625 PyObject * obj4 = 0 ;
28626 PyObject * obj5 = 0 ;
28627 PyObject * obj6 = 0 ;
28628 char * kwnames[] = {
28629 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28630 };
28631
28632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28634 if (!SWIG_IsOK(res1)) {
28635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28636 }
28637 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28638 ecode2 = SWIG_AsVal_long(obj1, &val2);
28639 if (!SWIG_IsOK(ecode2)) {
28640 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28641 }
28642 arg2 = static_cast< long >(val2);
28643 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28644 if (!SWIG_IsOK(res3)) {
28645 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28646 }
28647 arg3 = reinterpret_cast< wxWindow * >(argp3);
28648 if (obj3) {
28649 {
28650 arg4 = &temp4;
28651 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28652 }
28653 }
28654 if (obj4) {
a5ee0656 28655 {
1bd55598
RD
28656 arg5 = &temp5;
28657 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
a5ee0656 28658 }
1bd55598
RD
28659 }
28660 if (obj5) {
28661 ecode6 = SWIG_AsVal_long(obj5, &val6);
28662 if (!SWIG_IsOK(ecode6)) {
28663 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28664 }
28665 arg6 = static_cast< long >(val6);
28666 }
28667 if (obj6) {
a5ee0656 28668 {
1bd55598
RD
28669 arg7 = wxString_in_helper(obj6);
28670 if (arg7 == NULL) SWIG_fail;
28671 temp7 = true;
a5ee0656 28672 }
1bd55598
RD
28673 }
28674 {
28675 if (!wxPyCheckForApp()) SWIG_fail;
28676 PyThreadState* __tstate = wxPyBeginAllowThreads();
28677 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28678 wxPyEndAllowThreads(__tstate);
28679 if (PyErr_Occurred()) SWIG_fail;
28680 }
28681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28682 {
28683 if (temp7)
28684 delete arg7;
28685 }
28686 return resultobj;
28687fail:
28688 {
28689 if (temp7)
28690 delete arg7;
28691 }
28692 return NULL;
a5ee0656
RD
28693}
28694
28695
1bd55598
RD
28696SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28697 PyObject *resultobj = 0;
28698 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28699 int result;
28700 void *argp1 = 0 ;
28701 int res1 = 0 ;
28702 PyObject *swig_obj[1] ;
28703
28704 if (!args) SWIG_fail;
28705 swig_obj[0] = args;
28706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28707 if (!SWIG_IsOK(res1)) {
28708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28709 }
28710 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28711 {
28712 PyThreadState* __tstate = wxPyBeginAllowThreads();
28713 result = (int)(arg1)->GetZoomControl();
28714 wxPyEndAllowThreads(__tstate);
28715 if (PyErr_Occurred()) SWIG_fail;
28716 }
28717 resultobj = SWIG_From_int(static_cast< int >(result));
28718 return resultobj;
28719fail:
28720 return NULL;
28721}
28722
28723
28724SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28725 PyObject *resultobj = 0;
28726 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28727 int arg2 ;
28728 void *argp1 = 0 ;
28729 int res1 = 0 ;
28730 int val2 ;
28731 int ecode2 = 0 ;
28732 PyObject * obj0 = 0 ;
28733 PyObject * obj1 = 0 ;
28734 char * kwnames[] = {
28735 (char *) "self",(char *) "zoom", NULL
28736 };
28737
28738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
28739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28740 if (!SWIG_IsOK(res1)) {
28741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28742 }
28743 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28744 ecode2 = SWIG_AsVal_int(obj1, &val2);
28745 if (!SWIG_IsOK(ecode2)) {
28746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28747 }
28748 arg2 = static_cast< int >(val2);
28749 {
28750 PyThreadState* __tstate = wxPyBeginAllowThreads();
28751 (arg1)->SetZoomControl(arg2);
28752 wxPyEndAllowThreads(__tstate);
28753 if (PyErr_Occurred()) SWIG_fail;
28754 }
28755 resultobj = SWIG_Py_Void();
28756 return resultobj;
28757fail:
28758 return NULL;
8d38bd1d
RD
28759}
28760
28761
1bd55598
RD
28762SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28763 PyObject *resultobj = 0;
28764 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28765 wxPrintPreview *result = 0 ;
28766 void *argp1 = 0 ;
28767 int res1 = 0 ;
28768 PyObject *swig_obj[1] ;
28769
28770 if (!args) SWIG_fail;
28771 swig_obj[0] = args;
28772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28773 if (!SWIG_IsOK(res1)) {
28774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28775 }
28776 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28777 {
28778 PyThreadState* __tstate = wxPyBeginAllowThreads();
28779 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
28780 wxPyEndAllowThreads(__tstate);
28781 if (PyErr_Occurred()) SWIG_fail;
28782 }
28783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28784 return resultobj;
28785fail:
28786 return NULL;
d55e5bfc
RD
28787}
28788
28789
1bd55598
RD
28790SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28791 PyObject *resultobj = 0;
28792 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28793 void *argp1 = 0 ;
28794 int res1 = 0 ;
28795 PyObject *swig_obj[1] ;
28796
28797 if (!args) SWIG_fail;
28798 swig_obj[0] = args;
28799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28800 if (!SWIG_IsOK(res1)) {
28801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28802 }
28803 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28804 {
28805 PyThreadState* __tstate = wxPyBeginAllowThreads();
28806 (arg1)->OnNext();
28807 wxPyEndAllowThreads(__tstate);
28808 if (PyErr_Occurred()) SWIG_fail;
28809 }
28810 resultobj = SWIG_Py_Void();
28811 return resultobj;
28812fail:
28813 return NULL;
d55e5bfc
RD
28814}
28815
28816
1bd55598
RD
28817SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28818 PyObject *resultobj = 0;
28819 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28820 void *argp1 = 0 ;
28821 int res1 = 0 ;
28822 PyObject *swig_obj[1] ;
28823
28824 if (!args) SWIG_fail;
28825 swig_obj[0] = args;
28826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28827 if (!SWIG_IsOK(res1)) {
28828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28829 }
28830 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28831 {
28832 PyThreadState* __tstate = wxPyBeginAllowThreads();
28833 (arg1)->OnPrevious();
28834 wxPyEndAllowThreads(__tstate);
28835 if (PyErr_Occurred()) SWIG_fail;
28836 }
28837 resultobj = SWIG_Py_Void();
28838 return resultobj;
28839fail:
28840 return NULL;
d55e5bfc
RD
28841}
28842
28843
1bd55598
RD
28844SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28845 PyObject *resultobj = 0;
28846 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28847 void *argp1 = 0 ;
28848 int res1 = 0 ;
28849 PyObject *swig_obj[1] ;
28850
28851 if (!args) SWIG_fail;
28852 swig_obj[0] = args;
28853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28854 if (!SWIG_IsOK(res1)) {
28855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28856 }
28857 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28858 {
28859 PyThreadState* __tstate = wxPyBeginAllowThreads();
28860 (arg1)->OnFirst();
28861 wxPyEndAllowThreads(__tstate);
28862 if (PyErr_Occurred()) SWIG_fail;
28863 }
28864 resultobj = SWIG_Py_Void();
28865 return resultobj;
28866fail:
28867 return NULL;
a5ee0656
RD
28868}
28869
28870
1bd55598
RD
28871SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28872 PyObject *resultobj = 0;
28873 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28874 void *argp1 = 0 ;
28875 int res1 = 0 ;
28876 PyObject *swig_obj[1] ;
28877
28878 if (!args) SWIG_fail;
28879 swig_obj[0] = args;
28880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28881 if (!SWIG_IsOK(res1)) {
28882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28883 }
28884 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28885 {
28886 PyThreadState* __tstate = wxPyBeginAllowThreads();
28887 (arg1)->OnLast();
28888 wxPyEndAllowThreads(__tstate);
28889 if (PyErr_Occurred()) SWIG_fail;
28890 }
28891 resultobj = SWIG_Py_Void();
28892 return resultobj;
28893fail:
28894 return NULL;
976dbff5
RD
28895}
28896
28897
1bd55598
RD
28898SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28899 PyObject *resultobj = 0;
28900 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28901 void *argp1 = 0 ;
28902 int res1 = 0 ;
28903 PyObject *swig_obj[1] ;
28904
28905 if (!args) SWIG_fail;
28906 swig_obj[0] = args;
28907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28908 if (!SWIG_IsOK(res1)) {
28909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28910 }
28911 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28912 {
28913 PyThreadState* __tstate = wxPyBeginAllowThreads();
28914 (arg1)->OnGoto();
28915 wxPyEndAllowThreads(__tstate);
28916 if (PyErr_Occurred()) SWIG_fail;
28917 }
28918 resultobj = SWIG_Py_Void();
28919 return resultobj;
28920fail:
28921 return NULL;
d55e5bfc
RD
28922}
28923
28924
1bd55598
RD
28925SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28926 PyObject *obj;
28927 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28928 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
28929 return SWIG_Py_Void();
28930}
28931
28932SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28933 return SWIG_Python_InitShadowInstance(args);
28934}
28935
28936SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28937 PyObject *resultobj = 0;
28938 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28939 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28940 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
28941 wxPrintPreview *result = 0 ;
28942 int res1 = 0 ;
28943 int res2 = 0 ;
28944 void *argp3 = 0 ;
28945 int res3 = 0 ;
28946
28947 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
28948 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28949 if (!SWIG_IsOK(res1)) {
28950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28951 }
28952 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28953 if (!SWIG_IsOK(res2)) {
28954 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28955 }
28956 if (swig_obj[2]) {
28957 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28958 if (!SWIG_IsOK(res3)) {
28959 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
36ed4f51 28960 }
1bd55598
RD
28961 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
28962 }
28963 {
28964 if (!wxPyCheckForApp()) SWIG_fail;
28965 PyThreadState* __tstate = wxPyBeginAllowThreads();
28966 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
28967 wxPyEndAllowThreads(__tstate);
28968 if (PyErr_Occurred()) SWIG_fail;
28969 }
28970 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
28971 return resultobj;
28972fail:
28973 return NULL;
28974}
28975
28976
28977SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28978 PyObject *resultobj = 0;
28979 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28980 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
28981 wxPrintData *arg3 = (wxPrintData *) 0 ;
28982 wxPrintPreview *result = 0 ;
28983 int res1 = 0 ;
28984 int res2 = 0 ;
28985 void *argp3 = 0 ;
28986 int res3 = 0 ;
28987
28988 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
28989 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28990 if (!SWIG_IsOK(res1)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28992 }
28993 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28994 if (!SWIG_IsOK(res2)) {
28995 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28996 }
28997 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
28998 if (!SWIG_IsOK(res3)) {
28999 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29000 }
29001 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29002 {
29003 if (!wxPyCheckForApp()) SWIG_fail;
29004 PyThreadState* __tstate = wxPyBeginAllowThreads();
29005 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29006 wxPyEndAllowThreads(__tstate);
29007 if (PyErr_Occurred()) SWIG_fail;
29008 }
29009 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29010 return resultobj;
29011fail:
29012 return NULL;
d55e5bfc
RD
29013}
29014
29015
1bd55598
RD
29016SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29017 int argc;
29018 PyObject *argv[4];
29019
29020 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29021 --argc;
29022 if ((argc >= 2) && (argc <= 3)) {
29023 int _v = 0;
29024 if (argc > 2) {
29025 {
29026 void *vptr = 0;
29027 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29028 _v = SWIG_CheckState(res);
29029 }
29030 if (!_v) goto check_1;
36ed4f51 29031 }
1bd55598
RD
29032 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29033 }
29034check_1:
29035
29036 if (argc == 3) {
29037 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29038 }
29039
29040fail:
29041 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29042 return NULL;
d55e5bfc
RD
29043}
29044
29045
1bd55598
RD
29046SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29047 PyObject *resultobj = 0;
29048 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29049 void *argp1 = 0 ;
29050 int res1 = 0 ;
29051 PyObject *swig_obj[1] ;
29052
29053 if (!args) SWIG_fail;
29054 swig_obj[0] = args;
29055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29056 if (!SWIG_IsOK(res1)) {
29057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29058 }
29059 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29060 {
29061 PyThreadState* __tstate = wxPyBeginAllowThreads();
29062 delete arg1;
d55e5bfc 29063
1bd55598
RD
29064 wxPyEndAllowThreads(__tstate);
29065 if (PyErr_Occurred()) SWIG_fail;
29066 }
29067 resultobj = SWIG_Py_Void();
29068 return resultobj;
29069fail:
29070 return NULL;
29071}
29072
29073
29074SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29075 PyObject *resultobj = 0;
29076 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29077 int arg2 ;
29078 bool result;
29079 void *argp1 = 0 ;
29080 int res1 = 0 ;
29081 int val2 ;
29082 int ecode2 = 0 ;
29083 PyObject * obj0 = 0 ;
29084 PyObject * obj1 = 0 ;
29085 char * kwnames[] = {
29086 (char *) "self",(char *) "pageNum", NULL
29087 };
29088
29089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29091 if (!SWIG_IsOK(res1)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29093 }
29094 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29095 ecode2 = SWIG_AsVal_int(obj1, &val2);
29096 if (!SWIG_IsOK(ecode2)) {
29097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29098 }
29099 arg2 = static_cast< int >(val2);
29100 {
29101 PyThreadState* __tstate = wxPyBeginAllowThreads();
29102 result = (bool)(arg1)->SetCurrentPage(arg2);
29103 wxPyEndAllowThreads(__tstate);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 }
29106 {
29107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29108 }
29109 return resultobj;
29110fail:
29111 return NULL;
d55e5bfc
RD
29112}
29113
29114
1bd55598
RD
29115SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29116 PyObject *resultobj = 0;
29117 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29118 int result;
29119 void *argp1 = 0 ;
29120 int res1 = 0 ;
29121 PyObject *swig_obj[1] ;
29122
29123 if (!args) SWIG_fail;
29124 swig_obj[0] = args;
29125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29126 if (!SWIG_IsOK(res1)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29128 }
29129 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29130 {
29131 PyThreadState* __tstate = wxPyBeginAllowThreads();
29132 result = (int)(arg1)->GetCurrentPage();
29133 wxPyEndAllowThreads(__tstate);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 }
29136 resultobj = SWIG_From_int(static_cast< int >(result));
29137 return resultobj;
29138fail:
29139 return NULL;
29140}
29141
29142
29143SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29144 PyObject *resultobj = 0;
29145 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29146 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29147 void *argp1 = 0 ;
29148 int res1 = 0 ;
29149 int res2 = 0 ;
29150 PyObject * obj0 = 0 ;
29151 PyObject * obj1 = 0 ;
29152 char * kwnames[] = {
29153 (char *) "self",(char *) "printout", NULL
29154 };
29155
29156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29158 if (!SWIG_IsOK(res1)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29160 }
29161 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29162 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29163 if (!SWIG_IsOK(res2)) {
29164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29165 }
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 (arg1)->SetPrintout(arg2);
29169 wxPyEndAllowThreads(__tstate);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 resultobj = SWIG_Py_Void();
29173 return resultobj;
29174fail:
29175 return NULL;
d55e5bfc
RD
29176}
29177
29178
1bd55598
RD
29179SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29180 PyObject *resultobj = 0;
29181 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29182 wxPyPrintout *result = 0 ;
29183 void *argp1 = 0 ;
29184 int res1 = 0 ;
29185 PyObject *swig_obj[1] ;
29186
29187 if (!args) SWIG_fail;
29188 swig_obj[0] = args;
29189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29190 if (!SWIG_IsOK(res1)) {
29191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29192 }
29193 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29194 {
29195 PyThreadState* __tstate = wxPyBeginAllowThreads();
29196 result = (wxPyPrintout *)(arg1)->GetPrintout();
29197 wxPyEndAllowThreads(__tstate);
29198 if (PyErr_Occurred()) SWIG_fail;
29199 }
29200 {
29201 resultobj = wxPyMake_wxObject(result, 0);
29202 }
29203 return resultobj;
29204fail:
29205 return NULL;
d55e5bfc
RD
29206}
29207
29208
1bd55598
RD
29209SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29210 PyObject *resultobj = 0;
29211 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29212 wxPyPrintout *result = 0 ;
29213 void *argp1 = 0 ;
29214 int res1 = 0 ;
29215 PyObject *swig_obj[1] ;
29216
29217 if (!args) SWIG_fail;
29218 swig_obj[0] = args;
29219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29220 if (!SWIG_IsOK(res1)) {
29221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29222 }
29223 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29224 {
29225 PyThreadState* __tstate = wxPyBeginAllowThreads();
29226 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29227 wxPyEndAllowThreads(__tstate);
29228 if (PyErr_Occurred()) SWIG_fail;
29229 }
29230 {
29231 resultobj = wxPyMake_wxObject(result, 0);
29232 }
29233 return resultobj;
29234fail:
29235 return NULL;
29236}
29237
29238
29239SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29240 PyObject *resultobj = 0;
29241 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29242 wxFrame *arg2 = (wxFrame *) 0 ;
29243 void *argp1 = 0 ;
29244 int res1 = 0 ;
29245 void *argp2 = 0 ;
29246 int res2 = 0 ;
29247 PyObject * obj0 = 0 ;
29248 PyObject * obj1 = 0 ;
29249 char * kwnames[] = {
29250 (char *) "self",(char *) "frame", NULL
29251 };
29252
29253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29255 if (!SWIG_IsOK(res1)) {
29256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29257 }
29258 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29259 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29260 if (!SWIG_IsOK(res2)) {
29261 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29262 }
29263 arg2 = reinterpret_cast< wxFrame * >(argp2);
29264 {
29265 PyThreadState* __tstate = wxPyBeginAllowThreads();
29266 (arg1)->SetFrame(arg2);
29267 wxPyEndAllowThreads(__tstate);
29268 if (PyErr_Occurred()) SWIG_fail;
29269 }
29270 resultobj = SWIG_Py_Void();
29271 return resultobj;
29272fail:
29273 return NULL;
29274}
29275
29276
29277SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29278 PyObject *resultobj = 0;
29279 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29280 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29281 void *argp1 = 0 ;
29282 int res1 = 0 ;
29283 void *argp2 = 0 ;
29284 int res2 = 0 ;
29285 PyObject * obj0 = 0 ;
29286 PyObject * obj1 = 0 ;
29287 char * kwnames[] = {
29288 (char *) "self",(char *) "canvas", NULL
29289 };
29290
29291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29292 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29293 if (!SWIG_IsOK(res1)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29295 }
29296 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29297 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29298 if (!SWIG_IsOK(res2)) {
29299 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29300 }
29301 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29302 {
29303 PyThreadState* __tstate = wxPyBeginAllowThreads();
29304 (arg1)->SetCanvas(arg2);
29305 wxPyEndAllowThreads(__tstate);
29306 if (PyErr_Occurred()) SWIG_fail;
29307 }
29308 resultobj = SWIG_Py_Void();
29309 return resultobj;
29310fail:
29311 return NULL;
d55e5bfc
RD
29312}
29313
29314
1bd55598
RD
29315SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29316 PyObject *resultobj = 0;
29317 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29318 wxFrame *result = 0 ;
29319 void *argp1 = 0 ;
29320 int res1 = 0 ;
29321 PyObject *swig_obj[1] ;
29322
29323 if (!args) SWIG_fail;
29324 swig_obj[0] = args;
29325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29326 if (!SWIG_IsOK(res1)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29328 }
29329 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29330 {
29331 PyThreadState* __tstate = wxPyBeginAllowThreads();
29332 result = (wxFrame *)(arg1)->GetFrame();
29333 wxPyEndAllowThreads(__tstate);
29334 if (PyErr_Occurred()) SWIG_fail;
29335 }
29336 {
29337 resultobj = wxPyMake_wxObject(result, 0);
29338 }
29339 return resultobj;
29340fail:
29341 return NULL;
d55e5bfc
RD
29342}
29343
29344
1bd55598
RD
29345SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29346 PyObject *resultobj = 0;
29347 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29348 wxPreviewCanvas *result = 0 ;
29349 void *argp1 = 0 ;
29350 int res1 = 0 ;
29351 PyObject *swig_obj[1] ;
29352
29353 if (!args) SWIG_fail;
29354 swig_obj[0] = args;
29355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29356 if (!SWIG_IsOK(res1)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29358 }
29359 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29360 {
29361 PyThreadState* __tstate = wxPyBeginAllowThreads();
29362 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29363 wxPyEndAllowThreads(__tstate);
29364 if (PyErr_Occurred()) SWIG_fail;
29365 }
29366 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29367 return resultobj;
29368fail:
29369 return NULL;
29370}
29371
29372
29373SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29374 PyObject *resultobj = 0;
29375 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29376 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29377 wxDC *arg3 = 0 ;
29378 bool result;
29379 void *argp1 = 0 ;
29380 int res1 = 0 ;
29381 void *argp2 = 0 ;
29382 int res2 = 0 ;
29383 void *argp3 = 0 ;
29384 int res3 = 0 ;
29385 PyObject * obj0 = 0 ;
29386 PyObject * obj1 = 0 ;
29387 PyObject * obj2 = 0 ;
29388 char * kwnames[] = {
29389 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29390 };
29391
29392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29394 if (!SWIG_IsOK(res1)) {
29395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29396 }
29397 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29398 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29399 if (!SWIG_IsOK(res2)) {
29400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29401 }
29402 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29403 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29404 if (!SWIG_IsOK(res3)) {
29405 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29406 }
29407 if (!argp3) {
29408 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29409 }
29410 arg3 = reinterpret_cast< wxDC * >(argp3);
29411 {
29412 PyThreadState* __tstate = wxPyBeginAllowThreads();
29413 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29414 wxPyEndAllowThreads(__tstate);
29415 if (PyErr_Occurred()) SWIG_fail;
29416 }
29417 {
29418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29419 }
29420 return resultobj;
29421fail:
29422 return NULL;
29423}
29424
29425
29426SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29427 PyObject *resultobj = 0;
29428 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29429 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29430 wxDC *arg3 = 0 ;
29431 bool result;
29432 void *argp1 = 0 ;
29433 int res1 = 0 ;
29434 void *argp2 = 0 ;
29435 int res2 = 0 ;
29436 void *argp3 = 0 ;
29437 int res3 = 0 ;
29438 PyObject * obj0 = 0 ;
29439 PyObject * obj1 = 0 ;
29440 PyObject * obj2 = 0 ;
29441 char * kwnames[] = {
29442 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29443 };
29444
29445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29447 if (!SWIG_IsOK(res1)) {
29448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29449 }
29450 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29451 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29452 if (!SWIG_IsOK(res2)) {
29453 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29454 }
29455 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29456 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29457 if (!SWIG_IsOK(res3)) {
29458 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29459 }
29460 if (!argp3) {
29461 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29462 }
29463 arg3 = reinterpret_cast< wxDC * >(argp3);
29464 {
29465 PyThreadState* __tstate = wxPyBeginAllowThreads();
29466 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29467 wxPyEndAllowThreads(__tstate);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 }
29470 {
29471 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29472 }
29473 return resultobj;
29474fail:
29475 return NULL;
29476}
29477
29478
29479SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29480 PyObject *resultobj = 0;
29481 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29482 int arg2 ;
29483 bool result;
29484 void *argp1 = 0 ;
29485 int res1 = 0 ;
29486 int val2 ;
29487 int ecode2 = 0 ;
29488 PyObject * obj0 = 0 ;
29489 PyObject * obj1 = 0 ;
29490 char * kwnames[] = {
29491 (char *) "self",(char *) "pageNum", NULL
29492 };
29493
29494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29496 if (!SWIG_IsOK(res1)) {
29497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29498 }
29499 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29500 ecode2 = SWIG_AsVal_int(obj1, &val2);
29501 if (!SWIG_IsOK(ecode2)) {
29502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29503 }
29504 arg2 = static_cast< int >(val2);
29505 {
29506 PyThreadState* __tstate = wxPyBeginAllowThreads();
29507 result = (bool)(arg1)->RenderPage(arg2);
29508 wxPyEndAllowThreads(__tstate);
29509 if (PyErr_Occurred()) SWIG_fail;
29510 }
29511 {
29512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29513 }
29514 return resultobj;
29515fail:
29516 return NULL;
29517}
29518
29519
29520SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29521 PyObject *resultobj = 0;
29522 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29523 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29524 void *argp1 = 0 ;
29525 int res1 = 0 ;
29526 void *argp2 = 0 ;
29527 int res2 = 0 ;
29528 PyObject * obj0 = 0 ;
29529 PyObject * obj1 = 0 ;
29530 char * kwnames[] = {
29531 (char *) "self",(char *) "canvas", NULL
29532 };
29533
29534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29536 if (!SWIG_IsOK(res1)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29538 }
29539 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29540 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29541 if (!SWIG_IsOK(res2)) {
29542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29543 }
29544 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29545 {
29546 PyThreadState* __tstate = wxPyBeginAllowThreads();
29547 (arg1)->AdjustScrollbars(arg2);
29548 wxPyEndAllowThreads(__tstate);
29549 if (PyErr_Occurred()) SWIG_fail;
29550 }
29551 resultobj = SWIG_Py_Void();
29552 return resultobj;
29553fail:
29554 return NULL;
d55e5bfc
RD
29555}
29556
29557
1bd55598
RD
29558SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29559 PyObject *resultobj = 0;
29560 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29561 wxPrintDialogData *result = 0 ;
29562 void *argp1 = 0 ;
29563 int res1 = 0 ;
29564 PyObject *swig_obj[1] ;
29565
29566 if (!args) SWIG_fail;
29567 swig_obj[0] = args;
29568 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29569 if (!SWIG_IsOK(res1)) {
29570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29571 }
29572 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29573 {
29574 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 29575 {
1bd55598
RD
29576 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29577 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 29578 }
1bd55598
RD
29579 wxPyEndAllowThreads(__tstate);
29580 if (PyErr_Occurred()) SWIG_fail;
29581 }
29582 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29583 return resultobj;
29584fail:
29585 return NULL;
29586}
29587
29588
29589SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29590 PyObject *resultobj = 0;
29591 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29592 int arg2 ;
29593 void *argp1 = 0 ;
29594 int res1 = 0 ;
29595 int val2 ;
29596 int ecode2 = 0 ;
29597 PyObject * obj0 = 0 ;
29598 PyObject * obj1 = 0 ;
29599 char * kwnames[] = {
29600 (char *) "self",(char *) "percent", NULL
29601 };
29602
29603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29605 if (!SWIG_IsOK(res1)) {
29606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29607 }
29608 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29609 ecode2 = SWIG_AsVal_int(obj1, &val2);
29610 if (!SWIG_IsOK(ecode2)) {
29611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29612 }
29613 arg2 = static_cast< int >(val2);
29614 {
29615 PyThreadState* __tstate = wxPyBeginAllowThreads();
29616 (arg1)->SetZoom(arg2);
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
29620 resultobj = SWIG_Py_Void();
29621 return resultobj;
29622fail:
29623 return NULL;
d55e5bfc
RD
29624}
29625
29626
1bd55598
RD
29627SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29628 PyObject *resultobj = 0;
29629 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29630 int result;
29631 void *argp1 = 0 ;
29632 int res1 = 0 ;
29633 PyObject *swig_obj[1] ;
29634
29635 if (!args) SWIG_fail;
29636 swig_obj[0] = args;
29637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29638 if (!SWIG_IsOK(res1)) {
29639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29640 }
29641 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29642 {
29643 PyThreadState* __tstate = wxPyBeginAllowThreads();
29644 result = (int)(arg1)->GetZoom();
29645 wxPyEndAllowThreads(__tstate);
29646 if (PyErr_Occurred()) SWIG_fail;
29647 }
29648 resultobj = SWIG_From_int(static_cast< int >(result));
29649 return resultobj;
29650fail:
29651 return NULL;
d55e5bfc
RD
29652}
29653
29654
1bd55598
RD
29655SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29656 PyObject *resultobj = 0;
29657 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29658 int result;
29659 void *argp1 = 0 ;
29660 int res1 = 0 ;
29661 PyObject *swig_obj[1] ;
29662
29663 if (!args) SWIG_fail;
29664 swig_obj[0] = args;
29665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29666 if (!SWIG_IsOK(res1)) {
29667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29668 }
29669 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29670 {
29671 PyThreadState* __tstate = wxPyBeginAllowThreads();
29672 result = (int)(arg1)->GetMaxPage();
29673 wxPyEndAllowThreads(__tstate);
29674 if (PyErr_Occurred()) SWIG_fail;
29675 }
29676 resultobj = SWIG_From_int(static_cast< int >(result));
29677 return resultobj;
29678fail:
29679 return NULL;
d55e5bfc
RD
29680}
29681
29682
1bd55598
RD
29683SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29684 PyObject *resultobj = 0;
29685 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29686 int result;
29687 void *argp1 = 0 ;
29688 int res1 = 0 ;
29689 PyObject *swig_obj[1] ;
29690
29691 if (!args) SWIG_fail;
29692 swig_obj[0] = args;
29693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29694 if (!SWIG_IsOK(res1)) {
29695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29696 }
29697 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29698 {
29699 PyThreadState* __tstate = wxPyBeginAllowThreads();
29700 result = (int)(arg1)->GetMinPage();
29701 wxPyEndAllowThreads(__tstate);
29702 if (PyErr_Occurred()) SWIG_fail;
29703 }
29704 resultobj = SWIG_From_int(static_cast< int >(result));
29705 return resultobj;
29706fail:
29707 return NULL;
d55e5bfc
RD
29708}
29709
29710
1bd55598
RD
29711SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29712 PyObject *resultobj = 0;
29713 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29714 bool result;
29715 void *argp1 = 0 ;
29716 int res1 = 0 ;
29717 PyObject *swig_obj[1] ;
29718
29719 if (!args) SWIG_fail;
29720 swig_obj[0] = args;
29721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29722 if (!SWIG_IsOK(res1)) {
29723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29724 }
29725 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29726 {
29727 PyThreadState* __tstate = wxPyBeginAllowThreads();
29728 result = (bool)(arg1)->Ok();
29729 wxPyEndAllowThreads(__tstate);
29730 if (PyErr_Occurred()) SWIG_fail;
29731 }
29732 {
29733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29734 }
29735 return resultobj;
29736fail:
29737 return NULL;
29738}
29739
29740
29741SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29742 PyObject *resultobj = 0;
29743 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29744 bool arg2 ;
29745 void *argp1 = 0 ;
29746 int res1 = 0 ;
29747 bool val2 ;
29748 int ecode2 = 0 ;
29749 PyObject * obj0 = 0 ;
29750 PyObject * obj1 = 0 ;
29751 char * kwnames[] = {
29752 (char *) "self",(char *) "ok", NULL
29753 };
29754
29755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
29756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29757 if (!SWIG_IsOK(res1)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29759 }
29760 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29761 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29762 if (!SWIG_IsOK(ecode2)) {
29763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29764 }
29765 arg2 = static_cast< bool >(val2);
29766 {
29767 PyThreadState* __tstate = wxPyBeginAllowThreads();
29768 (arg1)->SetOk(arg2);
29769 wxPyEndAllowThreads(__tstate);
29770 if (PyErr_Occurred()) SWIG_fail;
29771 }
29772 resultobj = SWIG_Py_Void();
29773 return resultobj;
29774fail:
29775 return NULL;
29776}
29777
29778
29779SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29780 PyObject *resultobj = 0;
29781 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29782 bool arg2 ;
29783 bool result;
29784 void *argp1 = 0 ;
29785 int res1 = 0 ;
29786 bool val2 ;
29787 int ecode2 = 0 ;
29788 PyObject * obj0 = 0 ;
29789 PyObject * obj1 = 0 ;
29790 char * kwnames[] = {
29791 (char *) "self",(char *) "interactive", NULL
29792 };
29793
29794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
29795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29796 if (!SWIG_IsOK(res1)) {
29797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29798 }
29799 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29800 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29801 if (!SWIG_IsOK(ecode2)) {
29802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29803 }
29804 arg2 = static_cast< bool >(val2);
29805 {
29806 PyThreadState* __tstate = wxPyBeginAllowThreads();
29807 result = (bool)(arg1)->Print(arg2);
29808 wxPyEndAllowThreads(__tstate);
29809 if (PyErr_Occurred()) SWIG_fail;
29810 }
29811 {
29812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29813 }
29814 return resultobj;
29815fail:
29816 return NULL;
d55e5bfc
RD
29817}
29818
29819
1bd55598
RD
29820SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29821 PyObject *resultobj = 0;
29822 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29823 void *argp1 = 0 ;
29824 int res1 = 0 ;
29825 PyObject *swig_obj[1] ;
29826
29827 if (!args) SWIG_fail;
29828 swig_obj[0] = args;
29829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29830 if (!SWIG_IsOK(res1)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29832 }
29833 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29834 {
29835 PyThreadState* __tstate = wxPyBeginAllowThreads();
29836 (arg1)->DetermineScaling();
29837 wxPyEndAllowThreads(__tstate);
29838 if (PyErr_Occurred()) SWIG_fail;
29839 }
29840 resultobj = SWIG_Py_Void();
29841 return resultobj;
29842fail:
29843 return NULL;
d55e5bfc
RD
29844}
29845
29846
1bd55598
RD
29847SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29848 PyObject *obj;
29849 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29850 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
29851 return SWIG_Py_Void();
d55e5bfc
RD
29852}
29853
1bd55598
RD
29854SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29855 return SWIG_Python_InitShadowInstance(args);
29856}
d55e5bfc 29857
1bd55598
RD
29858SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29859 PyObject *resultobj = 0;
29860 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29861 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29862 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29863 wxPyPrintPreview *result = 0 ;
29864 int res1 = 0 ;
29865 int res2 = 0 ;
29866 void *argp3 = 0 ;
29867 int res3 = 0 ;
29868
29869 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29870 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29871 if (!SWIG_IsOK(res1)) {
29872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29873 }
29874 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29875 if (!SWIG_IsOK(res2)) {
29876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29877 }
29878 if (swig_obj[2]) {
29879 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29880 if (!SWIG_IsOK(res3)) {
29881 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29882 }
29883 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29884 }
29885 {
29886 if (!wxPyCheckForApp()) SWIG_fail;
29887 PyThreadState* __tstate = wxPyBeginAllowThreads();
29888 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29889 wxPyEndAllowThreads(__tstate);
29890 if (PyErr_Occurred()) SWIG_fail;
29891 }
29892 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29893 return resultobj;
29894fail:
29895 return NULL;
29896}
29897
29898
29899SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29900 PyObject *resultobj = 0;
29901 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29902 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29903 wxPrintData *arg3 = (wxPrintData *) 0 ;
29904 wxPyPrintPreview *result = 0 ;
29905 int res1 = 0 ;
29906 int res2 = 0 ;
29907 void *argp3 = 0 ;
29908 int res3 = 0 ;
29909
29910 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29911 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29912 if (!SWIG_IsOK(res1)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29914 }
29915 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29916 if (!SWIG_IsOK(res2)) {
29917 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29918 }
29919 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29920 if (!SWIG_IsOK(res3)) {
29921 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29922 }
29923 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29924 {
29925 if (!wxPyCheckForApp()) SWIG_fail;
29926 PyThreadState* __tstate = wxPyBeginAllowThreads();
29927 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
29928 wxPyEndAllowThreads(__tstate);
29929 if (PyErr_Occurred()) SWIG_fail;
29930 }
29931 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
29932 return resultobj;
29933fail:
29934 return NULL;
d55e5bfc
RD
29935}
29936
29937
1bd55598
RD
29938SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
29939 int argc;
29940 PyObject *argv[4];
29941
29942 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
29943 --argc;
29944 if ((argc >= 2) && (argc <= 3)) {
29945 int _v = 0;
29946 if (argc > 2) {
29947 {
29948 void *vptr = 0;
29949 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29950 _v = SWIG_CheckState(res);
29951 }
29952 if (!_v) goto check_1;
36ed4f51 29953 }
1bd55598
RD
29954 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
29955 }
29956check_1:
29957
29958 if (argc == 3) {
29959 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
29960 }
29961
29962fail:
29963 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
29964 return NULL;
29965}
29966
29967
29968SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29969 PyObject *resultobj = 0;
29970 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
29971 PyObject *arg2 = (PyObject *) 0 ;
29972 PyObject *arg3 = (PyObject *) 0 ;
29973 void *argp1 = 0 ;
29974 int res1 = 0 ;
29975 PyObject * obj0 = 0 ;
29976 PyObject * obj1 = 0 ;
29977 PyObject * obj2 = 0 ;
29978 char * kwnames[] = {
29979 (char *) "self",(char *) "self",(char *) "_class", NULL
29980 };
29981
29982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
29984 if (!SWIG_IsOK(res1)) {
29985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29986 }
29987 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
29988 arg2 = obj1;
29989 arg3 = obj2;
29990 {
29991 PyThreadState* __tstate = wxPyBeginAllowThreads();
29992 (arg1)->_setCallbackInfo(arg2,arg3);
29993 wxPyEndAllowThreads(__tstate);
29994 if (PyErr_Occurred()) SWIG_fail;
29995 }
29996 resultobj = SWIG_Py_Void();
29997 return resultobj;
29998fail:
29999 return NULL;
30000}
30001
30002
30003SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30004 PyObject *obj;
30005 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30006 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30007 return SWIG_Py_Void();
30008}
30009
30010SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30011 return SWIG_Python_InitShadowInstance(args);
30012}
30013
30014SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30015 PyObject *resultobj = 0;
30016 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30017 wxFrame *arg2 = (wxFrame *) 0 ;
30018 wxString *arg3 = 0 ;
30019 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30020 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30021 wxSize const &arg5_defvalue = wxDefaultSize ;
30022 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30023 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30024 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30025 wxString *arg7 = (wxString *) &arg7_defvalue ;
30026 wxPyPreviewFrame *result = 0 ;
30027 void *argp1 = 0 ;
30028 int res1 = 0 ;
30029 void *argp2 = 0 ;
30030 int res2 = 0 ;
30031 bool temp3 = false ;
30032 wxPoint temp4 ;
30033 wxSize temp5 ;
30034 long val6 ;
30035 int ecode6 = 0 ;
30036 bool temp7 = false ;
30037 PyObject * obj0 = 0 ;
30038 PyObject * obj1 = 0 ;
30039 PyObject * obj2 = 0 ;
30040 PyObject * obj3 = 0 ;
30041 PyObject * obj4 = 0 ;
30042 PyObject * obj5 = 0 ;
30043 PyObject * obj6 = 0 ;
30044 char * kwnames[] = {
30045 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30046 };
30047
30048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30050 if (!SWIG_IsOK(res1)) {
30051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30052 }
30053 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30054 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30055 if (!SWIG_IsOK(res2)) {
30056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30057 }
30058 arg2 = reinterpret_cast< wxFrame * >(argp2);
30059 {
30060 arg3 = wxString_in_helper(obj2);
30061 if (arg3 == NULL) SWIG_fail;
30062 temp3 = true;
30063 }
30064 if (obj3) {
36ed4f51 30065 {
1bd55598
RD
30066 arg4 = &temp4;
30067 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 30068 }
1bd55598
RD
30069 }
30070 if (obj4) {
d55e5bfc 30071 {
1bd55598
RD
30072 arg5 = &temp5;
30073 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 30074 }
1bd55598
RD
30075 }
30076 if (obj5) {
30077 ecode6 = SWIG_AsVal_long(obj5, &val6);
30078 if (!SWIG_IsOK(ecode6)) {
30079 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30080 }
30081 arg6 = static_cast< long >(val6);
30082 }
30083 if (obj6) {
36ed4f51 30084 {
1bd55598
RD
30085 arg7 = wxString_in_helper(obj6);
30086 if (arg7 == NULL) SWIG_fail;
30087 temp7 = true;
36ed4f51 30088 }
1bd55598
RD
30089 }
30090 {
30091 if (!wxPyCheckForApp()) SWIG_fail;
30092 PyThreadState* __tstate = wxPyBeginAllowThreads();
30093 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30094 wxPyEndAllowThreads(__tstate);
30095 if (PyErr_Occurred()) SWIG_fail;
30096 }
30097 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30098 {
30099 if (temp3)
30100 delete arg3;
30101 }
30102 {
30103 if (temp7)
30104 delete arg7;
30105 }
30106 return resultobj;
30107fail:
30108 {
30109 if (temp3)
30110 delete arg3;
30111 }
30112 {
30113 if (temp7)
30114 delete arg7;
30115 }
30116 return NULL;
30117}
30118
30119
30120SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30121 PyObject *resultobj = 0;
30122 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30123 PyObject *arg2 = (PyObject *) 0 ;
30124 PyObject *arg3 = (PyObject *) 0 ;
30125 void *argp1 = 0 ;
30126 int res1 = 0 ;
30127 PyObject * obj0 = 0 ;
30128 PyObject * obj1 = 0 ;
30129 PyObject * obj2 = 0 ;
30130 char * kwnames[] = {
30131 (char *) "self",(char *) "self",(char *) "_class", NULL
30132 };
30133
30134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30136 if (!SWIG_IsOK(res1)) {
30137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30138 }
30139 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30140 arg2 = obj1;
30141 arg3 = obj2;
30142 {
30143 PyThreadState* __tstate = wxPyBeginAllowThreads();
30144 (arg1)->_setCallbackInfo(arg2,arg3);
30145 wxPyEndAllowThreads(__tstate);
30146 if (PyErr_Occurred()) SWIG_fail;
30147 }
30148 resultobj = SWIG_Py_Void();
30149 return resultobj;
30150fail:
30151 return NULL;
30152}
30153
30154
30155SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30156 PyObject *resultobj = 0;
30157 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30158 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30159 void *argp1 = 0 ;
30160 int res1 = 0 ;
30161 void *argp2 = 0 ;
30162 int res2 = 0 ;
30163 PyObject * obj0 = 0 ;
30164 PyObject * obj1 = 0 ;
30165 char * kwnames[] = {
30166 (char *) "self",(char *) "canvas", NULL
30167 };
30168
30169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30171 if (!SWIG_IsOK(res1)) {
30172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30173 }
30174 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30175 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30176 if (!SWIG_IsOK(res2)) {
30177 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30178 }
30179 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30180 {
30181 PyThreadState* __tstate = wxPyBeginAllowThreads();
30182 (arg1)->SetPreviewCanvas(arg2);
30183 wxPyEndAllowThreads(__tstate);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 resultobj = SWIG_Py_Void();
30187 return resultobj;
30188fail:
30189 return NULL;
30190}
30191
30192
30193SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30194 PyObject *resultobj = 0;
30195 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30196 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30197 void *argp1 = 0 ;
30198 int res1 = 0 ;
30199 void *argp2 = 0 ;
30200 int res2 = 0 ;
30201 PyObject * obj0 = 0 ;
30202 PyObject * obj1 = 0 ;
30203 char * kwnames[] = {
30204 (char *) "self",(char *) "bar", NULL
30205 };
30206
30207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30209 if (!SWIG_IsOK(res1)) {
30210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30211 }
30212 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30213 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30214 if (!SWIG_IsOK(res2)) {
30215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30216 }
30217 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30218 {
30219 PyThreadState* __tstate = wxPyBeginAllowThreads();
30220 (arg1)->SetControlBar(arg2);
30221 wxPyEndAllowThreads(__tstate);
30222 if (PyErr_Occurred()) SWIG_fail;
30223 }
30224 resultobj = SWIG_Py_Void();
30225 return resultobj;
30226fail:
30227 return NULL;
d55e5bfc
RD
30228}
30229
30230
1bd55598
RD
30231SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30232 PyObject *resultobj = 0;
30233 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30234 void *argp1 = 0 ;
30235 int res1 = 0 ;
30236 PyObject *swig_obj[1] ;
30237
30238 if (!args) SWIG_fail;
30239 swig_obj[0] = args;
30240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30241 if (!SWIG_IsOK(res1)) {
30242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30243 }
30244 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30245 {
30246 PyThreadState* __tstate = wxPyBeginAllowThreads();
30247 (arg1)->Initialize();
30248 wxPyEndAllowThreads(__tstate);
30249 if (PyErr_Occurred()) SWIG_fail;
30250 }
30251 resultobj = SWIG_Py_Void();
30252 return resultobj;
30253fail:
30254 return NULL;
d55e5bfc
RD
30255}
30256
30257
1bd55598
RD
30258SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30259 PyObject *resultobj = 0;
30260 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30261 void *argp1 = 0 ;
30262 int res1 = 0 ;
30263 PyObject *swig_obj[1] ;
30264
30265 if (!args) SWIG_fail;
30266 swig_obj[0] = args;
30267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30268 if (!SWIG_IsOK(res1)) {
30269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30270 }
30271 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30272 {
30273 PyThreadState* __tstate = wxPyBeginAllowThreads();
30274 (arg1)->CreateCanvas();
30275 wxPyEndAllowThreads(__tstate);
30276 if (PyErr_Occurred()) SWIG_fail;
30277 }
30278 resultobj = SWIG_Py_Void();
30279 return resultobj;
30280fail:
30281 return NULL;
d55e5bfc
RD
30282}
30283
30284
1bd55598
RD
30285SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30286 PyObject *resultobj = 0;
30287 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30288 void *argp1 = 0 ;
30289 int res1 = 0 ;
30290 PyObject *swig_obj[1] ;
30291
30292 if (!args) SWIG_fail;
30293 swig_obj[0] = args;
30294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30295 if (!SWIG_IsOK(res1)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30297 }
30298 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30299 {
30300 PyThreadState* __tstate = wxPyBeginAllowThreads();
30301 (arg1)->CreateControlBar();
30302 wxPyEndAllowThreads(__tstate);
30303 if (PyErr_Occurred()) SWIG_fail;
30304 }
30305 resultobj = SWIG_Py_Void();
30306 return resultobj;
30307fail:
30308 return NULL;
30309}
30310
30311
30312SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30313 PyObject *obj;
30314 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30316 return SWIG_Py_Void();
30317}
30318
30319SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30320 return SWIG_Python_InitShadowInstance(args);
30321}
30322
30323SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30324 PyObject *resultobj = 0;
30325 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30326 long arg2 ;
30327 wxWindow *arg3 = (wxWindow *) 0 ;
30328 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30329 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30330 wxSize const &arg5_defvalue = wxDefaultSize ;
30331 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30332 long arg6 = (long) 0 ;
30333 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30334 wxString *arg7 = (wxString *) &arg7_defvalue ;
30335 wxPyPreviewControlBar *result = 0 ;
30336 void *argp1 = 0 ;
30337 int res1 = 0 ;
30338 long val2 ;
30339 int ecode2 = 0 ;
30340 void *argp3 = 0 ;
30341 int res3 = 0 ;
30342 wxPoint temp4 ;
30343 wxSize temp5 ;
30344 long val6 ;
30345 int ecode6 = 0 ;
30346 bool temp7 = false ;
30347 PyObject * obj0 = 0 ;
30348 PyObject * obj1 = 0 ;
30349 PyObject * obj2 = 0 ;
30350 PyObject * obj3 = 0 ;
30351 PyObject * obj4 = 0 ;
30352 PyObject * obj5 = 0 ;
30353 PyObject * obj6 = 0 ;
30354 char * kwnames[] = {
30355 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30356 };
30357
30358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30360 if (!SWIG_IsOK(res1)) {
30361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30362 }
30363 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30364 ecode2 = SWIG_AsVal_long(obj1, &val2);
30365 if (!SWIG_IsOK(ecode2)) {
30366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30367 }
30368 arg2 = static_cast< long >(val2);
30369 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30370 if (!SWIG_IsOK(res3)) {
30371 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30372 }
30373 arg3 = reinterpret_cast< wxWindow * >(argp3);
30374 if (obj3) {
d55e5bfc 30375 {
1bd55598
RD
30376 arg4 = &temp4;
30377 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30378 }
1bd55598
RD
30379 }
30380 if (obj4) {
d55e5bfc 30381 {
1bd55598
RD
30382 arg5 = &temp5;
30383 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30384 }
1bd55598
RD
30385 }
30386 if (obj5) {
30387 ecode6 = SWIG_AsVal_long(obj5, &val6);
30388 if (!SWIG_IsOK(ecode6)) {
30389 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30390 }
30391 arg6 = static_cast< long >(val6);
30392 }
30393 if (obj6) {
d55e5bfc 30394 {
1bd55598
RD
30395 arg7 = wxString_in_helper(obj6);
30396 if (arg7 == NULL) SWIG_fail;
30397 temp7 = true;
d55e5bfc 30398 }
1bd55598
RD
30399 }
30400 {
30401 if (!wxPyCheckForApp()) SWIG_fail;
30402 PyThreadState* __tstate = wxPyBeginAllowThreads();
30403 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30404 wxPyEndAllowThreads(__tstate);
30405 if (PyErr_Occurred()) SWIG_fail;
30406 }
30407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30408 {
30409 if (temp7)
30410 delete arg7;
30411 }
30412 return resultobj;
30413fail:
30414 {
30415 if (temp7)
30416 delete arg7;
30417 }
30418 return NULL;
30419}
30420
30421
30422SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30423 PyObject *resultobj = 0;
30424 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30425 PyObject *arg2 = (PyObject *) 0 ;
30426 PyObject *arg3 = (PyObject *) 0 ;
30427 void *argp1 = 0 ;
30428 int res1 = 0 ;
30429 PyObject * obj0 = 0 ;
30430 PyObject * obj1 = 0 ;
30431 PyObject * obj2 = 0 ;
30432 char * kwnames[] = {
30433 (char *) "self",(char *) "self",(char *) "_class", NULL
30434 };
30435
30436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30438 if (!SWIG_IsOK(res1)) {
30439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30440 }
30441 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30442 arg2 = obj1;
30443 arg3 = obj2;
30444 {
30445 PyThreadState* __tstate = wxPyBeginAllowThreads();
30446 (arg1)->_setCallbackInfo(arg2,arg3);
30447 wxPyEndAllowThreads(__tstate);
30448 if (PyErr_Occurred()) SWIG_fail;
30449 }
30450 resultobj = SWIG_Py_Void();
30451 return resultobj;
30452fail:
30453 return NULL;
30454}
30455
30456
30457SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30458 PyObject *resultobj = 0;
30459 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30460 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30461 void *argp1 = 0 ;
30462 int res1 = 0 ;
30463 void *argp2 = 0 ;
30464 int res2 = 0 ;
30465 PyObject * obj0 = 0 ;
30466 PyObject * obj1 = 0 ;
30467 char * kwnames[] = {
30468 (char *) "self",(char *) "preview", NULL
30469 };
30470
30471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30473 if (!SWIG_IsOK(res1)) {
30474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30475 }
30476 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30477 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30478 if (!SWIG_IsOK(res2)) {
30479 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30480 }
30481 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30482 {
30483 PyThreadState* __tstate = wxPyBeginAllowThreads();
30484 (arg1)->SetPrintPreview(arg2);
30485 wxPyEndAllowThreads(__tstate);
30486 if (PyErr_Occurred()) SWIG_fail;
30487 }
30488 resultobj = SWIG_Py_Void();
30489 return resultobj;
30490fail:
30491 return NULL;
d55e5bfc
RD
30492}
30493
30494
1bd55598
RD
30495SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30496 PyObject *resultobj = 0;
30497 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30498 void *argp1 = 0 ;
30499 int res1 = 0 ;
30500 PyObject *swig_obj[1] ;
30501
30502 if (!args) SWIG_fail;
30503 swig_obj[0] = args;
30504 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30505 if (!SWIG_IsOK(res1)) {
30506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30507 }
30508 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30509 {
30510 PyThreadState* __tstate = wxPyBeginAllowThreads();
30511 (arg1)->CreateButtons();
30512 wxPyEndAllowThreads(__tstate);
30513 if (PyErr_Occurred()) SWIG_fail;
30514 }
30515 resultobj = SWIG_Py_Void();
30516 return resultobj;
30517fail:
30518 return NULL;
30519}
30520
30521
30522SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30523 PyObject *resultobj = 0;
30524 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30525 int arg2 ;
30526 void *argp1 = 0 ;
30527 int res1 = 0 ;
30528 int val2 ;
30529 int ecode2 = 0 ;
30530 PyObject * obj0 = 0 ;
30531 PyObject * obj1 = 0 ;
30532 char * kwnames[] = {
30533 (char *) "self",(char *) "zoom", NULL
30534 };
30535
30536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30538 if (!SWIG_IsOK(res1)) {
30539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30540 }
30541 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30542 ecode2 = SWIG_AsVal_int(obj1, &val2);
30543 if (!SWIG_IsOK(ecode2)) {
30544 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30545 }
30546 arg2 = static_cast< int >(val2);
30547 {
30548 PyThreadState* __tstate = wxPyBeginAllowThreads();
30549 (arg1)->SetZoomControl(arg2);
30550 wxPyEndAllowThreads(__tstate);
30551 if (PyErr_Occurred()) SWIG_fail;
30552 }
30553 resultobj = SWIG_Py_Void();
30554 return resultobj;
30555fail:
30556 return NULL;
d55e5bfc
RD
30557}
30558
30559
1bd55598
RD
30560SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30561 PyObject *obj;
30562 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30563 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30564 return SWIG_Py_Void();
d55e5bfc
RD
30565}
30566
1bd55598
RD
30567SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30568 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
30569}
30570
d55e5bfc 30571static PyMethodDef SwigMethods[] = {
36ed4f51 30572 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30573 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
36ed4f51 30574 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30575 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
36ed4f51
RD
30576 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30577 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
1bd55598 30578 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
36ed4f51 30579 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30580 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
30581 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30582 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30583 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30584 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30585 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30586 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30587 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
36ed4f51 30588 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30589 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
36ed4f51 30590 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30591 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30592 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
36ed4f51
RD
30593 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30594 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
1bd55598 30595 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
36ed4f51
RD
30596 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30597 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30598 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
36ed4f51 30599 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30600 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
36ed4f51
RD
30601 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30602 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30603 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30604 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 30605 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30606 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
36ed4f51 30607 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30608 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
2131d850 30609 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
1bd55598
RD
30610 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30611 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
36ed4f51
RD
30612 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30613 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30614 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30615 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
36ed4f51 30616 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30617 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
36ed4f51
RD
30618 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30619 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30620 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
36ed4f51 30621 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30622 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 30623 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
30624 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30625 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30626 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
36ed4f51 30627 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30628 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
36ed4f51 30629 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30630 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
36ed4f51
RD
30631 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30632 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30633 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
36ed4f51
RD
30634 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30635 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30636 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30637 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30638 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30639 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30640 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
36ed4f51 30641 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30642 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
36ed4f51
RD
30643 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30644 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30645 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30646 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30647 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
1bd55598 30648 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
36ed4f51 30649 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30650 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
36ed4f51
RD
30651 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30652 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30653 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 30654 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30655 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 30656 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30657 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
36ed4f51
RD
30658 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30659 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 30660 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30661 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30662 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
36ed4f51
RD
30663 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30664 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30665 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
1bd55598 30666 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
36ed4f51 30667 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30668 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
36ed4f51
RD
30669 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30670 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
1bd55598 30671 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30672 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30673 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30674 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
36ed4f51 30675 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30676 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 30677 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30678 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30679 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30680 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
36ed4f51 30681 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
1bd55598 30682 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
36ed4f51 30683 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30684 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
36ed4f51
RD
30685 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30686 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30687 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
36ed4f51
RD
30688 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30689 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30690 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30691 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30692 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30693 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30694 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30695 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30696 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30697 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
36ed4f51
RD
30698 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30699 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
1bd55598 30700 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
36ed4f51 30701 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30702 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
36ed4f51 30703 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30704 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30705 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
36ed4f51 30706 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30707 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
36ed4f51
RD
30708 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30709 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30710 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30711 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30712 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30713 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30714 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
36ed4f51
RD
30715 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30716 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30717 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30718 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
36ed4f51 30719 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30720 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
36ed4f51 30721 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30722 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
36ed4f51 30723 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30724 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
36ed4f51 30725 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30726 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
36ed4f51 30727 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30728 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
36ed4f51
RD
30729 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30730 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30731 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30732 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30733 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30734 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
30735 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
30736 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
30737 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
36ed4f51 30738 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
1bd55598 30739 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 30740 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30741 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
36ed4f51
RD
30742 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30743 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30744 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
30745 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30746 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
30747 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
30748 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30749 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
36ed4f51 30750 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30751 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
36ed4f51
RD
30752 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30753 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30754 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
30755 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
36ed4f51
RD
30756 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
30757 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30758 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
30759 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
36ed4f51 30760 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30761 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
36ed4f51 30762 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30763 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30764 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30765 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30766 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
36ed4f51 30767 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30768 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
36ed4f51 30769 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30770 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
36ed4f51 30771 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
1bd55598 30772 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30773 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30774 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30775 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
36ed4f51 30776 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30777 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
36ed4f51 30778 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30779 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
36ed4f51 30780 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30781 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
36ed4f51 30782 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30783 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
36ed4f51 30784 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
1bd55598 30785 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30786 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30787 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30788 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
36ed4f51 30789 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30790 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
36ed4f51 30791 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
1bd55598 30792 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 30793 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30794 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
36ed4f51 30795 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30796 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
30797 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
36ed4f51
RD
30798 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
30799 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
30800 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
30801 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
1bd55598
RD
30802 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
30803 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
30804 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
36ed4f51
RD
30805 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30806 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30807 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30808 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
1bd55598 30809 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
36ed4f51 30810 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30811 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
36ed4f51 30812 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30813 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 30814 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30815 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
36ed4f51 30816 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30817 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30818 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30819 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30820 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
36ed4f51 30821 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30822 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 30823 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30824 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
30825 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30826 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30827 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
30828 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
30829 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
30830 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
30831 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
30832 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30833 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
30834 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
30835 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
30836 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
7993762b 30837 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30838 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
30839 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
30840 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 30842 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30843 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 30844 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30845 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
36ed4f51
RD
30846 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30847 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30848 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
30849 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
30850 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
36ed4f51
RD
30851 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30853 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
30854 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
36ed4f51 30855 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30856 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
30857 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
36ed4f51 30858 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30859 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
36ed4f51
RD
30860 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30861 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
30862 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
30863 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30864 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
30865 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
36ed4f51
RD
30866 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
30867 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
30869 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 30871 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
1bd55598 30872 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
36ed4f51 30873 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30874 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
36ed4f51
RD
30875 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 30877 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30878 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 30879 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 30880 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
1bd55598
RD
30881 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
30882 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
30883 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
36ed4f51 30884 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30885 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
30886 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
30887 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
36ed4f51 30888 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30889 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
36ed4f51
RD
30890 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
30891 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
1bd55598 30892 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30893 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
1bd55598
RD
30895 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
30896 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
30897 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
30898 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
30899 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
36ed4f51
RD
30900 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
30902 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
1bd55598 30905 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
36ed4f51 30906 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30907 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
36ed4f51 30908 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30909 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 30910 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 30911 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30912 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
30913 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
36ed4f51
RD
30914 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30917 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30918 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30919 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
30921 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 30924 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30925 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
30926 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
30927 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
30928 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
30929 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
1bd55598
RD
30930 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
30931 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
30932 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
36ed4f51 30933 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30934 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30935 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30937 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
36ed4f51 30938 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30939 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 30940 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30941 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
30942 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
36ed4f51
RD
30943 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
30944 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30945 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 30946 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30947 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
36ed4f51
RD
30948 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
30949 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30950 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30951 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30953 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
30954 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
30956 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
30957 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
1bd55598
RD
30958 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
30959 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
36ed4f51 30960 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30961 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
30962 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
30963 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
30964 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
30965 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
30966 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
36ed4f51
RD
30967 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30973 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
1bd55598 30974 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
36ed4f51 30975 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30976 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
36ed4f51 30977 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30978 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 30979 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
30980 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30982 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30983 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30985 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
36ed4f51 30986 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
1bd55598 30987 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 30988 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30989 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
30990 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
30991 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
30992 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
36ed4f51
RD
30993 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
30995 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
1bd55598 30997 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 30998 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30999 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31000 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31001 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31002 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
36ed4f51
RD
31003 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31004 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31005 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31006 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
1bd55598 31007 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
36ed4f51 31008 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31009 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
36ed4f51 31010 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31011 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
36ed4f51
RD
31012 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31014 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31015 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31016 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
36ed4f51 31017 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31018 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31019 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31020 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31021 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31022 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31023 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31024 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
36ed4f51
RD
31025 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31027 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31028 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31029 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
36ed4f51 31030 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31031 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
36ed4f51 31032 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31033 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31034 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31035 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
36ed4f51
RD
31036 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31037 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31038 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31039 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31040 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
36ed4f51
RD
31041 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31043 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31044 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31046 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31048 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31049 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31050 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31051 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31052 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31053 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31054 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 31055 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31056 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31057 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31058 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
36ed4f51
RD
31059 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31060 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31061 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31062 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31063 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31066 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31067 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31068 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31069 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31070 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31071 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31072 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
36ed4f51 31073 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
1bd55598 31074 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
36ed4f51 31075 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31076 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31077 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31079 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31080 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31084 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31085 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31086 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31087 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31088 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31089 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31090 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 31091 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31092 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31093 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
1bd55598
RD
31094 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31095 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31096 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31097 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31098 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31099 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31100 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31101 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31102 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31103 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31104 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31105 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31106 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
36ed4f51
RD
31107 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31112 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31113 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31116 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31117 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31118 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
36ed4f51 31119 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31120 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
7fbf8399 31121 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31122 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
1bd55598 31123 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
36ed4f51 31124 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
1bd55598 31125 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
36ed4f51
RD
31126 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31127 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31131 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31132 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31133 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31134 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31135 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31136 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31137 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31138 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31139 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31140 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31141 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31142 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31143 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31144 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31145 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
36ed4f51
RD
31146 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31147 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31148 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31149 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31155 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31156 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
36ed4f51 31157 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 31158 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 31159 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 31160 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
1bd55598
RD
31161 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31162 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31163 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
36ed4f51 31164 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31165 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31166 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
1bd55598
RD
31167 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31168 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31169 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31170 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31171 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31172 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31173 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31174 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31175 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31176 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
36ed4f51
RD
31177 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31178 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31183 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31186 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31187 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31190 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31191 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31192 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31193 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31194 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31195 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
36ed4f51
RD
31196 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 31198 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 31199 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 31200 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
1bd55598
RD
31201 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31202 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31203 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31204 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
36ed4f51 31205 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31206 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31207 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31208 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
36ed4f51
RD
31209 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31212 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31213 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31214 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31215 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31216 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
36ed4f51 31217 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
1bd55598 31218 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
36ed4f51 31219 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31220 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
36ed4f51 31221 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31222 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31223 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
36ed4f51
RD
31224 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31226 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
36ed4f51 31227 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31228 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
36ed4f51 31229 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31230 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
36ed4f51 31231 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31232 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31233 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
36ed4f51 31234 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 31235 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31236 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31237 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31238 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31239 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
7f7aa166 31240 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31241 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
36ed4f51 31242 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
1bd55598 31243 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31244 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
1bd55598 31246 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
36ed4f51 31247 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31248 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31249 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31250 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31251 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
36ed4f51 31252 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31253 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31254 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31255 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
36ed4f51 31256 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31257 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31258 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31259 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31260 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31261 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31262 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
36ed4f51 31263 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 31264 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
36ed4f51 31265 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
1bd55598 31266 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
36ed4f51 31267 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31268 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
36ed4f51 31269 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31270 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31271 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
36ed4f51
RD
31272 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31274 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31275 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
36ed4f51
RD
31276 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31279 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31280 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
36ed4f51 31281 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31282 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31283 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31284 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31285 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
36ed4f51
RD
31286 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31287 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31288 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
36ed4f51 31289 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 31290 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31291 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31292 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31293 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 31294 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31295 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31296 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31298 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31299 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31300 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31301 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
36ed4f51 31302 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31303 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31304 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31305 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31307 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
7f7aa166 31308 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31309 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 31310 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c370783e 31311 { NULL, NULL, 0, NULL }
d55e5bfc
RD
31312};
31313
31314
31315/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31316
31317static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31318 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31319}
31320static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31321 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31322}
31323static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31324 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31325}
31326static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31327 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31328}
31329static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31330 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31331}
31332static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31333 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31334}
31335static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31336 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31337}
31338static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31339 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31340}
31341static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31342 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31343}
31344static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31345 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31346}
31347static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31348 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31349}
d55e5bfc
RD
31350static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31351 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31352}
2131d850
RD
31353static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31354 return (void *)((wxEvent *) ((wxPyEvent *) x));
31355}
d55e5bfc
RD
31356static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31357 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31358}
31359static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31360 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31361}
31362static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31363 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31364}
31365static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31366 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31367}
31368static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31369 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31370}
31371static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31372 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31373}
31374static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31375 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31376}
31377static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31378 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31379}
31380static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31381 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31382}
53aa7709
RD
31383static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31384 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31385}
2131d850
RD
31386static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31388}
d55e5bfc
RD
31389static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31390 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31391}
31392static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31393 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31394}
31395static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31396 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31397}
31398static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31399 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31400}
31401static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31402 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31403}
31404static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31405 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31406}
31407static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31408 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31409}
31410static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31411 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31412}
31413static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31414 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31415}
31416static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31417 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31418}
31419static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31420 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31421}
31422static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31423 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31424}
31425static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31426 return (void *)((wxEvent *) ((wxShowEvent *) x));
31427}
31428static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31429 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31430}
31431static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31432 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31433}
31434static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31435 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31436}
31437static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31438 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31439}
31440static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31441 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31442}
31443static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31444 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31445}
31446static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31447 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31448}
31449static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31450 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31451}
070c48b4
RD
31452static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31453 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31454}
d55e5bfc
RD
31455static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31456 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31457}
31458static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31459 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31460}
31461static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31462 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31463}
31464static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31465 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31466}
31467static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31468 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31469}
31470static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31471 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31472}
31473static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31474 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31475}
070c48b4
RD
31476static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31478}
d55e5bfc
RD
31479static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31481}
31482static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31484}
31485static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31486 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31487}
31488static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31489 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31490}
27e45892
RD
31491static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31492 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31493}
d55e5bfc
RD
31494static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31495 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31496}
31497static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31498 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31499}
31500static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31502}
31503static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31504 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31505}
31506static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31507 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31508}
31509static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31510 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31511}
31512static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31514}
31515static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31516 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31517}
31518static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31519 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31520}
31521static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31522 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31523}
31524static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31526}
31527static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31528 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31529}
31530static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31531 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31532}
31533static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31534 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31535}
31536static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31537 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31538}
31539static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31540 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31541}
31542static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31543 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31544}
31545static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31546 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31547}
31548static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31549 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31550}
31551static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31553}
31554static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31556}
31557static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31559}
31560static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31561 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31562}
31563static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31564 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31565}
31566static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31567 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31568}
31569static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31570 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31571}
31572static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31573 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31574}
31575static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31576 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31577}
31578static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31579 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31580}
31581static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31582 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31583}
5e483524
RD
31584static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31585 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31586}
31587static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31588 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31589}
d55e5bfc
RD
31590static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31591 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31592}
31593static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31594 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31595}
31596static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31597 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31598}
070c48b4
RD
31599static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31600 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31601}
d55e5bfc
RD
31602static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31603 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31604}
31605static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31606 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31607}
31608static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31609 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31610}
31611static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31612 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31613}
31614static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31615 return (void *)((wxFrame *) ((wxTipWindow *) x));
31616}
31617static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31618 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31619}
31620static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31621 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31622}
31623static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31624 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31625}
31626static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31627 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31628}
31629static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31630 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31631}
31632static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31634}
31635static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31637}
31638static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31640}
31641static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31643}
31644static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31646}
31647static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) ((wxSizerItem *) x));
31649}
31650static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31652}
31653static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31655}
31656static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31657 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31658}
31659static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31660 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31661}
31662static void *_p_wxSizerTo_p_wxObject(void *x) {
31663 return (void *)((wxObject *) ((wxSizer *) x));
31664}
31665static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31666 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31667}
31668static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31669 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31670}
31671static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31673}
31674static void *_p_wxEventTo_p_wxObject(void *x) {
31675 return (void *)((wxObject *) ((wxEvent *) x));
31676}
31677static void *_p_wxFontDataTo_p_wxObject(void *x) {
31678 return (void *)((wxObject *) ((wxFontData *) x));
31679}
31680static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31681 return (void *)((wxObject *) ((wxPrintData *) x));
31682}
31683static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31684 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31685}
31686static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31687 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31688}
31689static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31690 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31691}
31692static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31693 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31694}
5e483524
RD
31695static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31696 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31697}
31698static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31699 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31700}
2131d850
RD
31701static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31703}
d55e5bfc
RD
31704static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31705 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31706}
31707static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31708 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31709}
31710static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31711 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31712}
31713static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31714 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31715}
31716static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31717 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31718}
31719static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31720 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31721}
31722static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31724}
31725static void *_p_wxControlTo_p_wxObject(void *x) {
31726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31727}
31728static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31729 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31730}
31731static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
31732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31733}
31734static void *_p_wxFSFileTo_p_wxObject(void *x) {
31735 return (void *)((wxObject *) ((wxFSFile *) x));
31736}
31737static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
31738 return (void *)((wxObject *) ((wxFindReplaceData *) x));
31739}
31740static void *_p_wxPySizerTo_p_wxObject(void *x) {
31741 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31742}
31743static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
31744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31745}
31746static void *_p_wxColourDataTo_p_wxObject(void *x) {
31747 return (void *)((wxObject *) ((wxColourData *) x));
31748}
31749static void *_p_wxPyEventTo_p_wxObject(void *x) {
31750 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31751}
31752static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31753 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31754}
31755static void *_p_wxPyWindowTo_p_wxObject(void *x) {
31756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
31757}
31758static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
31759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31760}
31761static void *_p_wxFileDialogTo_p_wxObject(void *x) {
31762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31763}
31764static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
31765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31766}
31767static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
31768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31769}
31770static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
31771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31772}
070c48b4
RD
31773static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
31774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31775}
27e45892
RD
31776static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
31777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31778}
d55e5bfc
RD
31779static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
31780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31781}
31782static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
31783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31784}
31785static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
31786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31787}
31788static void *_p_wxShowEventTo_p_wxObject(void *x) {
31789 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31790}
31791static void *_p_wxPrinterTo_p_wxObject(void *x) {
31792 return (void *)((wxObject *) ((wxPrinter *) x));
31793}
31794static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31795 return (void *)((wxObject *) ((wxMenuItem *) x));
31796}
53aa7709
RD
31797static void *_p_wxDateEventTo_p_wxObject(void *x) {
31798 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
31799}
d55e5bfc
RD
31800static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31801 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31802}
31803static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31805}
31806static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31807 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31808}
31809static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31810 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31811}
31812static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31813 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31814}
31815static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31816 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31817}
31818static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31819 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31820}
31821static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31822 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31823}
d55e5bfc
RD
31824static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31826}
31827static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31829}
31830static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31832}
31833static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31835}
31836static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31838}
31839static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31840 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31841}
31842static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31843 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31844}
31845static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31846 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31847}
31848static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31849 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31850}
943e8dfd
RD
31851static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
31852 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
31853}
d55e5bfc
RD
31854static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31855 return (void *)((wxObject *) ((wxImageHandler *) x));
31856}
943e8dfd
RD
31857static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31858 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31859}
d55e5bfc
RD
31860static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31861 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31862}
31863static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31864 return (void *)((wxObject *) ((wxEvtHandler *) x));
31865}
31866static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
31867 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
31868}
31869static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
31870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31871}
31872static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
31873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31874}
62d32a5f
RD
31875static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
31876 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
31877}
d55e5bfc
RD
31878static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31879 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31880}
31881static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
31882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31883}
31884static void *_p_wxImageTo_p_wxObject(void *x) {
31885 return (void *)((wxObject *) ((wxImage *) x));
31886}
31887static void *_p_wxFrameTo_p_wxObject(void *x) {
31888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31889}
31890static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
31891 return (void *)((wxObject *) ((wxPyPrintout *) x));
31892}
31893static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31894 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31895}
31896static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
31897 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
31898}
31899static void *_p_wxStatusBarTo_p_wxObject(void *x) {
31900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
31901}
31902static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
31903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31904}
31905static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31906 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31907}
31908static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31909 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31910}
31911static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31912 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31913}
31914static void *_p_wxWindowTo_p_wxObject(void *x) {
31915 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31916}
31917static void *_p_wxMenuTo_p_wxObject(void *x) {
31918 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31919}
31920static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31922}
31923static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
31924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31925}
31926static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
31927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
31928}
31929static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
31930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
31931}
31932static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
31933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
31934}
31935static void *_p_wxSashWindowTo_p_wxObject(void *x) {
31936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
31937}
31938static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
31939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31940}
31941static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
31942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
31943}
31944static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
31945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31946}
31947static void *_p_wxTipWindowTo_p_wxObject(void *x) {
31948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31949}
31950static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
31951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31952}
31953static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
31954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
31955}
31956static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
31957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31958}
31959static void *_p_wxSashEventTo_p_wxObject(void *x) {
31960 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
31961}
31962static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
31963 return (void *)((wxObject *) ((wxPrintPreview *) x));
31964}
31965static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
31966 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
31967}
31968static void *_p_wxPanelTo_p_wxObject(void *x) {
31969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
31970}
31971static void *_p_wxDialogTo_p_wxObject(void *x) {
31972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31973}
31974static void *_p_wxColourDialogTo_p_wxObject(void *x) {
31975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31976}
31977static void *_p_wxDirDialogTo_p_wxObject(void *x) {
31978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31979}
31980static void *_p_wxFontDialogTo_p_wxObject(void *x) {
31981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31982}
31983static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 31984 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
31985}
31986static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 31987 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
31988}
31989static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31990 return (void *)((wxObject *) ((wxFileSystem *) x));
31991}
31992static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31994}
31995static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31996 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31997}
31998static void *_p_wxPyAppTo_p_wxObject(void *x) {
31999 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32000}
32001static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32002 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32003}
32004static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32005 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32006}
32007static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32008 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32009}
32010static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32011 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32012}
32013static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32014 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32015}
32016static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32018}
32019static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32021}
32022static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32023 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32024}
32025static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32026 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32027}
32028static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32029 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32030}
32031static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32032 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32033}
32034static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32035 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32036}
32037static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32038 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32039}
32040static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32041 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32042}
32043static void *_p_wxValidatorTo_p_wxObject(void *x) {
32044 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32045}
32046static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32047 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32048}
32049static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32050 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32051}
32052static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32053 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32054}
32055static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32056 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32057}
32058static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32059 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32060}
32061static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32062 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32063}
32064static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32065 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32066}
32067static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32068 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32069}
32070static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32071 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32072}
32073static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32074 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32075}
d55e5bfc
RD
32076static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32077 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32078}
32079static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32080 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32081}
32082static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32083 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32084}
32085static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32086 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32087}
27e45892
RD
32088static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32089 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
d55e5bfc 32090}
070c48b4
RD
32091static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32092 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32093}
d55e5bfc
RD
32094static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32095 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32096}
32097static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32098 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32099}
32100static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32101 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32102}
32103static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32104 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32105}
27e45892
RD
32106static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32107 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32108}
070c48b4
RD
32109static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32110 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32111}
d55e5bfc
RD
32112static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32113 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32114}
32115static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32116 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32117}
32118static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32119 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32120}
32121static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32122 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32123}
32124static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32125 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32126}
32127static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32128 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32129}
32130static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32131 return (void *)((wxWindow *) ((wxMenuBar *) x));
32132}
32133static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32134 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32135}
32136static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32137 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32138}
32139static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32141}
27e45892
RD
32142static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32144}
070c48b4
RD
32145static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32146 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32147}
d55e5bfc
RD
32148static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32150}
32151static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32152 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32153}
32154static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32155 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32156}
32157static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32158 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32159}
32160static void *_p_wxPanelTo_p_wxWindow(void *x) {
32161 return (void *)((wxWindow *) ((wxPanel *) x));
32162}
32163static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32164 return (void *)((wxWindow *) ((wxStatusBar *) x));
32165}
d55e5bfc
RD
32166static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32167 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32168}
32169static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32170 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32171}
32172static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32173 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32174}
32175static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32176 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32177}
32178static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32179 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32180}
32181static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32182 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32183}
32184static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32185 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32186}
32187static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32188 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32189}
32190static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32191 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32192}
32193static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32194 return (void *)((wxWindow *) ((wxSashWindow *) x));
32195}
070c48b4
RD
32196static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32197 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32198}
d55e5bfc
RD
32199static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32200 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32201}
32202static void *_p_wxControlTo_p_wxWindow(void *x) {
32203 return (void *)((wxWindow *) ((wxControl *) x));
32204}
32205static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32206 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32207}
32208static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32209 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32210}
32211static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32212 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32213}
32214static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32215 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32216}
32217static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32218 return (void *)((wxWindow *) ((wxPyWindow *) x));
32219}
32220static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32221 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32222}
32223static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32224 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32225}
32226static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32227 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32228}
32229static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32230 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32231}
32232static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32233 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32234}
32235static void *_p_wxFrameTo_p_wxWindow(void *x) {
32236 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32237}
32238static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32240}
32241static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32243}
32244static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32246}
32247static void *_p_wxDialogTo_p_wxWindow(void *x) {
32248 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32249}
d55e5bfc
RD
32250static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32251 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32252}
32253static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32254 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32255}
32256static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32257 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32258}
32259static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32260 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32261}
32262static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32263 return (void *)((wxDialog *) ((wxColourDialog *) x));
32264}
32265static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32266 return (void *)((wxDialog *) ((wxDirDialog *) x));
32267}
32268static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32269 return (void *)((wxDialog *) ((wxFontDialog *) x));
32270}
d55e5bfc
RD
32271static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32272 return (void *)((wxDialog *) ((wxFileDialog *) x));
32273}
32274static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32275 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32276}
32277static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32278 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32279}
32280static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32281 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32282}
070c48b4
RD
32283static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32284 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32285}
27e45892
RD
32286static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32287 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32288}
d55e5bfc
RD
32289static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32290 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32291}
32292static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32293 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32294}
32295static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32296 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32297}
32298static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32299 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32300}
32301static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32302 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32303}
32304static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32305 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32306}
32307static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32308 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32309}
32310static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32311 return (void *)((wxPanel *) ((wxPyPanel *) x));
32312}
32313static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32314 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32315}
32316static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32317 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32318}
32319static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32320 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32321}
32322static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32323 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32324}
32325static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32326 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32327}
32328static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32329 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32330}
53aa7709
RD
32331static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32332 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32333}
d55e5bfc
RD
32334static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32335 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32336}
2131d850
RD
32337static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32338 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32339}
d55e5bfc
RD
32340static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32341 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32342}
32343static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32344 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32345}
32346static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32347 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32348}
32349static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32350 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32351}
32352static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32353 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32354}
32355static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32356 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32357}
32358static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32359 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32360}
32361static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32362 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32363}
2131d850 32364static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
1bd55598
RD
32365static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32366static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32367static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32368static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32369static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32370static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32371static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32372static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32373static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32374static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32375static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32376static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32377static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
32378static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32379static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598 32380static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
32381static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32382static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32383static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
1bd55598
RD
32384static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32385static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32386static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
1bd55598
RD
32387static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32388static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32389static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32390static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32391static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32392static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32393static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32394static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32395static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32396static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32397static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32398static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32399static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32400static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32401static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32402static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32403static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32404static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32405static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32406static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32407static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32408static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32409static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32410static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32411static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32412static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32413static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32414static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32415static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32416static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32417static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32418static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32419static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32420static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32421static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32422static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32423static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32424static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32425static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32426static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32427static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32428static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32429static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32430static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32431static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 32432static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
1bd55598
RD
32433static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32434static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32435static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32436static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32437static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32438static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32439static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32440static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32441static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32442static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32443static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32444static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 32445static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
1bd55598
RD
32446static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32447static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32448static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32449static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32450static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32451static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32452static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32453static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32454static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32455static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32456static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32457static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32458static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32459static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
32460static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32461static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32462static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32463static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32464static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32465static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32466static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32467static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32468static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 32469static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 32470static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
32471static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32472static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32473static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32474static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32475static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32476static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32477static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32478static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32479static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32480static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32481static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32482static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32483static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32484static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32485static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32486static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32487static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32488static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32489static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32490static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32491static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32492static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32493static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32494static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32495static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32496static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32497static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32498static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32499static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32500static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32501static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32502static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32503static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32504static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32505static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32506static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32507static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32508static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32509static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32510static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32511static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32512static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32513static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32514static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32515static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32516static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32517static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32518static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32519static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32520static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32521static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32522static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32523static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32524static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32525static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32526static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32527static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
32528
32529static swig_type_info *swig_type_initial[] = {
2131d850 32530 &_swigt__p_bool,
32fe5131
RD
32531 &_swigt__p_char,
32532 &_swigt__p_form_ops_t,
32533 &_swigt__p_int,
32534 &_swigt__p_unsigned_char,
32535 &_swigt__p_unsigned_int,
32536 &_swigt__p_unsigned_long,
32537 &_swigt__p_wxANIHandler,
32538 &_swigt__p_wxAcceleratorTable,
32539 &_swigt__p_wxActivateEvent,
32540 &_swigt__p_wxArrayInt,
32541 &_swigt__p_wxBMPHandler,
32542 &_swigt__p_wxBitmap,
32543 &_swigt__p_wxBoxSizer,
32544 &_swigt__p_wxCURHandler,
32545 &_swigt__p_wxCalculateLayoutEvent,
32546 &_swigt__p_wxChildFocusEvent,
2131d850 32547 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
32548 &_swigt__p_wxCloseEvent,
32549 &_swigt__p_wxColour,
32550 &_swigt__p_wxColourData,
32551 &_swigt__p_wxColourDialog,
32552 &_swigt__p_wxCommandEvent,
32553 &_swigt__p_wxContextMenuEvent,
32554 &_swigt__p_wxControl,
32555 &_swigt__p_wxControlWithItems,
32556 &_swigt__p_wxDC,
32557 &_swigt__p_wxDateEvent,
32558 &_swigt__p_wxDialog,
32559 &_swigt__p_wxDirDialog,
32560 &_swigt__p_wxDisplayChangedEvent,
32561 &_swigt__p_wxDropFilesEvent,
32562 &_swigt__p_wxDuplexMode,
32563 &_swigt__p_wxEraseEvent,
32564 &_swigt__p_wxEvent,
32565 &_swigt__p_wxEvtHandler,
32566 &_swigt__p_wxFSFile,
32567 &_swigt__p_wxFileDialog,
32568 &_swigt__p_wxFileSystem,
32569 &_swigt__p_wxFindDialogEvent,
32570 &_swigt__p_wxFindReplaceData,
32571 &_swigt__p_wxFindReplaceDialog,
32572 &_swigt__p_wxFlexGridSizer,
32573 &_swigt__p_wxFocusEvent,
32574 &_swigt__p_wxFont,
32575 &_swigt__p_wxFontData,
32576 &_swigt__p_wxFontDialog,
32577 &_swigt__p_wxFrame,
32578 &_swigt__p_wxGBSizerItem,
32579 &_swigt__p_wxGIFHandler,
32580 &_swigt__p_wxGridBagSizer,
32581 &_swigt__p_wxGridSizer,
e9d6f3a4 32582 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
32583 &_swigt__p_wxICOHandler,
32584 &_swigt__p_wxIcon,
32585 &_swigt__p_wxIconBundle,
32586 &_swigt__p_wxIconizeEvent,
32587 &_swigt__p_wxIdleEvent,
32588 &_swigt__p_wxImage,
32589 &_swigt__p_wxImageHandler,
32590 &_swigt__p_wxIndividualLayoutConstraint,
32591 &_swigt__p_wxInitDialogEvent,
32592 &_swigt__p_wxJPEGHandler,
32593 &_swigt__p_wxKeyEvent,
32594 &_swigt__p_wxLayoutAlgorithm,
32595 &_swigt__p_wxLayoutConstraints,
32596 &_swigt__p_wxMDIChildFrame,
32597 &_swigt__p_wxMDIClientWindow,
32598 &_swigt__p_wxMDIParentFrame,
32599 &_swigt__p_wxMaximizeEvent,
32600 &_swigt__p_wxMenu,
32601 &_swigt__p_wxMenuBar,
32602 &_swigt__p_wxMenuEvent,
32603 &_swigt__p_wxMenuItem,
32604 &_swigt__p_wxMessageDialog,
32605 &_swigt__p_wxMiniFrame,
32606 &_swigt__p_wxMouseCaptureChangedEvent,
32607 &_swigt__p_wxMouseEvent,
32608 &_swigt__p_wxMoveEvent,
32609 &_swigt__p_wxMultiChoiceDialog,
32610 &_swigt__p_wxNavigationKeyEvent,
32611 &_swigt__p_wxNcPaintEvent,
32612 &_swigt__p_wxNotifyEvent,
27e45892 32613 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
32614 &_swigt__p_wxObject,
32615 &_swigt__p_wxPCXHandler,
32616 &_swigt__p_wxPNGHandler,
32617 &_swigt__p_wxPNMHandler,
32618 &_swigt__p_wxPageSetupDialog,
32619 &_swigt__p_wxPageSetupDialogData,
32620 &_swigt__p_wxPaintEvent,
32621 &_swigt__p_wxPaletteChangedEvent,
32622 &_swigt__p_wxPanel,
32623 &_swigt__p_wxPaperSize,
32624 &_swigt__p_wxPasswordEntryDialog,
32625 &_swigt__p_wxPoint,
32626 &_swigt__p_wxPopupWindow,
32627 &_swigt__p_wxPreviewCanvas,
32628 &_swigt__p_wxPreviewControlBar,
32629 &_swigt__p_wxPreviewFrame,
32630 &_swigt__p_wxPrintData,
32631 &_swigt__p_wxPrintDialog,
32632 &_swigt__p_wxPrintDialogData,
32633 &_swigt__p_wxPrintPreview,
32634 &_swigt__p_wxPrinter,
32635 &_swigt__p_wxProgressDialog,
32636 &_swigt__p_wxPyApp,
32637 &_swigt__p_wxPyCommandEvent,
32638 &_swigt__p_wxPyEvent,
32639 &_swigt__p_wxPyHtmlListBox,
32640 &_swigt__p_wxPyImageHandler,
32641 &_swigt__p_wxPyPanel,
32642 &_swigt__p_wxPyPopupTransientWindow,
32643 &_swigt__p_wxPyPreviewControlBar,
32644 &_swigt__p_wxPyPreviewFrame,
32645 &_swigt__p_wxPyPrintPreview,
32646 &_swigt__p_wxPyPrintout,
32647 &_swigt__p_wxPyScrolledWindow,
32648 &_swigt__p_wxPySizer,
32649 &_swigt__p_wxPyTaskBarIcon,
32650 &_swigt__p_wxPyVListBox,
32651 &_swigt__p_wxPyVScrolledWindow,
32652 &_swigt__p_wxPyValidator,
32653 &_swigt__p_wxPyWindow,
32654 &_swigt__p_wxQueryLayoutInfoEvent,
32655 &_swigt__p_wxQueryNewPaletteEvent,
32656 &_swigt__p_wxRect,
32657 &_swigt__p_wxRegion,
32658 &_swigt__p_wxSashEvent,
32659 &_swigt__p_wxSashLayoutWindow,
32660 &_swigt__p_wxSashWindow,
32661 &_swigt__p_wxScrollEvent,
32662 &_swigt__p_wxScrollWinEvent,
32663 &_swigt__p_wxScrolledWindow,
32664 &_swigt__p_wxSetCursorEvent,
32665 &_swigt__p_wxShowEvent,
32666 &_swigt__p_wxSingleChoiceDialog,
32667 &_swigt__p_wxSize,
32668 &_swigt__p_wxSizeEvent,
32669 &_swigt__p_wxSizer,
32670 &_swigt__p_wxSizerItem,
32671 &_swigt__p_wxSplashScreen,
32672 &_swigt__p_wxSplashScreenWindow,
32673 &_swigt__p_wxSplitterEvent,
32674 &_swigt__p_wxSplitterWindow,
32675 &_swigt__p_wxStaticBoxSizer,
32676 &_swigt__p_wxStatusBar,
32677 &_swigt__p_wxStdDialogButtonSizer,
32678 &_swigt__p_wxString,
32679 &_swigt__p_wxSysColourChangedEvent,
32680 &_swigt__p_wxTIFFHandler,
32681 &_swigt__p_wxTaskBarIcon,
32682 &_swigt__p_wxTaskBarIconEvent,
32683 &_swigt__p_wxTextEntryDialog,
32684 &_swigt__p_wxTipWindow,
32685 &_swigt__p_wxToolBar,
32686 &_swigt__p_wxTopLevelWindow,
32687 &_swigt__p_wxUpdateUIEvent,
32688 &_swigt__p_wxValidator,
32689 &_swigt__p_wxVisualAttributes,
32690 &_swigt__p_wxWindow,
32691 &_swigt__p_wxWindowCreateEvent,
32692 &_swigt__p_wxWindowDestroyEvent,
32693 &_swigt__p_wxXPMHandler,
32fe5131
RD
32694};
32695
2131d850 32696static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32697static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32698static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32699static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32700static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32701static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32702static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32703static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32704static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32705static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32706static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32707static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32708static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32709static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32710static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 32711static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32712static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32713static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32714static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32715static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32716static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32717static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32718static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32fe5131 32719static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32720static swig_cast_info _swigc__p_wxDialog[] = { {&_swigt__p_wxDialog, 0, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxDialog, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxDialog, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32721static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32722static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32723static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32724static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
32725static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
32726static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
32727static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
32728static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32729static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
32730static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
32731static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
32732static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32733static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32734static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
32735static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
32736static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
32737static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32738static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
32739static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32740static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32741static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32742static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
32743static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
32744static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32745static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
32746static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
32747static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32748static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32749static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
32750static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
32751static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
32752static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
32753static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32754static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32755static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
32756static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
32757static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
32758static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
32759static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
32760static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
32761static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
32762static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
32763static 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_wxTipWindow, _p_wxTipWindowTo_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 32764static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32765static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
32766static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
32767static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
32768static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
32769static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
32770static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
32771static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
32772static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
32773static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
32774static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
32775static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32776static swig_cast_info _swigc__p_wxNotifyEvent[] = { {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxNotifyEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32777static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32778static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32779static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32780static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32781static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
32782static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32783static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
32784static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
32785static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
32786static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32787static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
32788static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32789static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
32790static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32791static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
32792static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
32793static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32794static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
32795static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
32796static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
32797static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
32798static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
32799static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32800static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 32801static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32802static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
32803static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
32804static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
32805static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32806static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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}};
32fe5131
RD
32807static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
32808static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
32809static 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}};
32810static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32811static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32812static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
32813static swig_cast_info _swigc__p_wxPopupWindow[] = { {&_swigt__p_wxPopupWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow, 0, 0},{0, 0, 0, 0}};
32814static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
32815static 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}};
32816static 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}};
32817static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
32818static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32819static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
32820static 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}};
32821static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
32822static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
32823static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32824static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
32825static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32826static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
32827static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
32828static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
32829static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
32830static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32831static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32832static 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}};
32833static 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}};
32834static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
32835static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
32836static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
32837static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
32838static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
32839static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
32840static 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}};
32841static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
32842static 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}};
32843static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32844static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
32845static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32846static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
32847static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
32848static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
32849static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
32850static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
32851static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
32852static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
32853static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
32854static 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}};
32855static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
32856static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32857static 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_wxTipWindow, _p_wxTipWindowTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32fe5131 32858static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
27e45892 32859static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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
32860
32861static swig_cast_info *swig_cast_initial[] = {
2131d850 32862 _swigc__p_bool,
32fe5131
RD
32863 _swigc__p_char,
32864 _swigc__p_form_ops_t,
32865 _swigc__p_int,
32866 _swigc__p_unsigned_char,
32867 _swigc__p_unsigned_int,
32868 _swigc__p_unsigned_long,
32869 _swigc__p_wxANIHandler,
32870 _swigc__p_wxAcceleratorTable,
32871 _swigc__p_wxActivateEvent,
32872 _swigc__p_wxArrayInt,
32873 _swigc__p_wxBMPHandler,
32874 _swigc__p_wxBitmap,
32875 _swigc__p_wxBoxSizer,
32876 _swigc__p_wxCURHandler,
32877 _swigc__p_wxCalculateLayoutEvent,
32878 _swigc__p_wxChildFocusEvent,
2131d850 32879 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
32880 _swigc__p_wxCloseEvent,
32881 _swigc__p_wxColour,
32882 _swigc__p_wxColourData,
32883 _swigc__p_wxColourDialog,
32884 _swigc__p_wxCommandEvent,
32885 _swigc__p_wxContextMenuEvent,
32886 _swigc__p_wxControl,
32887 _swigc__p_wxControlWithItems,
32888 _swigc__p_wxDC,
32889 _swigc__p_wxDateEvent,
32890 _swigc__p_wxDialog,
32891 _swigc__p_wxDirDialog,
32892 _swigc__p_wxDisplayChangedEvent,
32893 _swigc__p_wxDropFilesEvent,
32894 _swigc__p_wxDuplexMode,
32895 _swigc__p_wxEraseEvent,
32896 _swigc__p_wxEvent,
32897 _swigc__p_wxEvtHandler,
32898 _swigc__p_wxFSFile,
32899 _swigc__p_wxFileDialog,
32900 _swigc__p_wxFileSystem,
32901 _swigc__p_wxFindDialogEvent,
32902 _swigc__p_wxFindReplaceData,
32903 _swigc__p_wxFindReplaceDialog,
32904 _swigc__p_wxFlexGridSizer,
32905 _swigc__p_wxFocusEvent,
32906 _swigc__p_wxFont,
32907 _swigc__p_wxFontData,
32908 _swigc__p_wxFontDialog,
32909 _swigc__p_wxFrame,
32910 _swigc__p_wxGBSizerItem,
32911 _swigc__p_wxGIFHandler,
32912 _swigc__p_wxGridBagSizer,
32913 _swigc__p_wxGridSizer,
e9d6f3a4 32914 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
32915 _swigc__p_wxICOHandler,
32916 _swigc__p_wxIcon,
32917 _swigc__p_wxIconBundle,
32918 _swigc__p_wxIconizeEvent,
32919 _swigc__p_wxIdleEvent,
32920 _swigc__p_wxImage,
32921 _swigc__p_wxImageHandler,
32922 _swigc__p_wxIndividualLayoutConstraint,
32923 _swigc__p_wxInitDialogEvent,
32924 _swigc__p_wxJPEGHandler,
32925 _swigc__p_wxKeyEvent,
32926 _swigc__p_wxLayoutAlgorithm,
32927 _swigc__p_wxLayoutConstraints,
32928 _swigc__p_wxMDIChildFrame,
32929 _swigc__p_wxMDIClientWindow,
32930 _swigc__p_wxMDIParentFrame,
32931 _swigc__p_wxMaximizeEvent,
32932 _swigc__p_wxMenu,
32933 _swigc__p_wxMenuBar,
32934 _swigc__p_wxMenuEvent,
32935 _swigc__p_wxMenuItem,
32936 _swigc__p_wxMessageDialog,
32937 _swigc__p_wxMiniFrame,
32938 _swigc__p_wxMouseCaptureChangedEvent,
32939 _swigc__p_wxMouseEvent,
32940 _swigc__p_wxMoveEvent,
32941 _swigc__p_wxMultiChoiceDialog,
32942 _swigc__p_wxNavigationKeyEvent,
32943 _swigc__p_wxNcPaintEvent,
32944 _swigc__p_wxNotifyEvent,
27e45892 32945 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
32946 _swigc__p_wxObject,
32947 _swigc__p_wxPCXHandler,
32948 _swigc__p_wxPNGHandler,
32949 _swigc__p_wxPNMHandler,
32950 _swigc__p_wxPageSetupDialog,
32951 _swigc__p_wxPageSetupDialogData,
32952 _swigc__p_wxPaintEvent,
32953 _swigc__p_wxPaletteChangedEvent,
32954 _swigc__p_wxPanel,
32955 _swigc__p_wxPaperSize,
32956 _swigc__p_wxPasswordEntryDialog,
32957 _swigc__p_wxPoint,
32958 _swigc__p_wxPopupWindow,
32959 _swigc__p_wxPreviewCanvas,
32960 _swigc__p_wxPreviewControlBar,
32961 _swigc__p_wxPreviewFrame,
32962 _swigc__p_wxPrintData,
32963 _swigc__p_wxPrintDialog,
32964 _swigc__p_wxPrintDialogData,
32965 _swigc__p_wxPrintPreview,
32966 _swigc__p_wxPrinter,
32967 _swigc__p_wxProgressDialog,
32968 _swigc__p_wxPyApp,
32969 _swigc__p_wxPyCommandEvent,
32970 _swigc__p_wxPyEvent,
32971 _swigc__p_wxPyHtmlListBox,
32972 _swigc__p_wxPyImageHandler,
32973 _swigc__p_wxPyPanel,
32974 _swigc__p_wxPyPopupTransientWindow,
32975 _swigc__p_wxPyPreviewControlBar,
32976 _swigc__p_wxPyPreviewFrame,
32977 _swigc__p_wxPyPrintPreview,
32978 _swigc__p_wxPyPrintout,
32979 _swigc__p_wxPyScrolledWindow,
32980 _swigc__p_wxPySizer,
32981 _swigc__p_wxPyTaskBarIcon,
32982 _swigc__p_wxPyVListBox,
32983 _swigc__p_wxPyVScrolledWindow,
32984 _swigc__p_wxPyValidator,
32985 _swigc__p_wxPyWindow,
32986 _swigc__p_wxQueryLayoutInfoEvent,
32987 _swigc__p_wxQueryNewPaletteEvent,
32988 _swigc__p_wxRect,
32989 _swigc__p_wxRegion,
32990 _swigc__p_wxSashEvent,
32991 _swigc__p_wxSashLayoutWindow,
32992 _swigc__p_wxSashWindow,
32993 _swigc__p_wxScrollEvent,
32994 _swigc__p_wxScrollWinEvent,
32995 _swigc__p_wxScrolledWindow,
32996 _swigc__p_wxSetCursorEvent,
32997 _swigc__p_wxShowEvent,
32998 _swigc__p_wxSingleChoiceDialog,
32999 _swigc__p_wxSize,
1bd55598
RD
33000 _swigc__p_wxSizeEvent,
33001 _swigc__p_wxSizer,
33002 _swigc__p_wxSizerItem,
33003 _swigc__p_wxSplashScreen,
33004 _swigc__p_wxSplashScreenWindow,
33005 _swigc__p_wxSplitterEvent,
33006 _swigc__p_wxSplitterWindow,
33007 _swigc__p_wxStaticBoxSizer,
33008 _swigc__p_wxStatusBar,
33009 _swigc__p_wxStdDialogButtonSizer,
33010 _swigc__p_wxString,
33011 _swigc__p_wxSysColourChangedEvent,
33012 _swigc__p_wxTIFFHandler,
33013 _swigc__p_wxTaskBarIcon,
33014 _swigc__p_wxTaskBarIconEvent,
33015 _swigc__p_wxTextEntryDialog,
33016 _swigc__p_wxTipWindow,
33017 _swigc__p_wxToolBar,
33018 _swigc__p_wxTopLevelWindow,
33019 _swigc__p_wxUpdateUIEvent,
33020 _swigc__p_wxValidator,
33021 _swigc__p_wxVisualAttributes,
33022 _swigc__p_wxWindow,
33023 _swigc__p_wxWindowCreateEvent,
33024 _swigc__p_wxWindowDestroyEvent,
33025 _swigc__p_wxXPMHandler,
33026};
33027
33028
33029/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33030
33031static swig_const_info swig_const_table[] = {
33032{0, 0, 0, 0.0, 0, 0}};
33033
36ed4f51
RD
33034#ifdef __cplusplus
33035}
33036#endif
1bd55598
RD
33037/* -----------------------------------------------------------------------------
33038 * Type initialization:
33039 * This problem is tough by the requirement that no dynamic
33040 * memory is used. Also, since swig_type_info structures store pointers to
33041 * swig_cast_info structures and swig_cast_info structures store pointers back
33042 * to swig_type_info structures, we need some lookup code at initialization.
33043 * The idea is that swig generates all the structures that are needed.
33044 * The runtime then collects these partially filled structures.
33045 * The SWIG_InitializeModule function takes these initial arrays out of
33046 * swig_module, and does all the lookup, filling in the swig_module.types
33047 * array with the correct data and linking the correct swig_cast_info
33048 * structures together.
33049 *
33050 * The generated swig_type_info structures are assigned staticly to an initial
33051 * array. We just loop though that array, and handle each type individually.
33052 * First we lookup if this type has been already loaded, and if so, use the
33053 * loaded structure instead of the generated one. Then we have to fill in the
33054 * cast linked list. The cast data is initially stored in something like a
33055 * two-dimensional array. Each row corresponds to a type (there are the same
33056 * number of rows as there are in the swig_type_initial array). Each entry in
33057 * a column is one of the swig_cast_info structures for that type.
33058 * The cast_initial array is actually an array of arrays, because each row has
33059 * a variable number of columns. So to actually build the cast linked list,
33060 * we find the array of casts associated with the type, and loop through it
33061 * adding the casts to the list. The one last trick we need to do is making
33062 * sure the type pointer in the swig_cast_info struct is correct.
33063 *
33064 * First off, we lookup the cast->type name to see if it is already loaded.
33065 * There are three cases to handle:
33066 * 1) If the cast->type has already been loaded AND the type we are adding
33067 * casting info to has not been loaded (it is in this module), THEN we
33068 * replace the cast->type pointer with the type pointer that has already
33069 * been loaded.
33070 * 2) If BOTH types (the one we are adding casting info to, and the
33071 * cast->type) are loaded, THEN the cast info has already been loaded by
33072 * the previous module so we just ignore it.
33073 * 3) Finally, if cast->type has not already been loaded, then we add that
33074 * swig_cast_info to the linked list (because the cast->type) pointer will
33075 * be correct.
33076 * ----------------------------------------------------------------------------- */
36ed4f51 33077
d55e5bfc 33078#ifdef __cplusplus
1bd55598
RD
33079extern "C" {
33080#if 0
33081} /* c-mode */
33082#endif
33083#endif
33084
33085#if 0
33086#define SWIGRUNTIME_DEBUG
33087#endif
33088
33089SWIGRUNTIME void
33090SWIG_InitializeModule(void *clientdata) {
33091 size_t i;
33092 swig_module_info *module_head;
33093 static int init_run = 0;
33094
33095 clientdata = clientdata;
33096
33097 if (init_run) return;
33098 init_run = 1;
33099
33100 /* Initialize the swig_module */
33101 swig_module.type_initial = swig_type_initial;
33102 swig_module.cast_initial = swig_cast_initial;
33103
33104 /* Try and load any already created modules */
33105 module_head = SWIG_GetModule(clientdata);
33106 if (module_head) {
33107 swig_module.next = module_head->next;
33108 module_head->next = &swig_module;
33109 } else {
33110 /* This is the first module loaded */
33111 swig_module.next = &swig_module;
33112 SWIG_SetModule(clientdata, &swig_module);
33113 }
33114
33115 /* Now work on filling in swig_module.types */
33116#ifdef SWIGRUNTIME_DEBUG
33117 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33118#endif
33119 for (i = 0; i < swig_module.size; ++i) {
33120 swig_type_info *type = 0;
33121 swig_type_info *ret;
33122 swig_cast_info *cast;
d55e5bfc 33123
1bd55598
RD
33124#ifdef SWIGRUNTIME_DEBUG
33125 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33126#endif
d55e5bfc 33127
1bd55598
RD
33128 /* if there is another module already loaded */
33129 if (swig_module.next != &swig_module) {
33130 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 33131 }
1bd55598
RD
33132 if (type) {
33133 /* Overwrite clientdata field */
33134#ifdef SWIGRUNTIME_DEBUG
33135 printf("SWIG_InitializeModule: found type %s\n", type->name);
33136#endif
33137 if (swig_module.type_initial[i]->clientdata) {
33138 type->clientdata = swig_module.type_initial[i]->clientdata;
33139#ifdef SWIGRUNTIME_DEBUG
33140 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33141#endif
33142 }
33143 } else {
33144 type = swig_module.type_initial[i];
36ed4f51 33145 }
1bd55598
RD
33146
33147 /* Insert casting types */
33148 cast = swig_module.cast_initial[i];
33149 while (cast->type) {
33150 /* Don't need to add information already in the list */
33151 ret = 0;
33152#ifdef SWIGRUNTIME_DEBUG
33153 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33154#endif
33155 if (swig_module.next != &swig_module) {
33156 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33157#ifdef SWIGRUNTIME_DEBUG
33158 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33159#endif
33160 }
33161 if (ret) {
33162 if (type == swig_module.type_initial[i]) {
33163#ifdef SWIGRUNTIME_DEBUG
33164 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33165#endif
33166 cast->type = ret;
33167 ret = 0;
33168 } else {
33169 /* Check for casting already in the list */
33170 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33171#ifdef SWIGRUNTIME_DEBUG
33172 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33173#endif
33174 if (!ocast) ret = 0;
33175 }
33176 }
33177
33178 if (!ret) {
33179#ifdef SWIGRUNTIME_DEBUG
33180 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33181#endif
33182 if (type->cast) {
33183 type->cast->prev = cast;
33184 cast->next = type->cast;
33185 }
33186 type->cast = cast;
33187 }
33188 cast++;
36ed4f51 33189 }
1bd55598
RD
33190 /* Set entry in modules->types array equal to the type */
33191 swig_module.types[i] = type;
33192 }
33193 swig_module.types[i] = 0;
33194
33195#ifdef SWIGRUNTIME_DEBUG
33196 printf("**** SWIG_InitializeModule: Cast List ******\n");
33197 for (i = 0; i < swig_module.size; ++i) {
33198 int j = 0;
33199 swig_cast_info *cast = swig_module.cast_initial[i];
33200 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33201 while (cast->type) {
33202 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33203 cast++;
33204 ++j;
33205 }
33206 printf("---- Total casts: %d\n",j);
33207 }
33208 printf("**** SWIG_InitializeModule: Cast List ******\n");
33209#endif
33210}
33211
33212/* This function will propagate the clientdata field of type to
33213* any new swig_type_info structures that have been added into the list
33214* of equivalent types. It is like calling
33215* SWIG_TypeClientData(type, clientdata) a second time.
33216*/
33217SWIGRUNTIME void
33218SWIG_PropagateClientData(void) {
33219 size_t i;
33220 swig_cast_info *equiv;
33221 static int init_run = 0;
33222
33223 if (init_run) return;
33224 init_run = 1;
33225
33226 for (i = 0; i < swig_module.size; i++) {
33227 if (swig_module.types[i]->clientdata) {
33228 equiv = swig_module.types[i]->cast;
33229 while (equiv) {
33230 if (!equiv->converter) {
33231 if (equiv->type && !equiv->type->clientdata)
33232 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33233 }
33234 equiv = equiv->next;
33235 }
36ed4f51 33236 }
1bd55598
RD
33237 }
33238}
33239
33240#ifdef __cplusplus
33241#if 0
33242{
33243 /* c-mode */
33244#endif
33245}
33246#endif
33247
33248
33249
33250#ifdef __cplusplus
33251extern "C" {
33252#endif
33253
33254 /* Python-specific SWIG API */
33255#define SWIG_newvarlink() SWIG_Python_newvarlink()
33256#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33257#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33258
33259 /* -----------------------------------------------------------------------------
33260 * global variable support code.
33261 * ----------------------------------------------------------------------------- */
33262
33263 typedef struct swig_globalvar {
33264 char *name; /* Name of global variable */
33265 PyObject *(*get_attr)(void); /* Return the current value */
33266 int (*set_attr)(PyObject *); /* Set the value */
33267 struct swig_globalvar *next;
33268 } swig_globalvar;
33269
33270 typedef struct swig_varlinkobject {
33271 PyObject_HEAD
33272 swig_globalvar *vars;
33273 } swig_varlinkobject;
33274
33275 SWIGINTERN PyObject *
33276 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33277 return PyString_FromString("<Swig global variables>");
33278 }
33279
33280 SWIGINTERN PyObject *
33281 swig_varlink_str(swig_varlinkobject *v) {
33282 PyObject *str = PyString_FromString("(");
33283 swig_globalvar *var;
33284 for (var = v->vars; var; var=var->next) {
33285 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33286 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33287 }
33288 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33289 return str;
33290 }
33291
33292 SWIGINTERN int
33293 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33294 PyObject *str = swig_varlink_str(v);
33295 fprintf(fp,"Swig global variables ");
33296 fprintf(fp,"%s\n", PyString_AsString(str));
33297 Py_DECREF(str);
33298 return 0;
33299 }
33300
33301 SWIGINTERN void
33302 swig_varlink_dealloc(swig_varlinkobject *v) {
33303 swig_globalvar *var = v->vars;
33304 while (var) {
33305 swig_globalvar *n = var->next;
33306 free(var->name);
33307 free(var);
33308 var = n;
36ed4f51 33309 }
1bd55598
RD
33310 }
33311
33312 SWIGINTERN PyObject *
33313 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33314 PyObject *res = NULL;
33315 swig_globalvar *var = v->vars;
33316 while (var) {
33317 if (strcmp(var->name,n) == 0) {
33318 res = (*var->get_attr)();
33319 break;
33320 }
33321 var = var->next;
36ed4f51 33322 }
1bd55598
RD
33323 if (res == NULL && !PyErr_Occurred()) {
33324 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 33325 }
1bd55598
RD
33326 return res;
33327 }
33328
33329 SWIGINTERN int
33330 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33331 int res = 1;
33332 swig_globalvar *var = v->vars;
33333 while (var) {
33334 if (strcmp(var->name,n) == 0) {
33335 res = (*var->set_attr)(p);
33336 break;
33337 }
33338 var = var->next;
36ed4f51 33339 }
1bd55598
RD
33340 if (res == 1 && !PyErr_Occurred()) {
33341 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 33342 }
1bd55598
RD
33343 return res;
33344 }
33345
33346 SWIGINTERN PyTypeObject*
33347 swig_varlink_type(void) {
33348 static char varlink__doc__[] = "Swig var link object";
33349 static PyTypeObject varlink_type;
33350 static int type_init = 0;
33351 if (!type_init) {
33352 const PyTypeObject tmp
33353 = {
33354 PyObject_HEAD_INIT(NULL)
33355 0, /* Number of items in variable part (ob_size) */
33356 (char *)"swigvarlink", /* Type name (tp_name) */
33357 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33358 0, /* Itemsize (tp_itemsize) */
33359 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33360 (printfunc) swig_varlink_print, /* Print (tp_print) */
33361 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33362 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33363 0, /* tp_compare */
33364 (reprfunc) swig_varlink_repr, /* tp_repr */
33365 0, /* tp_as_number */
33366 0, /* tp_as_sequence */
33367 0, /* tp_as_mapping */
33368 0, /* tp_hash */
33369 0, /* tp_call */
33370 (reprfunc)swig_varlink_str, /* tp_str */
33371 0, /* tp_getattro */
33372 0, /* tp_setattro */
33373 0, /* tp_as_buffer */
33374 0, /* tp_flags */
33375 varlink__doc__, /* tp_doc */
33376 0, /* tp_traverse */
33377 0, /* tp_clear */
33378 0, /* tp_richcompare */
33379 0, /* tp_weaklistoffset */
33380#if PY_VERSION_HEX >= 0x02020000
33381 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33382#endif
33383#if PY_VERSION_HEX >= 0x02030000
33384 0, /* tp_del */
33385#endif
33386#ifdef COUNT_ALLOCS
33387 0,0,0,0 /* tp_alloc -> tp_next */
33388#endif
33389 };
33390 varlink_type = tmp;
33391 varlink_type.ob_type = &PyType_Type;
33392 type_init = 1;
36ed4f51 33393 }
1bd55598
RD
33394 return &varlink_type;
33395 }
33396
33397 /* Create a variable linking object for use later */
33398 SWIGINTERN PyObject *
33399 SWIG_Python_newvarlink(void) {
33400 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33401 if (result) {
33402 result->vars = 0;
33403 }
33404 return ((PyObject*) result);
33405 }
33406
33407 SWIGINTERN void
33408 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33409 swig_varlinkobject *v = (swig_varlinkobject *) p;
33410 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33411 if (gv) {
33412 size_t size = strlen(name)+1;
33413 gv->name = (char *)malloc(size);
33414 if (gv->name) {
33415 strncpy(gv->name,name,size);
33416 gv->get_attr = get_attr;
33417 gv->set_attr = set_attr;
33418 gv->next = v->vars;
33419 }
36ed4f51 33420 }
1bd55598
RD
33421 v->vars = gv;
33422 }
33423
33424 SWIGINTERN PyObject *
33425 SWIG_globals() {
33426 static PyObject *_SWIG_globals = 0;
33427 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33428 return _SWIG_globals;
33429 }
33430
33431 /* -----------------------------------------------------------------------------
33432 * constants/methods manipulation
33433 * ----------------------------------------------------------------------------- */
33434
33435 /* Install Constants */
33436 SWIGINTERN void
33437 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33438 PyObject *obj = 0;
33439 size_t i;
33440 for (i = 0; constants[i].type; ++i) {
33441 switch(constants[i].type) {
33442 case SWIG_PY_POINTER:
33443 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33444 break;
33445 case SWIG_PY_BINARY:
33446 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33447 break;
33448 default:
33449 obj = 0;
33450 break;
33451 }
33452 if (obj) {
33453 PyDict_SetItemString(d, constants[i].name, obj);
33454 Py_DECREF(obj);
33455 }
36ed4f51 33456 }
1bd55598
RD
33457 }
33458
33459 /* -----------------------------------------------------------------------------*/
33460 /* Fix SwigMethods to carry the callback ptrs when needed */
33461 /* -----------------------------------------------------------------------------*/
33462
33463 SWIGINTERN void
33464 SWIG_Python_FixMethods(PyMethodDef *methods,
33465 swig_const_info *const_table,
33466 swig_type_info **types,
33467 swig_type_info **types_initial) {
33468 size_t i;
33469 for (i = 0; methods[i].ml_name; ++i) {
3d6c9062 33470 const char *c = methods[i].ml_doc;
1bd55598
RD
33471 if (c && (c = strstr(c, "swig_ptr: "))) {
33472 int j;
33473 swig_const_info *ci = 0;
3d6c9062 33474 const char *name = c + 10;
1bd55598
RD
33475 for (j = 0; const_table[j].type; ++j) {
33476 if (strncmp(const_table[j].name, name,
33477 strlen(const_table[j].name)) == 0) {
33478 ci = &(const_table[j]);
33479 break;
33480 }
33481 }
33482 if (ci) {
33483 size_t shift = (ci->ptype) - types;
33484 swig_type_info *ty = types_initial[shift];
33485 size_t ldoc = (c - methods[i].ml_doc);
33486 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33487 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33488 if (ndoc) {
33489 char *buff = ndoc;
33490 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33491 if (ptr) {
33492 strncpy(buff, methods[i].ml_doc, ldoc);
33493 buff += ldoc;
33494 strncpy(buff, "swig_ptr: ", 10);
33495 buff += 10;
33496 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33497 methods[i].ml_doc = ndoc;
33498 }
33499 }
33500 }
33501 }
36ed4f51 33502 }
1bd55598
RD
33503 }
33504
33505#ifdef __cplusplus
33506}
33507#endif
33508
33509/* -----------------------------------------------------------------------------*
33510 * Partial Init method
33511 * -----------------------------------------------------------------------------*/
33512
33513#ifdef __cplusplus
33514extern "C"
33515#endif
33516SWIGEXPORT void SWIG_init(void) {
33517 PyObject *m, *d;
33518
33519 /* Fix SwigMethods to carry the callback ptrs when needed */
33520 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33521
33522 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33523 d = PyModule_GetDict(m);
33524
33525 SWIG_InitializeModule(0);
33526 SWIG_InstallConstants(d,swig_const_table);
33527
33528
33529 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33530 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33531 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33532 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33533 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33534 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33535 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33536 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33537 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33538 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33539 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33540 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33541 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33542 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33543 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33544 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33545 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33546 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33547 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33548 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33549 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33550 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33551 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33552 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33553 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33554 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33555 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33556 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33557 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33558 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33559 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33560 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33561 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33562 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33563 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33564 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33565 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33566 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33567 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33568 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33569 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33570 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33571 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33572 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33573 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33574 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33575 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33576 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33577 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33578 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33579 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33580 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33581 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33582 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33583 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33584 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33585 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33586 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33587 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33588 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33589 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33590 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33591 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33592 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33593 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33594 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33595 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33596 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33597 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33598 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33599 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33600 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33601 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33602 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33603 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33604 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33605 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33606 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33607 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33608 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33609 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33610 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33611 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33612 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33613 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33614 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33615 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33616 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33617 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33618 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33619 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33620 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33621 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33622 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33623 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33624 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33625 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33626 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33627 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33628 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33629 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33630 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33631
33632 // Map renamed classes back to their common name for OOR
33633 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33634 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33635 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33636
33637 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33638 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33639 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33640 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33641 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33642 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33643 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33644 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33645 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33646 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33647 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33648 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33649 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
33650 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33651 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33652 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33653 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33654 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33655 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33656 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33657 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33658 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 33659 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
33660 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33661 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33662 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33663 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33664 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33665 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33666 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
1bd55598
RD
33667 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33668 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33669 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33670 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33671 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33672 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33673 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33674 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33675 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33676 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33677 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33678 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33679 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33680 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33681 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33682 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33683 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33684 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33685 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33686 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33687 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33688 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33689 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33690 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33691 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33692 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33693 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33694 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33695 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33696 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33697 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33698 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33699 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33700 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33701 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33702 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33703 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33704 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33705 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33706 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33707 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33708 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33709 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33710 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33711 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33712 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33713 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33714 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33715 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33716 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33717 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33718 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33719 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33720 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33721 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33722 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33723 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33724 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
33725 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
33726 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
33727 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
33728 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
33729 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
33730 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
33731 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
33732
33733 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
33734
d55e5bfc
RD
33735}
33736