]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
Use a swig macro for generating the call to the _setCallbackInfo
[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]
f9bf356b
RD
2477#define SWIGTYPE_p_wxArrayString swig_types[11]
2478#define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479#define SWIGTYPE_p_wxBitmap swig_types[13]
2480#define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481#define SWIGTYPE_p_wxCURHandler swig_types[15]
2482#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483#define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484#define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485#define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486#define SWIGTYPE_p_wxColour swig_types[20]
2487#define SWIGTYPE_p_wxColourData swig_types[21]
2488#define SWIGTYPE_p_wxColourDialog swig_types[22]
2489#define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490#define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491#define SWIGTYPE_p_wxControl swig_types[25]
2492#define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493#define SWIGTYPE_p_wxDC swig_types[27]
2494#define SWIGTYPE_p_wxDateEvent swig_types[28]
2495#define SWIGTYPE_p_wxDialog swig_types[29]
2496#define SWIGTYPE_p_wxDirDialog swig_types[30]
2497#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498#define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499#define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500#define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvent swig_types[35]
2502#define SWIGTYPE_p_wxEvtHandler swig_types[36]
2503#define SWIGTYPE_p_wxFSFile swig_types[37]
2504#define SWIGTYPE_p_wxFileDialog swig_types[38]
2505#define SWIGTYPE_p_wxFileSystem swig_types[39]
2506#define SWIGTYPE_p_wxFindDialogEvent swig_types[40]
2507#define SWIGTYPE_p_wxFindReplaceData swig_types[41]
2508#define SWIGTYPE_p_wxFindReplaceDialog swig_types[42]
2509#define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2510#define SWIGTYPE_p_wxFocusEvent swig_types[44]
2511#define SWIGTYPE_p_wxFont swig_types[45]
2512#define SWIGTYPE_p_wxFontData swig_types[46]
2513#define SWIGTYPE_p_wxFontDialog swig_types[47]
2514#define SWIGTYPE_p_wxFrame swig_types[48]
2515#define SWIGTYPE_p_wxGBSizerItem swig_types[49]
2516#define SWIGTYPE_p_wxGIFHandler swig_types[50]
2517#define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2518#define SWIGTYPE_p_wxGridSizer swig_types[52]
2519#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[53]
2520#define SWIGTYPE_p_wxICOHandler swig_types[54]
2521#define SWIGTYPE_p_wxIcon swig_types[55]
2522#define SWIGTYPE_p_wxIconBundle swig_types[56]
2523#define SWIGTYPE_p_wxIconizeEvent swig_types[57]
2524#define SWIGTYPE_p_wxIdleEvent swig_types[58]
2525#define SWIGTYPE_p_wxImage swig_types[59]
2526#define SWIGTYPE_p_wxImageHandler swig_types[60]
2527#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[61]
2528#define SWIGTYPE_p_wxInitDialogEvent swig_types[62]
2529#define SWIGTYPE_p_wxItemContainer swig_types[63]
2530#define SWIGTYPE_p_wxJPEGHandler swig_types[64]
2531#define SWIGTYPE_p_wxKeyEvent swig_types[65]
2532#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[66]
2533#define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2534#define SWIGTYPE_p_wxMDIChildFrame swig_types[68]
2535#define SWIGTYPE_p_wxMDIClientWindow swig_types[69]
2536#define SWIGTYPE_p_wxMDIParentFrame swig_types[70]
2537#define SWIGTYPE_p_wxMaximizeEvent swig_types[71]
2538#define SWIGTYPE_p_wxMenu swig_types[72]
2539#define SWIGTYPE_p_wxMenuBar swig_types[73]
2540#define SWIGTYPE_p_wxMenuEvent swig_types[74]
2541#define SWIGTYPE_p_wxMenuItem swig_types[75]
2542#define SWIGTYPE_p_wxMessageDialog swig_types[76]
2543#define SWIGTYPE_p_wxMiniFrame swig_types[77]
2544#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[78]
2545#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[79]
2546#define SWIGTYPE_p_wxMouseEvent swig_types[80]
2547#define SWIGTYPE_p_wxMoveEvent swig_types[81]
2548#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[82]
2549#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[83]
2550#define SWIGTYPE_p_wxNcPaintEvent swig_types[84]
2551#define SWIGTYPE_p_wxNotifyEvent swig_types[85]
2552#define SWIGTYPE_p_wxNumberEntryDialog swig_types[86]
2553#define SWIGTYPE_p_wxObject swig_types[87]
2554#define SWIGTYPE_p_wxPCXHandler swig_types[88]
2555#define SWIGTYPE_p_wxPNGHandler swig_types[89]
2556#define SWIGTYPE_p_wxPNMHandler swig_types[90]
2557#define SWIGTYPE_p_wxPageSetupDialog swig_types[91]
2558#define SWIGTYPE_p_wxPageSetupDialogData swig_types[92]
2559#define SWIGTYPE_p_wxPaintEvent swig_types[93]
2560#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[94]
2561#define SWIGTYPE_p_wxPanel swig_types[95]
2562#define SWIGTYPE_p_wxPaperSize swig_types[96]
2563#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[97]
2564#define SWIGTYPE_p_wxPoint swig_types[98]
2565#define SWIGTYPE_p_wxPopupWindow swig_types[99]
2566#define SWIGTYPE_p_wxPreviewCanvas swig_types[100]
2567#define SWIGTYPE_p_wxPreviewControlBar swig_types[101]
2568#define SWIGTYPE_p_wxPreviewFrame swig_types[102]
2569#define SWIGTYPE_p_wxPrintData swig_types[103]
2570#define SWIGTYPE_p_wxPrintDialog swig_types[104]
2571#define SWIGTYPE_p_wxPrintDialogData swig_types[105]
2572#define SWIGTYPE_p_wxPrintPreview swig_types[106]
2573#define SWIGTYPE_p_wxPrinter swig_types[107]
2574#define SWIGTYPE_p_wxProgressDialog swig_types[108]
2575#define SWIGTYPE_p_wxPyApp swig_types[109]
2576#define SWIGTYPE_p_wxPyCommandEvent swig_types[110]
2577#define SWIGTYPE_p_wxPyEvent swig_types[111]
2578#define SWIGTYPE_p_wxPyHtmlListBox swig_types[112]
2579#define SWIGTYPE_p_wxPyImageHandler swig_types[113]
2580#define SWIGTYPE_p_wxPyPanel swig_types[114]
2581#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[115]
2582#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[116]
2583#define SWIGTYPE_p_wxPyPreviewFrame swig_types[117]
2584#define SWIGTYPE_p_wxPyPrintPreview swig_types[118]
2585#define SWIGTYPE_p_wxPyPrintout swig_types[119]
2586#define SWIGTYPE_p_wxPyScrolledWindow swig_types[120]
2587#define SWIGTYPE_p_wxPySizer swig_types[121]
2588#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[122]
2589#define SWIGTYPE_p_wxPyVListBox swig_types[123]
2590#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[124]
2591#define SWIGTYPE_p_wxPyValidator swig_types[125]
2592#define SWIGTYPE_p_wxPyWindow swig_types[126]
2593#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[127]
2594#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[128]
2595#define SWIGTYPE_p_wxRect swig_types[129]
2596#define SWIGTYPE_p_wxRegion swig_types[130]
2597#define SWIGTYPE_p_wxSashEvent swig_types[131]
2598#define SWIGTYPE_p_wxSashLayoutWindow swig_types[132]
2599#define SWIGTYPE_p_wxSashWindow swig_types[133]
2600#define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601#define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602#define SWIGTYPE_p_wxScrolledWindow swig_types[136]
2603#define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604#define SWIGTYPE_p_wxShowEvent swig_types[138]
2605#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[139]
2606#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[140]
2607#define SWIGTYPE_p_wxSize swig_types[141]
2608#define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609#define SWIGTYPE_p_wxSizer swig_types[143]
2610#define SWIGTYPE_p_wxSizerItem swig_types[144]
2611#define SWIGTYPE_p_wxSplashScreen swig_types[145]
2612#define SWIGTYPE_p_wxSplashScreenWindow swig_types[146]
2613#define SWIGTYPE_p_wxSplitterEvent swig_types[147]
2614#define SWIGTYPE_p_wxSplitterWindow swig_types[148]
2615#define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616#define SWIGTYPE_p_wxStatusBar swig_types[150]
2617#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[151]
2618#define SWIGTYPE_p_wxString swig_types[152]
2619#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[153]
2620#define SWIGTYPE_p_wxTGAHandler swig_types[154]
2621#define SWIGTYPE_p_wxTIFFHandler swig_types[155]
2622#define SWIGTYPE_p_wxTaskBarIcon swig_types[156]
2623#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[157]
2624#define SWIGTYPE_p_wxTextEntryDialog swig_types[158]
2625#define SWIGTYPE_p_wxTipWindow swig_types[159]
2626#define SWIGTYPE_p_wxToolBar swig_types[160]
2627#define SWIGTYPE_p_wxTopLevelWindow swig_types[161]
2628#define SWIGTYPE_p_wxUpdateUIEvent swig_types[162]
2629#define SWIGTYPE_p_wxValidator swig_types[163]
2630#define SWIGTYPE_p_wxVisualAttributes swig_types[164]
2631#define SWIGTYPE_p_wxWindow swig_types[165]
2632#define SWIGTYPE_p_wxWindowCreateEvent swig_types[166]
2633#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[167]
2634#define SWIGTYPE_p_wxXPMHandler swig_types[168]
2635static swig_type_info *swig_types[170];
2636static swig_module_info swig_module = {swig_types, 169, 0, 0, 0, 0};
32fe5131
RD
2637#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2638#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2639
2640/* -------- TYPES TABLE (END) -------- */
2641
1bd55598
RD
2642#if (PY_VERSION_HEX <= 0x02000000)
2643# if !defined(SWIG_PYTHON_CLASSIC)
2644# error "This python version requires to use swig with the '-classic' option"
2645# endif
2646#endif
2647#if (PY_VERSION_HEX <= 0x02020000)
2648# error "This python version requires to use swig with the '-nomodern' option"
2649#endif
2650#if (PY_VERSION_HEX <= 0x02020000)
2651# error "This python version requires to use swig with the '-nomodernargs' option"
2652#endif
2653#ifndef METH_O
2654# error "This python version requires to use swig with the '-nofastunpack' option"
2655#endif
36ed4f51
RD
2656
2657/*-----------------------------------------------
2658 @(target):= _windows_.so
2659 ------------------------------------------------*/
2660#define SWIG_init init_windows_
2661
2662#define SWIG_name "_windows_"
2663
1bd55598 2664#define SWIGVERSION 0x010329
36ed4f51 2665
36ed4f51 2666
1bd55598
RD
2667#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2668#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
36ed4f51
RD
2669
2670
1bd55598 2671#include <stdexcept>
36ed4f51
RD
2672
2673
1bd55598
RD
2674namespace swig {
2675 class PyObject_ptr {
2676 protected:
2677 PyObject *_obj;
36ed4f51 2678
1bd55598
RD
2679 public:
2680 PyObject_ptr() :_obj(0)
2681 {
2682 }
36ed4f51 2683
1bd55598
RD
2684 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2685 {
2686 Py_XINCREF(_obj);
36ed4f51 2687 }
1bd55598
RD
2688
2689 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2690 {
2691 if (initial_ref) Py_XINCREF(_obj);
36ed4f51 2692 }
1bd55598
RD
2693
2694 PyObject_ptr & operator=(const PyObject_ptr& item)
2695 {
2696 Py_XINCREF(item._obj);
2697 Py_XDECREF(_obj);
2698 _obj = item._obj;
2699 return *this;
2700 }
2701
2702 ~PyObject_ptr()
2703 {
2704 Py_XDECREF(_obj);
2705 }
2706
2707 operator PyObject *() const
2708 {
2709 return _obj;
2710 }
2711
2712 PyObject *operator->() const
2713 {
2714 return _obj;
2715 }
2716 };
36ed4f51
RD
2717}
2718
2719
1bd55598
RD
2720namespace swig {
2721 struct PyObject_var : PyObject_ptr {
2722 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2723
2724 PyObject_var & operator = (PyObject* obj)
2725 {
2726 Py_XDECREF(_obj);
2727 _obj = obj;
2728 return *this;
36ed4f51 2729 }
1bd55598 2730 };
36ed4f51 2731}
36ed4f51
RD
2732
2733
1bd55598
RD
2734#include "wx/wxPython/wxPython.h"
2735#include "wx/wxPython/pyclasses.h"
2736
36ed4f51 2737
1bd55598
RD
2738 static const wxString wxPyEmptyString(wxEmptyString);
2739 static const wxString wxPyPanelNameStr(wxPanelNameStr);
36ed4f51 2740
36ed4f51 2741
1bd55598
RD
2742
2743#include <limits.h>
2744#ifndef LLONG_MIN
2745# define LLONG_MIN LONG_LONG_MIN
2746#endif
2747#ifndef LLONG_MAX
2748# define LLONG_MAX LONG_LONG_MAX
2749#endif
2750#ifndef ULLONG_MAX
2751# define ULLONG_MAX ULONG_LONG_MAX
2752#endif
2753
2754
2755SWIGINTERN int
2756SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51 2757{
1bd55598
RD
2758 if (PyNumber_Check(obj)) {
2759 if (val) *val = PyInt_AsLong(obj);
2760 return SWIG_OK;
2761 }
2762 return SWIG_TypeError;
36ed4f51
RD
2763}
2764
1bd55598
RD
2765
2766SWIGINTERN int
2767SWIG_AsVal_int (PyObject * obj, int *val)
36ed4f51 2768{
1bd55598
RD
2769 long v;
2770 int res = SWIG_AsVal_long (obj, &v);
2771 if (SWIG_IsOK(res)) {
2772 if ((v < INT_MIN || v > INT_MAX)) {
2773 return SWIG_OverflowError;
2774 } else {
2775 if (val) *val = static_cast< int >(v);
2776 }
2777 }
2778 return res;
36ed4f51
RD
2779}
2780
2781
2782SWIGINTERN int
1bd55598 2783SWIG_AsVal_bool (PyObject *obj, bool *val)
36ed4f51
RD
2784{
2785 if (obj == Py_True) {
2786 if (val) *val = true;
1bd55598
RD
2787 return SWIG_OK;
2788 } else if (obj == Py_False) {
36ed4f51 2789 if (val) *val = false;
1bd55598 2790 return SWIG_OK;
36ed4f51 2791 } else {
1bd55598
RD
2792 long v = 0;
2793 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2794 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2795 return res;
36ed4f51 2796 }
36ed4f51
RD
2797}
2798
2799
1bd55598 2800 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2801
2802
1bd55598
RD
2803SWIGINTERNINLINE PyObject *
2804SWIG_From_int (int value)
2805{
2806 return SWIG_From_long (value);
2807}
36ed4f51
RD
2808
2809
2810SWIGINTERN int
1bd55598 2811SWIG_AsVal_double (PyObject *obj, double* val)
36ed4f51
RD
2812{
2813 if (PyNumber_Check(obj)) {
2814 if (val) *val = PyFloat_AsDouble(obj);
1bd55598 2815 return SWIG_OK;
36ed4f51 2816 }
1bd55598 2817 return SWIG_TypeError;
36ed4f51
RD
2818}
2819
2820
1bd55598 2821 #define SWIG_From_double PyFloat_FromDouble
36ed4f51
RD
2822
2823 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2824 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2825 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2826 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1bd55598
RD
2827SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2828 int style = self->GetExtraStyle();
2829 if ( on )
2830 style |= wxFRAME_EX_METAL;
2831 else
2832 style &= ~wxFRAME_EX_METAL;
2833 self->SetExtraStyle(style);
2834 }
10044bf1 2835
5eb8189c
RD
2836#define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2837
2838
36ed4f51 2839
1bd55598 2840SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
36ed4f51
RD
2841 wxRect r;
2842 self->GetFieldRect(i, r);
2843 return r;
2844 }
2845 static const wxString wxPySplitterNameStr(wxT("splitter"));
2846 static const wxString wxPySashNameStr(wxT("sashWindow"));
2847 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2848
2849#include <wx/popupwin.h>
2850
2851
2852class wxPopupWindow : public wxWindow {
2853public:
2854 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2855 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2856};
2857
2858class wxPyPopupTransientWindow : public wxPopupWindow
2859{
2860public:
2861 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2862 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2863};
2864
2865
2866#include <wx/tipwin.h>
2867
1bd55598 2868SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
36ed4f51
RD
2869 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2870 }
2871
2872#include <wx/tipwin.h>
2873
2874
2875#include <wx/vscroll.h>
2876
2877
2878class wxPyVScrolledWindow : public wxVScrolledWindow
2879{
32fe5131 2880 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
2881public:
2882 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2883
2884 wxPyVScrolledWindow(wxWindow *parent,
2885 wxWindowID id = wxID_ANY,
2886 const wxPoint& pos = wxDefaultPosition,
2887 const wxSize& size = wxDefaultSize,
2888 long style = 0,
2889 const wxString& name = wxPyPanelNameStr)
2890 : wxVScrolledWindow(parent, id, pos, size, style, name)
2891 {}
2892
2893 // Overridable virtuals
2894
2895 // this function must be overridden in the derived class and it should
2896 // return the height of the given line in pixels
2897 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2898
2899
2900 // this function doesn't have to be overridden but it may be useful to do
2901 // it if calculating the lines heights is a relatively expensive operation
2902 // as it gives the user code a possibility to calculate several of them at
2903 // once
2904 //
2905 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2906 // shouldn't rely on the latter being called for all lines in the interval
2907 // specified here. It is also possible that OnGetLineHeight() will be
2908 // called for the lines outside of this interval, so this is really just a
2909 // hint, not a promise.
2910 //
2911 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2912 // usual
2913 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2914
2915
2916 // when the number of lines changes, we try to estimate the total height
2917 // of all lines which is a rather expensive operation in terms of lines
2918 // access, so if the user code may estimate the average height
2919 // better/faster than we do, it should override this function to implement
2920 // its own logic
2921 //
2922 // this function should return the best guess for the total height it may
2923 // make
2924 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2925
2926
2927 // Also expose some other interesting protected methods
2928
2929
2930 // find the index of the line we need to show at the top of the window such
2931 // that the last (fully or partially) visible line is the given one
2932 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2933 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2934
2935 // get the total height of the lines between lineMin (inclusive) and
2936 // lineMax (exclusive)
2937 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2938 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2939
2131d850
RD
2940 // update the thumb size shown by the scrollbar
2941 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2942
2943 // remove the scrollbar completely because we don't need it
2944 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
36ed4f51
RD
2945
2946 PYPRIVATE;
2947};
2948
2949IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
2950
2951IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2952IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2953IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2954
2955
fc46b7f3
RD
2956SWIGINTERN int
2957SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2958{
2959 long v = 0;
2960 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2961 return SWIG_TypeError;
2962 }
2963 else if (val)
2964 *val = (unsigned long)v;
2965 return SWIG_OK;
2966}
2967
2968
32fe5131 2969SWIGINTERNINLINE int
1bd55598 2970SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c370783e 2971{
1bd55598
RD
2972 unsigned long v;
2973 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2974 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2975 return res;
d55e5bfc
RD
2976}
2977
2978
32fe5131 2979SWIGINTERNINLINE PyObject*
1bd55598 2980SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2981{
2982 return (value > LONG_MAX) ?
1bd55598
RD
2983 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2984}
2985
2986
2987SWIGINTERNINLINE PyObject *
2988SWIG_From_size_t (size_t value)
2989{
2990 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
2991}
2992
2993
2994#include <wx/vlbox.h>
2995
2996 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2997
2998class wxPyVListBox : public wxVListBox
2999{
32fe5131 3000 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
3001public:
3002 wxPyVListBox() : wxVListBox() {}
3003
3004 wxPyVListBox(wxWindow *parent,
3005 wxWindowID id = wxID_ANY,
3006 const wxPoint& pos = wxDefaultPosition,
3007 const wxSize& size = wxDefaultSize,
3008 long style = 0,
3009 const wxString& name = wxPyVListBoxNameStr)
3010 : wxVListBox(parent, id, pos, size, style, name)
3011 {}
3012
3013 // Overridable virtuals
3014
3015 // the derived class must implement this function to actually draw the item
3016 // with the given index on the provided DC
3017 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3018 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3019
3020
3021 // the derived class must implement this method to return the height of the
3022 // specified item
3023 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3024 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3025
3026
3027 // this method may be used to draw separators between the lines; note that
3028 // the rectangle may be modified, typically to deflate it a bit before
3029 // passing to OnDrawItem()
3030 //
3031 // the base class version doesn't do anything
3032 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3033 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3034
3035
3036 // this method is used to draw the items background and, maybe, a border
3037 // around it
3038 //
3039 // the base class version implements a reasonable default behaviour which
3040 // consists in drawing the selected item with the standard background
3041 // colour and drawing a border around the item if it is either selected or
3042 // current
3043 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3044 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3045
3046
3047 PYPRIVATE;
3048};
3049
3050IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3051
3052IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3053IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3054IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3055IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3056
3057
1bd55598 3058SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3059 unsigned long cookie = 0;
3060 int selected = self->GetFirstSelected(cookie);
5a446332 3061 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3062 PyObject* tup = PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3064 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3065 wxPyEndBlockThreads(blocked);
3066 return tup;
3067 }
1bd55598 3068SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3069 int selected = self->GetNextSelected(cookie);
5a446332 3070 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3071 PyObject* tup = PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3073 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3074 wxPyEndBlockThreads(blocked);
3075 return tup;
3076 }
d55e5bfc
RD
3077
3078#include <wx/htmllbox.h>
3079
3080
3081class wxPyHtmlListBox : public wxHtmlListBox
3082{
32fe5131 3083 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3084public:
3085 wxPyHtmlListBox() : wxHtmlListBox() {}
3086
3087 wxPyHtmlListBox(wxWindow *parent,
3088 wxWindowID id = wxID_ANY,
3089 const wxPoint& pos = wxDefaultPosition,
3090 const wxSize& size = wxDefaultSize,
3091 long style = 0,
3092 const wxString& name = wxPyVListBoxNameStr)
3093 : wxHtmlListBox(parent, id, pos, size, style, name)
3094 {}
3095
3096 // Overridable virtuals
3097
3098 // this method must be implemented in the derived class and should return
3099 // the body (i.e. without <html>) of the HTML for the given item
3100 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3101
3102 // this function may be overridden to decorate HTML returned by OnGetItem()
3103 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3104
1c71765a
RD
3105 // These are from wxVListBox
3106 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3107 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3108
d55e5bfc
RD
3109// TODO:
3110// // this method allows to customize the selection appearance: it may be used
3111// // to specify the colour of the text which normally has the given colour
3112// // colFg when it is inside the selection
3113// //
3114// // by default, the original colour is not used at all and all text has the
3115// // same (default for this system) colour inside selection
3116// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3117
3118// // this is the same as GetSelectedTextColour() but allows to customize the
3119// // background colour -- this is even more rarely used as you can change it
3120// // globally using SetSelectionBackground()
3121// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3122
e9d6f3a4
RD
3123
3124 // This method may be overriden to handle clicking on a link in
3125 // the listbox. By default, clicking links is ignored.
3126 virtual void OnLinkClicked(size_t n,
3127 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3128
3129 PYPRIVATE;
3130};
3131
3132
3133IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3134
3135IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3136IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3137IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3138IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3139
3140
e9d6f3a4
RD
3141void wxPyHtmlListBox::OnLinkClicked(size_t n,
3142 const wxHtmlLinkInfo& link) {
3143 bool found;
3144 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3145 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3146 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3147 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3148 Py_DECREF(obj);
3149 }
3150 wxPyEndBlockThreads(blocked);
3151 if (! found)
3152 wxPyHtmlListBox::OnLinkClicked(n, link);
3153}
3154
3155
d55e5bfc 3156
f9bf356b
RD
3157 const wxArrayString wxPyEmptyStringArray;
3158
3159 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3160
d55e5bfc
RD
3161
3162
b411df4a
RD
3163#ifndef wxHAS_TASK_BAR_ICON
3164// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3165
3166class wxTaskBarIcon : public wxEvtHandler
3167{
3168public:
3169 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3170};
09c21d3b 3171
d55e5bfc
RD
3172
3173class wxTaskBarIconEvent : public wxEvent
3174{
3175public:
3176 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3177 { wxPyRaiseNotImplemented(); }
3178 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
3179 bool IsOk() const { return false; }
3180 bool IsIconInstalled() const { return false; }
3181 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3182 bool RemoveIcon() { return false; }
3183 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3184};
3185
3186enum {
3187 wxEVT_TASKBAR_MOVE = 0,
3188 wxEVT_TASKBAR_LEFT_DOWN = 0,
3189 wxEVT_TASKBAR_LEFT_UP = 0,
3190 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3191 wxEVT_TASKBAR_RIGHT_UP = 0,
3192 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3193 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3194};
09c21d3b
RD
3195
3196
3197#else
5e483524
RD
3198// Otherwise make a class that can virtualize CreatePopupMenu
3199class wxPyTaskBarIcon : public wxTaskBarIcon
3200{
32fe5131 3201 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3202public:
3203 wxPyTaskBarIcon() : wxTaskBarIcon()
3204 {}
09c21d3b 3205
5e483524
RD
3206 wxMenu* CreatePopupMenu() {
3207 wxMenu *rval = NULL;
3208 bool found;
5a446332 3209 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3210 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3211 PyObject* ro;
3212 wxMenu* ptr;
3213 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3214 if (ro) {
3215 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3216 rval = ptr;
3217 Py_DECREF(ro);
3218 }
3219 }
3220 wxPyEndBlockThreads(blocked);
3221 if (! found)
3222 rval = wxTaskBarIcon::CreatePopupMenu();
3223 return rval;
3224 }
d55e5bfc 3225
5e483524
RD
3226 PYPRIVATE;
3227};
d55e5bfc 3228
5e483524 3229IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 3230
5e483524
RD
3231#endif
3232
1bd55598 3233SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
3234 self->RemoveIcon();
3235 delete self;
d55e5bfc
RD
3236 }
3237 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3238 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3239 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3240 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3241 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3242 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3243
3244// for compatibility only
3245#define wxHIDE_READONLY 0
3246
1bd55598 3247SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3248 wxArrayString arr;
3249 self->GetFilenames(arr);
3250 return wxArrayString2PyList_helper(arr);
3251 }
1bd55598 3252SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3253 wxArrayString arr;
3254 self->GetPaths(arr);
3255 return wxArrayString2PyList_helper(arr);
3256 }
1bd55598 3257SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3258 return wxArrayInt2PyList_helper(self->GetSelections());
3259 }
1bd55598 3260SWIGINTERN 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
3261 return new wxSingleChoiceDialog(parent, message, caption,
3262 choices, choices_array, NULL, style, pos);
3263 }
070c48b4 3264 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3265
2131d850
RD
3266SWIGINTERNINLINE PyObject*
3267 SWIG_From_bool (bool value)
3268{
3269 return PyBool_FromLong(value ? 1 : 0);
3270}
3271
3272
d55e5bfc
RD
3273#include <wx/mdi.h>
3274
3275 // C++ version of Python aware wxWindow
3276class wxPyWindow : public wxWindow
3277{
3278 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3279public:
3280 wxPyWindow() : wxWindow() {}
3281 wxPyWindow(wxWindow* parent, const wxWindowID id,
3282 const wxPoint& pos = wxDefaultPosition,
3283 const wxSize& size = wxDefaultSize,
3284 long style = 0,
3285 const wxString& name = wxPyPanelNameStr)
3286 : wxWindow(parent, id, pos, size, style, name) {}
3287
3288
976dbff5
RD
3289 bool DoEraseBackground(wxDC* dc) {
3290#ifdef __WXMSW__
3291 return wxWindow::DoEraseBackground(dc->GetHDC());
3292#else
3293 dc->SetBackground(wxBrush(GetBackgroundColour()));
3294 dc->Clear();
3295 return true;
3296#endif
3297 }
3298
d55e5bfc
RD
3299 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3300 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3303
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3307
3308 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3309 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3310
3311 DEC_PYCALLBACK__(InitDialog);
3312 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3313 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3314 DEC_PYCALLBACK_BOOL_(Validate);
3315
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3318 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3319
3320 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3321 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3322
a5ee0656 3323 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3324 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3325
51b83b37
RD
3326 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3327
8d38bd1d
RD
3328 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3329
d55e5bfc
RD
3330 PYPRIVATE;
3331};
3332
3333IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3334
3335IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3336IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3337IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3338IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3339
3340IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3341IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3342IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3343
3344IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3345IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3346
3347IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3348IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3349IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3350IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3351
3352IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3353IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3354IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3355
3356IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3357IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3358
a5ee0656 3359IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 3360IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3361
3362IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3363
8d38bd1d
RD
3364IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3365
d55e5bfc
RD
3366 // C++ version of Python aware wxPanel
3367class wxPyPanel : public wxPanel
3368{
3369 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3370public:
3371 wxPyPanel() : wxPanel() {}
3372 wxPyPanel(wxWindow* parent, const wxWindowID id,
3373 const wxPoint& pos = wxDefaultPosition,
3374 const wxSize& size = wxDefaultSize,
3375 long style = 0,
3376 const wxString& name = wxPyPanelNameStr)
3377 : wxPanel(parent, id, pos, size, style, name) {}
3378
976dbff5
RD
3379 bool DoEraseBackground(wxDC* dc) {
3380#ifdef __WXMSW__
3381 return wxWindow::DoEraseBackground(dc->GetHDC());
3382#else
3383 dc->SetBackground(wxBrush(GetBackgroundColour()));
3384 dc->Clear();
3385 return true;
3386#endif
3387 }
a5ee0656 3388
d55e5bfc
RD
3389
3390 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3391 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3394
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3398
3399 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3400 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3401
3402 DEC_PYCALLBACK__(InitDialog);
3403 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3404 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3405 DEC_PYCALLBACK_BOOL_(Validate);
3406
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3409 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3410
3411 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3412 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3413
a5ee0656 3414 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3415 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3416
51b83b37
RD
3417 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3418
8d38bd1d
RD
3419 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3420
d55e5bfc
RD
3421 PYPRIVATE;
3422};
3423
3424IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3425
3426IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3427IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3428IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3429IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3430
3431IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3432IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3433IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3434
3435IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3436IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3437
3438IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3439IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3440IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3441IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3442
3443IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3444IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3445IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3446
3447IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3448IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3449
a5ee0656 3450IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 3451IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3452
51b83b37
RD
3453IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3454
8d38bd1d
RD
3455IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3456
d55e5bfc
RD
3457 // C++ version of Python aware wxScrolledWindow
3458class wxPyScrolledWindow : public wxScrolledWindow
3459{
3460 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3461public:
3462 wxPyScrolledWindow() : wxScrolledWindow() {}
3463 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3464 const wxPoint& pos = wxDefaultPosition,
3465 const wxSize& size = wxDefaultSize,
3466 long style = 0,
3467 const wxString& name = wxPyPanelNameStr)
3468 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3469
976dbff5
RD
3470 bool DoEraseBackground(wxDC* dc) {
3471#ifdef __WXMSW__
3472 return wxWindow::DoEraseBackground(dc->GetHDC());
3473#else
3474 dc->SetBackground(wxBrush(GetBackgroundColour()));
3475 dc->Clear();
3476 return true;
3477#endif
3478 }
d55e5bfc
RD
3479
3480 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3481 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3484
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3488
3489 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3490 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3491
3492 DEC_PYCALLBACK__(InitDialog);
3493 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3494 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3495 DEC_PYCALLBACK_BOOL_(Validate);
3496
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3499 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3500
3501 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3502 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3503
a5ee0656 3504 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3505 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3506
51b83b37
RD
3507 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3508
8d38bd1d
RD
3509 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3510
d55e5bfc
RD
3511 PYPRIVATE;
3512};
3513
3514IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3515
3516IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3517IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3518IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3519IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3520
3521IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3522IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3523IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3524
3525IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3526IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3527
3528IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3529IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3530IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3531IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3532
3533IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3534IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3535IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3536
3537IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3538IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3539
a5ee0656 3540IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
3541IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3542
51b83b37 3543IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3544
8d38bd1d
RD
3545IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3546
d55e5bfc
RD
3547
3548#include "wx/wxPython/printfw.h"
3549
3550
3551 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3552 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1bd55598 3553SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
7fbf8399 3554 PyObject* data;
5a446332 3555 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3556 data = PyString_FromStringAndSize(self->GetPrivData(),
3557 self->GetPrivDataLen());
3558 wxPyEndBlockThreads(blocked);
3559 return data;
3560 }
1bd55598 3561SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
7fbf8399
RD
3562 if (! PyString_Check(data)) {
3563 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3564 "Expected string object"));
3565 return /* NULL */ ;
3566 }
3567
5a446332 3568 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3569 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3570 wxPyEndBlockThreads(blocked);
3571 }
d55e5bfc
RD
3572
3573
070c48b4 3574IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3575
3576// Since this one would be tough and ugly to do with the Macros...
3577void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 3578 bool hadErr = false;
d55e5bfc
RD
3579 bool found;
3580
5a446332 3581 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3582 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3583 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3584 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3585 PyObject* val;
3586
3587 val = PyTuple_GetItem(result, 0);
3588 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 3589 else hadErr = true;
d55e5bfc
RD
3590
3591 val = PyTuple_GetItem(result, 1);
3592 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 3593 else hadErr = true;
d55e5bfc
RD
3594
3595 val = PyTuple_GetItem(result, 2);
3596 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 3597 else hadErr = true;
d55e5bfc
RD
3598
3599 val = PyTuple_GetItem(result, 3);
3600 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 3601 else hadErr = true;
d55e5bfc
RD
3602 }
3603 else
b411df4a 3604 hadErr = true;
d55e5bfc
RD
3605
3606 if (hadErr) {
3607 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3608 PyErr_Print();
3609 }
3610 Py_DECREF(result);
3611 }
3612 wxPyEndBlockThreads(blocked);
3613 if (! found)
3614 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3615}
3616
d55e5bfc
RD
3617
3618
3619IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3620IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3621IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3622IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3623IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3624IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3625IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3626
3627
3628
3629
3630
b411df4a 3631#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
7f7aa166 3632 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3633
3634
b411df4a
RD
3635#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3636 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3637 bool rval=false; \
3638 bool found; \
32fe5131 3639 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
3640 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3641 PyObject* win = wxPyMake_wxObject(a,false); \
3642 PyObject* dc = wxPyMake_wxObject(&b,false); \
3643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3644 Py_DECREF(win); \
3645 Py_DECREF(dc); \
3646 } \
3647 wxPyEndBlockThreads(blocked); \
3648 if (! found) \
3649 rval = PCLASS::CBNAME(a, b); \
3650 return rval; \
7f7aa166 3651 }
d55e5bfc
RD
3652
3653
3654
3655
3656class wxPyPrintPreview : public wxPrintPreview
3657{
3658 DECLARE_CLASS(wxPyPrintPreview)
3659public:
3660 wxPyPrintPreview(wxPyPrintout* printout,
3661 wxPyPrintout* printoutForPrinting,
3662 wxPrintDialogData* data=NULL)
3663 : wxPrintPreview(printout, printoutForPrinting, data)
3664 {}
3665 wxPyPrintPreview(wxPyPrintout* printout,
3666 wxPyPrintout* printoutForPrinting,
32fe5131 3667 wxPrintData* data)
d55e5bfc
RD
3668 : wxPrintPreview(printout, printoutForPrinting, data)
3669 {}
3670
3671 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3674 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3675 DEC_PYCALLBACK_VOID_INT(SetZoom);
3676 DEC_PYCALLBACK_BOOL_BOOL(Print);
3677 DEC_PYCALLBACK_VOID_(DetermineScaling);
3678
3679 PYPRIVATE;
3680};
3681
3682// Stupid renamed classes... Fix this in 2.5...
3683#if defined(__WXMSW__)
3684IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3685#elif defined(__WXMAC__)
3686IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3687#else
3688IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3689#endif
3690
3691IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3692IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3693IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3694IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3695IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3696IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3697IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3698
3699
3700class wxPyPreviewFrame : public wxPreviewFrame
3701{
32fe5131 3702 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3703public:
3704 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3705 const wxString& title,
3706 const wxPoint& pos = wxDefaultPosition,
3707 const wxSize& size = wxDefaultSize,
3708 long style = wxDEFAULT_FRAME_STYLE,
3709 const wxString& name = wxPyFrameNameStr)
3710 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3711 {}
3712
3713 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3714 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3715
3716 DEC_PYCALLBACK_VOID_(Initialize);
3717 DEC_PYCALLBACK_VOID_(CreateCanvas);
3718 DEC_PYCALLBACK_VOID_(CreateControlBar);
3719
3720 PYPRIVATE;
3721};
3722
3723IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3724
3725IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3726IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3727IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3728
3729
3730class wxPyPreviewControlBar : public wxPreviewControlBar
3731{
32fe5131 3732 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3733public:
3734 wxPyPreviewControlBar(wxPrintPreview *preview,
3735 long buttons,
3736 wxWindow *parent,
3737 const wxPoint& pos = wxDefaultPosition,
3738 const wxSize& size = wxDefaultSize,
3739 long style = 0,
3740 const wxString& name = wxPyPanelNameStr)
3741 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3742 {}
3743
3744 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3745
3746 DEC_PYCALLBACK_VOID_(CreateButtons);
3747 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3748
3749 PYPRIVATE;
3750};
3751
3752IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3753IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3754IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3755
3756#ifdef __cplusplus
3757extern "C" {
3758#endif
1bd55598
RD
3759SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj = 0;
3761 wxWindow *arg1 = (wxWindow *) 0 ;
3762 int arg2 = (int) (int)-1 ;
3763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3765 wxSize const &arg4_defvalue = wxDefaultSize ;
3766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3767 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3768 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3769 wxString *arg6 = (wxString *) &arg6_defvalue ;
3770 wxPanel *result = 0 ;
3771 void *argp1 = 0 ;
3772 int res1 = 0 ;
3773 int val2 ;
3774 int ecode2 = 0 ;
3775 wxPoint temp3 ;
3776 wxSize temp4 ;
3777 long val5 ;
3778 int ecode5 = 0 ;
3779 bool temp6 = false ;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 PyObject * obj2 = 0 ;
3783 PyObject * obj3 = 0 ;
3784 PyObject * obj4 = 0 ;
3785 PyObject * obj5 = 0 ;
3786 char * kwnames[] = {
3787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3788 };
3789
3790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3792 if (!SWIG_IsOK(res1)) {
3793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 }
3795 arg1 = reinterpret_cast< wxWindow * >(argp1);
3796 if (obj1) {
3797 ecode2 = SWIG_AsVal_int(obj1, &val2);
3798 if (!SWIG_IsOK(ecode2)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3800 }
3801 arg2 = static_cast< int >(val2);
3802 }
3803 if (obj2) {
d55e5bfc 3804 {
1bd55598
RD
3805 arg3 = &temp3;
3806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3807 }
1bd55598
RD
3808 }
3809 if (obj3) {
d55e5bfc 3810 {
1bd55598
RD
3811 arg4 = &temp4;
3812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3813 }
1bd55598
RD
3814 }
3815 if (obj4) {
3816 ecode5 = SWIG_AsVal_long(obj4, &val5);
3817 if (!SWIG_IsOK(ecode5)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3819 }
3820 arg5 = static_cast< long >(val5);
3821 }
3822 if (obj5) {
d55e5bfc 3823 {
1bd55598
RD
3824 arg6 = wxString_in_helper(obj5);
3825 if (arg6 == NULL) SWIG_fail;
3826 temp6 = true;
3827 }
3828 }
3829 {
3830 if (!wxPyCheckForApp()) SWIG_fail;
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3837 {
3838 if (temp6)
3839 delete arg6;
3840 }
3841 return resultobj;
3842fail:
3843 {
3844 if (temp6)
3845 delete arg6;
3846 }
3847 return NULL;
d55e5bfc
RD
3848}
3849
3850
1bd55598
RD
3851SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3852 PyObject *resultobj = 0;
3853 wxPanel *result = 0 ;
3854
3855 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3856 {
3857 if (!wxPyCheckForApp()) SWIG_fail;
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxPanel *)new wxPanel();
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3864 return resultobj;
3865fail:
3866 return NULL;
3867}
3868
3869
3870SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj = 0;
3872 wxPanel *arg1 = (wxPanel *) 0 ;
3873 wxWindow *arg2 = (wxWindow *) 0 ;
3874 int arg3 = (int) (int)-1 ;
3875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3877 wxSize const &arg5_defvalue = wxDefaultSize ;
3878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3879 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3880 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3881 wxString *arg7 = (wxString *) &arg7_defvalue ;
3882 bool result;
3883 void *argp1 = 0 ;
3884 int res1 = 0 ;
3885 void *argp2 = 0 ;
3886 int res2 = 0 ;
3887 int val3 ;
3888 int ecode3 = 0 ;
3889 wxPoint temp4 ;
3890 wxSize temp5 ;
3891 long val6 ;
3892 int ecode6 = 0 ;
3893 bool temp7 = false ;
3894 PyObject * obj0 = 0 ;
3895 PyObject * obj1 = 0 ;
3896 PyObject * obj2 = 0 ;
3897 PyObject * obj3 = 0 ;
3898 PyObject * obj4 = 0 ;
3899 PyObject * obj5 = 0 ;
3900 PyObject * obj6 = 0 ;
3901 char * kwnames[] = {
3902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3903 };
3904
3905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3907 if (!SWIG_IsOK(res1)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3909 }
3910 arg1 = reinterpret_cast< wxPanel * >(argp1);
3911 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3912 if (!SWIG_IsOK(res2)) {
3913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3914 }
3915 arg2 = reinterpret_cast< wxWindow * >(argp2);
3916 if (obj2) {
3917 ecode3 = SWIG_AsVal_int(obj2, &val3);
3918 if (!SWIG_IsOK(ecode3)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3920 }
3921 arg3 = static_cast< int >(val3);
3922 }
3923 if (obj3) {
d55e5bfc 3924 {
1bd55598
RD
3925 arg4 = &temp4;
3926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3927 }
1bd55598
RD
3928 }
3929 if (obj4) {
d55e5bfc 3930 {
1bd55598
RD
3931 arg5 = &temp5;
3932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3933 }
1bd55598
RD
3934 }
3935 if (obj5) {
3936 ecode6 = SWIG_AsVal_long(obj5, &val6);
3937 if (!SWIG_IsOK(ecode6)) {
3938 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3939 }
3940 arg6 = static_cast< long >(val6);
3941 }
3942 if (obj6) {
d55e5bfc 3943 {
1bd55598
RD
3944 arg7 = wxString_in_helper(obj6);
3945 if (arg7 == NULL) SWIG_fail;
3946 temp7 = true;
d55e5bfc 3947 }
1bd55598
RD
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 {
3956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3957 }
3958 {
3959 if (temp7)
3960 delete arg7;
3961 }
3962 return resultobj;
3963fail:
3964 {
3965 if (temp7)
3966 delete arg7;
3967 }
3968 return NULL;
5cbf236d
RD
3969}
3970
3971
1bd55598
RD
3972SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3973 PyObject *resultobj = 0;
3974 wxPanel *arg1 = (wxPanel *) 0 ;
3975 void *argp1 = 0 ;
3976 int res1 = 0 ;
3977 PyObject *swig_obj[1] ;
3978
3979 if (!args) SWIG_fail;
3980 swig_obj[0] = args;
3981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3982 if (!SWIG_IsOK(res1)) {
3983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3984 }
3985 arg1 = reinterpret_cast< wxPanel * >(argp1);
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 (arg1)->SetFocusIgnoringChildren();
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_Py_Void();
3993 return resultobj;
3994fail:
3995 return NULL;
3996}
3997
3998
3999SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj = 0;
4001 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4002 SwigValueWrapper<wxVisualAttributes > result;
4003 int val1 ;
4004 int ecode1 = 0 ;
4005 PyObject * obj0 = 0 ;
4006 char * kwnames[] = {
4007 (char *) "variant", NULL
4008 };
4009
4010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4011 if (obj0) {
4012 ecode1 = SWIG_AsVal_int(obj0, &val1);
4013 if (!SWIG_IsOK(ecode1)) {
4014 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4015 }
4016 arg1 = static_cast< wxWindowVariant >(val1);
4017 }
4018 {
4019 if (!wxPyCheckForApp()) SWIG_fail;
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 result = wxPanel::GetClassDefaultAttributes(arg1);
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4026 return resultobj;
4027fail:
4028 return NULL;
4029}
4030
4031
4032SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 PyObject *obj;
4034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4036 return SWIG_Py_Void();
4037}
4038
4039SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4040 return SWIG_Python_InitShadowInstance(args);
4041}
4042
4043SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4044 PyObject *resultobj = 0;
4045 wxWindow *arg1 = (wxWindow *) 0 ;
4046 int arg2 = (int) (int)-1 ;
4047 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4048 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4049 wxSize const &arg4_defvalue = wxDefaultSize ;
4050 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4051 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4052 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4053 wxString *arg6 = (wxString *) &arg6_defvalue ;
4054 wxScrolledWindow *result = 0 ;
4055 void *argp1 = 0 ;
4056 int res1 = 0 ;
4057 int val2 ;
4058 int ecode2 = 0 ;
4059 wxPoint temp3 ;
4060 wxSize temp4 ;
4061 long val5 ;
4062 int ecode5 = 0 ;
4063 bool temp6 = false ;
4064 PyObject * obj0 = 0 ;
4065 PyObject * obj1 = 0 ;
4066 PyObject * obj2 = 0 ;
4067 PyObject * obj3 = 0 ;
4068 PyObject * obj4 = 0 ;
4069 PyObject * obj5 = 0 ;
4070 char * kwnames[] = {
4071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4072 };
4073
4074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4076 if (!SWIG_IsOK(res1)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4078 }
4079 arg1 = reinterpret_cast< wxWindow * >(argp1);
4080 if (obj1) {
4081 ecode2 = SWIG_AsVal_int(obj1, &val2);
4082 if (!SWIG_IsOK(ecode2)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4084 }
4085 arg2 = static_cast< int >(val2);
4086 }
4087 if (obj2) {
5cbf236d 4088 {
1bd55598
RD
4089 arg3 = &temp3;
4090 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4091 }
1bd55598
RD
4092 }
4093 if (obj3) {
f20a2e1f 4094 {
1bd55598
RD
4095 arg4 = &temp4;
4096 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4097 }
1bd55598
RD
4098 }
4099 if (obj4) {
4100 ecode5 = SWIG_AsVal_long(obj4, &val5);
4101 if (!SWIG_IsOK(ecode5)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4103 }
4104 arg5 = static_cast< long >(val5);
4105 }
4106 if (obj5) {
f20a2e1f 4107 {
1bd55598
RD
4108 arg6 = wxString_in_helper(obj5);
4109 if (arg6 == NULL) SWIG_fail;
4110 temp6 = true;
f20a2e1f 4111 }
1bd55598
RD
4112 }
4113 {
4114 if (!wxPyCheckForApp()) SWIG_fail;
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4121 {
4122 if (temp6)
4123 delete arg6;
4124 }
4125 return resultobj;
4126fail:
4127 {
4128 if (temp6)
4129 delete arg6;
4130 }
4131 return NULL;
f20a2e1f
RD
4132}
4133
4134
1bd55598
RD
4135SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4136 PyObject *resultobj = 0;
4137 wxScrolledWindow *result = 0 ;
4138
4139 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4140 {
4141 if (!wxPyCheckForApp()) SWIG_fail;
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxScrolledWindow *)new wxScrolledWindow();
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4148 return resultobj;
4149fail:
4150 return NULL;
4151}
4152
4153
4154SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj = 0;
4156 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4157 wxWindow *arg2 = (wxWindow *) 0 ;
4158 int arg3 = (int) (int)-1 ;
4159 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4160 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4161 wxSize const &arg5_defvalue = wxDefaultSize ;
4162 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4163 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4164 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4165 wxString *arg7 = (wxString *) &arg7_defvalue ;
4166 bool result;
4167 void *argp1 = 0 ;
4168 int res1 = 0 ;
4169 void *argp2 = 0 ;
4170 int res2 = 0 ;
4171 int val3 ;
4172 int ecode3 = 0 ;
4173 wxPoint temp4 ;
4174 wxSize temp5 ;
4175 long val6 ;
4176 int ecode6 = 0 ;
4177 bool temp7 = false ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 PyObject * obj2 = 0 ;
4181 PyObject * obj3 = 0 ;
4182 PyObject * obj4 = 0 ;
4183 PyObject * obj5 = 0 ;
4184 PyObject * obj6 = 0 ;
4185 char * kwnames[] = {
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 };
4188
4189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4191 if (!SWIG_IsOK(res1)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4193 }
4194 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4196 if (!SWIG_IsOK(res2)) {
4197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4198 }
4199 arg2 = reinterpret_cast< wxWindow * >(argp2);
4200 if (obj2) {
4201 ecode3 = SWIG_AsVal_int(obj2, &val3);
4202 if (!SWIG_IsOK(ecode3)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4204 }
4205 arg3 = static_cast< int >(val3);
4206 }
4207 if (obj3) {
d55e5bfc 4208 {
1bd55598
RD
4209 arg4 = &temp4;
4210 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4211 }
1bd55598
RD
4212 }
4213 if (obj4) {
d55e5bfc 4214 {
1bd55598
RD
4215 arg5 = &temp5;
4216 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4217 }
1bd55598
RD
4218 }
4219 if (obj5) {
4220 ecode6 = SWIG_AsVal_long(obj5, &val6);
4221 if (!SWIG_IsOK(ecode6)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4223 }
4224 arg6 = static_cast< long >(val6);
4225 }
4226 if (obj6) {
d55e5bfc 4227 {
1bd55598
RD
4228 arg7 = wxString_in_helper(obj6);
4229 if (arg7 == NULL) SWIG_fail;
4230 temp7 = true;
4231 }
4232 }
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 {
4240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4241 }
4242 {
4243 if (temp7)
4244 delete arg7;
4245 }
4246 return resultobj;
4247fail:
4248 {
4249 if (temp7)
4250 delete arg7;
4251 }
4252 return NULL;
4253}
4254
4255
4256SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4257 PyObject *resultobj = 0;
4258 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4259 int arg2 ;
4260 int arg3 ;
4261 int arg4 ;
4262 int arg5 ;
4263 int arg6 = (int) 0 ;
4264 int arg7 = (int) 0 ;
4265 bool arg8 = (bool) false ;
4266 void *argp1 = 0 ;
4267 int res1 = 0 ;
4268 int val2 ;
4269 int ecode2 = 0 ;
4270 int val3 ;
4271 int ecode3 = 0 ;
4272 int val4 ;
4273 int ecode4 = 0 ;
4274 int val5 ;
4275 int ecode5 = 0 ;
4276 int val6 ;
4277 int ecode6 = 0 ;
4278 int val7 ;
4279 int ecode7 = 0 ;
4280 bool val8 ;
4281 int ecode8 = 0 ;
4282 PyObject * obj0 = 0 ;
4283 PyObject * obj1 = 0 ;
4284 PyObject * obj2 = 0 ;
4285 PyObject * obj3 = 0 ;
4286 PyObject * obj4 = 0 ;
4287 PyObject * obj5 = 0 ;
4288 PyObject * obj6 = 0 ;
4289 PyObject * obj7 = 0 ;
4290 char * kwnames[] = {
4291 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4292 };
4293
4294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4296 if (!SWIG_IsOK(res1)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4298 }
4299 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4300 ecode2 = SWIG_AsVal_int(obj1, &val2);
4301 if (!SWIG_IsOK(ecode2)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4303 }
4304 arg2 = static_cast< int >(val2);
4305 ecode3 = SWIG_AsVal_int(obj2, &val3);
4306 if (!SWIG_IsOK(ecode3)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4308 }
4309 arg3 = static_cast< int >(val3);
4310 ecode4 = SWIG_AsVal_int(obj3, &val4);
4311 if (!SWIG_IsOK(ecode4)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4313 }
4314 arg4 = static_cast< int >(val4);
4315 ecode5 = SWIG_AsVal_int(obj4, &val5);
4316 if (!SWIG_IsOK(ecode5)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4318 }
4319 arg5 = static_cast< int >(val5);
4320 if (obj5) {
4321 ecode6 = SWIG_AsVal_int(obj5, &val6);
4322 if (!SWIG_IsOK(ecode6)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4324 }
4325 arg6 = static_cast< int >(val6);
4326 }
4327 if (obj6) {
4328 ecode7 = SWIG_AsVal_int(obj6, &val7);
4329 if (!SWIG_IsOK(ecode7)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4331 }
4332 arg7 = static_cast< int >(val7);
4333 }
4334 if (obj7) {
4335 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4336 if (!SWIG_IsOK(ecode8)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4338 }
4339 arg8 = static_cast< bool >(val8);
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 resultobj = SWIG_Py_Void();
4348 return resultobj;
4349fail:
4350 return NULL;
4351}
4352
4353
4354SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj = 0;
4356 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4357 int arg2 ;
4358 int arg3 ;
4359 void *argp1 = 0 ;
4360 int res1 = 0 ;
4361 int val2 ;
4362 int ecode2 = 0 ;
4363 int val3 ;
4364 int ecode3 = 0 ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 PyObject * obj2 = 0 ;
4368 char * kwnames[] = {
4369 (char *) "self",(char *) "x",(char *) "y", NULL
4370 };
4371
4372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4374 if (!SWIG_IsOK(res1)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 }
4377 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4378 ecode2 = SWIG_AsVal_int(obj1, &val2);
4379 if (!SWIG_IsOK(ecode2)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4381 }
4382 arg2 = static_cast< int >(val2);
4383 ecode3 = SWIG_AsVal_int(obj2, &val3);
4384 if (!SWIG_IsOK(ecode3)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4386 }
4387 arg3 = static_cast< int >(val3);
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 (arg1)->Scroll(arg2,arg3);
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 resultobj = SWIG_Py_Void();
4395 return resultobj;
4396fail:
4397 return NULL;
4398}
4399
4400
4401SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj = 0;
4403 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4404 int arg2 ;
4405 int result;
4406 void *argp1 = 0 ;
4407 int res1 = 0 ;
4408 int val2 ;
4409 int ecode2 = 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char * kwnames[] = {
4413 (char *) "self",(char *) "orient", NULL
4414 };
4415
4416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4418 if (!SWIG_IsOK(res1)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4420 }
4421 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4422 ecode2 = SWIG_AsVal_int(obj1, &val2);
4423 if (!SWIG_IsOK(ecode2)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4425 }
4426 arg2 = static_cast< int >(val2);
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 resultobj = SWIG_From_int(static_cast< int >(result));
4434 return resultobj;
4435fail:
4436 return NULL;
4437}
4438
4439
4440SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4441 PyObject *resultobj = 0;
4442 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4443 int arg2 ;
4444 int arg3 ;
4445 void *argp1 = 0 ;
4446 int res1 = 0 ;
4447 int val2 ;
4448 int ecode2 = 0 ;
4449 int val3 ;
4450 int ecode3 = 0 ;
4451 PyObject * obj0 = 0 ;
4452 PyObject * obj1 = 0 ;
4453 PyObject * obj2 = 0 ;
4454 char * kwnames[] = {
4455 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4456 };
4457
4458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4460 if (!SWIG_IsOK(res1)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4462 }
4463 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4464 ecode2 = SWIG_AsVal_int(obj1, &val2);
4465 if (!SWIG_IsOK(ecode2)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4467 }
4468 arg2 = static_cast< int >(val2);
4469 ecode3 = SWIG_AsVal_int(obj2, &val3);
4470 if (!SWIG_IsOK(ecode3)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4472 }
4473 arg3 = static_cast< int >(val3);
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->SetScrollPageSize(arg2,arg3);
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 resultobj = SWIG_Py_Void();
4481 return resultobj;
4482fail:
4483 return NULL;
4484}
4485
4486
4487SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj = 0;
4489 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4490 int arg2 ;
4491 int arg3 ;
4492 void *argp1 = 0 ;
4493 int res1 = 0 ;
4494 int val2 ;
4495 int ecode2 = 0 ;
4496 int val3 ;
4497 int ecode3 = 0 ;
4498 PyObject * obj0 = 0 ;
4499 PyObject * obj1 = 0 ;
4500 PyObject * obj2 = 0 ;
4501 char * kwnames[] = {
4502 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4503 };
4504
4505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4507 if (!SWIG_IsOK(res1)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4509 }
4510 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4511 ecode2 = SWIG_AsVal_int(obj1, &val2);
4512 if (!SWIG_IsOK(ecode2)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4514 }
4515 arg2 = static_cast< int >(val2);
4516 ecode3 = SWIG_AsVal_int(obj2, &val3);
4517 if (!SWIG_IsOK(ecode3)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4519 }
4520 arg3 = static_cast< int >(val3);
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->SetScrollRate(arg2,arg3);
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 resultobj = SWIG_Py_Void();
4528 return resultobj;
4529fail:
4530 return NULL;
4531}
4532
4533
4534SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4535 PyObject *resultobj = 0;
4536 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4537 int *arg2 = (int *) 0 ;
4538 int *arg3 = (int *) 0 ;
4539 void *argp1 = 0 ;
4540 int res1 = 0 ;
4541 int temp2 ;
4542 int res2 = SWIG_TMPOBJ ;
4543 int temp3 ;
4544 int res3 = SWIG_TMPOBJ ;
4545 PyObject *swig_obj[1] ;
4546
4547 arg2 = &temp2;
4548 arg3 = &temp3;
4549 if (!args) SWIG_fail;
4550 swig_obj[0] = args;
4551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4552 if (!SWIG_IsOK(res1)) {
4553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4554 }
4555 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 resultobj = SWIG_Py_Void();
4563 if (SWIG_IsTmpObj(res2)) {
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4565 } else {
4566 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4568 }
4569 if (SWIG_IsTmpObj(res3)) {
4570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4571 } else {
4572 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4574 }
4575 return resultobj;
4576fail:
4577 return NULL;
4578}
4579
4580
4581SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj = 0;
4583 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4584 bool arg2 ;
4585 bool arg3 ;
4586 void *argp1 = 0 ;
4587 int res1 = 0 ;
4588 bool val2 ;
4589 int ecode2 = 0 ;
4590 bool val3 ;
4591 int ecode3 = 0 ;
4592 PyObject * obj0 = 0 ;
4593 PyObject * obj1 = 0 ;
4594 PyObject * obj2 = 0 ;
4595 char * kwnames[] = {
4596 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4597 };
4598
4599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4601 if (!SWIG_IsOK(res1)) {
4602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4603 }
4604 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4605 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4606 if (!SWIG_IsOK(ecode2)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4608 }
4609 arg2 = static_cast< bool >(val2);
4610 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4611 if (!SWIG_IsOK(ecode3)) {
4612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4613 }
4614 arg3 = static_cast< bool >(val3);
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 (arg1)->EnableScrolling(arg2,arg3);
4618 wxPyEndAllowThreads(__tstate);
4619 if (PyErr_Occurred()) SWIG_fail;
4620 }
4621 resultobj = SWIG_Py_Void();
4622 return resultobj;
4623fail:
4624 return NULL;
4625}
4626
4627
4628SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4629 PyObject *resultobj = 0;
4630 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4631 int *arg2 = (int *) 0 ;
4632 int *arg3 = (int *) 0 ;
4633 void *argp1 = 0 ;
4634 int res1 = 0 ;
4635 int temp2 ;
4636 int res2 = SWIG_TMPOBJ ;
4637 int temp3 ;
4638 int res3 = SWIG_TMPOBJ ;
4639 PyObject *swig_obj[1] ;
4640
4641 arg2 = &temp2;
4642 arg3 = &temp3;
4643 if (!args) SWIG_fail;
4644 swig_obj[0] = args;
4645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4646 if (!SWIG_IsOK(res1)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4648 }
4649 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 resultobj = SWIG_Py_Void();
4657 if (SWIG_IsTmpObj(res2)) {
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4659 } else {
4660 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4662 }
4663 if (SWIG_IsTmpObj(res3)) {
4664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4665 } else {
4666 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4668 }
4669 return resultobj;
4670fail:
4671 return NULL;
4672}
4673
4674
4675SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj = 0;
4677 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4678 double arg2 ;
4679 double arg3 ;
4680 void *argp1 = 0 ;
4681 int res1 = 0 ;
4682 double val2 ;
4683 int ecode2 = 0 ;
4684 double val3 ;
4685 int ecode3 = 0 ;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 PyObject * obj2 = 0 ;
4689 char * kwnames[] = {
4690 (char *) "self",(char *) "xs",(char *) "ys", NULL
4691 };
4692
4693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4695 if (!SWIG_IsOK(res1)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4697 }
4698 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4699 ecode2 = SWIG_AsVal_double(obj1, &val2);
4700 if (!SWIG_IsOK(ecode2)) {
4701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4702 }
4703 arg2 = static_cast< double >(val2);
4704 ecode3 = SWIG_AsVal_double(obj2, &val3);
4705 if (!SWIG_IsOK(ecode3)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4707 }
4708 arg3 = static_cast< double >(val3);
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 (arg1)->SetScale(arg2,arg3);
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 resultobj = SWIG_Py_Void();
4716 return resultobj;
4717fail:
4718 return NULL;
d55e5bfc
RD
4719}
4720
4721
1bd55598
RD
4722SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4723 PyObject *resultobj = 0;
4724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4725 double result;
4726 void *argp1 = 0 ;
4727 int res1 = 0 ;
4728 PyObject *swig_obj[1] ;
4729
4730 if (!args) SWIG_fail;
4731 swig_obj[0] = args;
4732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4733 if (!SWIG_IsOK(res1)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4735 }
4736 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_From_double(static_cast< double >(result));
4744 return resultobj;
4745fail:
4746 return NULL;
d55e5bfc
RD
4747}
4748
4749
1bd55598
RD
4750SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4751 PyObject *resultobj = 0;
4752 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4753 double result;
4754 void *argp1 = 0 ;
4755 int res1 = 0 ;
4756 PyObject *swig_obj[1] ;
4757
4758 if (!args) SWIG_fail;
4759 swig_obj[0] = args;
4760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4761 if (!SWIG_IsOK(res1)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4763 }
4764 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_From_double(static_cast< double >(result));
4772 return resultobj;
4773fail:
4774 return NULL;
d55e5bfc
RD
4775}
4776
4777
1bd55598
RD
4778SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4779 PyObject *resultobj = 0;
4780 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4781 wxPoint *arg2 = 0 ;
4782 wxPoint result;
4783 void *argp1 = 0 ;
4784 int res1 = 0 ;
4785 wxPoint temp2 ;
4786
4787 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4789 if (!SWIG_IsOK(res1)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4791 }
4792 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4793 {
4794 arg2 = &temp2;
4795 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4804 return resultobj;
4805fail:
4806 return NULL;
4807}
4808
4809
4810SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4811 PyObject *resultobj = 0;
4812 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4813 int arg2 ;
4814 int arg3 ;
4815 int *arg4 = (int *) 0 ;
4816 int *arg5 = (int *) 0 ;
4817 void *argp1 = 0 ;
4818 int res1 = 0 ;
4819 int val2 ;
4820 int ecode2 = 0 ;
4821 int val3 ;
4822 int ecode3 = 0 ;
4823 int temp4 ;
4824 int res4 = SWIG_TMPOBJ ;
4825 int temp5 ;
4826 int res5 = SWIG_TMPOBJ ;
4827
4828 arg4 = &temp4;
4829 arg5 = &temp5;
4830 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4832 if (!SWIG_IsOK(res1)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4834 }
4835 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4836 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4837 if (!SWIG_IsOK(ecode2)) {
4838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4839 }
4840 arg2 = static_cast< int >(val2);
4841 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4842 if (!SWIG_IsOK(ecode3)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4844 }
4845 arg3 = static_cast< int >(val3);
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 resultobj = SWIG_Py_Void();
4853 if (SWIG_IsTmpObj(res4)) {
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4855 } else {
4856 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4858 }
4859 if (SWIG_IsTmpObj(res5)) {
4860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4861 } else {
4862 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4864 }
4865 return resultobj;
4866fail:
4867 return NULL;
d55e5bfc
RD
4868}
4869
4870
1bd55598
RD
4871SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4872 int argc;
4873 PyObject *argv[4];
4874
4875 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4876 --argc;
4877 if (argc == 2) {
4878 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4879 }
4880 if (argc == 3) {
4881 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4882 }
4883
4884fail:
4885 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4886 return NULL;
d55e5bfc
RD
4887}
4888
4889
1bd55598
RD
4890SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4891 PyObject *resultobj = 0;
4892 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4893 wxPoint *arg2 = 0 ;
4894 wxPoint result;
4895 void *argp1 = 0 ;
4896 int res1 = 0 ;
4897 wxPoint temp2 ;
4898
4899 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4901 if (!SWIG_IsOK(res1)) {
4902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4903 }
4904 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4905 {
4906 arg2 = &temp2;
4907 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4916 return resultobj;
4917fail:
4918 return NULL;
4919}
4920
4921
4922SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4923 PyObject *resultobj = 0;
4924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4925 int arg2 ;
4926 int arg3 ;
4927 int *arg4 = (int *) 0 ;
4928 int *arg5 = (int *) 0 ;
4929 void *argp1 = 0 ;
4930 int res1 = 0 ;
4931 int val2 ;
4932 int ecode2 = 0 ;
4933 int val3 ;
4934 int ecode3 = 0 ;
4935 int temp4 ;
4936 int res4 = SWIG_TMPOBJ ;
4937 int temp5 ;
4938 int res5 = SWIG_TMPOBJ ;
4939
4940 arg4 = &temp4;
4941 arg5 = &temp5;
4942 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4944 if (!SWIG_IsOK(res1)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4946 }
4947 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4948 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4949 if (!SWIG_IsOK(ecode2)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4951 }
4952 arg2 = static_cast< int >(val2);
4953 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4954 if (!SWIG_IsOK(ecode3)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4956 }
4957 arg3 = static_cast< int >(val3);
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = SWIG_Py_Void();
4965 if (SWIG_IsTmpObj(res4)) {
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4967 } else {
4968 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4970 }
4971 if (SWIG_IsTmpObj(res5)) {
4972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4973 } else {
4974 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4976 }
4977 return resultobj;
4978fail:
4979 return NULL;
d55e5bfc
RD
4980}
4981
4982
1bd55598
RD
4983SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4984 int argc;
4985 PyObject *argv[4];
4986
4987 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4988 --argc;
4989 if (argc == 2) {
4990 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4991 }
4992 if (argc == 3) {
4993 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4994 }
4995
4996fail:
4997 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4998 return NULL;
d55e5bfc
RD
4999}
5000
5001
1bd55598
RD
5002SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5003 PyObject *resultobj = 0;
5004 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5005 void *argp1 = 0 ;
5006 int res1 = 0 ;
5007 PyObject *swig_obj[1] ;
5008
5009 if (!args) SWIG_fail;
5010 swig_obj[0] = args;
5011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5012 if (!SWIG_IsOK(res1)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5014 }
5015 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 (arg1)->AdjustScrollbars();
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 resultobj = SWIG_Py_Void();
5023 return resultobj;
5024fail:
5025 return NULL;
5026}
5027
5028
5029SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj = 0;
5031 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5032 wxScrollWinEvent *arg2 = 0 ;
5033 int result;
5034 void *argp1 = 0 ;
5035 int res1 = 0 ;
5036 void *argp2 = 0 ;
5037 int res2 = 0 ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj1 = 0 ;
5040 char * kwnames[] = {
5041 (char *) "self",(char *) "event", NULL
5042 };
5043
5044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5046 if (!SWIG_IsOK(res1)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5048 }
5049 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5050 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5051 if (!SWIG_IsOK(res2)) {
5052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5053 }
5054 if (!argp2) {
5055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 }
5057 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 result = (int)(arg1)->CalcScrollInc(*arg2);
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 resultobj = SWIG_From_int(static_cast< int >(result));
5065 return resultobj;
5066fail:
5067 return NULL;
5068}
5069
5070
5071SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj = 0;
5073 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5074 wxWindow *arg2 = (wxWindow *) 0 ;
5075 void *argp1 = 0 ;
5076 int res1 = 0 ;
5077 void *argp2 = 0 ;
5078 int res2 = 0 ;
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 char * kwnames[] = {
5082 (char *) "self",(char *) "target", NULL
5083 };
5084
5085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5087 if (!SWIG_IsOK(res1)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5089 }
5090 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5092 if (!SWIG_IsOK(res2)) {
5093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5094 }
5095 arg2 = reinterpret_cast< wxWindow * >(argp2);
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->SetTargetWindow(arg2);
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 resultobj = SWIG_Py_Void();
5103 return resultobj;
5104fail:
5105 return NULL;
d55e5bfc
RD
5106}
5107
5108
1bd55598
RD
5109SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5110 PyObject *resultobj = 0;
5111 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5112 wxWindow *result = 0 ;
5113 void *argp1 = 0 ;
5114 int res1 = 0 ;
5115 PyObject *swig_obj[1] ;
5116
5117 if (!args) SWIG_fail;
5118 swig_obj[0] = args;
5119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5120 if (!SWIG_IsOK(res1)) {
5121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5122 }
5123 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 {
5131 resultobj = wxPyMake_wxObject(result, 0);
5132 }
5133 return resultobj;
5134fail:
5135 return NULL;
5136}
5137
5138
5139SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj = 0;
5141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5142 wxRect *arg2 = 0 ;
5143 void *argp1 = 0 ;
5144 int res1 = 0 ;
5145 wxRect temp2 ;
5146 PyObject * obj0 = 0 ;
5147 PyObject * obj1 = 0 ;
5148 char * kwnames[] = {
5149 (char *) "self",(char *) "rect", NULL
5150 };
5151
5152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5154 if (!SWIG_IsOK(res1)) {
5155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5156 }
5157 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5158 {
5159 arg2 = &temp2;
5160 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5161 }
5162 {
5163 PyThreadState* __tstate = wxPyBeginAllowThreads();
5164 (arg1)->SetTargetRect((wxRect const &)*arg2);
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 resultobj = SWIG_Py_Void();
5169 return resultobj;
5170fail:
5171 return NULL;
d55e5bfc
RD
5172}
5173
5174
1bd55598
RD
5175SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5176 PyObject *resultobj = 0;
5177 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5178 wxRect result;
5179 void *argp1 = 0 ;
5180 int res1 = 0 ;
5181 PyObject *swig_obj[1] ;
5182
5183 if (!args) SWIG_fail;
5184 swig_obj[0] = args;
5185 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5186 if (!SWIG_IsOK(res1)) {
5187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5188 }
5189 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5190 {
5191 PyThreadState* __tstate = wxPyBeginAllowThreads();
5192 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5193 wxPyEndAllowThreads(__tstate);
5194 if (PyErr_Occurred()) SWIG_fail;
5195 }
5196 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5197 return resultobj;
5198fail:
5199 return NULL;
5200}
5201
5202
5203SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5204 PyObject *resultobj = 0;
5205 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5206 wxDC *arg2 = 0 ;
5207 void *argp1 = 0 ;
5208 int res1 = 0 ;
5209 void *argp2 = 0 ;
5210 int res2 = 0 ;
5211 PyObject * obj0 = 0 ;
5212 PyObject * obj1 = 0 ;
5213 char * kwnames[] = {
5214 (char *) "self",(char *) "dc", NULL
5215 };
5216
5217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5219 if (!SWIG_IsOK(res1)) {
5220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5221 }
5222 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5223 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5224 if (!SWIG_IsOK(res2)) {
5225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5226 }
5227 if (!argp2) {
5228 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5229 }
5230 arg2 = reinterpret_cast< wxDC * >(argp2);
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 (arg1)->DoPrepareDC(*arg2);
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_Py_Void();
5238 return resultobj;
5239fail:
5240 return NULL;
5241}
5242
5243
5244SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5245 PyObject *resultobj = 0;
5246 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5247 SwigValueWrapper<wxVisualAttributes > result;
5248 int val1 ;
5249 int ecode1 = 0 ;
5250 PyObject * obj0 = 0 ;
5251 char * kwnames[] = {
5252 (char *) "variant", NULL
5253 };
5254
5255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5256 if (obj0) {
5257 ecode1 = SWIG_AsVal_int(obj0, &val1);
5258 if (!SWIG_IsOK(ecode1)) {
5259 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5260 }
5261 arg1 = static_cast< wxWindowVariant >(val1);
5262 }
5263 {
5264 if (!wxPyCheckForApp()) SWIG_fail;
5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
5266 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5271 return resultobj;
5272fail:
5273 return NULL;
d55e5bfc
RD
5274}
5275
5276
1bd55598
RD
5277SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5278 PyObject *obj;
5279 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5280 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5281 return SWIG_Py_Void();
d55e5bfc
RD
5282}
5283
1bd55598
RD
5284SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5285 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
5286}
5287
1bd55598
RD
5288SWIGINTERN int FrameNameStr_set(PyObject *) {
5289 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5290 return 1;
d55e5bfc
RD
5291}
5292
5293
1bd55598
RD
5294SWIGINTERN PyObject *FrameNameStr_get(void) {
5295 PyObject *pyobj = 0;
5296
5297 {
5298#if wxUSE_UNICODE
5299 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5300#else
5301 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5302#endif
5303 }
5304 return pyobj;
d55e5bfc
RD
5305}
5306
5307
1bd55598
RD
5308SWIGINTERN int DialogNameStr_set(PyObject *) {
5309 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5310 return 1;
d55e5bfc
RD
5311}
5312
5313
1bd55598
RD
5314SWIGINTERN PyObject *DialogNameStr_get(void) {
5315 PyObject *pyobj = 0;
5316
5317 {
5318#if wxUSE_UNICODE
5319 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5320#else
5321 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5322#endif
5323 }
5324 return pyobj;
d55e5bfc
RD
5325}
5326
5327
1bd55598
RD
5328SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5329 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5330 return 1;
d55e5bfc
RD
5331}
5332
5333
1bd55598
RD
5334SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5335 PyObject *pyobj = 0;
5336
5337 {
5338#if wxUSE_UNICODE
5339 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5340#else
5341 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5342#endif
5343 }
5344 return pyobj;
d55e5bfc
RD
5345}
5346
5347
1bd55598
RD
5348SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5349 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5350 return 1;
d55e5bfc
RD
5351}
5352
5353
1bd55598
RD
5354SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5355 PyObject *pyobj = 0;
5356
5357 {
5358#if wxUSE_UNICODE
5359 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5360#else
5361 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5362#endif
5363 }
5364 return pyobj;
5365}
5366
5367
5368SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5369 PyObject *resultobj = 0;
5370 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5371 bool arg2 = (bool) true ;
5372 void *argp1 = 0 ;
5373 int res1 = 0 ;
5374 bool val2 ;
5375 int ecode2 = 0 ;
5376 PyObject * obj0 = 0 ;
5377 PyObject * obj1 = 0 ;
5378 char * kwnames[] = {
5379 (char *) "self",(char *) "maximize", NULL
5380 };
5381
5382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5384 if (!SWIG_IsOK(res1)) {
5385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5386 }
5387 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5388 if (obj1) {
5389 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5390 if (!SWIG_IsOK(ecode2)) {
5391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5392 }
5393 arg2 = static_cast< bool >(val2);
5394 }
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 (arg1)->Maximize(arg2);
5398 wxPyEndAllowThreads(__tstate);
5399 if (PyErr_Occurred()) SWIG_fail;
5400 }
5401 resultobj = SWIG_Py_Void();
5402 return resultobj;
5403fail:
5404 return NULL;
d55e5bfc
RD
5405}
5406
5407
1bd55598
RD
5408SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5409 PyObject *resultobj = 0;
5410 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5411 void *argp1 = 0 ;
5412 int res1 = 0 ;
5413 PyObject *swig_obj[1] ;
5414
5415 if (!args) SWIG_fail;
5416 swig_obj[0] = args;
5417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5418 if (!SWIG_IsOK(res1)) {
5419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5420 }
5421 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 (arg1)->Restore();
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
5428 resultobj = SWIG_Py_Void();
5429 return resultobj;
5430fail:
5431 return NULL;
5432}
5433
5434
5435SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj = 0;
5437 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5438 bool arg2 = (bool) true ;
5439 void *argp1 = 0 ;
5440 int res1 = 0 ;
5441 bool val2 ;
5442 int ecode2 = 0 ;
5443 PyObject * obj0 = 0 ;
5444 PyObject * obj1 = 0 ;
5445 char * kwnames[] = {
5446 (char *) "self",(char *) "iconize", NULL
5447 };
5448
5449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5451 if (!SWIG_IsOK(res1)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5453 }
5454 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5455 if (obj1) {
5456 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5457 if (!SWIG_IsOK(ecode2)) {
5458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5459 }
5460 arg2 = static_cast< bool >(val2);
5461 }
5462 {
5463 PyThreadState* __tstate = wxPyBeginAllowThreads();
5464 (arg1)->Iconize(arg2);
5465 wxPyEndAllowThreads(__tstate);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 }
5468 resultobj = SWIG_Py_Void();
5469 return resultobj;
5470fail:
5471 return NULL;
d55e5bfc
RD
5472}
5473
5474
1bd55598
RD
5475SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5476 PyObject *resultobj = 0;
5477 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5478 bool result;
5479 void *argp1 = 0 ;
5480 int res1 = 0 ;
5481 PyObject *swig_obj[1] ;
5482
5483 if (!args) SWIG_fail;
5484 swig_obj[0] = args;
5485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5486 if (!SWIG_IsOK(res1)) {
5487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5488 }
5489 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 {
5497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5498 }
5499 return resultobj;
5500fail:
5501 return NULL;
d55e5bfc
RD
5502}
5503
5504
2131d850
RD
5505SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5506 PyObject *resultobj = 0;
5507 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5508 bool result;
5509 void *argp1 = 0 ;
5510 int res1 = 0 ;
5511 PyObject *swig_obj[1] ;
5512
5513 if (!args) SWIG_fail;
5514 swig_obj[0] = args;
5515 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5516 if (!SWIG_IsOK(res1)) {
5517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5518 }
5519 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5520 {
5521 PyThreadState* __tstate = wxPyBeginAllowThreads();
5522 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 {
5527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5528 }
5529 return resultobj;
5530fail:
5531 return NULL;
5532}
5533
5534
1bd55598
RD
5535SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5536 PyObject *resultobj = 0;
5537 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5538 bool result;
5539 void *argp1 = 0 ;
5540 int res1 = 0 ;
5541 PyObject *swig_obj[1] ;
5542
5543 if (!args) SWIG_fail;
5544 swig_obj[0] = args;
5545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5546 if (!SWIG_IsOK(res1)) {
5547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5548 }
5549 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5550 {
5551 PyThreadState* __tstate = wxPyBeginAllowThreads();
5552 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 {
5557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5558 }
5559 return resultobj;
5560fail:
5561 return NULL;
f5b96ee1
RD
5562}
5563
5564
1bd55598
RD
5565SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5566 PyObject *resultobj = 0;
5567 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5568 wxIcon result;
5569 void *argp1 = 0 ;
5570 int res1 = 0 ;
5571 PyObject *swig_obj[1] ;
5572
5573 if (!args) SWIG_fail;
5574 swig_obj[0] = args;
5575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5576 if (!SWIG_IsOK(res1)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5578 }
5579 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5587 return resultobj;
5588fail:
5589 return NULL;
5590}
5591
5592
5593SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj = 0;
5595 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5596 wxIcon *arg2 = 0 ;
5597 void *argp1 = 0 ;
5598 int res1 = 0 ;
5599 void *argp2 = 0 ;
5600 int res2 = 0 ;
5601 PyObject * obj0 = 0 ;
5602 PyObject * obj1 = 0 ;
5603 char * kwnames[] = {
5604 (char *) "self",(char *) "icon", NULL
5605 };
5606
5607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5609 if (!SWIG_IsOK(res1)) {
5610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5611 }
5612 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5613 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5614 if (!SWIG_IsOK(res2)) {
5615 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5616 }
5617 if (!argp2) {
5618 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5619 }
5620 arg2 = reinterpret_cast< wxIcon * >(argp2);
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 (arg1)->SetIcon((wxIcon const &)*arg2);
5624 wxPyEndAllowThreads(__tstate);
5625 if (PyErr_Occurred()) SWIG_fail;
5626 }
5627 resultobj = SWIG_Py_Void();
5628 return resultobj;
5629fail:
5630 return NULL;
5631}
5632
5633
5634SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5635 PyObject *resultobj = 0;
5636 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5637 wxIconBundle *arg2 = 0 ;
5638 void *argp1 = 0 ;
5639 int res1 = 0 ;
5640 void *argp2 = 0 ;
5641 int res2 = 0 ;
5642 PyObject * obj0 = 0 ;
5643 PyObject * obj1 = 0 ;
5644 char * kwnames[] = {
5645 (char *) "self",(char *) "icons", NULL
5646 };
5647
5648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5650 if (!SWIG_IsOK(res1)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5652 }
5653 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5654 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5655 if (!SWIG_IsOK(res2)) {
5656 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5657 }
5658 if (!argp2) {
5659 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5660 }
5661 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
5668 resultobj = SWIG_Py_Void();
5669 return resultobj;
5670fail:
5671 return NULL;
5672}
5673
5674
5675SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5676 PyObject *resultobj = 0;
5677 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5678 bool arg2 ;
5679 long arg3 = (long) wxFULLSCREEN_ALL ;
5680 bool result;
5681 void *argp1 = 0 ;
5682 int res1 = 0 ;
5683 bool val2 ;
5684 int ecode2 = 0 ;
5685 long val3 ;
5686 int ecode3 = 0 ;
5687 PyObject * obj0 = 0 ;
5688 PyObject * obj1 = 0 ;
5689 PyObject * obj2 = 0 ;
5690 char * kwnames[] = {
5691 (char *) "self",(char *) "show",(char *) "style", NULL
5692 };
5693
5694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5696 if (!SWIG_IsOK(res1)) {
5697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5698 }
5699 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5700 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5701 if (!SWIG_IsOK(ecode2)) {
5702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5703 }
5704 arg2 = static_cast< bool >(val2);
5705 if (obj2) {
5706 ecode3 = SWIG_AsVal_long(obj2, &val3);
5707 if (!SWIG_IsOK(ecode3)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5709 }
5710 arg3 = static_cast< long >(val3);
5711 }
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
5718 {
5719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5720 }
5721 return resultobj;
5722fail:
5723 return NULL;
f20a2e1f
RD
5724}
5725
5726
1bd55598
RD
5727SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5728 PyObject *resultobj = 0;
5729 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5730 bool result;
5731 void *argp1 = 0 ;
5732 int res1 = 0 ;
5733 PyObject *swig_obj[1] ;
5734
5735 if (!args) SWIG_fail;
5736 swig_obj[0] = args;
5737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5738 if (!SWIG_IsOK(res1)) {
5739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5740 }
5741 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5745 wxPyEndAllowThreads(__tstate);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5750 }
5751 return resultobj;
5752fail:
5753 return NULL;
5754}
5755
5756
5757SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5758 PyObject *resultobj = 0;
5759 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5760 wxString *arg2 = 0 ;
5761 void *argp1 = 0 ;
5762 int res1 = 0 ;
5763 bool temp2 = false ;
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 char * kwnames[] = {
5767 (char *) "self",(char *) "title", NULL
5768 };
5769
5770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5772 if (!SWIG_IsOK(res1)) {
5773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5774 }
5775 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5776 {
5777 arg2 = wxString_in_helper(obj1);
5778 if (arg2 == NULL) SWIG_fail;
5779 temp2 = true;
5780 }
5781 {
5782 PyThreadState* __tstate = wxPyBeginAllowThreads();
5783 (arg1)->SetTitle((wxString const &)*arg2);
5784 wxPyEndAllowThreads(__tstate);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 }
5787 resultobj = SWIG_Py_Void();
5788 {
5789 if (temp2)
5790 delete arg2;
5791 }
5792 return resultobj;
5793fail:
5794 {
5795 if (temp2)
5796 delete arg2;
5797 }
5798 return NULL;
d55e5bfc
RD
5799}
5800
5801
1bd55598
RD
5802SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5803 PyObject *resultobj = 0;
5804 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5805 wxString result;
5806 void *argp1 = 0 ;
5807 int res1 = 0 ;
5808 PyObject *swig_obj[1] ;
5809
5810 if (!args) SWIG_fail;
5811 swig_obj[0] = args;
5812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5813 if (!SWIG_IsOK(res1)) {
5814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5815 }
5816 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
5823 {
d55e5bfc 5824#if wxUSE_UNICODE
1bd55598 5825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5826#else
1bd55598 5827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5828#endif
1bd55598
RD
5829 }
5830 return resultobj;
5831fail:
5832 return NULL;
5833}
5834
5835
70d7cb34
RD
5836SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj = 0;
5838 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5839 bool arg2 ;
5840 bool result;
5841 void *argp1 = 0 ;
5842 int res1 = 0 ;
5843 bool val2 ;
5844 int ecode2 = 0 ;
5845 PyObject * obj0 = 0 ;
5846 PyObject * obj1 = 0 ;
5847 char * kwnames[] = {
5848 (char *) "self",(char *) "enable", NULL
5849 };
5850
5851 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5852 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5853 if (!SWIG_IsOK(res1)) {
5854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5855 }
5856 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5857 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5858 if (!SWIG_IsOK(ecode2)) {
5859 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5860 }
5861 arg2 = static_cast< bool >(val2);
5862 {
5863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5864 result = (bool)(arg1)->EnableCloseButton(arg2);
5865 wxPyEndAllowThreads(__tstate);
5866 if (PyErr_Occurred()) SWIG_fail;
5867 }
5868 {
5869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5870 }
5871 return resultobj;
5872fail:
5873 return NULL;
5874}
5875
5876
1bd55598
RD
5877SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj = 0;
5879 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5880 wxRegion *arg2 = 0 ;
5881 bool result;
5882 void *argp1 = 0 ;
5883 int res1 = 0 ;
5884 void *argp2 = 0 ;
5885 int res2 = 0 ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 char * kwnames[] = {
5889 (char *) "self",(char *) "region", NULL
5890 };
5891
5892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5894 if (!SWIG_IsOK(res1)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5896 }
5897 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5898 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5899 if (!SWIG_IsOK(res2)) {
5900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5901 }
5902 if (!argp2) {
5903 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5904 }
5905 arg2 = reinterpret_cast< wxRegion * >(argp2);
5906 {
5907 PyThreadState* __tstate = wxPyBeginAllowThreads();
5908 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 {
5913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5914 }
5915 return resultobj;
5916fail:
5917 return NULL;
5918}
5919
5920
5921SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5922 PyObject *resultobj = 0;
5923 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5924 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5925 void *argp1 = 0 ;
5926 int res1 = 0 ;
5927 int val2 ;
5928 int ecode2 = 0 ;
5929 PyObject * obj0 = 0 ;
5930 PyObject * obj1 = 0 ;
5931 char * kwnames[] = {
5932 (char *) "self",(char *) "flags", NULL
5933 };
5934
5935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5937 if (!SWIG_IsOK(res1)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5939 }
5940 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5941 if (obj1) {
5942 ecode2 = SWIG_AsVal_int(obj1, &val2);
5943 if (!SWIG_IsOK(ecode2)) {
5944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5945 }
5946 arg2 = static_cast< int >(val2);
5947 }
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 (arg1)->RequestUserAttention(arg2);
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 resultobj = SWIG_Py_Void();
5955 return resultobj;
5956fail:
5957 return NULL;
d55e5bfc
RD
5958}
5959
5960
1bd55598
RD
5961SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5962 PyObject *resultobj = 0;
5963 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5964 bool result;
5965 void *argp1 = 0 ;
5966 int res1 = 0 ;
5967 PyObject *swig_obj[1] ;
5968
5969 if (!args) SWIG_fail;
5970 swig_obj[0] = args;
5971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5972 if (!SWIG_IsOK(res1)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5974 }
5975 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 result = (bool)(arg1)->IsActive();
5979 wxPyEndAllowThreads(__tstate);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 {
5983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5984 }
5985 return resultobj;
5986fail:
5987 return NULL;
5988}
5989
5990
5991SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj = 0;
5993 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5994 bool arg2 ;
5995 void *argp1 = 0 ;
5996 int res1 = 0 ;
5997 bool val2 ;
5998 int ecode2 = 0 ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 char * kwnames[] = {
6002 (char *) "self",(char *) "on", NULL
6003 };
6004
6005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6007 if (!SWIG_IsOK(res1)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6009 }
6010 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6011 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6012 if (!SWIG_IsOK(ecode2)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6014 }
6015 arg2 = static_cast< bool >(val2);
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = SWIG_Py_Void();
6023 return resultobj;
6024fail:
6025 return NULL;
d55e5bfc
RD
6026}
6027
6028
1bd55598
RD
6029SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6030 PyObject *resultobj = 0;
6031 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6032 bool result;
6033 void *argp1 = 0 ;
6034 int res1 = 0 ;
6035 PyObject *swig_obj[1] ;
6036
6037 if (!args) SWIG_fail;
6038 swig_obj[0] = args;
6039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6042 }
6043 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 {
6051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6052 }
6053 return resultobj;
6054fail:
6055 return NULL;
6056}
6057
6058
6059SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6060 PyObject *resultobj = 0;
6061 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6062 int arg2 = (int) wxBOTH ;
6063 void *argp1 = 0 ;
6064 int res1 = 0 ;
6065 int val2 ;
6066 int ecode2 = 0 ;
6067 PyObject * obj0 = 0 ;
6068 PyObject * obj1 = 0 ;
6069 char * kwnames[] = {
6070 (char *) "self",(char *) "dir", NULL
6071 };
6072
6073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6075 if (!SWIG_IsOK(res1)) {
6076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6077 }
6078 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6079 if (obj1) {
6080 ecode2 = SWIG_AsVal_int(obj1, &val2);
6081 if (!SWIG_IsOK(ecode2)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6083 }
6084 arg2 = static_cast< int >(val2);
6085 }
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 (arg1)->CenterOnScreen(arg2);
6089 wxPyEndAllowThreads(__tstate);
6090 if (PyErr_Occurred()) SWIG_fail;
6091 }
6092 resultobj = SWIG_Py_Void();
6093 return resultobj;
6094fail:
6095 return NULL;
6096}
6097
6098
1eeb270e
RD
6099SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6100 PyObject *resultobj = 0;
6101 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6102 wxWindow *result = 0 ;
6103 void *argp1 = 0 ;
6104 int res1 = 0 ;
6105 PyObject *swig_obj[1] ;
6106
6107 if (!args) SWIG_fail;
6108 swig_obj[0] = args;
6109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6110 if (!SWIG_IsOK(res1)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6112 }
6113 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 {
6121 resultobj = wxPyMake_wxObject(result, 0);
6122 }
6123 return resultobj;
6124fail:
6125 return NULL;
6126}
6127
6128
6129SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj = 0;
6131 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6132 wxWindow *arg2 = (wxWindow *) 0 ;
6133 wxWindow *result = 0 ;
6134 void *argp1 = 0 ;
6135 int res1 = 0 ;
6136 void *argp2 = 0 ;
6137 int res2 = 0 ;
6138 PyObject * obj0 = 0 ;
6139 PyObject * obj1 = 0 ;
6140 char * kwnames[] = {
6141 (char *) "self",(char *) "child", NULL
6142 };
6143
6144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6146 if (!SWIG_IsOK(res1)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6148 }
6149 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6150 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6151 if (!SWIG_IsOK(res2)) {
6152 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6153 }
6154 arg2 = reinterpret_cast< wxWindow * >(argp2);
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 {
6162 resultobj = wxPyMake_wxObject(result, 0);
6163 }
6164 return resultobj;
6165fail:
6166 return NULL;
6167}
6168
6169
6170SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6171 PyObject *resultobj = 0;
6172 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6173 wxWindow *arg2 = (wxWindow *) 0 ;
6174 void *argp1 = 0 ;
6175 int res1 = 0 ;
6176 void *argp2 = 0 ;
6177 int res2 = 0 ;
6178 PyObject * obj0 = 0 ;
6179 PyObject * obj1 = 0 ;
6180 char * kwnames[] = {
6181 (char *) "self",(char *) "win", NULL
6182 };
6183
6184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6186 if (!SWIG_IsOK(res1)) {
6187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6188 }
6189 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6190 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6191 if (!SWIG_IsOK(res2)) {
6192 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6193 }
6194 arg2 = reinterpret_cast< wxWindow * >(argp2);
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 (arg1)->SetTmpDefaultItem(arg2);
6198 wxPyEndAllowThreads(__tstate);
6199 if (PyErr_Occurred()) SWIG_fail;
6200 }
6201 resultobj = SWIG_Py_Void();
6202 return resultobj;
6203fail:
6204 return NULL;
6205}
6206
6207
6208SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6209 PyObject *resultobj = 0;
6210 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6211 wxWindow *result = 0 ;
6212 void *argp1 = 0 ;
6213 int res1 = 0 ;
6214 PyObject *swig_obj[1] ;
6215
6216 if (!args) SWIG_fail;
6217 swig_obj[0] = args;
6218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6219 if (!SWIG_IsOK(res1)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6221 }
6222 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6226 wxPyEndAllowThreads(__tstate);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 {
6230 resultobj = wxPyMake_wxObject(result, 0);
6231 }
6232 return resultobj;
6233fail:
6234 return NULL;
6235}
6236
6237
1bd55598
RD
6238SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6239 PyObject *obj;
6240 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6241 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6242 return SWIG_Py_Void();
6243}
6244
6245SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6246 PyObject *resultobj = 0;
6247 wxWindow *arg1 = (wxWindow *) 0 ;
6248 int arg2 = (int) (int)-1 ;
6249 wxString const &arg3_defvalue = wxPyEmptyString ;
6250 wxString *arg3 = (wxString *) &arg3_defvalue ;
6251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6253 wxSize const &arg5_defvalue = wxDefaultSize ;
6254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6255 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6256 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6257 wxString *arg7 = (wxString *) &arg7_defvalue ;
6258 wxFrame *result = 0 ;
6259 void *argp1 = 0 ;
6260 int res1 = 0 ;
6261 int val2 ;
6262 int ecode2 = 0 ;
6263 bool temp3 = false ;
6264 wxPoint temp4 ;
6265 wxSize temp5 ;
6266 long val6 ;
6267 int ecode6 = 0 ;
6268 bool temp7 = false ;
6269 PyObject * obj0 = 0 ;
6270 PyObject * obj1 = 0 ;
6271 PyObject * obj2 = 0 ;
6272 PyObject * obj3 = 0 ;
6273 PyObject * obj4 = 0 ;
6274 PyObject * obj5 = 0 ;
6275 PyObject * obj6 = 0 ;
6276 char * kwnames[] = {
6277 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6278 };
6279
6280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6282 if (!SWIG_IsOK(res1)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6284 }
6285 arg1 = reinterpret_cast< wxWindow * >(argp1);
6286 if (obj1) {
6287 ecode2 = SWIG_AsVal_int(obj1, &val2);
6288 if (!SWIG_IsOK(ecode2)) {
6289 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6290 }
6291 arg2 = static_cast< int >(val2);
6292 }
6293 if (obj2) {
d55e5bfc 6294 {
1bd55598
RD
6295 arg3 = wxString_in_helper(obj2);
6296 if (arg3 == NULL) SWIG_fail;
6297 temp3 = true;
d55e5bfc 6298 }
1bd55598
RD
6299 }
6300 if (obj3) {
d55e5bfc 6301 {
1bd55598
RD
6302 arg4 = &temp4;
6303 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 6304 }
1bd55598
RD
6305 }
6306 if (obj4) {
d55e5bfc 6307 {
1bd55598
RD
6308 arg5 = &temp5;
6309 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6310 }
1bd55598
RD
6311 }
6312 if (obj5) {
6313 ecode6 = SWIG_AsVal_long(obj5, &val6);
6314 if (!SWIG_IsOK(ecode6)) {
6315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6316 }
6317 arg6 = static_cast< long >(val6);
6318 }
6319 if (obj6) {
d55e5bfc 6320 {
1bd55598
RD
6321 arg7 = wxString_in_helper(obj6);
6322 if (arg7 == NULL) SWIG_fail;
6323 temp7 = true;
6324 }
6325 }
6326 {
6327 if (!wxPyCheckForApp()) SWIG_fail;
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6334 {
6335 if (temp3)
6336 delete arg3;
6337 }
6338 {
6339 if (temp7)
6340 delete arg7;
6341 }
6342 return resultobj;
6343fail:
6344 {
6345 if (temp3)
6346 delete arg3;
6347 }
6348 {
6349 if (temp7)
6350 delete arg7;
6351 }
6352 return NULL;
d55e5bfc
RD
6353}
6354
6355
1bd55598
RD
6356SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6357 PyObject *resultobj = 0;
6358 wxFrame *result = 0 ;
6359
6360 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6361 {
6362 if (!wxPyCheckForApp()) SWIG_fail;
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 result = (wxFrame *)new wxFrame();
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6369 return resultobj;
6370fail:
6371 return NULL;
6372}
6373
6374
6375SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6376 PyObject *resultobj = 0;
6377 wxFrame *arg1 = (wxFrame *) 0 ;
6378 wxWindow *arg2 = (wxWindow *) 0 ;
6379 int arg3 = (int) (int)-1 ;
6380 wxString const &arg4_defvalue = wxPyEmptyString ;
6381 wxString *arg4 = (wxString *) &arg4_defvalue ;
6382 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6383 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6384 wxSize const &arg6_defvalue = wxDefaultSize ;
6385 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6386 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6387 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6388 wxString *arg8 = (wxString *) &arg8_defvalue ;
6389 bool result;
6390 void *argp1 = 0 ;
6391 int res1 = 0 ;
6392 void *argp2 = 0 ;
6393 int res2 = 0 ;
6394 int val3 ;
6395 int ecode3 = 0 ;
6396 bool temp4 = false ;
6397 wxPoint temp5 ;
6398 wxSize temp6 ;
6399 long val7 ;
6400 int ecode7 = 0 ;
6401 bool temp8 = false ;
6402 PyObject * obj0 = 0 ;
6403 PyObject * obj1 = 0 ;
6404 PyObject * obj2 = 0 ;
6405 PyObject * obj3 = 0 ;
6406 PyObject * obj4 = 0 ;
6407 PyObject * obj5 = 0 ;
6408 PyObject * obj6 = 0 ;
6409 PyObject * obj7 = 0 ;
6410 char * kwnames[] = {
6411 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6412 };
6413
6414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6416 if (!SWIG_IsOK(res1)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6418 }
6419 arg1 = reinterpret_cast< wxFrame * >(argp1);
6420 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6421 if (!SWIG_IsOK(res2)) {
6422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6423 }
6424 arg2 = reinterpret_cast< wxWindow * >(argp2);
6425 if (obj2) {
6426 ecode3 = SWIG_AsVal_int(obj2, &val3);
6427 if (!SWIG_IsOK(ecode3)) {
6428 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6429 }
6430 arg3 = static_cast< int >(val3);
6431 }
6432 if (obj3) {
d55e5bfc 6433 {
1bd55598
RD
6434 arg4 = wxString_in_helper(obj3);
6435 if (arg4 == NULL) SWIG_fail;
6436 temp4 = true;
d55e5bfc 6437 }
1bd55598
RD
6438 }
6439 if (obj4) {
d55e5bfc 6440 {
1bd55598
RD
6441 arg5 = &temp5;
6442 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6443 }
6444 }
6445 if (obj5) {
d55e5bfc 6446 {
1bd55598
RD
6447 arg6 = &temp6;
6448 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6449 }
1bd55598
RD
6450 }
6451 if (obj6) {
6452 ecode7 = SWIG_AsVal_long(obj6, &val7);
6453 if (!SWIG_IsOK(ecode7)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6455 }
6456 arg7 = static_cast< long >(val7);
6457 }
6458 if (obj7) {
d55e5bfc 6459 {
1bd55598
RD
6460 arg8 = wxString_in_helper(obj7);
6461 if (arg8 == NULL) SWIG_fail;
6462 temp8 = true;
d55e5bfc 6463 }
1bd55598
RD
6464 }
6465 {
6466 PyThreadState* __tstate = wxPyBeginAllowThreads();
6467 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6468 wxPyEndAllowThreads(__tstate);
6469 if (PyErr_Occurred()) SWIG_fail;
6470 }
6471 {
6472 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6473 }
6474 {
6475 if (temp4)
6476 delete arg4;
6477 }
6478 {
6479 if (temp8)
6480 delete arg8;
6481 }
6482 return resultobj;
6483fail:
6484 {
6485 if (temp4)
6486 delete arg4;
6487 }
6488 {
6489 if (temp8)
6490 delete arg8;
6491 }
6492 return NULL;
d55e5bfc
RD
6493}
6494
6495
1bd55598
RD
6496SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6497 PyObject *resultobj = 0;
6498 wxFrame *arg1 = (wxFrame *) 0 ;
6499 void *argp1 = 0 ;
6500 int res1 = 0 ;
6501 PyObject *swig_obj[1] ;
6502
6503 if (!args) SWIG_fail;
6504 swig_obj[0] = args;
6505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6506 if (!SWIG_IsOK(res1)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6508 }
6509 arg1 = reinterpret_cast< wxFrame * >(argp1);
6510 {
6511 PyThreadState* __tstate = wxPyBeginAllowThreads();
6512 (arg1)->SendSizeEvent();
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 resultobj = SWIG_Py_Void();
6517 return resultobj;
6518fail:
6519 return NULL;
6520}
6521
6522
6523SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6524 PyObject *resultobj = 0;
6525 wxFrame *arg1 = (wxFrame *) 0 ;
6526 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6527 void *argp1 = 0 ;
6528 int res1 = 0 ;
6529 void *argp2 = 0 ;
6530 int res2 = 0 ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 char * kwnames[] = {
6534 (char *) "self",(char *) "menubar", NULL
6535 };
6536
6537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6539 if (!SWIG_IsOK(res1)) {
6540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6541 }
6542 arg1 = reinterpret_cast< wxFrame * >(argp1);
6543 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6544 if (!SWIG_IsOK(res2)) {
6545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6546 }
6547 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 (arg1)->SetMenuBar(arg2);
6551 wxPyEndAllowThreads(__tstate);
6552 if (PyErr_Occurred()) SWIG_fail;
6553 }
6554 resultobj = SWIG_Py_Void();
6555 return resultobj;
6556fail:
6557 return NULL;
d55e5bfc
RD
6558}
6559
6560
1bd55598
RD
6561SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6562 PyObject *resultobj = 0;
6563 wxFrame *arg1 = (wxFrame *) 0 ;
6564 wxMenuBar *result = 0 ;
6565 void *argp1 = 0 ;
6566 int res1 = 0 ;
6567 PyObject *swig_obj[1] ;
6568
6569 if (!args) SWIG_fail;
6570 swig_obj[0] = args;
6571 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6572 if (!SWIG_IsOK(res1)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6574 }
6575 arg1 = reinterpret_cast< wxFrame * >(argp1);
6576 {
6577 PyThreadState* __tstate = wxPyBeginAllowThreads();
6578 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6579 wxPyEndAllowThreads(__tstate);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 }
6582 {
6583 resultobj = wxPyMake_wxObject(result, 0);
6584 }
6585 return resultobj;
6586fail:
6587 return NULL;
6588}
6589
6590
6591SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj = 0;
6593 wxFrame *arg1 = (wxFrame *) 0 ;
6594 int arg2 ;
6595 bool result;
6596 void *argp1 = 0 ;
6597 int res1 = 0 ;
6598 int val2 ;
6599 int ecode2 = 0 ;
6600 PyObject * obj0 = 0 ;
6601 PyObject * obj1 = 0 ;
6602 char * kwnames[] = {
6603 (char *) "self",(char *) "winid", NULL
6604 };
6605
6606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6608 if (!SWIG_IsOK(res1)) {
6609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6610 }
6611 arg1 = reinterpret_cast< wxFrame * >(argp1);
6612 ecode2 = SWIG_AsVal_int(obj1, &val2);
6613 if (!SWIG_IsOK(ecode2)) {
6614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6615 }
6616 arg2 = static_cast< int >(val2);
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 result = (bool)(arg1)->ProcessCommand(arg2);
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 {
6624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6625 }
6626 return resultobj;
6627fail:
6628 return NULL;
6629}
6630
6631
6632SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6633 PyObject *resultobj = 0;
6634 wxFrame *arg1 = (wxFrame *) 0 ;
6635 int arg2 = (int) 1 ;
6636 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6637 int arg4 = (int) 0 ;
6638 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6639 wxString *arg5 = (wxString *) &arg5_defvalue ;
6640 wxStatusBar *result = 0 ;
6641 void *argp1 = 0 ;
6642 int res1 = 0 ;
6643 int val2 ;
6644 int ecode2 = 0 ;
6645 long val3 ;
6646 int ecode3 = 0 ;
6647 int val4 ;
6648 int ecode4 = 0 ;
6649 bool temp5 = false ;
6650 PyObject * obj0 = 0 ;
6651 PyObject * obj1 = 0 ;
6652 PyObject * obj2 = 0 ;
6653 PyObject * obj3 = 0 ;
6654 PyObject * obj4 = 0 ;
6655 char * kwnames[] = {
6656 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6657 };
6658
6659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6661 if (!SWIG_IsOK(res1)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6663 }
6664 arg1 = reinterpret_cast< wxFrame * >(argp1);
6665 if (obj1) {
6666 ecode2 = SWIG_AsVal_int(obj1, &val2);
6667 if (!SWIG_IsOK(ecode2)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6669 }
6670 arg2 = static_cast< int >(val2);
6671 }
6672 if (obj2) {
6673 ecode3 = SWIG_AsVal_long(obj2, &val3);
6674 if (!SWIG_IsOK(ecode3)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6676 }
6677 arg3 = static_cast< long >(val3);
6678 }
6679 if (obj3) {
6680 ecode4 = SWIG_AsVal_int(obj3, &val4);
6681 if (!SWIG_IsOK(ecode4)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6683 }
6684 arg4 = static_cast< int >(val4);
6685 }
6686 if (obj4) {
d55e5bfc 6687 {
1bd55598
RD
6688 arg5 = wxString_in_helper(obj4);
6689 if (arg5 == NULL) SWIG_fail;
6690 temp5 = true;
d55e5bfc 6691 }
1bd55598
RD
6692 }
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6696 wxPyEndAllowThreads(__tstate);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 {
6700 resultobj = wxPyMake_wxObject(result, (bool)0);
6701 }
6702 {
6703 if (temp5)
6704 delete arg5;
6705 }
6706 return resultobj;
6707fail:
6708 {
6709 if (temp5)
6710 delete arg5;
6711 }
6712 return NULL;
d55e5bfc
RD
6713}
6714
6715
1bd55598
RD
6716SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6717 PyObject *resultobj = 0;
6718 wxFrame *arg1 = (wxFrame *) 0 ;
6719 wxStatusBar *result = 0 ;
6720 void *argp1 = 0 ;
6721 int res1 = 0 ;
6722 PyObject *swig_obj[1] ;
6723
6724 if (!args) SWIG_fail;
6725 swig_obj[0] = args;
6726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6727 if (!SWIG_IsOK(res1)) {
6728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6729 }
6730 arg1 = reinterpret_cast< wxFrame * >(argp1);
6731 {
6732 PyThreadState* __tstate = wxPyBeginAllowThreads();
6733 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6734 wxPyEndAllowThreads(__tstate);
6735 if (PyErr_Occurred()) SWIG_fail;
6736 }
6737 {
6738 resultobj = wxPyMake_wxObject(result, (bool)0);
6739 }
6740 return resultobj;
6741fail:
6742 return NULL;
6743}
6744
6745
6746SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj = 0;
6748 wxFrame *arg1 = (wxFrame *) 0 ;
6749 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6750 void *argp1 = 0 ;
6751 int res1 = 0 ;
6752 void *argp2 = 0 ;
6753 int res2 = 0 ;
6754 PyObject * obj0 = 0 ;
6755 PyObject * obj1 = 0 ;
6756 char * kwnames[] = {
6757 (char *) "self",(char *) "statBar", NULL
6758 };
6759
6760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6762 if (!SWIG_IsOK(res1)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6764 }
6765 arg1 = reinterpret_cast< wxFrame * >(argp1);
6766 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6767 if (!SWIG_IsOK(res2)) {
6768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6769 }
6770 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 (arg1)->SetStatusBar(arg2);
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 resultobj = SWIG_Py_Void();
6778 return resultobj;
6779fail:
6780 return NULL;
6781}
6782
6783
6784SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj = 0;
6786 wxFrame *arg1 = (wxFrame *) 0 ;
6787 wxString *arg2 = 0 ;
6788 int arg3 = (int) 0 ;
6789 void *argp1 = 0 ;
6790 int res1 = 0 ;
6791 bool temp2 = false ;
6792 int val3 ;
6793 int ecode3 = 0 ;
6794 PyObject * obj0 = 0 ;
6795 PyObject * obj1 = 0 ;
6796 PyObject * obj2 = 0 ;
6797 char * kwnames[] = {
6798 (char *) "self",(char *) "text",(char *) "number", NULL
6799 };
6800
6801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6803 if (!SWIG_IsOK(res1)) {
6804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6805 }
6806 arg1 = reinterpret_cast< wxFrame * >(argp1);
6807 {
6808 arg2 = wxString_in_helper(obj1);
6809 if (arg2 == NULL) SWIG_fail;
6810 temp2 = true;
6811 }
6812 if (obj2) {
6813 ecode3 = SWIG_AsVal_int(obj2, &val3);
6814 if (!SWIG_IsOK(ecode3)) {
6815 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6816 }
6817 arg3 = static_cast< int >(val3);
6818 }
6819 {
6820 PyThreadState* __tstate = wxPyBeginAllowThreads();
6821 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 resultobj = SWIG_Py_Void();
6826 {
6827 if (temp2)
6828 delete arg2;
6829 }
6830 return resultobj;
6831fail:
6832 {
6833 if (temp2)
6834 delete arg2;
6835 }
6836 return NULL;
d55e5bfc
RD
6837}
6838
6839
1bd55598
RD
6840SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj = 0;
6842 wxFrame *arg1 = (wxFrame *) 0 ;
6843 int arg2 ;
6844 int *arg3 = (int *) 0 ;
6845 void *argp1 = 0 ;
6846 int res1 = 0 ;
6847 PyObject * obj0 = 0 ;
6848 PyObject * obj1 = 0 ;
6849 char * kwnames[] = {
6850 (char *) "self",(char *) "widths", NULL
6851 };
6852
6853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6855 if (!SWIG_IsOK(res1)) {
6856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6857 }
6858 arg1 = reinterpret_cast< wxFrame * >(argp1);
6859 {
6860 arg2 = PyList_Size(obj1);
6861 arg3 = int_LIST_helper(obj1);
6862 if (arg3 == NULL) SWIG_fail;
6863 }
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 resultobj = SWIG_Py_Void();
6871 {
6872 if (arg3) delete [] arg3;
6873 }
6874 return resultobj;
6875fail:
6876 {
6877 if (arg3) delete [] arg3;
6878 }
6879 return NULL;
6880}
6881
6882
6883SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6884 PyObject *resultobj = 0;
6885 wxFrame *arg1 = (wxFrame *) 0 ;
6886 wxString *arg2 = 0 ;
6887 int arg3 = (int) 0 ;
6888 void *argp1 = 0 ;
6889 int res1 = 0 ;
6890 bool temp2 = false ;
6891 int val3 ;
6892 int ecode3 = 0 ;
6893 PyObject * obj0 = 0 ;
6894 PyObject * obj1 = 0 ;
6895 PyObject * obj2 = 0 ;
6896 char * kwnames[] = {
6897 (char *) "self",(char *) "text",(char *) "number", NULL
6898 };
6899
6900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6902 if (!SWIG_IsOK(res1)) {
6903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6904 }
6905 arg1 = reinterpret_cast< wxFrame * >(argp1);
6906 {
6907 arg2 = wxString_in_helper(obj1);
6908 if (arg2 == NULL) SWIG_fail;
6909 temp2 = true;
6910 }
6911 if (obj2) {
6912 ecode3 = SWIG_AsVal_int(obj2, &val3);
6913 if (!SWIG_IsOK(ecode3)) {
6914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6915 }
6916 arg3 = static_cast< int >(val3);
6917 }
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6921 wxPyEndAllowThreads(__tstate);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 resultobj = SWIG_Py_Void();
6925 {
6926 if (temp2)
6927 delete arg2;
6928 }
6929 return resultobj;
6930fail:
6931 {
6932 if (temp2)
6933 delete arg2;
6934 }
6935 return NULL;
6936}
6937
6938
6939SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj = 0;
6941 wxFrame *arg1 = (wxFrame *) 0 ;
6942 int arg2 = (int) 0 ;
6943 void *argp1 = 0 ;
6944 int res1 = 0 ;
6945 int val2 ;
6946 int ecode2 = 0 ;
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj1 = 0 ;
6949 char * kwnames[] = {
6950 (char *) "self",(char *) "number", NULL
6951 };
6952
6953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6955 if (!SWIG_IsOK(res1)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6957 }
6958 arg1 = reinterpret_cast< wxFrame * >(argp1);
6959 if (obj1) {
6960 ecode2 = SWIG_AsVal_int(obj1, &val2);
6961 if (!SWIG_IsOK(ecode2)) {
6962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6963 }
6964 arg2 = static_cast< int >(val2);
6965 }
6966 {
6967 PyThreadState* __tstate = wxPyBeginAllowThreads();
6968 (arg1)->PopStatusText(arg2);
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 resultobj = SWIG_Py_Void();
6973 return resultobj;
6974fail:
6975 return NULL;
6976}
6977
6978
6979SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6980 PyObject *resultobj = 0;
6981 wxFrame *arg1 = (wxFrame *) 0 ;
6982 int arg2 ;
6983 void *argp1 = 0 ;
6984 int res1 = 0 ;
6985 int val2 ;
6986 int ecode2 = 0 ;
6987 PyObject * obj0 = 0 ;
6988 PyObject * obj1 = 0 ;
6989 char * kwnames[] = {
6990 (char *) "self",(char *) "n", NULL
6991 };
6992
6993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6995 if (!SWIG_IsOK(res1)) {
6996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6997 }
6998 arg1 = reinterpret_cast< wxFrame * >(argp1);
6999 ecode2 = SWIG_AsVal_int(obj1, &val2);
7000 if (!SWIG_IsOK(ecode2)) {
7001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7002 }
7003 arg2 = static_cast< int >(val2);
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 (arg1)->SetStatusBarPane(arg2);
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = SWIG_Py_Void();
7011 return resultobj;
7012fail:
7013 return NULL;
d55e5bfc
RD
7014}
7015
7016
1bd55598
RD
7017SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7018 PyObject *resultobj = 0;
7019 wxFrame *arg1 = (wxFrame *) 0 ;
7020 int result;
7021 void *argp1 = 0 ;
7022 int res1 = 0 ;
7023 PyObject *swig_obj[1] ;
7024
7025 if (!args) SWIG_fail;
7026 swig_obj[0] = args;
7027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7028 if (!SWIG_IsOK(res1)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7030 }
7031 arg1 = reinterpret_cast< wxFrame * >(argp1);
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 resultobj = SWIG_From_int(static_cast< int >(result));
7039 return resultobj;
7040fail:
7041 return NULL;
7042}
7043
7044
7045SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj = 0;
7047 wxFrame *arg1 = (wxFrame *) 0 ;
7048 long arg2 = (long) -1 ;
7049 int arg3 = (int) -1 ;
7050 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7051 wxString *arg4 = (wxString *) &arg4_defvalue ;
7052 wxToolBar *result = 0 ;
7053 void *argp1 = 0 ;
7054 int res1 = 0 ;
7055 long val2 ;
7056 int ecode2 = 0 ;
7057 int val3 ;
7058 int ecode3 = 0 ;
7059 bool temp4 = false ;
7060 PyObject * obj0 = 0 ;
7061 PyObject * obj1 = 0 ;
7062 PyObject * obj2 = 0 ;
7063 PyObject * obj3 = 0 ;
7064 char * kwnames[] = {
7065 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7066 };
7067
7068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7070 if (!SWIG_IsOK(res1)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7072 }
7073 arg1 = reinterpret_cast< wxFrame * >(argp1);
7074 if (obj1) {
7075 ecode2 = SWIG_AsVal_long(obj1, &val2);
7076 if (!SWIG_IsOK(ecode2)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7078 }
7079 arg2 = static_cast< long >(val2);
7080 }
7081 if (obj2) {
7082 ecode3 = SWIG_AsVal_int(obj2, &val3);
7083 if (!SWIG_IsOK(ecode3)) {
7084 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7085 }
7086 arg3 = static_cast< int >(val3);
7087 }
7088 if (obj3) {
d55e5bfc 7089 {
1bd55598
RD
7090 arg4 = wxString_in_helper(obj3);
7091 if (arg4 == NULL) SWIG_fail;
7092 temp4 = true;
d55e5bfc 7093 }
1bd55598
RD
7094 }
7095 {
7096 PyThreadState* __tstate = wxPyBeginAllowThreads();
7097 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 {
7102 resultobj = wxPyMake_wxObject(result, (bool)0);
7103 }
7104 {
7105 if (temp4)
7106 delete arg4;
7107 }
7108 return resultobj;
7109fail:
7110 {
7111 if (temp4)
7112 delete arg4;
7113 }
7114 return NULL;
d55e5bfc
RD
7115}
7116
7117
1bd55598
RD
7118SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7119 PyObject *resultobj = 0;
7120 wxFrame *arg1 = (wxFrame *) 0 ;
7121 wxToolBar *result = 0 ;
7122 void *argp1 = 0 ;
7123 int res1 = 0 ;
7124 PyObject *swig_obj[1] ;
7125
7126 if (!args) SWIG_fail;
7127 swig_obj[0] = args;
7128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7129 if (!SWIG_IsOK(res1)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7131 }
7132 arg1 = reinterpret_cast< wxFrame * >(argp1);
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 {
7140 resultobj = wxPyMake_wxObject(result, (bool)0);
7141 }
7142 return resultobj;
7143fail:
7144 return NULL;
7145}
7146
7147
7148SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7149 PyObject *resultobj = 0;
7150 wxFrame *arg1 = (wxFrame *) 0 ;
7151 wxToolBar *arg2 = (wxToolBar *) 0 ;
7152 void *argp1 = 0 ;
7153 int res1 = 0 ;
7154 void *argp2 = 0 ;
7155 int res2 = 0 ;
7156 PyObject * obj0 = 0 ;
7157 PyObject * obj1 = 0 ;
7158 char * kwnames[] = {
7159 (char *) "self",(char *) "toolbar", NULL
7160 };
7161
7162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7164 if (!SWIG_IsOK(res1)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7166 }
7167 arg1 = reinterpret_cast< wxFrame * >(argp1);
7168 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7169 if (!SWIG_IsOK(res2)) {
7170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7171 }
7172 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 (arg1)->SetToolBar(arg2);
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 resultobj = SWIG_Py_Void();
7180 return resultobj;
7181fail:
7182 return NULL;
7183}
7184
7185
7186SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj = 0;
7188 wxFrame *arg1 = (wxFrame *) 0 ;
7189 wxString *arg2 = 0 ;
7190 bool arg3 ;
7191 void *argp1 = 0 ;
7192 int res1 = 0 ;
7193 bool temp2 = false ;
7194 bool val3 ;
7195 int ecode3 = 0 ;
7196 PyObject * obj0 = 0 ;
7197 PyObject * obj1 = 0 ;
7198 PyObject * obj2 = 0 ;
7199 char * kwnames[] = {
7200 (char *) "self",(char *) "text",(char *) "show", NULL
7201 };
7202
7203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7205 if (!SWIG_IsOK(res1)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7207 }
7208 arg1 = reinterpret_cast< wxFrame * >(argp1);
7209 {
7210 arg2 = wxString_in_helper(obj1);
7211 if (arg2 == NULL) SWIG_fail;
7212 temp2 = true;
7213 }
7214 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7215 if (!SWIG_IsOK(ecode3)) {
7216 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7217 }
7218 arg3 = static_cast< bool >(val3);
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 resultobj = SWIG_Py_Void();
7226 {
7227 if (temp2)
7228 delete arg2;
7229 }
7230 return resultobj;
7231fail:
7232 {
7233 if (temp2)
7234 delete arg2;
7235 }
7236 return NULL;
7237}
7238
7239
7240SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj = 0;
7242 wxFrame *arg1 = (wxFrame *) 0 ;
7243 wxMenu *arg2 = (wxMenu *) NULL ;
7244 void *argp1 = 0 ;
7245 int res1 = 0 ;
7246 void *argp2 = 0 ;
7247 int res2 = 0 ;
7248 PyObject * obj0 = 0 ;
7249 PyObject * obj1 = 0 ;
7250 char * kwnames[] = {
7251 (char *) "self",(char *) "menu", NULL
7252 };
7253
7254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7256 if (!SWIG_IsOK(res1)) {
7257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7258 }
7259 arg1 = reinterpret_cast< wxFrame * >(argp1);
7260 if (obj1) {
7261 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7262 if (!SWIG_IsOK(res2)) {
7263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7264 }
1bd55598
RD
7265 arg2 = reinterpret_cast< wxMenu * >(argp2);
7266 }
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
7269 (arg1)->DoMenuUpdates(arg2);
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 resultobj = SWIG_Py_Void();
7274 return resultobj;
7275fail:
7276 return NULL;
7277}
7278
7279
7280SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj = 0;
7282 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7283 SwigValueWrapper<wxVisualAttributes > result;
7284 int val1 ;
7285 int ecode1 = 0 ;
7286 PyObject * obj0 = 0 ;
7287 char * kwnames[] = {
7288 (char *) "variant", NULL
7289 };
7290
7291 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7292 if (obj0) {
7293 ecode1 = SWIG_AsVal_int(obj0, &val1);
7294 if (!SWIG_IsOK(ecode1)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7296 }
7297 arg1 = static_cast< wxWindowVariant >(val1);
7298 }
7299 {
7300 if (!wxPyCheckForApp()) SWIG_fail;
7301 PyThreadState* __tstate = wxPyBeginAllowThreads();
7302 result = wxFrame::GetClassDefaultAttributes(arg1);
7303 wxPyEndAllowThreads(__tstate);
7304 if (PyErr_Occurred()) SWIG_fail;
7305 }
7306 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7307 return resultobj;
7308fail:
7309 return NULL;
7310}
7311
7312
7313SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7314 PyObject *obj;
7315 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7316 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7317 return SWIG_Py_Void();
7318}
7319
7320SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7321 return SWIG_Python_InitShadowInstance(args);
7322}
7323
7324SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj = 0;
7326 wxWindow *arg1 = (wxWindow *) 0 ;
7327 int arg2 = (int) (int)-1 ;
7328 wxString const &arg3_defvalue = wxPyEmptyString ;
7329 wxString *arg3 = (wxString *) &arg3_defvalue ;
7330 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7331 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7332 wxSize const &arg5_defvalue = wxDefaultSize ;
7333 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7334 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7335 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7336 wxString *arg7 = (wxString *) &arg7_defvalue ;
7337 wxDialog *result = 0 ;
7338 void *argp1 = 0 ;
7339 int res1 = 0 ;
7340 int val2 ;
7341 int ecode2 = 0 ;
7342 bool temp3 = false ;
7343 wxPoint temp4 ;
7344 wxSize temp5 ;
7345 long val6 ;
7346 int ecode6 = 0 ;
7347 bool temp7 = false ;
7348 PyObject * obj0 = 0 ;
7349 PyObject * obj1 = 0 ;
7350 PyObject * obj2 = 0 ;
7351 PyObject * obj3 = 0 ;
7352 PyObject * obj4 = 0 ;
7353 PyObject * obj5 = 0 ;
7354 PyObject * obj6 = 0 ;
7355 char * kwnames[] = {
7356 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7357 };
7358
7359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7361 if (!SWIG_IsOK(res1)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7363 }
7364 arg1 = reinterpret_cast< wxWindow * >(argp1);
7365 if (obj1) {
7366 ecode2 = SWIG_AsVal_int(obj1, &val2);
7367 if (!SWIG_IsOK(ecode2)) {
7368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7369 }
7370 arg2 = static_cast< int >(val2);
7371 }
7372 if (obj2) {
d55e5bfc 7373 {
1bd55598
RD
7374 arg3 = wxString_in_helper(obj2);
7375 if (arg3 == NULL) SWIG_fail;
7376 temp3 = true;
d55e5bfc 7377 }
1bd55598
RD
7378 }
7379 if (obj3) {
d55e5bfc 7380 {
1bd55598
RD
7381 arg4 = &temp4;
7382 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7383 }
1bd55598
RD
7384 }
7385 if (obj4) {
d55e5bfc 7386 {
1bd55598
RD
7387 arg5 = &temp5;
7388 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7389 }
1bd55598
RD
7390 }
7391 if (obj5) {
7392 ecode6 = SWIG_AsVal_long(obj5, &val6);
7393 if (!SWIG_IsOK(ecode6)) {
7394 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7395 }
7396 arg6 = static_cast< long >(val6);
7397 }
7398 if (obj6) {
d55e5bfc 7399 {
1bd55598
RD
7400 arg7 = wxString_in_helper(obj6);
7401 if (arg7 == NULL) SWIG_fail;
7402 temp7 = true;
d55e5bfc 7403 }
1bd55598
RD
7404 }
7405 {
7406 if (!wxPyCheckForApp()) SWIG_fail;
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7413 {
7414 if (temp3)
7415 delete arg3;
7416 }
7417 {
7418 if (temp7)
7419 delete arg7;
7420 }
7421 return resultobj;
7422fail:
7423 {
7424 if (temp3)
7425 delete arg3;
7426 }
7427 {
7428 if (temp7)
7429 delete arg7;
7430 }
7431 return NULL;
d55e5bfc
RD
7432}
7433
7434
1bd55598
RD
7435SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7436 PyObject *resultobj = 0;
7437 wxDialog *result = 0 ;
7438
7439 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7440 {
7441 if (!wxPyCheckForApp()) SWIG_fail;
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (wxDialog *)new wxDialog();
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7448 return resultobj;
7449fail:
7450 return NULL;
7451}
7452
7453
7454SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj = 0;
7456 wxDialog *arg1 = (wxDialog *) 0 ;
7457 wxWindow *arg2 = (wxWindow *) 0 ;
7458 int arg3 = (int) (int)-1 ;
7459 wxString const &arg4_defvalue = wxPyEmptyString ;
7460 wxString *arg4 = (wxString *) &arg4_defvalue ;
7461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7463 wxSize const &arg6_defvalue = wxDefaultSize ;
7464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7465 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7466 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7467 wxString *arg8 = (wxString *) &arg8_defvalue ;
7468 bool result;
7469 void *argp1 = 0 ;
7470 int res1 = 0 ;
7471 void *argp2 = 0 ;
7472 int res2 = 0 ;
7473 int val3 ;
7474 int ecode3 = 0 ;
7475 bool temp4 = false ;
7476 wxPoint temp5 ;
7477 wxSize temp6 ;
7478 long val7 ;
7479 int ecode7 = 0 ;
7480 bool temp8 = false ;
7481 PyObject * obj0 = 0 ;
7482 PyObject * obj1 = 0 ;
7483 PyObject * obj2 = 0 ;
7484 PyObject * obj3 = 0 ;
7485 PyObject * obj4 = 0 ;
7486 PyObject * obj5 = 0 ;
7487 PyObject * obj6 = 0 ;
7488 PyObject * obj7 = 0 ;
7489 char * kwnames[] = {
7490 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7491 };
7492
7493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7495 if (!SWIG_IsOK(res1)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7497 }
7498 arg1 = reinterpret_cast< wxDialog * >(argp1);
7499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7500 if (!SWIG_IsOK(res2)) {
7501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7502 }
7503 arg2 = reinterpret_cast< wxWindow * >(argp2);
7504 if (obj2) {
7505 ecode3 = SWIG_AsVal_int(obj2, &val3);
7506 if (!SWIG_IsOK(ecode3)) {
7507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7508 }
7509 arg3 = static_cast< int >(val3);
7510 }
7511 if (obj3) {
d55e5bfc 7512 {
1bd55598
RD
7513 arg4 = wxString_in_helper(obj3);
7514 if (arg4 == NULL) SWIG_fail;
7515 temp4 = true;
d55e5bfc 7516 }
1bd55598
RD
7517 }
7518 if (obj4) {
36ed4f51 7519 {
1bd55598
RD
7520 arg5 = &temp5;
7521 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7522 }
1bd55598
RD
7523 }
7524 if (obj5) {
d55e5bfc 7525 {
1bd55598
RD
7526 arg6 = &temp6;
7527 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7528 }
1bd55598
RD
7529 }
7530 if (obj6) {
7531 ecode7 = SWIG_AsVal_long(obj6, &val7);
7532 if (!SWIG_IsOK(ecode7)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7534 }
7535 arg7 = static_cast< long >(val7);
7536 }
7537 if (obj7) {
d55e5bfc 7538 {
1bd55598
RD
7539 arg8 = wxString_in_helper(obj7);
7540 if (arg8 == NULL) SWIG_fail;
7541 temp8 = true;
d55e5bfc 7542 }
1bd55598
RD
7543 }
7544 {
7545 PyThreadState* __tstate = wxPyBeginAllowThreads();
7546 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7547 wxPyEndAllowThreads(__tstate);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 {
7551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7552 }
7553 {
7554 if (temp4)
7555 delete arg4;
7556 }
7557 {
7558 if (temp8)
7559 delete arg8;
7560 }
7561 return resultobj;
7562fail:
7563 {
7564 if (temp4)
7565 delete arg4;
7566 }
7567 {
7568 if (temp8)
7569 delete arg8;
7570 }
7571 return NULL;
7572}
7573
7574
7575SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7576 PyObject *resultobj = 0;
7577 wxDialog *arg1 = (wxDialog *) 0 ;
7578 int arg2 ;
7579 void *argp1 = 0 ;
7580 int res1 = 0 ;
7581 int val2 ;
7582 int ecode2 = 0 ;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char * kwnames[] = {
7586 (char *) "self",(char *) "returnCode", NULL
7587 };
7588
7589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7591 if (!SWIG_IsOK(res1)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7593 }
7594 arg1 = reinterpret_cast< wxDialog * >(argp1);
7595 ecode2 = SWIG_AsVal_int(obj1, &val2);
7596 if (!SWIG_IsOK(ecode2)) {
7597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7598 }
7599 arg2 = static_cast< int >(val2);
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 (arg1)->SetReturnCode(arg2);
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 resultobj = SWIG_Py_Void();
7607 return resultobj;
7608fail:
7609 return NULL;
c370783e
RD
7610}
7611
7612
1bd55598
RD
7613SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7614 PyObject *resultobj = 0;
7615 wxDialog *arg1 = (wxDialog *) 0 ;
7616 int result;
7617 void *argp1 = 0 ;
7618 int res1 = 0 ;
7619 PyObject *swig_obj[1] ;
7620
7621 if (!args) SWIG_fail;
7622 swig_obj[0] = args;
7623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7624 if (!SWIG_IsOK(res1)) {
7625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7626 }
7627 arg1 = reinterpret_cast< wxDialog * >(argp1);
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 resultobj = SWIG_From_int(static_cast< int >(result));
7635 return resultobj;
7636fail:
7637 return NULL;
7638}
7639
7640
7641SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj = 0;
7643 wxDialog *arg1 = (wxDialog *) 0 ;
7644 int arg2 ;
7645 void *argp1 = 0 ;
7646 int res1 = 0 ;
7647 int val2 ;
7648 int ecode2 = 0 ;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 char * kwnames[] = {
7652 (char *) "self",(char *) "affirmativeId", NULL
7653 };
7654
7655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) 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_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7659 }
7660 arg1 = reinterpret_cast< wxDialog * >(argp1);
7661 ecode2 = SWIG_AsVal_int(obj1, &val2);
7662 if (!SWIG_IsOK(ecode2)) {
7663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7664 }
7665 arg2 = static_cast< int >(val2);
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 (arg1)->SetAffirmativeId(arg2);
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 resultobj = SWIG_Py_Void();
7673 return resultobj;
7674fail:
7675 return NULL;
5e483524
RD
7676}
7677
7678
1bd55598
RD
7679SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7680 PyObject *resultobj = 0;
7681 wxDialog *arg1 = (wxDialog *) 0 ;
7682 int result;
7683 void *argp1 = 0 ;
7684 int res1 = 0 ;
7685 PyObject *swig_obj[1] ;
7686
7687 if (!args) SWIG_fail;
7688 swig_obj[0] = args;
7689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7690 if (!SWIG_IsOK(res1)) {
7691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7692 }
7693 arg1 = reinterpret_cast< wxDialog * >(argp1);
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 resultobj = SWIG_From_int(static_cast< int >(result));
7701 return resultobj;
7702fail:
7703 return NULL;
7704}
7705
7706
7707SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj = 0;
7709 wxDialog *arg1 = (wxDialog *) 0 ;
7710 int arg2 ;
7711 void *argp1 = 0 ;
7712 int res1 = 0 ;
7713 int val2 ;
7714 int ecode2 = 0 ;
7715 PyObject * obj0 = 0 ;
7716 PyObject * obj1 = 0 ;
7717 char * kwnames[] = {
7718 (char *) "self",(char *) "escapeId", NULL
7719 };
7720
7721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7723 if (!SWIG_IsOK(res1)) {
7724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7725 }
7726 arg1 = reinterpret_cast< wxDialog * >(argp1);
7727 ecode2 = SWIG_AsVal_int(obj1, &val2);
7728 if (!SWIG_IsOK(ecode2)) {
7729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7730 }
7731 arg2 = static_cast< int >(val2);
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->SetEscapeId(arg2);
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 resultobj = SWIG_Py_Void();
7739 return resultobj;
7740fail:
7741 return NULL;
d55e5bfc
RD
7742}
7743
7744
1bd55598
RD
7745SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7746 PyObject *resultobj = 0;
7747 wxDialog *arg1 = (wxDialog *) 0 ;
7748 int result;
7749 void *argp1 = 0 ;
7750 int res1 = 0 ;
7751 PyObject *swig_obj[1] ;
7752
7753 if (!args) SWIG_fail;
7754 swig_obj[0] = args;
7755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7756 if (!SWIG_IsOK(res1)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7758 }
7759 arg1 = reinterpret_cast< wxDialog * >(argp1);
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7763 wxPyEndAllowThreads(__tstate);
7764 if (PyErr_Occurred()) SWIG_fail;
7765 }
7766 resultobj = SWIG_From_int(static_cast< int >(result));
7767 return resultobj;
7768fail:
7769 return NULL;
7770}
7771
7772
7773SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7774 PyObject *resultobj = 0;
7775 wxDialog *arg1 = (wxDialog *) 0 ;
7776 wxString *arg2 = 0 ;
7777 wxSizer *result = 0 ;
7778 void *argp1 = 0 ;
7779 int res1 = 0 ;
7780 bool temp2 = false ;
7781 PyObject * obj0 = 0 ;
7782 PyObject * obj1 = 0 ;
7783 char * kwnames[] = {
7784 (char *) "self",(char *) "message", NULL
7785 };
7786
7787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7789 if (!SWIG_IsOK(res1)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7791 }
7792 arg1 = reinterpret_cast< wxDialog * >(argp1);
7793 {
7794 arg2 = wxString_in_helper(obj1);
7795 if (arg2 == NULL) SWIG_fail;
7796 temp2 = true;
7797 }
7798 {
7799 PyThreadState* __tstate = wxPyBeginAllowThreads();
7800 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7801 wxPyEndAllowThreads(__tstate);
7802 if (PyErr_Occurred()) SWIG_fail;
7803 }
7804 {
7805 resultobj = wxPyMake_wxObject(result, (bool)0);
7806 }
7807 {
7808 if (temp2)
7809 delete arg2;
7810 }
7811 return resultobj;
7812fail:
7813 {
7814 if (temp2)
7815 delete arg2;
7816 }
7817 return NULL;
7818}
7819
7820
b39fe951 7821SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
1bd55598
RD
7822 PyObject *resultobj = 0;
7823 wxDialog *arg1 = (wxDialog *) 0 ;
7824 long arg2 ;
1bd55598
RD
7825 wxSizer *result = 0 ;
7826 void *argp1 = 0 ;
7827 int res1 = 0 ;
7828 long val2 ;
7829 int ecode2 = 0 ;
1bd55598
RD
7830 PyObject * obj0 = 0 ;
7831 PyObject * obj1 = 0 ;
1bd55598 7832 char * kwnames[] = {
b39fe951 7833 (char *) "self",(char *) "flags", NULL
1bd55598
RD
7834 };
7835
b39fe951 7836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
1bd55598
RD
7837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7838 if (!SWIG_IsOK(res1)) {
b39fe951 7839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
1bd55598
RD
7840 }
7841 arg1 = reinterpret_cast< wxDialog * >(argp1);
7842 ecode2 = SWIG_AsVal_long(obj1, &val2);
7843 if (!SWIG_IsOK(ecode2)) {
b39fe951 7844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
1bd55598
RD
7845 }
7846 arg2 = static_cast< long >(val2);
b39fe951
RD
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
1bd55598 7852 }
b39fe951
RD
7853 {
7854 resultobj = wxPyMake_wxObject(result, (bool)0);
1bd55598 7855 }
b39fe951
RD
7856 return resultobj;
7857fail:
7858 return NULL;
7859}
7860
7861
7862SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj = 0;
7864 wxDialog *arg1 = (wxDialog *) 0 ;
7865 long arg2 ;
7866 wxSizer *result = 0 ;
7867 void *argp1 = 0 ;
7868 int res1 = 0 ;
7869 long val2 ;
7870 int ecode2 = 0 ;
7871 PyObject * obj0 = 0 ;
7872 PyObject * obj1 = 0 ;
7873 char * kwnames[] = {
7874 (char *) "self",(char *) "flags", NULL
7875 };
7876
7877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7879 if (!SWIG_IsOK(res1)) {
7880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7881 }
7882 arg1 = reinterpret_cast< wxDialog * >(argp1);
7883 ecode2 = SWIG_AsVal_long(obj1, &val2);
7884 if (!SWIG_IsOK(ecode2)) {
7885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7886 }
7887 arg2 = static_cast< long >(val2);
1bd55598
RD
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 7890 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
1bd55598
RD
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 {
7895 resultobj = wxPyMake_wxObject(result, (bool)0);
7896 }
7897 return resultobj;
7898fail:
7899 return NULL;
7900}
7901
7902
7903SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj = 0;
7905 wxDialog *arg1 = (wxDialog *) 0 ;
7906 long arg2 ;
7907 wxStdDialogButtonSizer *result = 0 ;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 long val2 ;
7911 int ecode2 = 0 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char * kwnames[] = {
7915 (char *) "self",(char *) "flags", NULL
7916 };
7917
7918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7920 if (!SWIG_IsOK(res1)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7922 }
7923 arg1 = reinterpret_cast< wxDialog * >(argp1);
7924 ecode2 = SWIG_AsVal_long(obj1, &val2);
7925 if (!SWIG_IsOK(ecode2)) {
7926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7927 }
7928 arg2 = static_cast< long >(val2);
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7936 return resultobj;
7937fail:
7938 return NULL;
d55e5bfc
RD
7939}
7940
7941
1bd55598
RD
7942SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7943 PyObject *resultobj = 0;
7944 wxDialog *arg1 = (wxDialog *) 0 ;
7945 bool result;
7946 void *argp1 = 0 ;
7947 int res1 = 0 ;
7948 PyObject *swig_obj[1] ;
7949
7950 if (!args) SWIG_fail;
7951 swig_obj[0] = args;
7952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7953 if (!SWIG_IsOK(res1)) {
7954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7955 }
7956 arg1 = reinterpret_cast< wxDialog * >(argp1);
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 result = (bool)((wxDialog const *)arg1)->IsModal();
7960 wxPyEndAllowThreads(__tstate);
7961 if (PyErr_Occurred()) SWIG_fail;
7962 }
7963 {
7964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7965 }
7966 return resultobj;
7967fail:
7968 return NULL;
b1fcee84
RD
7969}
7970
7971
1bd55598
RD
7972SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7973 PyObject *resultobj = 0;
7974 wxDialog *arg1 = (wxDialog *) 0 ;
7975 int result;
7976 void *argp1 = 0 ;
7977 int res1 = 0 ;
7978 PyObject *swig_obj[1] ;
7979
7980 if (!args) SWIG_fail;
7981 swig_obj[0] = args;
7982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7983 if (!SWIG_IsOK(res1)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7985 }
7986 arg1 = reinterpret_cast< wxDialog * >(argp1);
7987 {
7988 PyThreadState* __tstate = wxPyBeginAllowThreads();
7989 result = (int)(arg1)->ShowModal();
7990 wxPyEndAllowThreads(__tstate);
7991 if (PyErr_Occurred()) SWIG_fail;
7992 }
7993 resultobj = SWIG_From_int(static_cast< int >(result));
7994 return resultobj;
7995fail:
7996 return NULL;
7997}
7998
7999
8000SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8001 PyObject *resultobj = 0;
8002 wxDialog *arg1 = (wxDialog *) 0 ;
8003 int arg2 ;
8004 void *argp1 = 0 ;
8005 int res1 = 0 ;
8006 int val2 ;
8007 int ecode2 = 0 ;
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj1 = 0 ;
8010 char * kwnames[] = {
8011 (char *) "self",(char *) "retCode", NULL
8012 };
8013
8014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8016 if (!SWIG_IsOK(res1)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8018 }
8019 arg1 = reinterpret_cast< wxDialog * >(argp1);
8020 ecode2 = SWIG_AsVal_int(obj1, &val2);
8021 if (!SWIG_IsOK(ecode2)) {
8022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8023 }
8024 arg2 = static_cast< int >(val2);
8025 {
8026 PyThreadState* __tstate = wxPyBeginAllowThreads();
8027 (arg1)->EndModal(arg2);
8028 wxPyEndAllowThreads(__tstate);
8029 if (PyErr_Occurred()) SWIG_fail;
8030 }
8031 resultobj = SWIG_Py_Void();
8032 return resultobj;
8033fail:
8034 return NULL;
8035}
8036
8037
8038SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8039 PyObject *resultobj = 0;
8040 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8041 SwigValueWrapper<wxVisualAttributes > result;
8042 int val1 ;
8043 int ecode1 = 0 ;
8044 PyObject * obj0 = 0 ;
8045 char * kwnames[] = {
8046 (char *) "variant", NULL
8047 };
8048
8049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8050 if (obj0) {
8051 ecode1 = SWIG_AsVal_int(obj0, &val1);
8052 if (!SWIG_IsOK(ecode1)) {
8053 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8054 }
8055 arg1 = static_cast< wxWindowVariant >(val1);
8056 }
8057 {
8058 if (!wxPyCheckForApp()) SWIG_fail;
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = wxDialog::GetClassDefaultAttributes(arg1);
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
8064 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8065 return resultobj;
8066fail:
8067 return NULL;
8068}
8069
8070
8071SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8072 PyObject *obj;
8073 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8074 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8075 return SWIG_Py_Void();
8076}
8077
8078SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8079 return SWIG_Python_InitShadowInstance(args);
8080}
8081
8082SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8083 PyObject *resultobj = 0;
8084 wxWindow *arg1 = (wxWindow *) 0 ;
8085 int arg2 = (int) (int)-1 ;
8086 wxString const &arg3_defvalue = wxPyEmptyString ;
8087 wxString *arg3 = (wxString *) &arg3_defvalue ;
8088 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8089 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8090 wxSize const &arg5_defvalue = wxDefaultSize ;
8091 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5eb8189c 8092 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
1bd55598
RD
8093 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8094 wxString *arg7 = (wxString *) &arg7_defvalue ;
8095 wxMiniFrame *result = 0 ;
8096 void *argp1 = 0 ;
8097 int res1 = 0 ;
8098 int val2 ;
8099 int ecode2 = 0 ;
8100 bool temp3 = false ;
8101 wxPoint temp4 ;
8102 wxSize temp5 ;
8103 long val6 ;
8104 int ecode6 = 0 ;
8105 bool temp7 = false ;
8106 PyObject * obj0 = 0 ;
8107 PyObject * obj1 = 0 ;
8108 PyObject * obj2 = 0 ;
8109 PyObject * obj3 = 0 ;
8110 PyObject * obj4 = 0 ;
8111 PyObject * obj5 = 0 ;
8112 PyObject * obj6 = 0 ;
8113 char * kwnames[] = {
8114 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8115 };
8116
8117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8119 if (!SWIG_IsOK(res1)) {
8120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8121 }
8122 arg1 = reinterpret_cast< wxWindow * >(argp1);
8123 if (obj1) {
8124 ecode2 = SWIG_AsVal_int(obj1, &val2);
8125 if (!SWIG_IsOK(ecode2)) {
8126 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8127 }
8128 arg2 = static_cast< int >(val2);
8129 }
8130 if (obj2) {
d55e5bfc 8131 {
1bd55598
RD
8132 arg3 = wxString_in_helper(obj2);
8133 if (arg3 == NULL) SWIG_fail;
8134 temp3 = true;
d55e5bfc 8135 }
1bd55598
RD
8136 }
8137 if (obj3) {
d55e5bfc 8138 {
1bd55598
RD
8139 arg4 = &temp4;
8140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8141 }
1bd55598
RD
8142 }
8143 if (obj4) {
d55e5bfc 8144 {
1bd55598
RD
8145 arg5 = &temp5;
8146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8147 }
1bd55598
RD
8148 }
8149 if (obj5) {
8150 ecode6 = SWIG_AsVal_long(obj5, &val6);
8151 if (!SWIG_IsOK(ecode6)) {
8152 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8153 }
8154 arg6 = static_cast< long >(val6);
8155 }
8156 if (obj6) {
d55e5bfc 8157 {
1bd55598
RD
8158 arg7 = wxString_in_helper(obj6);
8159 if (arg7 == NULL) SWIG_fail;
8160 temp7 = true;
d55e5bfc 8161 }
1bd55598
RD
8162 }
8163 {
8164 if (!wxPyCheckForApp()) SWIG_fail;
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8171 {
8172 if (temp3)
8173 delete arg3;
8174 }
8175 {
8176 if (temp7)
8177 delete arg7;
8178 }
8179 return resultobj;
8180fail:
8181 {
8182 if (temp3)
8183 delete arg3;
8184 }
8185 {
8186 if (temp7)
8187 delete arg7;
8188 }
8189 return NULL;
d55e5bfc
RD
8190}
8191
8192
1bd55598
RD
8193SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8194 PyObject *resultobj = 0;
8195 wxMiniFrame *result = 0 ;
8196
8197 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8198 {
8199 if (!wxPyCheckForApp()) SWIG_fail;
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 result = (wxMiniFrame *)new wxMiniFrame();
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8206 return resultobj;
8207fail:
8208 return NULL;
8209}
8210
8211
8212SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj = 0;
8214 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8215 wxWindow *arg2 = (wxWindow *) 0 ;
8216 int arg3 = (int) (int)-1 ;
8217 wxString const &arg4_defvalue = wxPyEmptyString ;
8218 wxString *arg4 = (wxString *) &arg4_defvalue ;
8219 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8220 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8221 wxSize const &arg6_defvalue = wxDefaultSize ;
8222 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5eb8189c 8223 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
1bd55598
RD
8224 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8225 wxString *arg8 = (wxString *) &arg8_defvalue ;
8226 bool result;
8227 void *argp1 = 0 ;
8228 int res1 = 0 ;
8229 void *argp2 = 0 ;
8230 int res2 = 0 ;
8231 int val3 ;
8232 int ecode3 = 0 ;
8233 bool temp4 = false ;
8234 wxPoint temp5 ;
8235 wxSize temp6 ;
8236 long val7 ;
8237 int ecode7 = 0 ;
8238 bool temp8 = false ;
8239 PyObject * obj0 = 0 ;
8240 PyObject * obj1 = 0 ;
8241 PyObject * obj2 = 0 ;
8242 PyObject * obj3 = 0 ;
8243 PyObject * obj4 = 0 ;
8244 PyObject * obj5 = 0 ;
8245 PyObject * obj6 = 0 ;
8246 PyObject * obj7 = 0 ;
8247 char * kwnames[] = {
8248 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8249 };
8250
8251 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8252 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8253 if (!SWIG_IsOK(res1)) {
8254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8255 }
8256 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8257 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8258 if (!SWIG_IsOK(res2)) {
8259 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8260 }
8261 arg2 = reinterpret_cast< wxWindow * >(argp2);
8262 if (obj2) {
8263 ecode3 = SWIG_AsVal_int(obj2, &val3);
8264 if (!SWIG_IsOK(ecode3)) {
8265 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8266 }
8267 arg3 = static_cast< int >(val3);
8268 }
8269 if (obj3) {
d55e5bfc 8270 {
1bd55598
RD
8271 arg4 = wxString_in_helper(obj3);
8272 if (arg4 == NULL) SWIG_fail;
8273 temp4 = true;
d55e5bfc 8274 }
1bd55598
RD
8275 }
8276 if (obj4) {
d55e5bfc 8277 {
1bd55598
RD
8278 arg5 = &temp5;
8279 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8280 }
1bd55598
RD
8281 }
8282 if (obj5) {
d55e5bfc 8283 {
1bd55598
RD
8284 arg6 = &temp6;
8285 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8286 }
1bd55598
RD
8287 }
8288 if (obj6) {
8289 ecode7 = SWIG_AsVal_long(obj6, &val7);
8290 if (!SWIG_IsOK(ecode7)) {
8291 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8292 }
8293 arg7 = static_cast< long >(val7);
8294 }
8295 if (obj7) {
d55e5bfc 8296 {
1bd55598
RD
8297 arg8 = wxString_in_helper(obj7);
8298 if (arg8 == NULL) SWIG_fail;
8299 temp8 = true;
d55e5bfc 8300 }
1bd55598
RD
8301 }
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 {
8309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8310 }
8311 {
8312 if (temp4)
8313 delete arg4;
8314 }
8315 {
8316 if (temp8)
8317 delete arg8;
8318 }
8319 return resultobj;
8320fail:
8321 {
8322 if (temp4)
8323 delete arg4;
8324 }
8325 {
8326 if (temp8)
8327 delete arg8;
8328 }
8329 return NULL;
8330}
8331
8332
8333SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8334 PyObject *obj;
8335 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8336 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8337 return SWIG_Py_Void();
8338}
8339
8340SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8341 return SWIG_Python_InitShadowInstance(args);
8342}
8343
8344SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj = 0;
8346 wxBitmap *arg1 = 0 ;
8347 wxWindow *arg2 = (wxWindow *) 0 ;
8348 int arg3 ;
8349 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8350 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8351 wxSize const &arg5_defvalue = wxDefaultSize ;
8352 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8353 long arg6 = (long) wxNO_BORDER ;
8354 wxSplashScreenWindow *result = 0 ;
8355 void *argp1 = 0 ;
8356 int res1 = 0 ;
8357 void *argp2 = 0 ;
8358 int res2 = 0 ;
8359 int val3 ;
8360 int ecode3 = 0 ;
8361 wxPoint temp4 ;
8362 wxSize temp5 ;
8363 long val6 ;
8364 int ecode6 = 0 ;
8365 PyObject * obj0 = 0 ;
8366 PyObject * obj1 = 0 ;
8367 PyObject * obj2 = 0 ;
8368 PyObject * obj3 = 0 ;
8369 PyObject * obj4 = 0 ;
8370 PyObject * obj5 = 0 ;
8371 char * kwnames[] = {
8372 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8373 };
8374
8375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8376 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8377 if (!SWIG_IsOK(res1)) {
8378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8379 }
8380 if (!argp1) {
8381 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8382 }
8383 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8384 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8385 if (!SWIG_IsOK(res2)) {
8386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8387 }
8388 arg2 = reinterpret_cast< wxWindow * >(argp2);
8389 ecode3 = SWIG_AsVal_int(obj2, &val3);
8390 if (!SWIG_IsOK(ecode3)) {
8391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8392 }
8393 arg3 = static_cast< int >(val3);
8394 if (obj3) {
d55e5bfc 8395 {
1bd55598
RD
8396 arg4 = &temp4;
8397 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8398 }
1bd55598
RD
8399 }
8400 if (obj4) {
d55e5bfc 8401 {
1bd55598
RD
8402 arg5 = &temp5;
8403 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8404 }
1bd55598
RD
8405 }
8406 if (obj5) {
8407 ecode6 = SWIG_AsVal_long(obj5, &val6);
8408 if (!SWIG_IsOK(ecode6)) {
8409 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8410 }
8411 arg6 = static_cast< long >(val6);
8412 }
8413 {
8414 if (!wxPyCheckForApp()) SWIG_fail;
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8421 return resultobj;
8422fail:
8423 return NULL;
8424}
8425
8426
8427SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj = 0;
8429 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8430 wxBitmap *arg2 = 0 ;
8431 void *argp1 = 0 ;
8432 int res1 = 0 ;
8433 void *argp2 = 0 ;
8434 int res2 = 0 ;
8435 PyObject * obj0 = 0 ;
8436 PyObject * obj1 = 0 ;
8437 char * kwnames[] = {
8438 (char *) "self",(char *) "bitmap", NULL
8439 };
8440
8441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8443 if (!SWIG_IsOK(res1)) {
8444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8445 }
8446 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8447 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8448 if (!SWIG_IsOK(res2)) {
8449 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8450 }
8451 if (!argp2) {
8452 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8453 }
8454 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8455 {
8456 PyThreadState* __tstate = wxPyBeginAllowThreads();
8457 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8458 wxPyEndAllowThreads(__tstate);
8459 if (PyErr_Occurred()) SWIG_fail;
8460 }
8461 resultobj = SWIG_Py_Void();
8462 return resultobj;
8463fail:
8464 return NULL;
d55e5bfc
RD
8465}
8466
8467
1bd55598
RD
8468SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8469 PyObject *resultobj = 0;
8470 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8471 wxBitmap *result = 0 ;
8472 void *argp1 = 0 ;
8473 int res1 = 0 ;
8474 PyObject *swig_obj[1] ;
8475
8476 if (!args) SWIG_fail;
8477 swig_obj[0] = args;
8478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8479 if (!SWIG_IsOK(res1)) {
8480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8481 }
8482 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8483 {
8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
8485 {
8486 wxBitmap &_result_ref = (arg1)->GetBitmap();
8487 result = (wxBitmap *) &_result_ref;
8488 }
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 {
8493 wxBitmap* resultptr = new wxBitmap(*result);
8494 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8495 }
8496 return resultobj;
8497fail:
8498 return NULL;
8499}
8500
8501
8502SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8503 PyObject *obj;
8504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8505 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8506 return SWIG_Py_Void();
8507}
8508
8509SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8510 return SWIG_Python_InitShadowInstance(args);
8511}
8512
8513SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj = 0;
8515 wxBitmap *arg1 = 0 ;
8516 long arg2 ;
8517 int arg3 ;
8518 wxWindow *arg4 = (wxWindow *) 0 ;
8519 int arg5 = (int) -1 ;
8520 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8521 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8522 wxSize const &arg7_defvalue = wxDefaultSize ;
8523 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8524 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8525 wxSplashScreen *result = 0 ;
8526 void *argp1 = 0 ;
8527 int res1 = 0 ;
8528 long val2 ;
8529 int ecode2 = 0 ;
8530 int val3 ;
8531 int ecode3 = 0 ;
8532 void *argp4 = 0 ;
8533 int res4 = 0 ;
8534 int val5 ;
8535 int ecode5 = 0 ;
8536 wxPoint temp6 ;
8537 wxSize temp7 ;
8538 long val8 ;
8539 int ecode8 = 0 ;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 PyObject * obj2 = 0 ;
8543 PyObject * obj3 = 0 ;
8544 PyObject * obj4 = 0 ;
8545 PyObject * obj5 = 0 ;
8546 PyObject * obj6 = 0 ;
8547 PyObject * obj7 = 0 ;
8548 char * kwnames[] = {
8549 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8550 };
8551
8552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8553 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8554 if (!SWIG_IsOK(res1)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8556 }
8557 if (!argp1) {
8558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8559 }
8560 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8561 ecode2 = SWIG_AsVal_long(obj1, &val2);
8562 if (!SWIG_IsOK(ecode2)) {
8563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8564 }
8565 arg2 = static_cast< long >(val2);
8566 ecode3 = SWIG_AsVal_int(obj2, &val3);
8567 if (!SWIG_IsOK(ecode3)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8569 }
8570 arg3 = static_cast< int >(val3);
8571 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8572 if (!SWIG_IsOK(res4)) {
8573 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8574 }
8575 arg4 = reinterpret_cast< wxWindow * >(argp4);
8576 if (obj4) {
8577 ecode5 = SWIG_AsVal_int(obj4, &val5);
8578 if (!SWIG_IsOK(ecode5)) {
8579 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8580 }
8581 arg5 = static_cast< int >(val5);
8582 }
8583 if (obj5) {
d55e5bfc 8584 {
1bd55598
RD
8585 arg6 = &temp6;
8586 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8587 }
1bd55598
RD
8588 }
8589 if (obj6) {
d55e5bfc 8590 {
1bd55598
RD
8591 arg7 = &temp7;
8592 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8593 }
1bd55598
RD
8594 }
8595 if (obj7) {
8596 ecode8 = SWIG_AsVal_long(obj7, &val8);
8597 if (!SWIG_IsOK(ecode8)) {
8598 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8599 }
8600 arg8 = static_cast< long >(val8);
8601 }
8602 {
8603 if (!wxPyCheckForApp()) SWIG_fail;
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8606 wxPyEndAllowThreads(__tstate);
8607 if (PyErr_Occurred()) SWIG_fail;
8608 }
8609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8610 return resultobj;
8611fail:
8612 return NULL;
d55e5bfc
RD
8613}
8614
8615
1bd55598
RD
8616SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8617 PyObject *resultobj = 0;
8618 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8619 long result;
8620 void *argp1 = 0 ;
8621 int res1 = 0 ;
8622 PyObject *swig_obj[1] ;
8623
8624 if (!args) SWIG_fail;
8625 swig_obj[0] = args;
8626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8627 if (!SWIG_IsOK(res1)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8629 }
8630 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8634 wxPyEndAllowThreads(__tstate);
8635 if (PyErr_Occurred()) SWIG_fail;
8636 }
8637 resultobj = SWIG_From_long(static_cast< long >(result));
8638 return resultobj;
8639fail:
8640 return NULL;
d55e5bfc
RD
8641}
8642
8643
1bd55598
RD
8644SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8645 PyObject *resultobj = 0;
8646 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8647 wxSplashScreenWindow *result = 0 ;
8648 void *argp1 = 0 ;
8649 int res1 = 0 ;
8650 PyObject *swig_obj[1] ;
8651
8652 if (!args) SWIG_fail;
8653 swig_obj[0] = args;
8654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8655 if (!SWIG_IsOK(res1)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8657 }
8658 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8666 return resultobj;
8667fail:
8668 return NULL;
d55e5bfc
RD
8669}
8670
8671
1bd55598
RD
8672SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8673 PyObject *resultobj = 0;
8674 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8675 int result;
8676 void *argp1 = 0 ;
8677 int res1 = 0 ;
8678 PyObject *swig_obj[1] ;
8679
8680 if (!args) SWIG_fail;
8681 swig_obj[0] = args;
8682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8683 if (!SWIG_IsOK(res1)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8685 }
8686 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_From_int(static_cast< int >(result));
8694 return resultobj;
8695fail:
8696 return NULL;
8697}
8698
8699
8700SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8701 PyObject *obj;
8702 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8703 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8704 return SWIG_Py_Void();
8705}
8706
8707SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8708 return SWIG_Python_InitShadowInstance(args);
8709}
8710
8711SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8712 PyObject *resultobj = 0;
8713 wxWindow *arg1 = (wxWindow *) 0 ;
8714 int arg2 = (int) -1 ;
8715 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8716 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8717 wxString *arg4 = (wxString *) &arg4_defvalue ;
8718 wxStatusBar *result = 0 ;
8719 void *argp1 = 0 ;
8720 int res1 = 0 ;
8721 int val2 ;
8722 int ecode2 = 0 ;
8723 long val3 ;
8724 int ecode3 = 0 ;
8725 bool temp4 = false ;
8726 PyObject * obj0 = 0 ;
8727 PyObject * obj1 = 0 ;
8728 PyObject * obj2 = 0 ;
8729 PyObject * obj3 = 0 ;
8730 char * kwnames[] = {
8731 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8732 };
8733
8734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8736 if (!SWIG_IsOK(res1)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8738 }
8739 arg1 = reinterpret_cast< wxWindow * >(argp1);
8740 if (obj1) {
8741 ecode2 = SWIG_AsVal_int(obj1, &val2);
8742 if (!SWIG_IsOK(ecode2)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8744 }
8745 arg2 = static_cast< int >(val2);
8746 }
8747 if (obj2) {
8748 ecode3 = SWIG_AsVal_long(obj2, &val3);
8749 if (!SWIG_IsOK(ecode3)) {
8750 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8751 }
8752 arg3 = static_cast< long >(val3);
8753 }
8754 if (obj3) {
d55e5bfc 8755 {
1bd55598
RD
8756 arg4 = wxString_in_helper(obj3);
8757 if (arg4 == NULL) SWIG_fail;
8758 temp4 = true;
d55e5bfc 8759 }
1bd55598
RD
8760 }
8761 {
8762 if (!wxPyCheckForApp()) SWIG_fail;
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8769 {
8770 if (temp4)
8771 delete arg4;
8772 }
8773 return resultobj;
8774fail:
8775 {
8776 if (temp4)
8777 delete arg4;
8778 }
8779 return NULL;
d55e5bfc
RD
8780}
8781
8782
1bd55598
RD
8783SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8784 PyObject *resultobj = 0;
8785 wxStatusBar *result = 0 ;
8786
8787 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8788 {
8789 if (!wxPyCheckForApp()) SWIG_fail;
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (wxStatusBar *)new wxStatusBar();
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8796 return resultobj;
8797fail:
8798 return NULL;
8799}
8800
8801
8802SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj = 0;
8804 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8805 wxWindow *arg2 = (wxWindow *) 0 ;
8806 int arg3 = (int) -1 ;
8807 long arg4 = (long) wxST_SIZEGRIP ;
8808 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8809 wxString *arg5 = (wxString *) &arg5_defvalue ;
8810 bool result;
8811 void *argp1 = 0 ;
8812 int res1 = 0 ;
8813 void *argp2 = 0 ;
8814 int res2 = 0 ;
8815 int val3 ;
8816 int ecode3 = 0 ;
8817 long val4 ;
8818 int ecode4 = 0 ;
8819 bool temp5 = false ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 PyObject * obj2 = 0 ;
8823 PyObject * obj3 = 0 ;
8824 PyObject * obj4 = 0 ;
8825 char * kwnames[] = {
8826 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8827 };
8828
8829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8831 if (!SWIG_IsOK(res1)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8833 }
8834 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8835 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8836 if (!SWIG_IsOK(res2)) {
8837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8838 }
8839 arg2 = reinterpret_cast< wxWindow * >(argp2);
8840 if (obj2) {
8841 ecode3 = SWIG_AsVal_int(obj2, &val3);
8842 if (!SWIG_IsOK(ecode3)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8844 }
8845 arg3 = static_cast< int >(val3);
8846 }
8847 if (obj3) {
8848 ecode4 = SWIG_AsVal_long(obj3, &val4);
8849 if (!SWIG_IsOK(ecode4)) {
8850 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8851 }
8852 arg4 = static_cast< long >(val4);
8853 }
8854 if (obj4) {
d55e5bfc 8855 {
1bd55598
RD
8856 arg5 = wxString_in_helper(obj4);
8857 if (arg5 == NULL) SWIG_fail;
8858 temp5 = true;
d55e5bfc 8859 }
1bd55598
RD
8860 }
8861 {
8862 PyThreadState* __tstate = wxPyBeginAllowThreads();
8863 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8864 wxPyEndAllowThreads(__tstate);
8865 if (PyErr_Occurred()) SWIG_fail;
8866 }
8867 {
8868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8869 }
8870 {
8871 if (temp5)
8872 delete arg5;
8873 }
8874 return resultobj;
8875fail:
8876 {
8877 if (temp5)
8878 delete arg5;
8879 }
8880 return NULL;
8881}
8882
8883
8884SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8885 PyObject *resultobj = 0;
8886 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8887 int arg2 = (int) 1 ;
8888 void *argp1 = 0 ;
8889 int res1 = 0 ;
8890 int val2 ;
8891 int ecode2 = 0 ;
8892 PyObject * obj0 = 0 ;
8893 PyObject * obj1 = 0 ;
8894 char * kwnames[] = {
8895 (char *) "self",(char *) "number", NULL
8896 };
8897
8898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8900 if (!SWIG_IsOK(res1)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8902 }
8903 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8904 if (obj1) {
8905 ecode2 = SWIG_AsVal_int(obj1, &val2);
8906 if (!SWIG_IsOK(ecode2)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8908 }
8909 arg2 = static_cast< int >(val2);
8910 }
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 (arg1)->SetFieldsCount(arg2);
8914 wxPyEndAllowThreads(__tstate);
8915 if (PyErr_Occurred()) SWIG_fail;
8916 }
8917 resultobj = SWIG_Py_Void();
8918 return resultobj;
8919fail:
8920 return NULL;
d55e5bfc
RD
8921}
8922
8923
1bd55598
RD
8924SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8925 PyObject *resultobj = 0;
8926 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8927 int result;
8928 void *argp1 = 0 ;
8929 int res1 = 0 ;
8930 PyObject *swig_obj[1] ;
8931
8932 if (!args) SWIG_fail;
8933 swig_obj[0] = args;
8934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8935 if (!SWIG_IsOK(res1)) {
8936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8937 }
8938 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8939 {
8940 PyThreadState* __tstate = wxPyBeginAllowThreads();
8941 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8942 wxPyEndAllowThreads(__tstate);
8943 if (PyErr_Occurred()) SWIG_fail;
8944 }
8945 resultobj = SWIG_From_int(static_cast< int >(result));
8946 return resultobj;
8947fail:
8948 return NULL;
8949}
8950
8951
8952SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8953 PyObject *resultobj = 0;
8954 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8955 wxString *arg2 = 0 ;
8956 int arg3 = (int) 0 ;
8957 void *argp1 = 0 ;
8958 int res1 = 0 ;
8959 bool temp2 = false ;
8960 int val3 ;
8961 int ecode3 = 0 ;
8962 PyObject * obj0 = 0 ;
8963 PyObject * obj1 = 0 ;
8964 PyObject * obj2 = 0 ;
8965 char * kwnames[] = {
8966 (char *) "self",(char *) "text",(char *) "number", NULL
8967 };
8968
8969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8971 if (!SWIG_IsOK(res1)) {
8972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8973 }
8974 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8975 {
8976 arg2 = wxString_in_helper(obj1);
8977 if (arg2 == NULL) SWIG_fail;
8978 temp2 = true;
8979 }
8980 if (obj2) {
8981 ecode3 = SWIG_AsVal_int(obj2, &val3);
8982 if (!SWIG_IsOK(ecode3)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8984 }
8985 arg3 = static_cast< int >(val3);
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 resultobj = SWIG_Py_Void();
8994 {
8995 if (temp2)
8996 delete arg2;
8997 }
8998 return resultobj;
8999fail:
9000 {
9001 if (temp2)
9002 delete arg2;
9003 }
9004 return NULL;
9005}
9006
9007
9008SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj = 0;
9010 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9011 int arg2 = (int) 0 ;
9012 wxString result;
9013 void *argp1 = 0 ;
9014 int res1 = 0 ;
9015 int val2 ;
9016 int ecode2 = 0 ;
9017 PyObject * obj0 = 0 ;
9018 PyObject * obj1 = 0 ;
9019 char * kwnames[] = {
9020 (char *) "self",(char *) "number", NULL
9021 };
9022
9023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9025 if (!SWIG_IsOK(res1)) {
9026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9027 }
9028 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9029 if (obj1) {
9030 ecode2 = SWIG_AsVal_int(obj1, &val2);
9031 if (!SWIG_IsOK(ecode2)) {
9032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9033 }
9034 arg2 = static_cast< int >(val2);
9035 }
9036 {
9037 PyThreadState* __tstate = wxPyBeginAllowThreads();
9038 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9039 wxPyEndAllowThreads(__tstate);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 }
9042 {
9043#if wxUSE_UNICODE
9044 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9045#else
9046 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9047#endif
9048 }
9049 return resultobj;
9050fail:
9051 return NULL;
9052}
9053
9054
9055SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj = 0;
9057 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9058 wxString *arg2 = 0 ;
9059 int arg3 = (int) 0 ;
9060 void *argp1 = 0 ;
9061 int res1 = 0 ;
9062 bool temp2 = false ;
9063 int val3 ;
9064 int ecode3 = 0 ;
9065 PyObject * obj0 = 0 ;
9066 PyObject * obj1 = 0 ;
9067 PyObject * obj2 = 0 ;
9068 char * kwnames[] = {
9069 (char *) "self",(char *) "text",(char *) "number", NULL
9070 };
9071
9072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9074 if (!SWIG_IsOK(res1)) {
9075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9076 }
9077 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9078 {
9079 arg2 = wxString_in_helper(obj1);
9080 if (arg2 == NULL) SWIG_fail;
9081 temp2 = true;
9082 }
9083 if (obj2) {
9084 ecode3 = SWIG_AsVal_int(obj2, &val3);
9085 if (!SWIG_IsOK(ecode3)) {
9086 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9087 }
9088 arg3 = static_cast< int >(val3);
9089 }
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9093 wxPyEndAllowThreads(__tstate);
9094 if (PyErr_Occurred()) SWIG_fail;
9095 }
9096 resultobj = SWIG_Py_Void();
9097 {
9098 if (temp2)
9099 delete arg2;
9100 }
9101 return resultobj;
9102fail:
9103 {
9104 if (temp2)
9105 delete arg2;
9106 }
9107 return NULL;
9108}
9109
9110
9111SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj = 0;
9113 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9114 int arg2 = (int) 0 ;
9115 void *argp1 = 0 ;
9116 int res1 = 0 ;
9117 int val2 ;
9118 int ecode2 = 0 ;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 char * kwnames[] = {
9122 (char *) "self",(char *) "number", NULL
9123 };
9124
9125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9127 if (!SWIG_IsOK(res1)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9129 }
9130 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9131 if (obj1) {
9132 ecode2 = SWIG_AsVal_int(obj1, &val2);
9133 if (!SWIG_IsOK(ecode2)) {
9134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9135 }
9136 arg2 = static_cast< int >(val2);
9137 }
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 (arg1)->PopStatusText(arg2);
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
9144 resultobj = SWIG_Py_Void();
9145 return resultobj;
9146fail:
9147 return NULL;
9148}
9149
9150
9151SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9152 PyObject *resultobj = 0;
9153 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9154 int arg2 ;
9155 int *arg3 = (int *) 0 ;
9156 void *argp1 = 0 ;
9157 int res1 = 0 ;
9158 PyObject * obj0 = 0 ;
9159 PyObject * obj1 = 0 ;
9160 char * kwnames[] = {
9161 (char *) "self",(char *) "widths", NULL
9162 };
9163
9164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9166 if (!SWIG_IsOK(res1)) {
9167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9168 }
9169 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9170 {
9171 arg2 = PyList_Size(obj1);
9172 arg3 = int_LIST_helper(obj1);
9173 if (arg3 == NULL) SWIG_fail;
9174 }
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 resultobj = SWIG_Py_Void();
9182 {
9183 if (arg3) delete [] arg3;
9184 }
9185 return resultobj;
9186fail:
9187 {
9188 if (arg3) delete [] arg3;
9189 }
9190 return NULL;
d55e5bfc
RD
9191}
9192
9193
1bd55598
RD
9194SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9195 PyObject *resultobj = 0;
9196 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9197 int arg2 ;
9198 int *arg3 = (int *) 0 ;
9199 void *argp1 = 0 ;
9200 int res1 = 0 ;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 char * kwnames[] = {
9204 (char *) "self",(char *) "styles", NULL
9205 };
9206
9207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9209 if (!SWIG_IsOK(res1)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9211 }
9212 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9213 {
9214 arg2 = PyList_Size(obj1);
9215 arg3 = int_LIST_helper(obj1);
9216 if (arg3 == NULL) SWIG_fail;
9217 }
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 resultobj = SWIG_Py_Void();
9225 {
9226 if (arg3) delete [] arg3;
9227 }
9228 return resultobj;
9229fail:
9230 {
9231 if (arg3) delete [] arg3;
9232 }
9233 return NULL;
9234}
9235
9236
9237SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj = 0;
9239 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9240 int arg2 ;
9241 wxRect result;
9242 void *argp1 = 0 ;
9243 int res1 = 0 ;
9244 int val2 ;
9245 int ecode2 = 0 ;
9246 PyObject * obj0 = 0 ;
9247 PyObject * obj1 = 0 ;
9248 char * kwnames[] = {
9249 (char *) "self",(char *) "i", NULL
9250 };
9251
9252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9254 if (!SWIG_IsOK(res1)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9256 }
9257 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9258 ecode2 = SWIG_AsVal_int(obj1, &val2);
9259 if (!SWIG_IsOK(ecode2)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9261 }
9262 arg2 = static_cast< int >(val2);
9263 {
9264 PyThreadState* __tstate = wxPyBeginAllowThreads();
9265 result = wxStatusBar_GetFieldRect(arg1,arg2);
9266 wxPyEndAllowThreads(__tstate);
9267 if (PyErr_Occurred()) SWIG_fail;
9268 }
9269 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9270 return resultobj;
9271fail:
9272 return NULL;
9273}
9274
9275
9276SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9277 PyObject *resultobj = 0;
9278 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9279 int arg2 ;
9280 void *argp1 = 0 ;
9281 int res1 = 0 ;
9282 int val2 ;
9283 int ecode2 = 0 ;
9284 PyObject * obj0 = 0 ;
9285 PyObject * obj1 = 0 ;
9286 char * kwnames[] = {
9287 (char *) "self",(char *) "height", NULL
9288 };
9289
9290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9292 if (!SWIG_IsOK(res1)) {
9293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9294 }
9295 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9296 ecode2 = SWIG_AsVal_int(obj1, &val2);
9297 if (!SWIG_IsOK(ecode2)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9299 }
9300 arg2 = static_cast< int >(val2);
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 (arg1)->SetMinHeight(arg2);
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = SWIG_Py_Void();
9308 return resultobj;
9309fail:
9310 return NULL;
d55e5bfc
RD
9311}
9312
9313
1bd55598
RD
9314SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9315 PyObject *resultobj = 0;
9316 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9317 int result;
9318 void *argp1 = 0 ;
9319 int res1 = 0 ;
9320 PyObject *swig_obj[1] ;
9321
9322 if (!args) SWIG_fail;
9323 swig_obj[0] = args;
9324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9325 if (!SWIG_IsOK(res1)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9327 }
9328 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9329 {
9330 PyThreadState* __tstate = wxPyBeginAllowThreads();
9331 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 resultobj = SWIG_From_int(static_cast< int >(result));
9336 return resultobj;
9337fail:
9338 return NULL;
d55e5bfc
RD
9339}
9340
9341
1bd55598
RD
9342SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9343 PyObject *resultobj = 0;
9344 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9345 int result;
9346 void *argp1 = 0 ;
9347 int res1 = 0 ;
9348 PyObject *swig_obj[1] ;
9349
9350 if (!args) SWIG_fail;
9351 swig_obj[0] = args;
9352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9353 if (!SWIG_IsOK(res1)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9355 }
9356 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = SWIG_From_int(static_cast< int >(result));
9364 return resultobj;
9365fail:
9366 return NULL;
9367}
9368
9369
9370SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj = 0;
9372 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9373 SwigValueWrapper<wxVisualAttributes > result;
9374 int val1 ;
9375 int ecode1 = 0 ;
9376 PyObject * obj0 = 0 ;
9377 char * kwnames[] = {
9378 (char *) "variant", NULL
9379 };
9380
9381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9382 if (obj0) {
9383 ecode1 = SWIG_AsVal_int(obj0, &val1);
9384 if (!SWIG_IsOK(ecode1)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9386 }
9387 arg1 = static_cast< wxWindowVariant >(val1);
9388 }
9389 {
9390 if (!wxPyCheckForApp()) SWIG_fail;
9391 PyThreadState* __tstate = wxPyBeginAllowThreads();
9392 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9397 return resultobj;
9398fail:
9399 return NULL;
d55e5bfc
RD
9400}
9401
9402
1bd55598
RD
9403SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9404 PyObject *obj;
9405 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9406 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9407 return SWIG_Py_Void();
d55e5bfc
RD
9408}
9409
1bd55598
RD
9410SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9411 return SWIG_Python_InitShadowInstance(args);
9412}
d55e5bfc 9413
1bd55598
RD
9414SWIGINTERN int SplitterNameStr_set(PyObject *) {
9415 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9416 return 1;
d55e5bfc
RD
9417}
9418
9419
1bd55598
RD
9420SWIGINTERN PyObject *SplitterNameStr_get(void) {
9421 PyObject *pyobj = 0;
9422
9423 {
9424#if wxUSE_UNICODE
9425 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9426#else
9427 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9428#endif
9429 }
9430 return pyobj;
9431}
9432
9433
9434SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj = 0;
9436 wxWindow *arg1 = (wxWindow *) 0 ;
9437 int arg2 = (int) -1 ;
9438 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9439 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9440 wxSize const &arg4_defvalue = wxDefaultSize ;
9441 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9442 long arg5 = (long) wxSP_3D ;
9443 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9444 wxString *arg6 = (wxString *) &arg6_defvalue ;
9445 wxSplitterWindow *result = 0 ;
9446 void *argp1 = 0 ;
9447 int res1 = 0 ;
9448 int val2 ;
9449 int ecode2 = 0 ;
9450 wxPoint temp3 ;
9451 wxSize temp4 ;
9452 long val5 ;
9453 int ecode5 = 0 ;
9454 bool temp6 = false ;
9455 PyObject * obj0 = 0 ;
9456 PyObject * obj1 = 0 ;
9457 PyObject * obj2 = 0 ;
9458 PyObject * obj3 = 0 ;
9459 PyObject * obj4 = 0 ;
9460 PyObject * obj5 = 0 ;
9461 char * kwnames[] = {
9462 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9463 };
9464
9465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9467 if (!SWIG_IsOK(res1)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9469 }
9470 arg1 = reinterpret_cast< wxWindow * >(argp1);
9471 if (obj1) {
9472 ecode2 = SWIG_AsVal_int(obj1, &val2);
9473 if (!SWIG_IsOK(ecode2)) {
9474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9475 }
9476 arg2 = static_cast< int >(val2);
9477 }
9478 if (obj2) {
36ed4f51 9479 {
1bd55598
RD
9480 arg3 = &temp3;
9481 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 9482 }
1bd55598
RD
9483 }
9484 if (obj3) {
d55e5bfc 9485 {
1bd55598
RD
9486 arg4 = &temp4;
9487 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9488 }
1bd55598
RD
9489 }
9490 if (obj4) {
9491 ecode5 = SWIG_AsVal_long(obj4, &val5);
9492 if (!SWIG_IsOK(ecode5)) {
9493 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9494 }
9495 arg5 = static_cast< long >(val5);
9496 }
9497 if (obj5) {
36ed4f51 9498 {
1bd55598
RD
9499 arg6 = wxString_in_helper(obj5);
9500 if (arg6 == NULL) SWIG_fail;
9501 temp6 = true;
36ed4f51 9502 }
1bd55598
RD
9503 }
9504 {
9505 if (!wxPyCheckForApp()) SWIG_fail;
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9512 {
9513 if (temp6)
9514 delete arg6;
9515 }
9516 return resultobj;
9517fail:
9518 {
9519 if (temp6)
9520 delete arg6;
9521 }
9522 return NULL;
d55e5bfc
RD
9523}
9524
9525
1bd55598
RD
9526SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9527 PyObject *resultobj = 0;
9528 wxSplitterWindow *result = 0 ;
9529
9530 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9531 {
9532 if (!wxPyCheckForApp()) SWIG_fail;
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (wxSplitterWindow *)new wxSplitterWindow();
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9539 return resultobj;
9540fail:
9541 return NULL;
9542}
9543
9544
9545SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9546 PyObject *resultobj = 0;
9547 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9548 wxWindow *arg2 = (wxWindow *) 0 ;
9549 int arg3 = (int) -1 ;
9550 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9551 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9552 wxSize const &arg5_defvalue = wxDefaultSize ;
9553 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9554 long arg6 = (long) wxSP_3D ;
9555 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9556 wxString *arg7 = (wxString *) &arg7_defvalue ;
9557 bool result;
9558 void *argp1 = 0 ;
9559 int res1 = 0 ;
9560 void *argp2 = 0 ;
9561 int res2 = 0 ;
9562 int val3 ;
9563 int ecode3 = 0 ;
9564 wxPoint temp4 ;
9565 wxSize temp5 ;
9566 long val6 ;
9567 int ecode6 = 0 ;
9568 bool temp7 = false ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 PyObject * obj2 = 0 ;
9572 PyObject * obj3 = 0 ;
9573 PyObject * obj4 = 0 ;
9574 PyObject * obj5 = 0 ;
9575 PyObject * obj6 = 0 ;
9576 char * kwnames[] = {
9577 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9578 };
9579
9580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9582 if (!SWIG_IsOK(res1)) {
9583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9584 }
9585 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9586 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9587 if (!SWIG_IsOK(res2)) {
9588 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9589 }
9590 arg2 = reinterpret_cast< wxWindow * >(argp2);
9591 if (obj2) {
9592 ecode3 = SWIG_AsVal_int(obj2, &val3);
9593 if (!SWIG_IsOK(ecode3)) {
9594 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9595 }
9596 arg3 = static_cast< int >(val3);
9597 }
9598 if (obj3) {
d55e5bfc 9599 {
1bd55598
RD
9600 arg4 = &temp4;
9601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9602 }
1bd55598
RD
9603 }
9604 if (obj4) {
d55e5bfc 9605 {
1bd55598
RD
9606 arg5 = &temp5;
9607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9608 }
1bd55598
RD
9609 }
9610 if (obj5) {
9611 ecode6 = SWIG_AsVal_long(obj5, &val6);
9612 if (!SWIG_IsOK(ecode6)) {
9613 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9614 }
9615 arg6 = static_cast< long >(val6);
9616 }
9617 if (obj6) {
d55e5bfc 9618 {
1bd55598
RD
9619 arg7 = wxString_in_helper(obj6);
9620 if (arg7 == NULL) SWIG_fail;
9621 temp7 = true;
d55e5bfc 9622 }
1bd55598
RD
9623 }
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 {
9631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9632 }
9633 {
9634 if (temp7)
9635 delete arg7;
9636 }
9637 return resultobj;
9638fail:
9639 {
9640 if (temp7)
9641 delete arg7;
9642 }
9643 return NULL;
d55e5bfc
RD
9644}
9645
9646
1bd55598
RD
9647SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9648 PyObject *resultobj = 0;
9649 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9650 wxWindow *result = 0 ;
9651 void *argp1 = 0 ;
9652 int res1 = 0 ;
9653 PyObject *swig_obj[1] ;
9654
9655 if (!args) SWIG_fail;
9656 swig_obj[0] = args;
9657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9658 if (!SWIG_IsOK(res1)) {
9659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9660 }
9661 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 {
9669 resultobj = wxPyMake_wxObject(result, 0);
9670 }
9671 return resultobj;
9672fail:
9673 return NULL;
d55e5bfc
RD
9674}
9675
9676
1bd55598
RD
9677SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9678 PyObject *resultobj = 0;
9679 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9680 wxWindow *result = 0 ;
9681 void *argp1 = 0 ;
9682 int res1 = 0 ;
9683 PyObject *swig_obj[1] ;
9684
9685 if (!args) SWIG_fail;
9686 swig_obj[0] = args;
9687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9688 if (!SWIG_IsOK(res1)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9690 }
9691 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 {
9699 resultobj = wxPyMake_wxObject(result, 0);
9700 }
9701 return resultobj;
9702fail:
9703 return NULL;
9704}
9705
9706
9707SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9708 PyObject *resultobj = 0;
9709 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9710 int arg2 ;
9711 void *argp1 = 0 ;
9712 int res1 = 0 ;
9713 int val2 ;
9714 int ecode2 = 0 ;
9715 PyObject * obj0 = 0 ;
9716 PyObject * obj1 = 0 ;
9717 char * kwnames[] = {
9718 (char *) "self",(char *) "mode", NULL
9719 };
9720
9721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9723 if (!SWIG_IsOK(res1)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9725 }
9726 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9727 ecode2 = SWIG_AsVal_int(obj1, &val2);
9728 if (!SWIG_IsOK(ecode2)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9730 }
9731 arg2 = static_cast< int >(val2);
9732 {
9733 PyThreadState* __tstate = wxPyBeginAllowThreads();
9734 (arg1)->SetSplitMode(arg2);
9735 wxPyEndAllowThreads(__tstate);
9736 if (PyErr_Occurred()) SWIG_fail;
9737 }
9738 resultobj = SWIG_Py_Void();
9739 return resultobj;
9740fail:
9741 return NULL;
d55e5bfc
RD
9742}
9743
9744
1bd55598
RD
9745SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9746 PyObject *resultobj = 0;
9747 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9748 wxSplitMode result;
9749 void *argp1 = 0 ;
9750 int res1 = 0 ;
9751 PyObject *swig_obj[1] ;
9752
9753 if (!args) SWIG_fail;
9754 swig_obj[0] = args;
9755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9756 if (!SWIG_IsOK(res1)) {
9757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9758 }
9759 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 resultobj = SWIG_From_int(static_cast< int >(result));
9767 return resultobj;
9768fail:
9769 return NULL;
9770}
9771
9772
9773SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj = 0;
9775 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9776 wxWindow *arg2 = (wxWindow *) 0 ;
9777 void *argp1 = 0 ;
9778 int res1 = 0 ;
9779 void *argp2 = 0 ;
9780 int res2 = 0 ;
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
9783 char * kwnames[] = {
9784 (char *) "self",(char *) "window", NULL
9785 };
9786
9787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) 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_Initialize" "', 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_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9796 }
9797 arg2 = reinterpret_cast< wxWindow * >(argp2);
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 (arg1)->Initialize(arg2);
9801 wxPyEndAllowThreads(__tstate);
9802 if (PyErr_Occurred()) SWIG_fail;
9803 }
9804 resultobj = SWIG_Py_Void();
9805 return resultobj;
9806fail:
9807 return NULL;
9808}
9809
9810
9811SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9812 PyObject *resultobj = 0;
9813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9814 wxWindow *arg2 = (wxWindow *) 0 ;
9815 wxWindow *arg3 = (wxWindow *) 0 ;
9816 int arg4 = (int) 0 ;
9817 bool result;
9818 void *argp1 = 0 ;
9819 int res1 = 0 ;
9820 void *argp2 = 0 ;
9821 int res2 = 0 ;
9822 void *argp3 = 0 ;
9823 int res3 = 0 ;
9824 int val4 ;
9825 int ecode4 = 0 ;
9826 PyObject * obj0 = 0 ;
9827 PyObject * obj1 = 0 ;
9828 PyObject * obj2 = 0 ;
9829 PyObject * obj3 = 0 ;
9830 char * kwnames[] = {
9831 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9832 };
9833
9834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9836 if (!SWIG_IsOK(res1)) {
9837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9838 }
9839 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9840 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9841 if (!SWIG_IsOK(res2)) {
9842 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9843 }
9844 arg2 = reinterpret_cast< wxWindow * >(argp2);
9845 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9846 if (!SWIG_IsOK(res3)) {
9847 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9848 }
9849 arg3 = reinterpret_cast< wxWindow * >(argp3);
9850 if (obj3) {
9851 ecode4 = SWIG_AsVal_int(obj3, &val4);
9852 if (!SWIG_IsOK(ecode4)) {
9853 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9854 }
9855 arg4 = static_cast< int >(val4);
9856 }
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 {
9864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9865 }
9866 return resultobj;
9867fail:
9868 return NULL;
9869}
9870
9871
9872SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9873 PyObject *resultobj = 0;
9874 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9875 wxWindow *arg2 = (wxWindow *) 0 ;
9876 wxWindow *arg3 = (wxWindow *) 0 ;
9877 int arg4 = (int) 0 ;
9878 bool result;
9879 void *argp1 = 0 ;
9880 int res1 = 0 ;
9881 void *argp2 = 0 ;
9882 int res2 = 0 ;
9883 void *argp3 = 0 ;
9884 int res3 = 0 ;
9885 int val4 ;
9886 int ecode4 = 0 ;
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 PyObject * obj2 = 0 ;
9890 PyObject * obj3 = 0 ;
9891 char * kwnames[] = {
9892 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9893 };
9894
9895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9897 if (!SWIG_IsOK(res1)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9899 }
9900 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9902 if (!SWIG_IsOK(res2)) {
9903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9904 }
9905 arg2 = reinterpret_cast< wxWindow * >(argp2);
9906 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9907 if (!SWIG_IsOK(res3)) {
9908 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9909 }
9910 arg3 = reinterpret_cast< wxWindow * >(argp3);
9911 if (obj3) {
9912 ecode4 = SWIG_AsVal_int(obj3, &val4);
9913 if (!SWIG_IsOK(ecode4)) {
9914 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9915 }
9916 arg4 = static_cast< int >(val4);
9917 }
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 {
9925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9926 }
9927 return resultobj;
9928fail:
9929 return NULL;
9930}
9931
9932
9933SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj = 0;
9935 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9936 wxWindow *arg2 = (wxWindow *) NULL ;
9937 bool result;
9938 void *argp1 = 0 ;
9939 int res1 = 0 ;
9940 void *argp2 = 0 ;
9941 int res2 = 0 ;
9942 PyObject * obj0 = 0 ;
9943 PyObject * obj1 = 0 ;
9944 char * kwnames[] = {
9945 (char *) "self",(char *) "toRemove", NULL
9946 };
9947
9948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9950 if (!SWIG_IsOK(res1)) {
9951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9952 }
9953 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9954 if (obj1) {
9955 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9956 if (!SWIG_IsOK(res2)) {
9957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
f20a2e1f 9958 }
1bd55598
RD
9959 arg2 = reinterpret_cast< wxWindow * >(argp2);
9960 }
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = (bool)(arg1)->Unsplit(arg2);
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 {
9968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9969 }
9970 return resultobj;
9971fail:
9972 return NULL;
9973}
9974
9975
9976SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj = 0;
9978 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9979 wxWindow *arg2 = (wxWindow *) 0 ;
9980 wxWindow *arg3 = (wxWindow *) 0 ;
9981 bool result;
9982 void *argp1 = 0 ;
9983 int res1 = 0 ;
9984 void *argp2 = 0 ;
9985 int res2 = 0 ;
9986 void *argp3 = 0 ;
9987 int res3 = 0 ;
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 PyObject * obj2 = 0 ;
9991 char * kwnames[] = {
9992 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9993 };
9994
9995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9997 if (!SWIG_IsOK(res1)) {
9998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9999 }
10000 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10001 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10002 if (!SWIG_IsOK(res2)) {
10003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10004 }
10005 arg2 = reinterpret_cast< wxWindow * >(argp2);
10006 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10007 if (!SWIG_IsOK(res3)) {
10008 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10009 }
10010 arg3 = reinterpret_cast< wxWindow * >(argp3);
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 {
10018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10019 }
10020 return resultobj;
10021fail:
10022 return NULL;
f20a2e1f
RD
10023}
10024
10025
1bd55598
RD
10026SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10027 PyObject *resultobj = 0;
10028 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10029 void *argp1 = 0 ;
10030 int res1 = 0 ;
10031 PyObject *swig_obj[1] ;
10032
10033 if (!args) SWIG_fail;
10034 swig_obj[0] = args;
10035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10036 if (!SWIG_IsOK(res1)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10038 }
10039 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10040 {
10041 PyThreadState* __tstate = wxPyBeginAllowThreads();
10042 (arg1)->UpdateSize();
10043 wxPyEndAllowThreads(__tstate);
10044 if (PyErr_Occurred()) SWIG_fail;
10045 }
10046 resultobj = SWIG_Py_Void();
10047 return resultobj;
10048fail:
10049 return NULL;
d55e5bfc
RD
10050}
10051
10052
1bd55598
RD
10053SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10054 PyObject *resultobj = 0;
10055 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10056 bool result;
10057 void *argp1 = 0 ;
10058 int res1 = 0 ;
10059 PyObject *swig_obj[1] ;
10060
10061 if (!args) SWIG_fail;
10062 swig_obj[0] = args;
10063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10064 if (!SWIG_IsOK(res1)) {
10065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10066 }
10067 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10068 {
10069 PyThreadState* __tstate = wxPyBeginAllowThreads();
10070 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 {
10075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10076 }
10077 return resultobj;
10078fail:
10079 return NULL;
10080}
10081
10082
10083SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj = 0;
10085 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10086 int arg2 ;
10087 void *argp1 = 0 ;
10088 int res1 = 0 ;
10089 int val2 ;
10090 int ecode2 = 0 ;
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 char * kwnames[] = {
10094 (char *) "self",(char *) "width", NULL
10095 };
10096
10097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10099 if (!SWIG_IsOK(res1)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 }
10102 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10103 ecode2 = SWIG_AsVal_int(obj1, &val2);
10104 if (!SWIG_IsOK(ecode2)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10106 }
10107 arg2 = static_cast< int >(val2);
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetSashSize(arg2);
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 resultobj = SWIG_Py_Void();
10115 return resultobj;
10116fail:
10117 return NULL;
10118}
10119
10120
10121SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj = 0;
10123 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10124 int arg2 ;
10125 void *argp1 = 0 ;
10126 int res1 = 0 ;
10127 int val2 ;
10128 int ecode2 = 0 ;
10129 PyObject * obj0 = 0 ;
10130 PyObject * obj1 = 0 ;
10131 char * kwnames[] = {
10132 (char *) "self",(char *) "width", NULL
10133 };
10134
10135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10137 if (!SWIG_IsOK(res1)) {
10138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10139 }
10140 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10141 ecode2 = SWIG_AsVal_int(obj1, &val2);
10142 if (!SWIG_IsOK(ecode2)) {
10143 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10144 }
10145 arg2 = static_cast< int >(val2);
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 (arg1)->SetBorderSize(arg2);
10149 wxPyEndAllowThreads(__tstate);
10150 if (PyErr_Occurred()) SWIG_fail;
10151 }
10152 resultobj = SWIG_Py_Void();
10153 return resultobj;
10154fail:
10155 return NULL;
d55e5bfc
RD
10156}
10157
10158
1bd55598
RD
10159SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10160 PyObject *resultobj = 0;
10161 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10162 int result;
10163 void *argp1 = 0 ;
10164 int res1 = 0 ;
10165 PyObject *swig_obj[1] ;
10166
10167 if (!args) SWIG_fail;
10168 swig_obj[0] = args;
10169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10170 if (!SWIG_IsOK(res1)) {
10171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10172 }
10173 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 resultobj = SWIG_From_int(static_cast< int >(result));
10181 return resultobj;
10182fail:
10183 return NULL;
d55e5bfc
RD
10184}
10185
10186
1bd55598
RD
10187SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10188 PyObject *resultobj = 0;
10189 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10190 int result;
10191 void *argp1 = 0 ;
10192 int res1 = 0 ;
10193 PyObject *swig_obj[1] ;
10194
10195 if (!args) SWIG_fail;
10196 swig_obj[0] = args;
10197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10200 }
10201 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_From_int(static_cast< int >(result));
10209 return resultobj;
10210fail:
10211 return NULL;
10212}
10213
10214
10215SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj = 0;
10217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10218 int arg2 ;
10219 bool arg3 = (bool) true ;
10220 void *argp1 = 0 ;
10221 int res1 = 0 ;
10222 int val2 ;
10223 int ecode2 = 0 ;
10224 bool val3 ;
10225 int ecode3 = 0 ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj1 = 0 ;
10228 PyObject * obj2 = 0 ;
10229 char * kwnames[] = {
10230 (char *) "self",(char *) "position",(char *) "redraw", NULL
10231 };
10232
10233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10235 if (!SWIG_IsOK(res1)) {
10236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10237 }
10238 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10239 ecode2 = SWIG_AsVal_int(obj1, &val2);
10240 if (!SWIG_IsOK(ecode2)) {
10241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10242 }
10243 arg2 = static_cast< int >(val2);
10244 if (obj2) {
10245 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10246 if (!SWIG_IsOK(ecode3)) {
10247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10248 }
10249 arg3 = static_cast< bool >(val3);
10250 }
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 (arg1)->SetSashPosition(arg2,arg3);
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 resultobj = SWIG_Py_Void();
10258 return resultobj;
10259fail:
10260 return NULL;
d55e5bfc
RD
10261}
10262
10263
1bd55598
RD
10264SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10265 PyObject *resultobj = 0;
10266 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10267 int result;
10268 void *argp1 = 0 ;
10269 int res1 = 0 ;
10270 PyObject *swig_obj[1] ;
10271
10272 if (!args) SWIG_fail;
10273 swig_obj[0] = args;
10274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10275 if (!SWIG_IsOK(res1)) {
10276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10277 }
10278 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 resultobj = SWIG_From_int(static_cast< int >(result));
10286 return resultobj;
10287fail:
10288 return NULL;
10289}
10290
10291
10292SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj = 0;
10294 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10295 double arg2 ;
10296 void *argp1 = 0 ;
10297 int res1 = 0 ;
10298 double val2 ;
10299 int ecode2 = 0 ;
10300 PyObject * obj0 = 0 ;
10301 PyObject * obj1 = 0 ;
10302 char * kwnames[] = {
10303 (char *) "self",(char *) "gravity", NULL
10304 };
10305
10306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10308 if (!SWIG_IsOK(res1)) {
10309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10310 }
10311 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10312 ecode2 = SWIG_AsVal_double(obj1, &val2);
10313 if (!SWIG_IsOK(ecode2)) {
10314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10315 }
10316 arg2 = static_cast< double >(val2);
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 (arg1)->SetSashGravity(arg2);
10320 wxPyEndAllowThreads(__tstate);
10321 if (PyErr_Occurred()) SWIG_fail;
10322 }
10323 resultobj = SWIG_Py_Void();
10324 return resultobj;
10325fail:
10326 return NULL;
d55e5bfc
RD
10327}
10328
10329
1bd55598
RD
10330SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10331 PyObject *resultobj = 0;
10332 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10333 double result;
10334 void *argp1 = 0 ;
10335 int res1 = 0 ;
10336 PyObject *swig_obj[1] ;
10337
10338 if (!args) SWIG_fail;
10339 swig_obj[0] = args;
10340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10341 if (!SWIG_IsOK(res1)) {
10342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10343 }
10344 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10348 wxPyEndAllowThreads(__tstate);
10349 if (PyErr_Occurred()) SWIG_fail;
10350 }
10351 resultobj = SWIG_From_double(static_cast< double >(result));
10352 return resultobj;
10353fail:
10354 return NULL;
10355}
10356
10357
10358SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10359 PyObject *resultobj = 0;
10360 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10361 int arg2 ;
10362 void *argp1 = 0 ;
10363 int res1 = 0 ;
10364 int val2 ;
10365 int ecode2 = 0 ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 char * kwnames[] = {
10369 (char *) "self",(char *) "min", NULL
10370 };
10371
10372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10374 if (!SWIG_IsOK(res1)) {
10375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10376 }
10377 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10378 ecode2 = SWIG_AsVal_int(obj1, &val2);
10379 if (!SWIG_IsOK(ecode2)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10381 }
10382 arg2 = static_cast< int >(val2);
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 (arg1)->SetMinimumPaneSize(arg2);
10386 wxPyEndAllowThreads(__tstate);
10387 if (PyErr_Occurred()) SWIG_fail;
10388 }
10389 resultobj = SWIG_Py_Void();
10390 return resultobj;
10391fail:
10392 return NULL;
b1fcee84
RD
10393}
10394
10395
1bd55598
RD
10396SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10397 PyObject *resultobj = 0;
10398 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10399 int result;
10400 void *argp1 = 0 ;
10401 int res1 = 0 ;
10402 PyObject *swig_obj[1] ;
10403
10404 if (!args) SWIG_fail;
10405 swig_obj[0] = args;
10406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10407 if (!SWIG_IsOK(res1)) {
10408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10409 }
10410 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10414 wxPyEndAllowThreads(__tstate);
10415 if (PyErr_Occurred()) SWIG_fail;
10416 }
10417 resultobj = SWIG_From_int(static_cast< int >(result));
10418 return resultobj;
10419fail:
10420 return NULL;
10421}
10422
10423
10424SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj = 0;
10426 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10427 int arg2 ;
10428 int arg3 ;
10429 int arg4 = (int) 5 ;
10430 bool result;
10431 void *argp1 = 0 ;
10432 int res1 = 0 ;
10433 int val2 ;
10434 int ecode2 = 0 ;
10435 int val3 ;
10436 int ecode3 = 0 ;
10437 int val4 ;
10438 int ecode4 = 0 ;
10439 PyObject * obj0 = 0 ;
10440 PyObject * obj1 = 0 ;
10441 PyObject * obj2 = 0 ;
10442 PyObject * obj3 = 0 ;
10443 char * kwnames[] = {
10444 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10445 };
10446
10447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10449 if (!SWIG_IsOK(res1)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10451 }
10452 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10453 ecode2 = SWIG_AsVal_int(obj1, &val2);
10454 if (!SWIG_IsOK(ecode2)) {
10455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10456 }
10457 arg2 = static_cast< int >(val2);
10458 ecode3 = SWIG_AsVal_int(obj2, &val3);
10459 if (!SWIG_IsOK(ecode3)) {
10460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10461 }
10462 arg3 = static_cast< int >(val3);
10463 if (obj3) {
10464 ecode4 = SWIG_AsVal_int(obj3, &val4);
10465 if (!SWIG_IsOK(ecode4)) {
10466 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10467 }
10468 arg4 = static_cast< int >(val4);
10469 }
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 {
10477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10478 }
10479 return resultobj;
10480fail:
10481 return NULL;
b1fcee84
RD
10482}
10483
10484
1bd55598
RD
10485SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10486 PyObject *resultobj = 0;
10487 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10488 void *argp1 = 0 ;
10489 int res1 = 0 ;
10490 PyObject *swig_obj[1] ;
10491
10492 if (!args) SWIG_fail;
10493 swig_obj[0] = args;
10494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10495 if (!SWIG_IsOK(res1)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10497 }
10498 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 (arg1)->SizeWindows();
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 resultobj = SWIG_Py_Void();
10506 return resultobj;
10507fail:
10508 return NULL;
10509}
10510
10511
10512SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj = 0;
10514 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10515 bool arg2 ;
10516 void *argp1 = 0 ;
10517 int res1 = 0 ;
10518 bool val2 ;
10519 int ecode2 = 0 ;
10520 PyObject * obj0 = 0 ;
10521 PyObject * obj1 = 0 ;
10522 char * kwnames[] = {
10523 (char *) "self",(char *) "needUpdating", NULL
10524 };
10525
10526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10528 if (!SWIG_IsOK(res1)) {
10529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10530 }
10531 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10532 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10533 if (!SWIG_IsOK(ecode2)) {
10534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10535 }
10536 arg2 = static_cast< bool >(val2);
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 (arg1)->SetNeedUpdating(arg2);
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
10543 resultobj = SWIG_Py_Void();
10544 return resultobj;
10545fail:
10546 return NULL;
b1fcee84
RD
10547}
10548
10549
1bd55598
RD
10550SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10551 PyObject *resultobj = 0;
10552 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10553 bool result;
10554 void *argp1 = 0 ;
10555 int res1 = 0 ;
10556 PyObject *swig_obj[1] ;
10557
10558 if (!args) SWIG_fail;
10559 swig_obj[0] = args;
10560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10561 if (!SWIG_IsOK(res1)) {
10562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10563 }
10564 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10565 {
10566 PyThreadState* __tstate = wxPyBeginAllowThreads();
10567 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 {
10572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10573 }
10574 return resultobj;
10575fail:
10576 return NULL;
b1fcee84
RD
10577}
10578
10579
1bd55598
RD
10580SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj = 0;
10582 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10583 SwigValueWrapper<wxVisualAttributes > result;
10584 int val1 ;
10585 int ecode1 = 0 ;
10586 PyObject * obj0 = 0 ;
10587 char * kwnames[] = {
10588 (char *) "variant", NULL
10589 };
10590
10591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10592 if (obj0) {
10593 ecode1 = SWIG_AsVal_int(obj0, &val1);
10594 if (!SWIG_IsOK(ecode1)) {
10595 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10596 }
10597 arg1 = static_cast< wxWindowVariant >(val1);
10598 }
10599 {
10600 if (!wxPyCheckForApp()) SWIG_fail;
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10607 return resultobj;
10608fail:
10609 return NULL;
d55e5bfc
RD
10610}
10611
10612
1bd55598
RD
10613SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10614 PyObject *obj;
10615 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10616 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10617 return SWIG_Py_Void();
d55e5bfc
RD
10618}
10619
1bd55598
RD
10620SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10621 return SWIG_Python_InitShadowInstance(args);
62d32a5f
RD
10622}
10623
1bd55598
RD
10624SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10625 PyObject *resultobj = 0;
10626 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10627 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10628 wxSplitterEvent *result = 0 ;
10629 int val1 ;
10630 int ecode1 = 0 ;
10631 void *argp2 = 0 ;
10632 int res2 = 0 ;
10633 PyObject * obj0 = 0 ;
10634 PyObject * obj1 = 0 ;
10635 char * kwnames[] = {
10636 (char *) "type",(char *) "splitter", NULL
10637 };
10638
10639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10640 if (obj0) {
10641 ecode1 = SWIG_AsVal_int(obj0, &val1);
10642 if (!SWIG_IsOK(ecode1)) {
10643 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10644 }
10645 arg1 = static_cast< wxEventType >(val1);
10646 }
10647 if (obj1) {
10648 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10649 if (!SWIG_IsOK(res2)) {
10650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
d55e5bfc 10651 }
1bd55598
RD
10652 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10653 }
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10657 wxPyEndAllowThreads(__tstate);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10661 return resultobj;
10662fail:
10663 return NULL;
10664}
10665
10666
10667SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10668 PyObject *resultobj = 0;
10669 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10670 int arg2 ;
10671 void *argp1 = 0 ;
10672 int res1 = 0 ;
10673 int val2 ;
10674 int ecode2 = 0 ;
10675 PyObject * obj0 = 0 ;
10676 PyObject * obj1 = 0 ;
10677 char * kwnames[] = {
10678 (char *) "self",(char *) "pos", NULL
10679 };
10680
10681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10683 if (!SWIG_IsOK(res1)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10685 }
10686 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10687 ecode2 = SWIG_AsVal_int(obj1, &val2);
10688 if (!SWIG_IsOK(ecode2)) {
10689 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10690 }
10691 arg2 = static_cast< int >(val2);
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 (arg1)->SetSashPosition(arg2);
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 resultobj = SWIG_Py_Void();
10699 return resultobj;
10700fail:
10701 return NULL;
d55e5bfc
RD
10702}
10703
10704
1bd55598
RD
10705SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10706 PyObject *resultobj = 0;
10707 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10708 int result;
10709 void *argp1 = 0 ;
10710 int res1 = 0 ;
10711 PyObject *swig_obj[1] ;
10712
10713 if (!args) SWIG_fail;
10714 swig_obj[0] = args;
10715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10716 if (!SWIG_IsOK(res1)) {
10717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10718 }
10719 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10720 {
10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
10722 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 resultobj = SWIG_From_int(static_cast< int >(result));
10727 return resultobj;
10728fail:
10729 return NULL;
d55e5bfc
RD
10730}
10731
10732
1bd55598
RD
10733SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10734 PyObject *resultobj = 0;
10735 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10736 wxWindow *result = 0 ;
10737 void *argp1 = 0 ;
10738 int res1 = 0 ;
10739 PyObject *swig_obj[1] ;
10740
10741 if (!args) SWIG_fail;
10742 swig_obj[0] = args;
10743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10744 if (!SWIG_IsOK(res1)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10746 }
10747 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 {
10755 resultobj = wxPyMake_wxObject(result, 0);
10756 }
10757 return resultobj;
10758fail:
10759 return NULL;
d55e5bfc
RD
10760}
10761
10762
1bd55598
RD
10763SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10764 PyObject *resultobj = 0;
10765 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10766 int result;
10767 void *argp1 = 0 ;
10768 int res1 = 0 ;
10769 PyObject *swig_obj[1] ;
10770
10771 if (!args) SWIG_fail;
10772 swig_obj[0] = args;
10773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10774 if (!SWIG_IsOK(res1)) {
10775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10776 }
10777 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 resultobj = SWIG_From_int(static_cast< int >(result));
10785 return resultobj;
10786fail:
10787 return NULL;
f20a2e1f
RD
10788}
10789
10790
1bd55598
RD
10791SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10792 PyObject *resultobj = 0;
10793 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10794 int result;
10795 void *argp1 = 0 ;
10796 int res1 = 0 ;
10797 PyObject *swig_obj[1] ;
10798
10799 if (!args) SWIG_fail;
10800 swig_obj[0] = args;
10801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10802 if (!SWIG_IsOK(res1)) {
10803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10804 }
10805 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 resultobj = SWIG_From_int(static_cast< int >(result));
10813 return resultobj;
10814fail:
10815 return NULL;
d55e5bfc
RD
10816}
10817
10818
1bd55598
RD
10819SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10820 PyObject *obj;
10821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10822 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10823 return SWIG_Py_Void();
d55e5bfc
RD
10824}
10825
1bd55598
RD
10826SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10827 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10828}
10829
1bd55598
RD
10830SWIGINTERN int SashNameStr_set(PyObject *) {
10831 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10832 return 1;
d55e5bfc
RD
10833}
10834
10835
1bd55598
RD
10836SWIGINTERN PyObject *SashNameStr_get(void) {
10837 PyObject *pyobj = 0;
10838
10839 {
10840#if wxUSE_UNICODE
10841 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10842#else
10843 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10844#endif
10845 }
10846 return pyobj;
d55e5bfc
RD
10847}
10848
10849
1bd55598
RD
10850SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10851 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10852 return 1;
d55e5bfc
RD
10853}
10854
10855
1bd55598
RD
10856SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10857 PyObject *pyobj = 0;
10858
10859 {
10860#if wxUSE_UNICODE
10861 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10862#else
10863 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10864#endif
10865 }
10866 return pyobj;
10867}
10868
10869
10870SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10871 PyObject *resultobj = 0;
10872 wxWindow *arg1 = (wxWindow *) 0 ;
10873 int arg2 = (int) -1 ;
10874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10876 wxSize const &arg4_defvalue = wxDefaultSize ;
10877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10878 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10879 wxString const &arg6_defvalue = wxPySashNameStr ;
10880 wxString *arg6 = (wxString *) &arg6_defvalue ;
10881 wxSashWindow *result = 0 ;
10882 void *argp1 = 0 ;
10883 int res1 = 0 ;
10884 int val2 ;
10885 int ecode2 = 0 ;
10886 wxPoint temp3 ;
10887 wxSize temp4 ;
10888 long val5 ;
10889 int ecode5 = 0 ;
10890 bool temp6 = false ;
10891 PyObject * obj0 = 0 ;
10892 PyObject * obj1 = 0 ;
10893 PyObject * obj2 = 0 ;
10894 PyObject * obj3 = 0 ;
10895 PyObject * obj4 = 0 ;
10896 PyObject * obj5 = 0 ;
10897 char * kwnames[] = {
10898 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10899 };
10900
10901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10903 if (!SWIG_IsOK(res1)) {
10904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10905 }
10906 arg1 = reinterpret_cast< wxWindow * >(argp1);
10907 if (obj1) {
10908 ecode2 = SWIG_AsVal_int(obj1, &val2);
10909 if (!SWIG_IsOK(ecode2)) {
10910 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10911 }
10912 arg2 = static_cast< int >(val2);
10913 }
10914 if (obj2) {
36ed4f51 10915 {
1bd55598
RD
10916 arg3 = &temp3;
10917 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 10918 }
1bd55598
RD
10919 }
10920 if (obj3) {
36ed4f51 10921 {
1bd55598
RD
10922 arg4 = &temp4;
10923 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 10924 }
1bd55598
RD
10925 }
10926 if (obj4) {
10927 ecode5 = SWIG_AsVal_long(obj4, &val5);
10928 if (!SWIG_IsOK(ecode5)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10930 }
10931 arg5 = static_cast< long >(val5);
10932 }
10933 if (obj5) {
36ed4f51 10934 {
1bd55598
RD
10935 arg6 = wxString_in_helper(obj5);
10936 if (arg6 == NULL) SWIG_fail;
10937 temp6 = true;
d55e5bfc 10938 }
1bd55598
RD
10939 }
10940 {
10941 if (!wxPyCheckForApp()) SWIG_fail;
10942 PyThreadState* __tstate = wxPyBeginAllowThreads();
10943 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10948 {
10949 if (temp6)
10950 delete arg6;
10951 }
10952 return resultobj;
10953fail:
10954 {
10955 if (temp6)
10956 delete arg6;
10957 }
10958 return NULL;
d55e5bfc
RD
10959}
10960
10961
1bd55598
RD
10962SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10963 PyObject *resultobj = 0;
10964 wxSashWindow *result = 0 ;
10965
10966 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10967 {
10968 if (!wxPyCheckForApp()) SWIG_fail;
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 result = (wxSashWindow *)new wxSashWindow();
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10975 return resultobj;
10976fail:
10977 return NULL;
10978}
10979
10980
10981SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj = 0;
10983 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10984 wxWindow *arg2 = (wxWindow *) 0 ;
10985 int arg3 = (int) -1 ;
10986 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10987 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10988 wxSize const &arg5_defvalue = wxDefaultSize ;
10989 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10990 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10991 wxString const &arg7_defvalue = wxPySashNameStr ;
10992 wxString *arg7 = (wxString *) &arg7_defvalue ;
10993 bool result;
10994 void *argp1 = 0 ;
10995 int res1 = 0 ;
10996 void *argp2 = 0 ;
10997 int res2 = 0 ;
10998 int val3 ;
10999 int ecode3 = 0 ;
11000 wxPoint temp4 ;
11001 wxSize temp5 ;
11002 long val6 ;
11003 int ecode6 = 0 ;
11004 bool temp7 = false ;
11005 PyObject * obj0 = 0 ;
11006 PyObject * obj1 = 0 ;
11007 PyObject * obj2 = 0 ;
11008 PyObject * obj3 = 0 ;
11009 PyObject * obj4 = 0 ;
11010 PyObject * obj5 = 0 ;
11011 PyObject * obj6 = 0 ;
11012 char * kwnames[] = {
11013 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11014 };
11015
11016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11018 if (!SWIG_IsOK(res1)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11020 }
11021 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11022 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11023 if (!SWIG_IsOK(res2)) {
11024 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11025 }
11026 arg2 = reinterpret_cast< wxWindow * >(argp2);
11027 if (obj2) {
11028 ecode3 = SWIG_AsVal_int(obj2, &val3);
11029 if (!SWIG_IsOK(ecode3)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11031 }
11032 arg3 = static_cast< int >(val3);
11033 }
11034 if (obj3) {
d55e5bfc 11035 {
1bd55598
RD
11036 arg4 = &temp4;
11037 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11038 }
1bd55598
RD
11039 }
11040 if (obj4) {
36ed4f51 11041 {
1bd55598
RD
11042 arg5 = &temp5;
11043 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 11044 }
1bd55598
RD
11045 }
11046 if (obj5) {
11047 ecode6 = SWIG_AsVal_long(obj5, &val6);
11048 if (!SWIG_IsOK(ecode6)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11050 }
11051 arg6 = static_cast< long >(val6);
11052 }
11053 if (obj6) {
d55e5bfc 11054 {
1bd55598
RD
11055 arg7 = wxString_in_helper(obj6);
11056 if (arg7 == NULL) SWIG_fail;
11057 temp7 = true;
36ed4f51 11058 }
1bd55598
RD
11059 }
11060 {
11061 PyThreadState* __tstate = wxPyBeginAllowThreads();
11062 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11063 wxPyEndAllowThreads(__tstate);
11064 if (PyErr_Occurred()) SWIG_fail;
11065 }
11066 {
11067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11068 }
11069 {
11070 if (temp7)
11071 delete arg7;
11072 }
11073 return resultobj;
11074fail:
11075 {
11076 if (temp7)
11077 delete arg7;
11078 }
11079 return NULL;
11080}
11081
11082
11083SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj = 0;
11085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11086 wxSashEdgePosition arg2 ;
11087 bool arg3 ;
11088 void *argp1 = 0 ;
11089 int res1 = 0 ;
11090 int val2 ;
11091 int ecode2 = 0 ;
11092 bool val3 ;
11093 int ecode3 = 0 ;
11094 PyObject * obj0 = 0 ;
11095 PyObject * obj1 = 0 ;
11096 PyObject * obj2 = 0 ;
11097 char * kwnames[] = {
11098 (char *) "self",(char *) "edge",(char *) "sash", NULL
11099 };
11100
11101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11102 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11103 if (!SWIG_IsOK(res1)) {
11104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11105 }
11106 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11107 ecode2 = SWIG_AsVal_int(obj1, &val2);
11108 if (!SWIG_IsOK(ecode2)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11110 }
11111 arg2 = static_cast< wxSashEdgePosition >(val2);
11112 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11113 if (!SWIG_IsOK(ecode3)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11115 }
11116 arg3 = static_cast< bool >(val3);
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 (arg1)->SetSashVisible(arg2,arg3);
11120 wxPyEndAllowThreads(__tstate);
11121 if (PyErr_Occurred()) SWIG_fail;
11122 }
11123 resultobj = SWIG_Py_Void();
11124 return resultobj;
11125fail:
11126 return NULL;
11127}
11128
11129
11130SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11131 PyObject *resultobj = 0;
11132 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11133 wxSashEdgePosition arg2 ;
11134 bool result;
11135 void *argp1 = 0 ;
11136 int res1 = 0 ;
11137 int val2 ;
11138 int ecode2 = 0 ;
11139 PyObject * obj0 = 0 ;
11140 PyObject * obj1 = 0 ;
11141 char * kwnames[] = {
11142 (char *) "self",(char *) "edge", NULL
11143 };
11144
11145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11147 if (!SWIG_IsOK(res1)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11149 }
11150 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11151 ecode2 = SWIG_AsVal_int(obj1, &val2);
11152 if (!SWIG_IsOK(ecode2)) {
11153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11154 }
11155 arg2 = static_cast< wxSashEdgePosition >(val2);
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 {
11163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11164 }
11165 return resultobj;
11166fail:
11167 return NULL;
11168}
11169
11170
11171SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj = 0;
11173 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11174 wxSashEdgePosition arg2 ;
11175 bool arg3 ;
11176 void *argp1 = 0 ;
11177 int res1 = 0 ;
11178 int val2 ;
11179 int ecode2 = 0 ;
11180 bool val3 ;
11181 int ecode3 = 0 ;
11182 PyObject * obj0 = 0 ;
11183 PyObject * obj1 = 0 ;
11184 PyObject * obj2 = 0 ;
11185 char * kwnames[] = {
11186 (char *) "self",(char *) "edge",(char *) "border", NULL
11187 };
11188
11189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11191 if (!SWIG_IsOK(res1)) {
11192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11193 }
11194 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11195 ecode2 = SWIG_AsVal_int(obj1, &val2);
11196 if (!SWIG_IsOK(ecode2)) {
11197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11198 }
11199 arg2 = static_cast< wxSashEdgePosition >(val2);
11200 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11201 if (!SWIG_IsOK(ecode3)) {
11202 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11203 }
11204 arg3 = static_cast< bool >(val3);
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 (arg1)->SetSashBorder(arg2,arg3);
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = SWIG_Py_Void();
11212 return resultobj;
11213fail:
11214 return NULL;
11215}
11216
11217
11218SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj = 0;
11220 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11221 wxSashEdgePosition arg2 ;
11222 bool result;
11223 void *argp1 = 0 ;
11224 int res1 = 0 ;
11225 int val2 ;
11226 int ecode2 = 0 ;
11227 PyObject * obj0 = 0 ;
11228 PyObject * obj1 = 0 ;
11229 char * kwnames[] = {
11230 (char *) "self",(char *) "edge", NULL
11231 };
11232
11233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11235 if (!SWIG_IsOK(res1)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11237 }
11238 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11239 ecode2 = SWIG_AsVal_int(obj1, &val2);
11240 if (!SWIG_IsOK(ecode2)) {
11241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11242 }
11243 arg2 = static_cast< wxSashEdgePosition >(val2);
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 {
11251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11252 }
11253 return resultobj;
11254fail:
11255 return NULL;
11256}
11257
11258
11259SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj = 0;
11261 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11262 wxSashEdgePosition arg2 ;
11263 int result;
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 *) "edge", NULL
11272 };
11273
11274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",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_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
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_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11283 }
11284 arg2 = static_cast< wxSashEdgePosition >(val2);
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 resultobj = SWIG_From_int(static_cast< int >(result));
11292 return resultobj;
11293fail:
11294 return NULL;
11295}
11296
11297
11298SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj = 0;
11300 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11301 int arg2 ;
11302 void *argp1 = 0 ;
11303 int res1 = 0 ;
11304 int val2 ;
11305 int ecode2 = 0 ;
11306 PyObject * obj0 = 0 ;
11307 PyObject * obj1 = 0 ;
11308 char * kwnames[] = {
11309 (char *) "self",(char *) "width", NULL
11310 };
11311
11312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11314 if (!SWIG_IsOK(res1)) {
11315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11316 }
11317 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11318 ecode2 = SWIG_AsVal_int(obj1, &val2);
11319 if (!SWIG_IsOK(ecode2)) {
11320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11321 }
11322 arg2 = static_cast< int >(val2);
11323 {
11324 PyThreadState* __tstate = wxPyBeginAllowThreads();
11325 (arg1)->SetDefaultBorderSize(arg2);
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 resultobj = SWIG_Py_Void();
11330 return resultobj;
11331fail:
11332 return NULL;
d55e5bfc
RD
11333}
11334
11335
1bd55598
RD
11336SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11337 PyObject *resultobj = 0;
11338 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11339 int result;
11340 void *argp1 = 0 ;
11341 int res1 = 0 ;
11342 PyObject *swig_obj[1] ;
11343
11344 if (!args) SWIG_fail;
11345 swig_obj[0] = args;
11346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11347 if (!SWIG_IsOK(res1)) {
11348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11349 }
11350 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11354 wxPyEndAllowThreads(__tstate);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 resultobj = SWIG_From_int(static_cast< int >(result));
11358 return resultobj;
11359fail:
11360 return NULL;
11361}
11362
11363
11364SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11365 PyObject *resultobj = 0;
11366 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11367 int arg2 ;
11368 void *argp1 = 0 ;
11369 int res1 = 0 ;
11370 int val2 ;
11371 int ecode2 = 0 ;
11372 PyObject * obj0 = 0 ;
11373 PyObject * obj1 = 0 ;
11374 char * kwnames[] = {
11375 (char *) "self",(char *) "width", NULL
11376 };
11377
11378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11380 if (!SWIG_IsOK(res1)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11382 }
11383 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11384 ecode2 = SWIG_AsVal_int(obj1, &val2);
11385 if (!SWIG_IsOK(ecode2)) {
11386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11387 }
11388 arg2 = static_cast< int >(val2);
11389 {
11390 PyThreadState* __tstate = wxPyBeginAllowThreads();
11391 (arg1)->SetExtraBorderSize(arg2);
11392 wxPyEndAllowThreads(__tstate);
11393 if (PyErr_Occurred()) SWIG_fail;
11394 }
11395 resultobj = SWIG_Py_Void();
11396 return resultobj;
11397fail:
11398 return NULL;
d55e5bfc
RD
11399}
11400
11401
1bd55598
RD
11402SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11403 PyObject *resultobj = 0;
11404 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11405 int result;
11406 void *argp1 = 0 ;
11407 int res1 = 0 ;
11408 PyObject *swig_obj[1] ;
11409
11410 if (!args) SWIG_fail;
11411 swig_obj[0] = args;
11412 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11413 if (!SWIG_IsOK(res1)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11415 }
11416 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11420 wxPyEndAllowThreads(__tstate);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 }
11423 resultobj = SWIG_From_int(static_cast< int >(result));
11424 return resultobj;
11425fail:
11426 return NULL;
11427}
11428
11429
11430SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11431 PyObject *resultobj = 0;
11432 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11433 int arg2 ;
11434 void *argp1 = 0 ;
11435 int res1 = 0 ;
11436 int val2 ;
11437 int ecode2 = 0 ;
11438 PyObject * obj0 = 0 ;
11439 PyObject * obj1 = 0 ;
11440 char * kwnames[] = {
11441 (char *) "self",(char *) "min", NULL
11442 };
11443
11444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11446 if (!SWIG_IsOK(res1)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11448 }
11449 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11450 ecode2 = SWIG_AsVal_int(obj1, &val2);
11451 if (!SWIG_IsOK(ecode2)) {
11452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11453 }
11454 arg2 = static_cast< int >(val2);
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 (arg1)->SetMinimumSizeX(arg2);
11458 wxPyEndAllowThreads(__tstate);
11459 if (PyErr_Occurred()) SWIG_fail;
11460 }
11461 resultobj = SWIG_Py_Void();
11462 return resultobj;
11463fail:
11464 return NULL;
11465}
11466
11467
11468SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11469 PyObject *resultobj = 0;
11470 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11471 int arg2 ;
11472 void *argp1 = 0 ;
11473 int res1 = 0 ;
11474 int val2 ;
11475 int ecode2 = 0 ;
11476 PyObject * obj0 = 0 ;
11477 PyObject * obj1 = 0 ;
11478 char * kwnames[] = {
11479 (char *) "self",(char *) "min", NULL
11480 };
11481
11482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11484 if (!SWIG_IsOK(res1)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11486 }
11487 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11488 ecode2 = SWIG_AsVal_int(obj1, &val2);
11489 if (!SWIG_IsOK(ecode2)) {
11490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11491 }
11492 arg2 = static_cast< int >(val2);
11493 {
11494 PyThreadState* __tstate = wxPyBeginAllowThreads();
11495 (arg1)->SetMinimumSizeY(arg2);
11496 wxPyEndAllowThreads(__tstate);
11497 if (PyErr_Occurred()) SWIG_fail;
11498 }
11499 resultobj = SWIG_Py_Void();
11500 return resultobj;
11501fail:
11502 return NULL;
d55e5bfc
RD
11503}
11504
11505
1bd55598
RD
11506SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11507 PyObject *resultobj = 0;
11508 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11509 int result;
11510 void *argp1 = 0 ;
11511 int res1 = 0 ;
11512 PyObject *swig_obj[1] ;
11513
11514 if (!args) SWIG_fail;
11515 swig_obj[0] = args;
11516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11517 if (!SWIG_IsOK(res1)) {
11518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11519 }
11520 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11521 {
11522 PyThreadState* __tstate = wxPyBeginAllowThreads();
11523 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11524 wxPyEndAllowThreads(__tstate);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
11527 resultobj = SWIG_From_int(static_cast< int >(result));
11528 return resultobj;
11529fail:
11530 return NULL;
d55e5bfc
RD
11531}
11532
11533
1bd55598
RD
11534SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11535 PyObject *resultobj = 0;
11536 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11537 int result;
11538 void *argp1 = 0 ;
11539 int res1 = 0 ;
11540 PyObject *swig_obj[1] ;
11541
11542 if (!args) SWIG_fail;
11543 swig_obj[0] = args;
11544 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11545 if (!SWIG_IsOK(res1)) {
11546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11547 }
11548 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 resultobj = SWIG_From_int(static_cast< int >(result));
11556 return resultobj;
11557fail:
11558 return NULL;
11559}
11560
11561
11562SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj = 0;
11564 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11565 int arg2 ;
11566 void *argp1 = 0 ;
11567 int res1 = 0 ;
11568 int val2 ;
11569 int ecode2 = 0 ;
11570 PyObject * obj0 = 0 ;
11571 PyObject * obj1 = 0 ;
11572 char * kwnames[] = {
11573 (char *) "self",(char *) "max", NULL
11574 };
11575
11576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11578 if (!SWIG_IsOK(res1)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11580 }
11581 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11582 ecode2 = SWIG_AsVal_int(obj1, &val2);
11583 if (!SWIG_IsOK(ecode2)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11585 }
11586 arg2 = static_cast< int >(val2);
11587 {
11588 PyThreadState* __tstate = wxPyBeginAllowThreads();
11589 (arg1)->SetMaximumSizeX(arg2);
11590 wxPyEndAllowThreads(__tstate);
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 resultobj = SWIG_Py_Void();
11594 return resultobj;
11595fail:
11596 return NULL;
11597}
11598
11599
11600SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11601 PyObject *resultobj = 0;
11602 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11603 int arg2 ;
11604 void *argp1 = 0 ;
11605 int res1 = 0 ;
11606 int val2 ;
11607 int ecode2 = 0 ;
11608 PyObject * obj0 = 0 ;
11609 PyObject * obj1 = 0 ;
11610 char * kwnames[] = {
11611 (char *) "self",(char *) "max", NULL
11612 };
11613
11614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11616 if (!SWIG_IsOK(res1)) {
11617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11618 }
11619 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11620 ecode2 = SWIG_AsVal_int(obj1, &val2);
11621 if (!SWIG_IsOK(ecode2)) {
11622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11623 }
11624 arg2 = static_cast< int >(val2);
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 (arg1)->SetMaximumSizeY(arg2);
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 resultobj = SWIG_Py_Void();
11632 return resultobj;
11633fail:
11634 return NULL;
d55e5bfc
RD
11635}
11636
11637
1bd55598
RD
11638SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11639 PyObject *resultobj = 0;
11640 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11641 int result;
11642 void *argp1 = 0 ;
11643 int res1 = 0 ;
11644 PyObject *swig_obj[1] ;
11645
11646 if (!args) SWIG_fail;
11647 swig_obj[0] = args;
11648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11649 if (!SWIG_IsOK(res1)) {
11650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11651 }
11652 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = SWIG_From_int(static_cast< int >(result));
11660 return resultobj;
11661fail:
11662 return NULL;
d55e5bfc
RD
11663}
11664
11665
1bd55598
RD
11666SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11667 PyObject *resultobj = 0;
11668 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11669 int result;
11670 void *argp1 = 0 ;
11671 int res1 = 0 ;
11672 PyObject *swig_obj[1] ;
11673
11674 if (!args) SWIG_fail;
11675 swig_obj[0] = args;
11676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11677 if (!SWIG_IsOK(res1)) {
11678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11679 }
11680 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11684 wxPyEndAllowThreads(__tstate);
11685 if (PyErr_Occurred()) SWIG_fail;
11686 }
11687 resultobj = SWIG_From_int(static_cast< int >(result));
11688 return resultobj;
11689fail:
11690 return NULL;
11691}
11692
11693
11694SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11695 PyObject *resultobj = 0;
11696 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11697 int arg2 ;
11698 int arg3 ;
11699 int arg4 = (int) 2 ;
11700 wxSashEdgePosition result;
11701 void *argp1 = 0 ;
11702 int res1 = 0 ;
11703 int val2 ;
11704 int ecode2 = 0 ;
11705 int val3 ;
11706 int ecode3 = 0 ;
11707 int val4 ;
11708 int ecode4 = 0 ;
11709 PyObject * obj0 = 0 ;
11710 PyObject * obj1 = 0 ;
11711 PyObject * obj2 = 0 ;
11712 PyObject * obj3 = 0 ;
11713 char * kwnames[] = {
11714 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11715 };
11716
11717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11719 if (!SWIG_IsOK(res1)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11721 }
11722 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11723 ecode2 = SWIG_AsVal_int(obj1, &val2);
11724 if (!SWIG_IsOK(ecode2)) {
11725 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11726 }
11727 arg2 = static_cast< int >(val2);
11728 ecode3 = SWIG_AsVal_int(obj2, &val3);
11729 if (!SWIG_IsOK(ecode3)) {
11730 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11731 }
11732 arg3 = static_cast< int >(val3);
11733 if (obj3) {
11734 ecode4 = SWIG_AsVal_int(obj3, &val4);
11735 if (!SWIG_IsOK(ecode4)) {
11736 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11737 }
11738 arg4 = static_cast< int >(val4);
11739 }
11740 {
11741 PyThreadState* __tstate = wxPyBeginAllowThreads();
11742 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 resultobj = SWIG_From_int(static_cast< int >(result));
11747 return resultobj;
11748fail:
11749 return NULL;
d55e5bfc
RD
11750}
11751
11752
1bd55598
RD
11753SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11754 PyObject *resultobj = 0;
11755 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11756 void *argp1 = 0 ;
11757 int res1 = 0 ;
11758 PyObject *swig_obj[1] ;
11759
11760 if (!args) SWIG_fail;
11761 swig_obj[0] = args;
11762 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11763 if (!SWIG_IsOK(res1)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11765 }
11766 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 (arg1)->SizeWindows();
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 resultobj = SWIG_Py_Void();
11774 return resultobj;
11775fail:
11776 return NULL;
d55e5bfc
RD
11777}
11778
11779
1bd55598
RD
11780SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11781 PyObject *obj;
11782 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11783 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11784 return SWIG_Py_Void();
d55e5bfc
RD
11785}
11786
1bd55598
RD
11787SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11788 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
11789}
11790
1bd55598
RD
11791SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj = 0;
11793 int arg1 = (int) 0 ;
11794 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11795 wxSashEvent *result = 0 ;
11796 int val1 ;
11797 int ecode1 = 0 ;
11798 int val2 ;
11799 int ecode2 = 0 ;
11800 PyObject * obj0 = 0 ;
11801 PyObject * obj1 = 0 ;
11802 char * kwnames[] = {
11803 (char *) "id",(char *) "edge", NULL
11804 };
11805
11806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11807 if (obj0) {
11808 ecode1 = SWIG_AsVal_int(obj0, &val1);
11809 if (!SWIG_IsOK(ecode1)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11811 }
11812 arg1 = static_cast< int >(val1);
11813 }
11814 if (obj1) {
11815 ecode2 = SWIG_AsVal_int(obj1, &val2);
11816 if (!SWIG_IsOK(ecode2)) {
11817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11818 }
11819 arg2 = static_cast< wxSashEdgePosition >(val2);
11820 }
11821 {
11822 PyThreadState* __tstate = wxPyBeginAllowThreads();
11823 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11824 wxPyEndAllowThreads(__tstate);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 }
11827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11828 return resultobj;
11829fail:
11830 return NULL;
11831}
11832
11833
11834SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11835 PyObject *resultobj = 0;
11836 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11837 wxSashEdgePosition arg2 ;
11838 void *argp1 = 0 ;
11839 int res1 = 0 ;
11840 int val2 ;
11841 int ecode2 = 0 ;
11842 PyObject * obj0 = 0 ;
11843 PyObject * obj1 = 0 ;
11844 char * kwnames[] = {
11845 (char *) "self",(char *) "edge", NULL
11846 };
11847
11848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11850 if (!SWIG_IsOK(res1)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11852 }
11853 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11854 ecode2 = SWIG_AsVal_int(obj1, &val2);
11855 if (!SWIG_IsOK(ecode2)) {
11856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11857 }
11858 arg2 = static_cast< wxSashEdgePosition >(val2);
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 (arg1)->SetEdge(arg2);
11862 wxPyEndAllowThreads(__tstate);
11863 if (PyErr_Occurred()) SWIG_fail;
11864 }
11865 resultobj = SWIG_Py_Void();
11866 return resultobj;
11867fail:
11868 return NULL;
d55e5bfc
RD
11869}
11870
11871
1bd55598
RD
11872SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11873 PyObject *resultobj = 0;
11874 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11875 wxSashEdgePosition result;
11876 void *argp1 = 0 ;
11877 int res1 = 0 ;
11878 PyObject *swig_obj[1] ;
11879
11880 if (!args) SWIG_fail;
11881 swig_obj[0] = args;
11882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11883 if (!SWIG_IsOK(res1)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11885 }
11886 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = SWIG_From_int(static_cast< int >(result));
11894 return resultobj;
11895fail:
11896 return NULL;
11897}
11898
11899
11900SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj = 0;
11902 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11903 wxRect *arg2 = 0 ;
11904 void *argp1 = 0 ;
11905 int res1 = 0 ;
11906 wxRect temp2 ;
11907 PyObject * obj0 = 0 ;
11908 PyObject * obj1 = 0 ;
11909 char * kwnames[] = {
11910 (char *) "self",(char *) "rect", NULL
11911 };
11912
11913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11915 if (!SWIG_IsOK(res1)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11917 }
11918 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11919 {
11920 arg2 = &temp2;
11921 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11922 }
11923 {
11924 PyThreadState* __tstate = wxPyBeginAllowThreads();
11925 (arg1)->SetDragRect((wxRect const &)*arg2);
11926 wxPyEndAllowThreads(__tstate);
11927 if (PyErr_Occurred()) SWIG_fail;
11928 }
11929 resultobj = SWIG_Py_Void();
11930 return resultobj;
11931fail:
11932 return NULL;
03837c5c
RD
11933}
11934
11935
1bd55598
RD
11936SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11937 PyObject *resultobj = 0;
11938 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11939 wxRect result;
11940 void *argp1 = 0 ;
11941 int res1 = 0 ;
11942 PyObject *swig_obj[1] ;
11943
11944 if (!args) SWIG_fail;
11945 swig_obj[0] = args;
11946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11947 if (!SWIG_IsOK(res1)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11949 }
11950 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 result = ((wxSashEvent const *)arg1)->GetDragRect();
11954 wxPyEndAllowThreads(__tstate);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11958 return resultobj;
11959fail:
11960 return NULL;
11961}
11962
11963
11964SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11965 PyObject *resultobj = 0;
11966 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11967 wxSashDragStatus arg2 ;
11968 void *argp1 = 0 ;
11969 int res1 = 0 ;
11970 int val2 ;
11971 int ecode2 = 0 ;
11972 PyObject * obj0 = 0 ;
11973 PyObject * obj1 = 0 ;
11974 char * kwnames[] = {
11975 (char *) "self",(char *) "status", NULL
11976 };
11977
11978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11980 if (!SWIG_IsOK(res1)) {
11981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11982 }
11983 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11984 ecode2 = SWIG_AsVal_int(obj1, &val2);
11985 if (!SWIG_IsOK(ecode2)) {
11986 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11987 }
11988 arg2 = static_cast< wxSashDragStatus >(val2);
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 (arg1)->SetDragStatus(arg2);
11992 wxPyEndAllowThreads(__tstate);
11993 if (PyErr_Occurred()) SWIG_fail;
11994 }
11995 resultobj = SWIG_Py_Void();
11996 return resultobj;
11997fail:
11998 return NULL;
d55e5bfc
RD
11999}
12000
12001
1bd55598
RD
12002SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12003 PyObject *resultobj = 0;
12004 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12005 wxSashDragStatus result;
12006 void *argp1 = 0 ;
12007 int res1 = 0 ;
12008 PyObject *swig_obj[1] ;
12009
12010 if (!args) SWIG_fail;
12011 swig_obj[0] = args;
12012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12013 if (!SWIG_IsOK(res1)) {
12014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12015 }
12016 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 resultobj = SWIG_From_int(static_cast< int >(result));
12024 return resultobj;
12025fail:
12026 return NULL;
d55e5bfc
RD
12027}
12028
12029
1bd55598
RD
12030SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12031 PyObject *obj;
12032 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12033 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12034 return SWIG_Py_Void();
d55e5bfc
RD
12035}
12036
1bd55598
RD
12037SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12038 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12039}
12040
1bd55598
RD
12041SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12042 PyObject *resultobj = 0;
12043 int arg1 = (int) 0 ;
12044 wxQueryLayoutInfoEvent *result = 0 ;
12045 int val1 ;
12046 int ecode1 = 0 ;
12047 PyObject * obj0 = 0 ;
12048 char * kwnames[] = {
12049 (char *) "id", NULL
12050 };
12051
12052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12053 if (obj0) {
12054 ecode1 = SWIG_AsVal_int(obj0, &val1);
12055 if (!SWIG_IsOK(ecode1)) {
12056 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12057 }
12058 arg1 = static_cast< int >(val1);
12059 }
12060 {
12061 PyThreadState* __tstate = wxPyBeginAllowThreads();
12062 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12063 wxPyEndAllowThreads(__tstate);
12064 if (PyErr_Occurred()) SWIG_fail;
12065 }
12066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12067 return resultobj;
12068fail:
12069 return NULL;
12070}
12071
12072
12073SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12074 PyObject *resultobj = 0;
12075 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12076 int arg2 ;
12077 void *argp1 = 0 ;
12078 int res1 = 0 ;
12079 int val2 ;
12080 int ecode2 = 0 ;
12081 PyObject * obj0 = 0 ;
12082 PyObject * obj1 = 0 ;
12083 char * kwnames[] = {
12084 (char *) "self",(char *) "length", NULL
12085 };
12086
12087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12089 if (!SWIG_IsOK(res1)) {
12090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12091 }
12092 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12093 ecode2 = SWIG_AsVal_int(obj1, &val2);
12094 if (!SWIG_IsOK(ecode2)) {
12095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12096 }
12097 arg2 = static_cast< int >(val2);
12098 {
12099 PyThreadState* __tstate = wxPyBeginAllowThreads();
12100 (arg1)->SetRequestedLength(arg2);
12101 wxPyEndAllowThreads(__tstate);
12102 if (PyErr_Occurred()) SWIG_fail;
12103 }
12104 resultobj = SWIG_Py_Void();
12105 return resultobj;
12106fail:
12107 return NULL;
f20a2e1f
RD
12108}
12109
12110
1bd55598
RD
12111SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12112 PyObject *resultobj = 0;
12113 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12114 int result;
12115 void *argp1 = 0 ;
12116 int res1 = 0 ;
12117 PyObject *swig_obj[1] ;
12118
12119 if (!args) SWIG_fail;
12120 swig_obj[0] = args;
12121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12122 if (!SWIG_IsOK(res1)) {
12123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12124 }
12125 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 resultobj = SWIG_From_int(static_cast< int >(result));
12133 return resultobj;
12134fail:
12135 return NULL;
12136}
12137
12138
12139SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj = 0;
12141 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12142 int arg2 ;
12143 void *argp1 = 0 ;
12144 int res1 = 0 ;
12145 int val2 ;
12146 int ecode2 = 0 ;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 char * kwnames[] = {
12150 (char *) "self",(char *) "flags", NULL
12151 };
12152
12153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12155 if (!SWIG_IsOK(res1)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12157 }
12158 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12159 ecode2 = SWIG_AsVal_int(obj1, &val2);
12160 if (!SWIG_IsOK(ecode2)) {
12161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12162 }
12163 arg2 = static_cast< int >(val2);
12164 {
12165 PyThreadState* __tstate = wxPyBeginAllowThreads();
12166 (arg1)->SetFlags(arg2);
12167 wxPyEndAllowThreads(__tstate);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 }
12170 resultobj = SWIG_Py_Void();
12171 return resultobj;
12172fail:
12173 return NULL;
d55e5bfc
RD
12174}
12175
12176
1bd55598
RD
12177SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12178 PyObject *resultobj = 0;
12179 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12180 int result;
12181 void *argp1 = 0 ;
12182 int res1 = 0 ;
12183 PyObject *swig_obj[1] ;
12184
12185 if (!args) SWIG_fail;
12186 swig_obj[0] = args;
12187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12188 if (!SWIG_IsOK(res1)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12190 }
12191 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12195 wxPyEndAllowThreads(__tstate);
12196 if (PyErr_Occurred()) SWIG_fail;
12197 }
12198 resultobj = SWIG_From_int(static_cast< int >(result));
12199 return resultobj;
12200fail:
12201 return NULL;
12202}
12203
12204
12205SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj = 0;
12207 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12208 wxSize *arg2 = 0 ;
12209 void *argp1 = 0 ;
12210 int res1 = 0 ;
12211 wxSize temp2 ;
12212 PyObject * obj0 = 0 ;
12213 PyObject * obj1 = 0 ;
12214 char * kwnames[] = {
12215 (char *) "self",(char *) "size", NULL
12216 };
12217
12218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12220 if (!SWIG_IsOK(res1)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12222 }
12223 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12224 {
12225 arg2 = &temp2;
12226 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12227 }
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 (arg1)->SetSize((wxSize const &)*arg2);
12231 wxPyEndAllowThreads(__tstate);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 resultobj = SWIG_Py_Void();
12235 return resultobj;
12236fail:
12237 return NULL;
d55e5bfc
RD
12238}
12239
12240
1bd55598
RD
12241SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12242 PyObject *resultobj = 0;
12243 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12244 wxSize result;
12245 void *argp1 = 0 ;
12246 int res1 = 0 ;
12247 PyObject *swig_obj[1] ;
12248
12249 if (!args) SWIG_fail;
12250 swig_obj[0] = args;
12251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12252 if (!SWIG_IsOK(res1)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12254 }
12255 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12256 {
12257 PyThreadState* __tstate = wxPyBeginAllowThreads();
12258 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
12262 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12263 return resultobj;
12264fail:
12265 return NULL;
12266}
12267
12268
12269SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12270 PyObject *resultobj = 0;
12271 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12272 wxLayoutOrientation arg2 ;
12273 void *argp1 = 0 ;
12274 int res1 = 0 ;
12275 int val2 ;
12276 int ecode2 = 0 ;
12277 PyObject * obj0 = 0 ;
12278 PyObject * obj1 = 0 ;
12279 char * kwnames[] = {
12280 (char *) "self",(char *) "orient", NULL
12281 };
12282
12283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12285 if (!SWIG_IsOK(res1)) {
12286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12287 }
12288 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12289 ecode2 = SWIG_AsVal_int(obj1, &val2);
12290 if (!SWIG_IsOK(ecode2)) {
12291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12292 }
12293 arg2 = static_cast< wxLayoutOrientation >(val2);
12294 {
12295 PyThreadState* __tstate = wxPyBeginAllowThreads();
12296 (arg1)->SetOrientation(arg2);
12297 wxPyEndAllowThreads(__tstate);
12298 if (PyErr_Occurred()) SWIG_fail;
12299 }
12300 resultobj = SWIG_Py_Void();
12301 return resultobj;
12302fail:
12303 return NULL;
d55e5bfc
RD
12304}
12305
12306
1bd55598
RD
12307SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12308 PyObject *resultobj = 0;
12309 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12310 wxLayoutOrientation result;
12311 void *argp1 = 0 ;
12312 int res1 = 0 ;
12313 PyObject *swig_obj[1] ;
12314
12315 if (!args) SWIG_fail;
12316 swig_obj[0] = args;
12317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12318 if (!SWIG_IsOK(res1)) {
12319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12320 }
12321 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12325 wxPyEndAllowThreads(__tstate);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 }
12328 resultobj = SWIG_From_int(static_cast< int >(result));
12329 return resultobj;
12330fail:
12331 return NULL;
12332}
12333
12334
12335SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj = 0;
12337 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12338 wxLayoutAlignment arg2 ;
12339 void *argp1 = 0 ;
12340 int res1 = 0 ;
12341 int val2 ;
12342 int ecode2 = 0 ;
12343 PyObject * obj0 = 0 ;
12344 PyObject * obj1 = 0 ;
12345 char * kwnames[] = {
12346 (char *) "self",(char *) "align", NULL
12347 };
12348
12349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12351 if (!SWIG_IsOK(res1)) {
12352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12353 }
12354 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12355 ecode2 = SWIG_AsVal_int(obj1, &val2);
12356 if (!SWIG_IsOK(ecode2)) {
12357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12358 }
12359 arg2 = static_cast< wxLayoutAlignment >(val2);
12360 {
12361 PyThreadState* __tstate = wxPyBeginAllowThreads();
12362 (arg1)->SetAlignment(arg2);
12363 wxPyEndAllowThreads(__tstate);
12364 if (PyErr_Occurred()) SWIG_fail;
12365 }
12366 resultobj = SWIG_Py_Void();
12367 return resultobj;
12368fail:
12369 return NULL;
d55e5bfc
RD
12370}
12371
12372
1bd55598
RD
12373SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12374 PyObject *resultobj = 0;
12375 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12376 wxLayoutAlignment result;
12377 void *argp1 = 0 ;
12378 int res1 = 0 ;
12379 PyObject *swig_obj[1] ;
12380
12381 if (!args) SWIG_fail;
12382 swig_obj[0] = args;
12383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12384 if (!SWIG_IsOK(res1)) {
12385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12386 }
12387 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12391 wxPyEndAllowThreads(__tstate);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 resultobj = SWIG_From_int(static_cast< int >(result));
12395 return resultobj;
12396fail:
12397 return NULL;
d55e5bfc
RD
12398}
12399
12400
1bd55598
RD
12401SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12402 PyObject *obj;
12403 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12404 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12405 return SWIG_Py_Void();
d55e5bfc
RD
12406}
12407
1bd55598
RD
12408SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12409 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12410}
12411
1bd55598
RD
12412SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj = 0;
12414 int arg1 = (int) 0 ;
12415 wxCalculateLayoutEvent *result = 0 ;
12416 int val1 ;
12417 int ecode1 = 0 ;
12418 PyObject * obj0 = 0 ;
12419 char * kwnames[] = {
12420 (char *) "id", NULL
12421 };
12422
12423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12424 if (obj0) {
12425 ecode1 = SWIG_AsVal_int(obj0, &val1);
12426 if (!SWIG_IsOK(ecode1)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12428 }
12429 arg1 = static_cast< int >(val1);
12430 }
12431 {
12432 PyThreadState* __tstate = wxPyBeginAllowThreads();
12433 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 }
12437 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12438 return resultobj;
12439fail:
12440 return NULL;
12441}
12442
12443
12444SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj = 0;
12446 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12447 int arg2 ;
12448 void *argp1 = 0 ;
12449 int res1 = 0 ;
12450 int val2 ;
12451 int ecode2 = 0 ;
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
12454 char * kwnames[] = {
12455 (char *) "self",(char *) "flags", NULL
12456 };
12457
12458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12460 if (!SWIG_IsOK(res1)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12462 }
12463 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12464 ecode2 = SWIG_AsVal_int(obj1, &val2);
12465 if (!SWIG_IsOK(ecode2)) {
12466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12467 }
12468 arg2 = static_cast< int >(val2);
12469 {
12470 PyThreadState* __tstate = wxPyBeginAllowThreads();
12471 (arg1)->SetFlags(arg2);
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 resultobj = SWIG_Py_Void();
12476 return resultobj;
12477fail:
12478 return NULL;
d55e5bfc
RD
12479}
12480
12481
1bd55598
RD
12482SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12483 PyObject *resultobj = 0;
12484 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12485 int result;
12486 void *argp1 = 0 ;
12487 int res1 = 0 ;
12488 PyObject *swig_obj[1] ;
12489
12490 if (!args) SWIG_fail;
12491 swig_obj[0] = args;
12492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12493 if (!SWIG_IsOK(res1)) {
12494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12495 }
12496 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 resultobj = SWIG_From_int(static_cast< int >(result));
12504 return resultobj;
12505fail:
12506 return NULL;
12507}
12508
12509
12510SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj = 0;
12512 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12513 wxRect *arg2 = 0 ;
12514 void *argp1 = 0 ;
12515 int res1 = 0 ;
12516 wxRect temp2 ;
12517 PyObject * obj0 = 0 ;
12518 PyObject * obj1 = 0 ;
12519 char * kwnames[] = {
12520 (char *) "self",(char *) "rect", NULL
12521 };
12522
12523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12525 if (!SWIG_IsOK(res1)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12527 }
12528 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12529 {
12530 arg2 = &temp2;
12531 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12532 }
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 (arg1)->SetRect((wxRect const &)*arg2);
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 resultobj = SWIG_Py_Void();
12540 return resultobj;
12541fail:
12542 return NULL;
d55e5bfc
RD
12543}
12544
12545
1bd55598
RD
12546SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12547 PyObject *resultobj = 0;
12548 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12549 wxRect result;
12550 void *argp1 = 0 ;
12551 int res1 = 0 ;
12552 PyObject *swig_obj[1] ;
12553
12554 if (!args) SWIG_fail;
12555 swig_obj[0] = args;
12556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12557 if (!SWIG_IsOK(res1)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12559 }
12560 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12561 {
12562 PyThreadState* __tstate = wxPyBeginAllowThreads();
12563 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
12567 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12568 return resultobj;
12569fail:
12570 return NULL;
12571}
12572
12573
12574SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12575 PyObject *obj;
12576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12577 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12578 return SWIG_Py_Void();
12579}
12580
12581SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12582 return SWIG_Python_InitShadowInstance(args);
12583}
12584
12585SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12586 PyObject *resultobj = 0;
12587 wxWindow *arg1 = (wxWindow *) 0 ;
12588 int arg2 = (int) -1 ;
12589 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12590 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12591 wxSize const &arg4_defvalue = wxDefaultSize ;
12592 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12593 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12594 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12595 wxString *arg6 = (wxString *) &arg6_defvalue ;
12596 wxSashLayoutWindow *result = 0 ;
12597 void *argp1 = 0 ;
12598 int res1 = 0 ;
12599 int val2 ;
12600 int ecode2 = 0 ;
12601 wxPoint temp3 ;
12602 wxSize temp4 ;
12603 long val5 ;
12604 int ecode5 = 0 ;
12605 bool temp6 = false ;
12606 PyObject * obj0 = 0 ;
12607 PyObject * obj1 = 0 ;
12608 PyObject * obj2 = 0 ;
12609 PyObject * obj3 = 0 ;
12610 PyObject * obj4 = 0 ;
12611 PyObject * obj5 = 0 ;
12612 char * kwnames[] = {
12613 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12614 };
12615
12616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12618 if (!SWIG_IsOK(res1)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12620 }
12621 arg1 = reinterpret_cast< wxWindow * >(argp1);
12622 if (obj1) {
12623 ecode2 = SWIG_AsVal_int(obj1, &val2);
12624 if (!SWIG_IsOK(ecode2)) {
12625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12626 }
12627 arg2 = static_cast< int >(val2);
12628 }
12629 if (obj2) {
12630 {
12631 arg3 = &temp3;
12632 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12633 }
1bd55598
RD
12634 }
12635 if (obj3) {
d55e5bfc 12636 {
1bd55598
RD
12637 arg4 = &temp4;
12638 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12639 }
1bd55598
RD
12640 }
12641 if (obj4) {
12642 ecode5 = SWIG_AsVal_long(obj4, &val5);
12643 if (!SWIG_IsOK(ecode5)) {
12644 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12645 }
12646 arg5 = static_cast< long >(val5);
12647 }
12648 if (obj5) {
d55e5bfc 12649 {
1bd55598
RD
12650 arg6 = wxString_in_helper(obj5);
12651 if (arg6 == NULL) SWIG_fail;
12652 temp6 = true;
d55e5bfc 12653 }
1bd55598
RD
12654 }
12655 {
12656 if (!wxPyCheckForApp()) SWIG_fail;
12657 PyThreadState* __tstate = wxPyBeginAllowThreads();
12658 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12659 wxPyEndAllowThreads(__tstate);
12660 if (PyErr_Occurred()) SWIG_fail;
12661 }
12662 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12663 {
12664 if (temp6)
12665 delete arg6;
12666 }
12667 return resultobj;
12668fail:
12669 {
12670 if (temp6)
12671 delete arg6;
12672 }
12673 return NULL;
d55e5bfc
RD
12674}
12675
12676
1bd55598
RD
12677SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12678 PyObject *resultobj = 0;
12679 wxSashLayoutWindow *result = 0 ;
12680
12681 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12682 {
12683 if (!wxPyCheckForApp()) SWIG_fail;
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12686 wxPyEndAllowThreads(__tstate);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12690 return resultobj;
12691fail:
12692 return NULL;
12693}
12694
12695
12696SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12697 PyObject *resultobj = 0;
12698 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12699 wxWindow *arg2 = (wxWindow *) 0 ;
12700 int arg3 = (int) -1 ;
12701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12703 wxSize const &arg5_defvalue = wxDefaultSize ;
12704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12705 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12706 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12707 wxString *arg7 = (wxString *) &arg7_defvalue ;
12708 bool result;
12709 void *argp1 = 0 ;
12710 int res1 = 0 ;
12711 void *argp2 = 0 ;
12712 int res2 = 0 ;
12713 int val3 ;
12714 int ecode3 = 0 ;
12715 wxPoint temp4 ;
12716 wxSize temp5 ;
12717 long val6 ;
12718 int ecode6 = 0 ;
12719 bool temp7 = false ;
12720 PyObject * obj0 = 0 ;
12721 PyObject * obj1 = 0 ;
12722 PyObject * obj2 = 0 ;
12723 PyObject * obj3 = 0 ;
12724 PyObject * obj4 = 0 ;
12725 PyObject * obj5 = 0 ;
12726 PyObject * obj6 = 0 ;
12727 char * kwnames[] = {
12728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12729 };
12730
12731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12733 if (!SWIG_IsOK(res1)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12735 }
12736 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12737 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12738 if (!SWIG_IsOK(res2)) {
12739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12740 }
12741 arg2 = reinterpret_cast< wxWindow * >(argp2);
12742 if (obj2) {
12743 ecode3 = SWIG_AsVal_int(obj2, &val3);
12744 if (!SWIG_IsOK(ecode3)) {
12745 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12746 }
12747 arg3 = static_cast< int >(val3);
12748 }
12749 if (obj3) {
12750 {
12751 arg4 = &temp4;
12752 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12753 }
1bd55598
RD
12754 }
12755 if (obj4) {
d55e5bfc 12756 {
1bd55598
RD
12757 arg5 = &temp5;
12758 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12759 }
1bd55598
RD
12760 }
12761 if (obj5) {
12762 ecode6 = SWIG_AsVal_long(obj5, &val6);
12763 if (!SWIG_IsOK(ecode6)) {
12764 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12765 }
12766 arg6 = static_cast< long >(val6);
12767 }
12768 if (obj6) {
d55e5bfc 12769 {
1bd55598
RD
12770 arg7 = wxString_in_helper(obj6);
12771 if (arg7 == NULL) SWIG_fail;
12772 temp7 = true;
d55e5bfc 12773 }
1bd55598
RD
12774 }
12775 {
12776 PyThreadState* __tstate = wxPyBeginAllowThreads();
12777 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 {
12782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12783 }
12784 {
12785 if (temp7)
12786 delete arg7;
12787 }
12788 return resultobj;
12789fail:
12790 {
12791 if (temp7)
12792 delete arg7;
12793 }
12794 return NULL;
d55e5bfc
RD
12795}
12796
12797
1bd55598
RD
12798SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12799 PyObject *resultobj = 0;
12800 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12801 wxLayoutAlignment result;
12802 void *argp1 = 0 ;
12803 int res1 = 0 ;
12804 PyObject *swig_obj[1] ;
12805
12806 if (!args) SWIG_fail;
12807 swig_obj[0] = args;
12808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12809 if (!SWIG_IsOK(res1)) {
12810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12811 }
12812 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12813 {
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = SWIG_From_int(static_cast< int >(result));
12820 return resultobj;
12821fail:
12822 return NULL;
d55e5bfc
RD
12823}
12824
12825
1bd55598
RD
12826SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12827 PyObject *resultobj = 0;
12828 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12829 wxLayoutOrientation result;
12830 void *argp1 = 0 ;
12831 int res1 = 0 ;
12832 PyObject *swig_obj[1] ;
12833
12834 if (!args) SWIG_fail;
12835 swig_obj[0] = args;
12836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12837 if (!SWIG_IsOK(res1)) {
12838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12839 }
12840 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12841 {
12842 PyThreadState* __tstate = wxPyBeginAllowThreads();
12843 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12844 wxPyEndAllowThreads(__tstate);
12845 if (PyErr_Occurred()) SWIG_fail;
12846 }
12847 resultobj = SWIG_From_int(static_cast< int >(result));
12848 return resultobj;
12849fail:
12850 return NULL;
12851}
12852
12853
12854SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12855 PyObject *resultobj = 0;
12856 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12857 wxLayoutAlignment arg2 ;
12858 void *argp1 = 0 ;
12859 int res1 = 0 ;
12860 int val2 ;
12861 int ecode2 = 0 ;
12862 PyObject * obj0 = 0 ;
12863 PyObject * obj1 = 0 ;
12864 char * kwnames[] = {
12865 (char *) "self",(char *) "alignment", NULL
12866 };
12867
12868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12870 if (!SWIG_IsOK(res1)) {
12871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 }
12873 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12874 ecode2 = SWIG_AsVal_int(obj1, &val2);
12875 if (!SWIG_IsOK(ecode2)) {
12876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12877 }
12878 arg2 = static_cast< wxLayoutAlignment >(val2);
12879 {
12880 PyThreadState* __tstate = wxPyBeginAllowThreads();
12881 (arg1)->SetAlignment(arg2);
12882 wxPyEndAllowThreads(__tstate);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 resultobj = SWIG_Py_Void();
12886 return resultobj;
12887fail:
12888 return NULL;
12889}
12890
12891
12892SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj = 0;
12894 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12895 wxSize *arg2 = 0 ;
12896 void *argp1 = 0 ;
12897 int res1 = 0 ;
12898 wxSize temp2 ;
12899 PyObject * obj0 = 0 ;
12900 PyObject * obj1 = 0 ;
12901 char * kwnames[] = {
12902 (char *) "self",(char *) "size", NULL
12903 };
12904
12905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12907 if (!SWIG_IsOK(res1)) {
12908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12909 }
12910 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12911 {
12912 arg2 = &temp2;
12913 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12914 }
12915 {
12916 PyThreadState* __tstate = wxPyBeginAllowThreads();
12917 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 resultobj = SWIG_Py_Void();
12922 return resultobj;
12923fail:
12924 return NULL;
12925}
12926
12927
12928SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12929 PyObject *resultobj = 0;
12930 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12931 wxLayoutOrientation arg2 ;
12932 void *argp1 = 0 ;
12933 int res1 = 0 ;
12934 int val2 ;
12935 int ecode2 = 0 ;
12936 PyObject * obj0 = 0 ;
12937 PyObject * obj1 = 0 ;
12938 char * kwnames[] = {
12939 (char *) "self",(char *) "orientation", NULL
12940 };
12941
12942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12944 if (!SWIG_IsOK(res1)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12946 }
12947 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12948 ecode2 = SWIG_AsVal_int(obj1, &val2);
12949 if (!SWIG_IsOK(ecode2)) {
12950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12951 }
12952 arg2 = static_cast< wxLayoutOrientation >(val2);
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 (arg1)->SetOrientation(arg2);
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 resultobj = SWIG_Py_Void();
12960 return resultobj;
12961fail:
12962 return NULL;
d55e5bfc
RD
12963}
12964
12965
1bd55598
RD
12966SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12967 PyObject *obj;
12968 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12969 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12970 return SWIG_Py_Void();
d55e5bfc
RD
12971}
12972
1bd55598
RD
12973SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12974 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12975}
12976
1bd55598
RD
12977SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12978 PyObject *resultobj = 0;
12979 wxLayoutAlgorithm *result = 0 ;
12980
12981 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12982 {
12983 PyThreadState* __tstate = wxPyBeginAllowThreads();
12984 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
12988 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12989 return resultobj;
12990fail:
12991 return NULL;
d55e5bfc
RD
12992}
12993
12994
1bd55598
RD
12995SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12996 PyObject *resultobj = 0;
12997 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12998 void *argp1 = 0 ;
12999 int res1 = 0 ;
13000 PyObject *swig_obj[1] ;
13001
13002 if (!args) SWIG_fail;
13003 swig_obj[0] = args;
13004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13005 if (!SWIG_IsOK(res1)) {
13006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13007 }
13008 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 delete arg1;
d55e5bfc 13012
1bd55598
RD
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = SWIG_Py_Void();
13017 return resultobj;
13018fail:
13019 return NULL;
13020}
13021
13022
13023SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj = 0;
13025 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13026 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13027 wxRect *arg3 = (wxRect *) NULL ;
13028 bool result;
13029 void *argp1 = 0 ;
13030 int res1 = 0 ;
13031 void *argp2 = 0 ;
13032 int res2 = 0 ;
13033 void *argp3 = 0 ;
13034 int res3 = 0 ;
13035 PyObject * obj0 = 0 ;
13036 PyObject * obj1 = 0 ;
13037 PyObject * obj2 = 0 ;
13038 char * kwnames[] = {
13039 (char *) "self",(char *) "frame",(char *) "rect", NULL
13040 };
13041
13042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13044 if (!SWIG_IsOK(res1)) {
13045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13046 }
13047 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13048 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13049 if (!SWIG_IsOK(res2)) {
13050 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13051 }
13052 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13053 if (obj2) {
13054 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13055 if (!SWIG_IsOK(res3)) {
13056 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
36ed4f51 13057 }
1bd55598
RD
13058 arg3 = reinterpret_cast< wxRect * >(argp3);
13059 }
13060 {
13061 PyThreadState* __tstate = wxPyBeginAllowThreads();
13062 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 {
13067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13068 }
13069 return resultobj;
13070fail:
13071 return NULL;
13072}
13073
13074
13075SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj = 0;
13077 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13078 wxFrame *arg2 = (wxFrame *) 0 ;
13079 wxWindow *arg3 = (wxWindow *) NULL ;
13080 bool result;
13081 void *argp1 = 0 ;
13082 int res1 = 0 ;
13083 void *argp2 = 0 ;
13084 int res2 = 0 ;
13085 void *argp3 = 0 ;
13086 int res3 = 0 ;
13087 PyObject * obj0 = 0 ;
13088 PyObject * obj1 = 0 ;
13089 PyObject * obj2 = 0 ;
13090 char * kwnames[] = {
13091 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13092 };
13093
13094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13096 if (!SWIG_IsOK(res1)) {
13097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13098 }
13099 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13100 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13101 if (!SWIG_IsOK(res2)) {
13102 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13103 }
13104 arg2 = reinterpret_cast< wxFrame * >(argp2);
13105 if (obj2) {
13106 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13107 if (!SWIG_IsOK(res3)) {
13108 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
36ed4f51 13109 }
1bd55598
RD
13110 arg3 = reinterpret_cast< wxWindow * >(argp3);
13111 }
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 {
13119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13120 }
13121 return resultobj;
13122fail:
13123 return NULL;
13124}
13125
13126
13127SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj = 0;
13129 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13130 wxWindow *arg2 = (wxWindow *) 0 ;
13131 wxWindow *arg3 = (wxWindow *) NULL ;
13132 bool result;
13133 void *argp1 = 0 ;
13134 int res1 = 0 ;
13135 void *argp2 = 0 ;
13136 int res2 = 0 ;
13137 void *argp3 = 0 ;
13138 int res3 = 0 ;
13139 PyObject * obj0 = 0 ;
13140 PyObject * obj1 = 0 ;
13141 PyObject * obj2 = 0 ;
13142 char * kwnames[] = {
13143 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13144 };
13145
13146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13148 if (!SWIG_IsOK(res1)) {
13149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13150 }
13151 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13152 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13153 if (!SWIG_IsOK(res2)) {
13154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13155 }
13156 arg2 = reinterpret_cast< wxWindow * >(argp2);
13157 if (obj2) {
13158 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13159 if (!SWIG_IsOK(res3)) {
13160 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13161 }
1bd55598
RD
13162 arg3 = reinterpret_cast< wxWindow * >(argp3);
13163 }
13164 {
13165 PyThreadState* __tstate = wxPyBeginAllowThreads();
13166 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 {
13171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13172 }
13173 return resultobj;
13174fail:
13175 return NULL;
d55e5bfc
RD
13176}
13177
13178
1bd55598
RD
13179SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13180 PyObject *obj;
13181 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13182 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13183 return SWIG_Py_Void();
d55e5bfc
RD
13184}
13185
1bd55598
RD
13186SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13187 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
13188}
13189
1bd55598
RD
13190SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj = 0;
13192 wxWindow *arg1 = (wxWindow *) 0 ;
13193 int arg2 = (int) wxBORDER_NONE ;
13194 wxPopupWindow *result = 0 ;
13195 void *argp1 = 0 ;
13196 int res1 = 0 ;
13197 int val2 ;
13198 int ecode2 = 0 ;
13199 PyObject * obj0 = 0 ;
13200 PyObject * obj1 = 0 ;
13201 char * kwnames[] = {
13202 (char *) "parent",(char *) "flags", NULL
13203 };
13204
13205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13207 if (!SWIG_IsOK(res1)) {
13208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13209 }
13210 arg1 = reinterpret_cast< wxWindow * >(argp1);
13211 if (obj1) {
13212 ecode2 = SWIG_AsVal_int(obj1, &val2);
13213 if (!SWIG_IsOK(ecode2)) {
13214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13215 }
13216 arg2 = static_cast< int >(val2);
13217 }
13218 {
13219 PyThreadState* __tstate = wxPyBeginAllowThreads();
13220 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13221 wxPyEndAllowThreads(__tstate);
13222 if (PyErr_Occurred()) SWIG_fail;
13223 }
13224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13225 return resultobj;
13226fail:
13227 return NULL;
5cbf236d
RD
13228}
13229
13230
1bd55598
RD
13231SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13232 PyObject *resultobj = 0;
13233 wxPopupWindow *result = 0 ;
13234
13235 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 result = (wxPopupWindow *)new wxPopupWindow();
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13243 return resultobj;
13244fail:
13245 return NULL;
d55e5bfc
RD
13246}
13247
13248
1bd55598
RD
13249SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13250 PyObject *obj;
13251 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13252 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13253 return SWIG_Py_Void();
d55e5bfc
RD
13254}
13255
1bd55598
RD
13256SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13257 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13258}
13259
1bd55598
RD
13260SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13261 PyObject *resultobj = 0;
13262 wxWindow *arg1 = (wxWindow *) 0 ;
13263 int arg2 = (int) wxBORDER_NONE ;
13264 wxPyPopupTransientWindow *result = 0 ;
13265 void *argp1 = 0 ;
13266 int res1 = 0 ;
13267 int val2 ;
13268 int ecode2 = 0 ;
13269 PyObject * obj0 = 0 ;
13270 PyObject * obj1 = 0 ;
13271 char * kwnames[] = {
13272 (char *) "parent",(char *) "style", NULL
13273 };
13274
13275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13277 if (!SWIG_IsOK(res1)) {
13278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13279 }
13280 arg1 = reinterpret_cast< wxWindow * >(argp1);
13281 if (obj1) {
13282 ecode2 = SWIG_AsVal_int(obj1, &val2);
13283 if (!SWIG_IsOK(ecode2)) {
13284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13285 }
13286 arg2 = static_cast< int >(val2);
13287 }
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13295 return resultobj;
13296fail:
13297 return NULL;
d55e5bfc
RD
13298}
13299
13300
1bd55598
RD
13301SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13302 PyObject *resultobj = 0;
13303 wxPyPopupTransientWindow *result = 0 ;
13304
13305 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13306 {
13307 PyThreadState* __tstate = wxPyBeginAllowThreads();
13308 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13313 return resultobj;
13314fail:
13315 return NULL;
13316}
13317
13318
13319SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13320 PyObject *obj;
13321 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13322 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13323 return SWIG_Py_Void();
13324}
13325
13326SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13327 return SWIG_Python_InitShadowInstance(args);
13328}
13329
13330SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj = 0;
13332 wxWindow *arg1 = (wxWindow *) 0 ;
13333 wxString *arg2 = 0 ;
13334 int arg3 = (int) 100 ;
13335 wxRect *arg4 = (wxRect *) NULL ;
13336 wxTipWindow *result = 0 ;
13337 void *argp1 = 0 ;
13338 int res1 = 0 ;
13339 bool temp2 = false ;
13340 int val3 ;
13341 int ecode3 = 0 ;
13342 void *argp4 = 0 ;
13343 int res4 = 0 ;
13344 PyObject * obj0 = 0 ;
13345 PyObject * obj1 = 0 ;
13346 PyObject * obj2 = 0 ;
13347 PyObject * obj3 = 0 ;
13348 char * kwnames[] = {
13349 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13350 };
13351
13352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13354 if (!SWIG_IsOK(res1)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13356 }
13357 arg1 = reinterpret_cast< wxWindow * >(argp1);
13358 {
13359 arg2 = wxString_in_helper(obj1);
13360 if (arg2 == NULL) SWIG_fail;
13361 temp2 = true;
13362 }
13363 if (obj2) {
13364 ecode3 = SWIG_AsVal_int(obj2, &val3);
13365 if (!SWIG_IsOK(ecode3)) {
13366 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13367 }
13368 arg3 = static_cast< int >(val3);
13369 }
13370 if (obj3) {
13371 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13372 if (!SWIG_IsOK(res4)) {
13373 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
36ed4f51 13374 }
1bd55598
RD
13375 arg4 = reinterpret_cast< wxRect * >(argp4);
13376 }
13377 {
13378 if (!wxPyCheckForApp()) SWIG_fail;
13379 PyThreadState* __tstate = wxPyBeginAllowThreads();
13380 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13385 {
13386 if (temp2)
13387 delete arg2;
13388 }
13389 return resultobj;
13390fail:
13391 {
13392 if (temp2)
13393 delete arg2;
13394 }
13395 return NULL;
d55e5bfc
RD
13396}
13397
13398
1bd55598
RD
13399SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13400 PyObject *resultobj = 0;
13401 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13402 wxRect *arg2 = 0 ;
13403 void *argp1 = 0 ;
13404 int res1 = 0 ;
13405 wxRect temp2 ;
13406 PyObject * obj0 = 0 ;
13407 PyObject * obj1 = 0 ;
13408 char * kwnames[] = {
13409 (char *) "self",(char *) "rectBound", NULL
13410 };
13411
13412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13414 if (!SWIG_IsOK(res1)) {
13415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13416 }
13417 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13418 {
13419 arg2 = &temp2;
13420 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13421 }
13422 {
13423 PyThreadState* __tstate = wxPyBeginAllowThreads();
13424 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 resultobj = SWIG_Py_Void();
13429 return resultobj;
13430fail:
13431 return NULL;
d55e5bfc
RD
13432}
13433
13434
1bd55598
RD
13435SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13436 PyObject *resultobj = 0;
13437 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13438 void *argp1 = 0 ;
13439 int res1 = 0 ;
13440 PyObject *swig_obj[1] ;
13441
13442 if (!args) SWIG_fail;
13443 swig_obj[0] = args;
13444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13445 if (!SWIG_IsOK(res1)) {
13446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13447 }
13448 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13449 {
13450 PyThreadState* __tstate = wxPyBeginAllowThreads();
13451 (arg1)->Close();
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 resultobj = SWIG_Py_Void();
13456 return resultobj;
13457fail:
13458 return NULL;
13459}
13460
13461
13462SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13463 PyObject *obj;
13464 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13465 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13466 return SWIG_Py_Void();
13467}
13468
13469SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13470 return SWIG_Python_InitShadowInstance(args);
13471}
13472
13473SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13474 PyObject *resultobj = 0;
13475 wxWindow *arg1 = (wxWindow *) 0 ;
13476 int arg2 = (int) wxID_ANY ;
13477 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13478 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13479 wxSize const &arg4_defvalue = wxDefaultSize ;
13480 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13481 long arg5 = (long) 0 ;
13482 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13483 wxString *arg6 = (wxString *) &arg6_defvalue ;
13484 wxPyVScrolledWindow *result = 0 ;
13485 void *argp1 = 0 ;
13486 int res1 = 0 ;
13487 int val2 ;
13488 int ecode2 = 0 ;
13489 wxPoint temp3 ;
13490 wxSize temp4 ;
13491 long val5 ;
13492 int ecode5 = 0 ;
13493 bool temp6 = false ;
13494 PyObject * obj0 = 0 ;
13495 PyObject * obj1 = 0 ;
13496 PyObject * obj2 = 0 ;
13497 PyObject * obj3 = 0 ;
13498 PyObject * obj4 = 0 ;
13499 PyObject * obj5 = 0 ;
13500 char * kwnames[] = {
13501 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13502 };
13503
13504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13506 if (!SWIG_IsOK(res1)) {
13507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13508 }
13509 arg1 = reinterpret_cast< wxWindow * >(argp1);
13510 if (obj1) {
13511 ecode2 = SWIG_AsVal_int(obj1, &val2);
13512 if (!SWIG_IsOK(ecode2)) {
13513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13514 }
13515 arg2 = static_cast< int >(val2);
13516 }
13517 if (obj2) {
f20a2e1f 13518 {
1bd55598
RD
13519 arg3 = &temp3;
13520 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 13521 }
1bd55598
RD
13522 }
13523 if (obj3) {
f20a2e1f 13524 {
1bd55598
RD
13525 arg4 = &temp4;
13526 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13527 }
1bd55598
RD
13528 }
13529 if (obj4) {
13530 ecode5 = SWIG_AsVal_long(obj4, &val5);
13531 if (!SWIG_IsOK(ecode5)) {
13532 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13533 }
13534 arg5 = static_cast< long >(val5);
13535 }
13536 if (obj5) {
36ed4f51 13537 {
1bd55598
RD
13538 arg6 = wxString_in_helper(obj5);
13539 if (arg6 == NULL) SWIG_fail;
13540 temp6 = true;
36ed4f51 13541 }
1bd55598
RD
13542 }
13543 {
13544 if (!wxPyCheckForApp()) SWIG_fail;
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13547 wxPyEndAllowThreads(__tstate);
13548 if (PyErr_Occurred()) SWIG_fail;
13549 }
13550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13551 {
13552 if (temp6)
13553 delete arg6;
13554 }
13555 return resultobj;
13556fail:
13557 {
13558 if (temp6)
13559 delete arg6;
13560 }
13561 return NULL;
d55e5bfc
RD
13562}
13563
13564
1bd55598
RD
13565SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13566 PyObject *resultobj = 0;
13567 wxPyVScrolledWindow *result = 0 ;
13568
13569 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13570 {
13571 if (!wxPyCheckForApp()) SWIG_fail;
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
13577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13578 return resultobj;
13579fail:
13580 return NULL;
13581}
13582
13583
13584SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13585 PyObject *resultobj = 0;
13586 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13587 PyObject *arg2 = (PyObject *) 0 ;
13588 PyObject *arg3 = (PyObject *) 0 ;
13589 void *argp1 = 0 ;
13590 int res1 = 0 ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 PyObject * obj2 = 0 ;
13594 char * kwnames[] = {
13595 (char *) "self",(char *) "self",(char *) "_class", NULL
13596 };
13597
13598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13600 if (!SWIG_IsOK(res1)) {
13601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13602 }
13603 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13604 arg2 = obj1;
13605 arg3 = obj2;
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 (arg1)->_setCallbackInfo(arg2,arg3);
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) SWIG_fail;
13611 }
13612 resultobj = SWIG_Py_Void();
13613 return resultobj;
13614fail:
13615 return NULL;
13616}
13617
13618
13619SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13620 PyObject *resultobj = 0;
13621 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13622 wxWindow *arg2 = (wxWindow *) 0 ;
13623 int arg3 = (int) wxID_ANY ;
13624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13626 wxSize const &arg5_defvalue = wxDefaultSize ;
13627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13628 long arg6 = (long) 0 ;
13629 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13630 wxString *arg7 = (wxString *) &arg7_defvalue ;
13631 bool result;
13632 void *argp1 = 0 ;
13633 int res1 = 0 ;
13634 void *argp2 = 0 ;
13635 int res2 = 0 ;
13636 int val3 ;
13637 int ecode3 = 0 ;
13638 wxPoint temp4 ;
13639 wxSize temp5 ;
13640 long val6 ;
13641 int ecode6 = 0 ;
13642 bool temp7 = false ;
13643 PyObject * obj0 = 0 ;
13644 PyObject * obj1 = 0 ;
13645 PyObject * obj2 = 0 ;
13646 PyObject * obj3 = 0 ;
13647 PyObject * obj4 = 0 ;
13648 PyObject * obj5 = 0 ;
13649 PyObject * obj6 = 0 ;
13650 char * kwnames[] = {
13651 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13652 };
13653
13654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13656 if (!SWIG_IsOK(res1)) {
13657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13658 }
13659 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13660 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13661 if (!SWIG_IsOK(res2)) {
13662 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13663 }
13664 arg2 = reinterpret_cast< wxWindow * >(argp2);
13665 if (obj2) {
13666 ecode3 = SWIG_AsVal_int(obj2, &val3);
13667 if (!SWIG_IsOK(ecode3)) {
13668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13669 }
13670 arg3 = static_cast< int >(val3);
13671 }
13672 if (obj3) {
d55e5bfc 13673 {
1bd55598
RD
13674 arg4 = &temp4;
13675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13676 }
1bd55598
RD
13677 }
13678 if (obj4) {
36ed4f51 13679 {
1bd55598
RD
13680 arg5 = &temp5;
13681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 13682 }
1bd55598
RD
13683 }
13684 if (obj5) {
13685 ecode6 = SWIG_AsVal_long(obj5, &val6);
13686 if (!SWIG_IsOK(ecode6)) {
13687 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13688 }
13689 arg6 = static_cast< long >(val6);
13690 }
13691 if (obj6) {
d55e5bfc 13692 {
1bd55598
RD
13693 arg7 = wxString_in_helper(obj6);
13694 if (arg7 == NULL) SWIG_fail;
13695 temp7 = true;
d55e5bfc 13696 }
1bd55598
RD
13697 }
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13701 wxPyEndAllowThreads(__tstate);
13702 if (PyErr_Occurred()) SWIG_fail;
13703 }
13704 {
13705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13706 }
13707 {
13708 if (temp7)
13709 delete arg7;
13710 }
13711 return resultobj;
13712fail:
13713 {
13714 if (temp7)
13715 delete arg7;
13716 }
13717 return NULL;
13718}
13719
13720
13721SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13722 PyObject *resultobj = 0;
13723 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13724 size_t arg2 ;
13725 void *argp1 = 0 ;
13726 int res1 = 0 ;
13727 size_t val2 ;
13728 int ecode2 = 0 ;
13729 PyObject * obj0 = 0 ;
13730 PyObject * obj1 = 0 ;
13731 char * kwnames[] = {
13732 (char *) "self",(char *) "count", NULL
13733 };
13734
13735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13737 if (!SWIG_IsOK(res1)) {
13738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13739 }
13740 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13741 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13742 if (!SWIG_IsOK(ecode2)) {
13743 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13744 }
13745 arg2 = static_cast< size_t >(val2);
13746 {
13747 PyThreadState* __tstate = wxPyBeginAllowThreads();
13748 (arg1)->SetLineCount(arg2);
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 resultobj = SWIG_Py_Void();
13753 return resultobj;
13754fail:
13755 return NULL;
13756}
13757
13758
13759SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13760 PyObject *resultobj = 0;
13761 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13762 size_t arg2 ;
13763 bool result;
13764 void *argp1 = 0 ;
13765 int res1 = 0 ;
13766 size_t val2 ;
13767 int ecode2 = 0 ;
13768 PyObject * obj0 = 0 ;
13769 PyObject * obj1 = 0 ;
13770 char * kwnames[] = {
13771 (char *) "self",(char *) "line", NULL
13772 };
13773
13774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13776 if (!SWIG_IsOK(res1)) {
13777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13778 }
13779 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13780 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13781 if (!SWIG_IsOK(ecode2)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13783 }
13784 arg2 = static_cast< size_t >(val2);
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 result = (bool)(arg1)->ScrollToLine(arg2);
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 {
13792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13793 }
13794 return resultobj;
13795fail:
13796 return NULL;
13797}
13798
13799
13800SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13801 PyObject *resultobj = 0;
13802 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13803 size_t arg2 ;
13804 void *argp1 = 0 ;
13805 int res1 = 0 ;
13806 size_t val2 ;
13807 int ecode2 = 0 ;
13808 PyObject * obj0 = 0 ;
13809 PyObject * obj1 = 0 ;
13810 char * kwnames[] = {
13811 (char *) "self",(char *) "line", NULL
13812 };
13813
13814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13816 if (!SWIG_IsOK(res1)) {
13817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13818 }
13819 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13820 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13821 if (!SWIG_IsOK(ecode2)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13823 }
13824 arg2 = static_cast< size_t >(val2);
13825 {
13826 PyThreadState* __tstate = wxPyBeginAllowThreads();
13827 (arg1)->RefreshLine(arg2);
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
13831 resultobj = SWIG_Py_Void();
13832 return resultobj;
13833fail:
13834 return NULL;
13835}
13836
13837
13838SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13839 PyObject *resultobj = 0;
13840 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13841 size_t arg2 ;
13842 size_t arg3 ;
13843 void *argp1 = 0 ;
13844 int res1 = 0 ;
13845 size_t val2 ;
13846 int ecode2 = 0 ;
13847 size_t val3 ;
13848 int ecode3 = 0 ;
13849 PyObject * obj0 = 0 ;
13850 PyObject * obj1 = 0 ;
13851 PyObject * obj2 = 0 ;
13852 char * kwnames[] = {
2131d850 13853 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13854 };
13855
13856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13858 if (!SWIG_IsOK(res1)) {
13859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13860 }
13861 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13862 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13863 if (!SWIG_IsOK(ecode2)) {
13864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13865 }
13866 arg2 = static_cast< size_t >(val2);
13867 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13868 if (!SWIG_IsOK(ecode3)) {
13869 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13870 }
13871 arg3 = static_cast< size_t >(val3);
13872 {
13873 PyThreadState* __tstate = wxPyBeginAllowThreads();
13874 (arg1)->RefreshLines(arg2,arg3);
13875 wxPyEndAllowThreads(__tstate);
13876 if (PyErr_Occurred()) SWIG_fail;
13877 }
13878 resultobj = SWIG_Py_Void();
13879 return resultobj;
13880fail:
13881 return NULL;
13882}
13883
13884
13885SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13886 PyObject *resultobj = 0;
13887 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13888 int arg2 ;
13889 int arg3 ;
13890 int result;
13891 void *argp1 = 0 ;
13892 int res1 = 0 ;
13893 int val2 ;
13894 int ecode2 = 0 ;
13895 int val3 ;
13896 int ecode3 = 0 ;
13897 PyObject * obj0 = 0 ;
13898 PyObject * obj1 = 0 ;
13899 PyObject * obj2 = 0 ;
13900 char * kwnames[] = {
13901 (char *) "self",(char *) "x",(char *) "y", NULL
13902 };
13903
13904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13906 if (!SWIG_IsOK(res1)) {
13907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13908 }
13909 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13910 ecode2 = SWIG_AsVal_int(obj1, &val2);
13911 if (!SWIG_IsOK(ecode2)) {
13912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13913 }
13914 arg2 = static_cast< int >(val2);
13915 ecode3 = SWIG_AsVal_int(obj2, &val3);
13916 if (!SWIG_IsOK(ecode3)) {
13917 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13918 }
13919 arg3 = static_cast< int >(val3);
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 resultobj = SWIG_From_int(static_cast< int >(result));
13927 return resultobj;
13928fail:
13929 return NULL;
13930}
13931
13932
13933SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13934 PyObject *resultobj = 0;
13935 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13936 wxPoint *arg2 = 0 ;
13937 int result;
13938 void *argp1 = 0 ;
13939 int res1 = 0 ;
13940 wxPoint temp2 ;
13941 PyObject * obj0 = 0 ;
13942 PyObject * obj1 = 0 ;
13943 char * kwnames[] = {
13944 (char *) "self",(char *) "pt", NULL
13945 };
13946
13947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13949 if (!SWIG_IsOK(res1)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13951 }
13952 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13953 {
13954 arg2 = &temp2;
13955 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13956 }
13957 {
13958 PyThreadState* __tstate = wxPyBeginAllowThreads();
13959 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13960 wxPyEndAllowThreads(__tstate);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 }
13963 resultobj = SWIG_From_int(static_cast< int >(result));
13964 return resultobj;
13965fail:
13966 return NULL;
d55e5bfc
RD
13967}
13968
13969
1bd55598
RD
13970SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13971 PyObject *resultobj = 0;
13972 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13973 void *argp1 = 0 ;
13974 int res1 = 0 ;
13975 PyObject *swig_obj[1] ;
13976
13977 if (!args) SWIG_fail;
13978 swig_obj[0] = args;
13979 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13980 if (!SWIG_IsOK(res1)) {
13981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13982 }
13983 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 (arg1)->RefreshAll();
13987 wxPyEndAllowThreads(__tstate);
13988 if (PyErr_Occurred()) SWIG_fail;
13989 }
13990 resultobj = SWIG_Py_Void();
13991 return resultobj;
13992fail:
13993 return NULL;
d55e5bfc
RD
13994}
13995
13996
1bd55598
RD
13997SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13998 PyObject *resultobj = 0;
13999 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14000 size_t result;
14001 void *argp1 = 0 ;
14002 int res1 = 0 ;
14003 PyObject *swig_obj[1] ;
14004
14005 if (!args) SWIG_fail;
14006 swig_obj[0] = args;
14007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14008 if (!SWIG_IsOK(res1)) {
14009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14010 }
14011 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14012 {
14013 PyThreadState* __tstate = wxPyBeginAllowThreads();
14014 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14015 wxPyEndAllowThreads(__tstate);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 }
14018 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14019 return resultobj;
14020fail:
14021 return NULL;
d55e5bfc
RD
14022}
14023
14024
1bd55598
RD
14025SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14026 PyObject *resultobj = 0;
14027 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14028 size_t result;
14029 void *argp1 = 0 ;
14030 int res1 = 0 ;
14031 PyObject *swig_obj[1] ;
14032
14033 if (!args) SWIG_fail;
14034 swig_obj[0] = args;
14035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14036 if (!SWIG_IsOK(res1)) {
14037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14038 }
14039 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14040 {
14041 PyThreadState* __tstate = wxPyBeginAllowThreads();
14042 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14047 return resultobj;
14048fail:
14049 return NULL;
d55e5bfc
RD
14050}
14051
14052
1bd55598
RD
14053SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14054 PyObject *resultobj = 0;
14055 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14056 size_t result;
14057 void *argp1 = 0 ;
14058 int res1 = 0 ;
14059 PyObject *swig_obj[1] ;
14060
14061 if (!args) SWIG_fail;
14062 swig_obj[0] = args;
14063 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14064 if (!SWIG_IsOK(res1)) {
14065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14066 }
14067 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14071 wxPyEndAllowThreads(__tstate);
14072 if (PyErr_Occurred()) SWIG_fail;
14073 }
14074 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14075 return resultobj;
14076fail:
14077 return NULL;
14078}
14079
14080
14081SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14082 PyObject *resultobj = 0;
14083 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14084 size_t arg2 ;
14085 bool result;
14086 void *argp1 = 0 ;
14087 int res1 = 0 ;
14088 size_t val2 ;
14089 int ecode2 = 0 ;
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj1 = 0 ;
14092 char * kwnames[] = {
14093 (char *) "self",(char *) "line", NULL
14094 };
14095
14096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14098 if (!SWIG_IsOK(res1)) {
14099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14100 }
14101 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14102 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14103 if (!SWIG_IsOK(ecode2)) {
14104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14105 }
14106 arg2 = static_cast< size_t >(val2);
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14110 wxPyEndAllowThreads(__tstate);
14111 if (PyErr_Occurred()) SWIG_fail;
14112 }
14113 {
14114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14115 }
14116 return resultobj;
14117fail:
14118 return NULL;
d55e5bfc
RD
14119}
14120
14121
1bd55598
RD
14122SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14123 PyObject *resultobj = 0;
14124 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14125 size_t result;
14126 void *argp1 = 0 ;
14127 int res1 = 0 ;
14128 PyObject *swig_obj[1] ;
14129
14130 if (!args) SWIG_fail;
14131 swig_obj[0] = args;
14132 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14133 if (!SWIG_IsOK(res1)) {
14134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14135 }
14136 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14137 {
14138 PyThreadState* __tstate = wxPyBeginAllowThreads();
14139 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14144 return resultobj;
14145fail:
14146 return NULL;
d55e5bfc
RD
14147}
14148
14149
1bd55598
RD
14150SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14151 PyObject *resultobj = 0;
14152 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14153 size_t result;
14154 void *argp1 = 0 ;
14155 int res1 = 0 ;
14156 PyObject *swig_obj[1] ;
14157
14158 if (!args) SWIG_fail;
14159 swig_obj[0] = args;
14160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14161 if (!SWIG_IsOK(res1)) {
14162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14163 }
14164 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14165 {
14166 PyThreadState* __tstate = wxPyBeginAllowThreads();
14167 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14172 return resultobj;
14173fail:
14174 return NULL;
14175}
14176
14177
14178SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14179 PyObject *resultobj = 0;
14180 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14181 size_t arg2 ;
14182 bool arg3 = (bool) false ;
14183 size_t result;
14184 void *argp1 = 0 ;
14185 int res1 = 0 ;
14186 size_t val2 ;
14187 int ecode2 = 0 ;
14188 bool val3 ;
14189 int ecode3 = 0 ;
14190 PyObject * obj0 = 0 ;
14191 PyObject * obj1 = 0 ;
14192 PyObject * obj2 = 0 ;
14193 char * kwnames[] = {
14194 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14195 };
14196
14197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14199 if (!SWIG_IsOK(res1)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14201 }
14202 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14203 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14204 if (!SWIG_IsOK(ecode2)) {
14205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14206 }
14207 arg2 = static_cast< size_t >(val2);
14208 if (obj2) {
14209 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14210 if (!SWIG_IsOK(ecode3)) {
14211 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14212 }
14213 arg3 = static_cast< bool >(val3);
14214 }
14215 {
14216 PyThreadState* __tstate = wxPyBeginAllowThreads();
14217 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14222 return resultobj;
14223fail:
14224 return NULL;
14225}
14226
14227
14228SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj = 0;
14230 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14231 size_t arg2 ;
14232 size_t arg3 ;
14233 int result;
14234 void *argp1 = 0 ;
14235 int res1 = 0 ;
14236 size_t val2 ;
14237 int ecode2 = 0 ;
14238 size_t val3 ;
14239 int ecode3 = 0 ;
14240 PyObject * obj0 = 0 ;
14241 PyObject * obj1 = 0 ;
14242 PyObject * obj2 = 0 ;
14243 char * kwnames[] = {
14244 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14245 };
14246
14247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14249 if (!SWIG_IsOK(res1)) {
14250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14251 }
14252 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14253 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14254 if (!SWIG_IsOK(ecode2)) {
14255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14256 }
14257 arg2 = static_cast< size_t >(val2);
14258 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14259 if (!SWIG_IsOK(ecode3)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14261 }
14262 arg3 = static_cast< size_t >(val3);
14263 {
14264 PyThreadState* __tstate = wxPyBeginAllowThreads();
14265 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14266 wxPyEndAllowThreads(__tstate);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
14269 resultobj = SWIG_From_int(static_cast< int >(result));
14270 return resultobj;
14271fail:
14272 return NULL;
d55e5bfc
RD
14273}
14274
14275
1bd55598
RD
14276SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14277 PyObject *obj;
14278 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14279 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14280 return SWIG_Py_Void();
d55e5bfc
RD
14281}
14282
1bd55598
RD
14283SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14284 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14285}
14286
1bd55598
RD
14287SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14288 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14289 return 1;
d55e5bfc
RD
14290}
14291
14292
1bd55598
RD
14293SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14294 PyObject *pyobj = 0;
14295
14296 {
14297#if wxUSE_UNICODE
14298 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14299#else
14300 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14301#endif
14302 }
14303 return pyobj;
14304}
14305
14306
14307SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14308 PyObject *resultobj = 0;
14309 wxWindow *arg1 = (wxWindow *) 0 ;
14310 int arg2 = (int) wxID_ANY ;
14311 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14312 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14313 wxSize const &arg4_defvalue = wxDefaultSize ;
14314 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14315 long arg5 = (long) 0 ;
14316 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14317 wxString *arg6 = (wxString *) &arg6_defvalue ;
14318 wxPyVListBox *result = 0 ;
14319 void *argp1 = 0 ;
14320 int res1 = 0 ;
14321 int val2 ;
14322 int ecode2 = 0 ;
14323 wxPoint temp3 ;
14324 wxSize temp4 ;
14325 long val5 ;
14326 int ecode5 = 0 ;
14327 bool temp6 = false ;
14328 PyObject * obj0 = 0 ;
14329 PyObject * obj1 = 0 ;
14330 PyObject * obj2 = 0 ;
14331 PyObject * obj3 = 0 ;
14332 PyObject * obj4 = 0 ;
14333 PyObject * obj5 = 0 ;
14334 char * kwnames[] = {
14335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14336 };
14337
14338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14340 if (!SWIG_IsOK(res1)) {
14341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14342 }
14343 arg1 = reinterpret_cast< wxWindow * >(argp1);
14344 if (obj1) {
14345 ecode2 = SWIG_AsVal_int(obj1, &val2);
14346 if (!SWIG_IsOK(ecode2)) {
14347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14348 }
14349 arg2 = static_cast< int >(val2);
14350 }
14351 if (obj2) {
36ed4f51 14352 {
1bd55598
RD
14353 arg3 = &temp3;
14354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 14355 }
1bd55598
RD
14356 }
14357 if (obj3) {
d55e5bfc 14358 {
1bd55598
RD
14359 arg4 = &temp4;
14360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14361 }
1bd55598
RD
14362 }
14363 if (obj4) {
14364 ecode5 = SWIG_AsVal_long(obj4, &val5);
14365 if (!SWIG_IsOK(ecode5)) {
14366 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14367 }
14368 arg5 = static_cast< long >(val5);
14369 }
14370 if (obj5) {
d55e5bfc 14371 {
1bd55598
RD
14372 arg6 = wxString_in_helper(obj5);
14373 if (arg6 == NULL) SWIG_fail;
14374 temp6 = true;
d55e5bfc 14375 }
1bd55598
RD
14376 }
14377 {
14378 if (!wxPyCheckForApp()) SWIG_fail;
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14381 wxPyEndAllowThreads(__tstate);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14385 {
14386 if (temp6)
14387 delete arg6;
14388 }
14389 return resultobj;
14390fail:
14391 {
14392 if (temp6)
14393 delete arg6;
14394 }
14395 return NULL;
d55e5bfc
RD
14396}
14397
14398
1bd55598
RD
14399SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14400 PyObject *resultobj = 0;
14401 wxPyVListBox *result = 0 ;
14402
14403 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14404 {
14405 if (!wxPyCheckForApp()) SWIG_fail;
14406 PyThreadState* __tstate = wxPyBeginAllowThreads();
14407 result = (wxPyVListBox *)new wxPyVListBox();
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14412 return resultobj;
14413fail:
14414 return NULL;
14415}
14416
14417
14418SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj = 0;
14420 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14421 PyObject *arg2 = (PyObject *) 0 ;
14422 PyObject *arg3 = (PyObject *) 0 ;
14423 void *argp1 = 0 ;
14424 int res1 = 0 ;
14425 PyObject * obj0 = 0 ;
14426 PyObject * obj1 = 0 ;
14427 PyObject * obj2 = 0 ;
14428 char * kwnames[] = {
14429 (char *) "self",(char *) "self",(char *) "_class", NULL
14430 };
14431
14432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14434 if (!SWIG_IsOK(res1)) {
14435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14436 }
14437 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14438 arg2 = obj1;
14439 arg3 = obj2;
14440 {
14441 PyThreadState* __tstate = wxPyBeginAllowThreads();
14442 (arg1)->_setCallbackInfo(arg2,arg3);
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
14446 resultobj = SWIG_Py_Void();
14447 return resultobj;
14448fail:
14449 return NULL;
14450}
14451
14452
14453SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14454 PyObject *resultobj = 0;
14455 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14456 wxWindow *arg2 = (wxWindow *) 0 ;
14457 int arg3 = (int) wxID_ANY ;
14458 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14459 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14460 wxSize const &arg5_defvalue = wxDefaultSize ;
14461 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14462 long arg6 = (long) 0 ;
14463 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14464 wxString *arg7 = (wxString *) &arg7_defvalue ;
14465 bool result;
14466 void *argp1 = 0 ;
14467 int res1 = 0 ;
14468 void *argp2 = 0 ;
14469 int res2 = 0 ;
14470 int val3 ;
14471 int ecode3 = 0 ;
14472 wxPoint temp4 ;
14473 wxSize temp5 ;
14474 long val6 ;
14475 int ecode6 = 0 ;
14476 bool temp7 = false ;
14477 PyObject * obj0 = 0 ;
14478 PyObject * obj1 = 0 ;
14479 PyObject * obj2 = 0 ;
14480 PyObject * obj3 = 0 ;
14481 PyObject * obj4 = 0 ;
14482 PyObject * obj5 = 0 ;
14483 PyObject * obj6 = 0 ;
14484 char * kwnames[] = {
14485 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14486 };
14487
14488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14490 if (!SWIG_IsOK(res1)) {
14491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14492 }
14493 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14494 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14495 if (!SWIG_IsOK(res2)) {
14496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14497 }
14498 arg2 = reinterpret_cast< wxWindow * >(argp2);
14499 if (obj2) {
14500 ecode3 = SWIG_AsVal_int(obj2, &val3);
14501 if (!SWIG_IsOK(ecode3)) {
14502 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14503 }
14504 arg3 = static_cast< int >(val3);
14505 }
14506 if (obj3) {
36ed4f51 14507 {
1bd55598
RD
14508 arg4 = &temp4;
14509 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 14510 }
1bd55598
RD
14511 }
14512 if (obj4) {
36ed4f51 14513 {
1bd55598
RD
14514 arg5 = &temp5;
14515 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 14516 }
1bd55598
RD
14517 }
14518 if (obj5) {
14519 ecode6 = SWIG_AsVal_long(obj5, &val6);
14520 if (!SWIG_IsOK(ecode6)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14522 }
14523 arg6 = static_cast< long >(val6);
14524 }
14525 if (obj6) {
d55e5bfc 14526 {
1bd55598
RD
14527 arg7 = wxString_in_helper(obj6);
14528 if (arg7 == NULL) SWIG_fail;
14529 temp7 = true;
14530 }
14531 }
14532 {
14533 PyThreadState* __tstate = wxPyBeginAllowThreads();
14534 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14535 wxPyEndAllowThreads(__tstate);
14536 if (PyErr_Occurred()) SWIG_fail;
14537 }
14538 {
14539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14540 }
14541 {
14542 if (temp7)
14543 delete arg7;
14544 }
14545 return resultobj;
14546fail:
14547 {
14548 if (temp7)
14549 delete arg7;
14550 }
14551 return NULL;
d55e5bfc
RD
14552}
14553
14554
1bd55598
RD
14555SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14556 PyObject *resultobj = 0;
14557 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14558 size_t result;
14559 void *argp1 = 0 ;
14560 int res1 = 0 ;
14561 PyObject *swig_obj[1] ;
14562
14563 if (!args) SWIG_fail;
14564 swig_obj[0] = args;
14565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14566 if (!SWIG_IsOK(res1)) {
14567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14568 }
14569 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14570 {
14571 PyThreadState* __tstate = wxPyBeginAllowThreads();
14572 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14573 wxPyEndAllowThreads(__tstate);
14574 if (PyErr_Occurred()) SWIG_fail;
14575 }
14576 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14577 return resultobj;
14578fail:
14579 return NULL;
d55e5bfc
RD
14580}
14581
14582
1bd55598
RD
14583SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14584 PyObject *resultobj = 0;
14585 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14586 bool result;
14587 void *argp1 = 0 ;
14588 int res1 = 0 ;
14589 PyObject *swig_obj[1] ;
14590
14591 if (!args) SWIG_fail;
14592 swig_obj[0] = args;
14593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14594 if (!SWIG_IsOK(res1)) {
14595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14596 }
14597 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14598 {
14599 PyThreadState* __tstate = wxPyBeginAllowThreads();
14600 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14601 wxPyEndAllowThreads(__tstate);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 {
14605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14606 }
14607 return resultobj;
14608fail:
14609 return NULL;
d55e5bfc
RD
14610}
14611
14612
1bd55598
RD
14613SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14614 PyObject *resultobj = 0;
14615 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14616 int result;
14617 void *argp1 = 0 ;
14618 int res1 = 0 ;
14619 PyObject *swig_obj[1] ;
14620
14621 if (!args) SWIG_fail;
14622 swig_obj[0] = args;
14623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14624 if (!SWIG_IsOK(res1)) {
14625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14626 }
14627 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14628 {
14629 PyThreadState* __tstate = wxPyBeginAllowThreads();
14630 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14631 wxPyEndAllowThreads(__tstate);
14632 if (PyErr_Occurred()) SWIG_fail;
14633 }
14634 resultobj = SWIG_From_int(static_cast< int >(result));
14635 return resultobj;
14636fail:
14637 return NULL;
14638}
14639
14640
14641SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14642 PyObject *resultobj = 0;
14643 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14644 size_t arg2 ;
14645 bool result;
14646 void *argp1 = 0 ;
14647 int res1 = 0 ;
14648 size_t val2 ;
14649 int ecode2 = 0 ;
14650 PyObject * obj0 = 0 ;
14651 PyObject * obj1 = 0 ;
14652 char * kwnames[] = {
14653 (char *) "self",(char *) "item", NULL
14654 };
14655
14656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14658 if (!SWIG_IsOK(res1)) {
14659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14660 }
14661 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14662 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14663 if (!SWIG_IsOK(ecode2)) {
14664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14665 }
14666 arg2 = static_cast< size_t >(val2);
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14670 wxPyEndAllowThreads(__tstate);
14671 if (PyErr_Occurred()) SWIG_fail;
14672 }
14673 {
14674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14675 }
14676 return resultobj;
14677fail:
14678 return NULL;
14679}
14680
14681
14682SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14683 PyObject *resultobj = 0;
14684 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14685 size_t arg2 ;
14686 bool result;
14687 void *argp1 = 0 ;
14688 int res1 = 0 ;
14689 size_t val2 ;
14690 int ecode2 = 0 ;
14691 PyObject * obj0 = 0 ;
14692 PyObject * obj1 = 0 ;
14693 char * kwnames[] = {
14694 (char *) "self",(char *) "item", NULL
14695 };
14696
14697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14699 if (!SWIG_IsOK(res1)) {
14700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14701 }
14702 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14703 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14704 if (!SWIG_IsOK(ecode2)) {
14705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14706 }
14707 arg2 = static_cast< size_t >(val2);
14708 {
14709 PyThreadState* __tstate = wxPyBeginAllowThreads();
14710 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 {
14715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14716 }
14717 return resultobj;
14718fail:
14719 return NULL;
d55e5bfc
RD
14720}
14721
14722
1bd55598
RD
14723SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14724 PyObject *resultobj = 0;
14725 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14726 size_t result;
14727 void *argp1 = 0 ;
14728 int res1 = 0 ;
14729 PyObject *swig_obj[1] ;
14730
14731 if (!args) SWIG_fail;
14732 swig_obj[0] = args;
14733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14734 if (!SWIG_IsOK(res1)) {
14735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14736 }
14737 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14738 {
14739 PyThreadState* __tstate = wxPyBeginAllowThreads();
14740 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14741 wxPyEndAllowThreads(__tstate);
14742 if (PyErr_Occurred()) SWIG_fail;
14743 }
14744 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14745 return resultobj;
14746fail:
14747 return NULL;
d55e5bfc
RD
14748}
14749
14750
1bd55598
RD
14751SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14752 PyObject *resultobj = 0;
14753 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14754 PyObject *result = 0 ;
14755 void *argp1 = 0 ;
14756 int res1 = 0 ;
14757 PyObject *swig_obj[1] ;
14758
14759 if (!args) SWIG_fail;
14760 swig_obj[0] = args;
14761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14762 if (!SWIG_IsOK(res1)) {
14763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14764 }
14765 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14766 {
14767 PyThreadState* __tstate = wxPyBeginAllowThreads();
14768 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 resultobj = result;
14773 return resultobj;
14774fail:
14775 return NULL;
14776}
14777
14778
14779SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj = 0;
14781 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14782 unsigned long arg2 ;
14783 PyObject *result = 0 ;
14784 void *argp1 = 0 ;
14785 int res1 = 0 ;
14786 unsigned long val2 ;
14787 int ecode2 = 0 ;
14788 PyObject * obj0 = 0 ;
14789 PyObject * obj1 = 0 ;
14790 char * kwnames[] = {
14791 (char *) "self",(char *) "cookie", NULL
14792 };
14793
14794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14796 if (!SWIG_IsOK(res1)) {
14797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14798 }
14799 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14800 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14801 if (!SWIG_IsOK(ecode2)) {
14802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14803 }
14804 arg2 = static_cast< unsigned long >(val2);
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14808 wxPyEndAllowThreads(__tstate);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 resultobj = result;
14812 return resultobj;
14813fail:
14814 return NULL;
d55e5bfc
RD
14815}
14816
14817
1bd55598
RD
14818SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14819 PyObject *resultobj = 0;
14820 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14821 wxPoint result;
14822 void *argp1 = 0 ;
14823 int res1 = 0 ;
14824 PyObject *swig_obj[1] ;
14825
14826 if (!args) SWIG_fail;
14827 swig_obj[0] = args;
14828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14829 if (!SWIG_IsOK(res1)) {
14830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14831 }
14832 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 result = ((wxPyVListBox const *)arg1)->GetMargins();
14836 wxPyEndAllowThreads(__tstate);
14837 if (PyErr_Occurred()) SWIG_fail;
14838 }
14839 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14840 return resultobj;
14841fail:
14842 return NULL;
d55e5bfc
RD
14843}
14844
14845
1bd55598
RD
14846SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14847 PyObject *resultobj = 0;
14848 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14849 wxColour *result = 0 ;
14850 void *argp1 = 0 ;
14851 int res1 = 0 ;
14852 PyObject *swig_obj[1] ;
14853
14854 if (!args) SWIG_fail;
14855 swig_obj[0] = args;
14856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14857 if (!SWIG_IsOK(res1)) {
14858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14859 }
14860 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14863 {
1bd55598
RD
14864 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14865 result = (wxColour *) &_result_ref;
36ed4f51 14866 }
1bd55598
RD
14867 wxPyEndAllowThreads(__tstate);
14868 if (PyErr_Occurred()) SWIG_fail;
14869 }
14870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14871 return resultobj;
14872fail:
14873 return NULL;
14874}
14875
14876
14877SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14878 PyObject *resultobj = 0;
14879 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14880 size_t arg2 ;
14881 void *argp1 = 0 ;
14882 int res1 = 0 ;
14883 size_t val2 ;
14884 int ecode2 = 0 ;
14885 PyObject * obj0 = 0 ;
14886 PyObject * obj1 = 0 ;
14887 char * kwnames[] = {
14888 (char *) "self",(char *) "count", NULL
14889 };
14890
14891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14893 if (!SWIG_IsOK(res1)) {
14894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14895 }
14896 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14897 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14898 if (!SWIG_IsOK(ecode2)) {
14899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14900 }
14901 arg2 = static_cast< size_t >(val2);
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 (arg1)->SetItemCount(arg2);
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 resultobj = SWIG_Py_Void();
14909 return resultobj;
14910fail:
14911 return NULL;
d55e5bfc
RD
14912}
14913
14914
1bd55598
RD
14915SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14916 PyObject *resultobj = 0;
14917 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14918 void *argp1 = 0 ;
14919 int res1 = 0 ;
14920 PyObject *swig_obj[1] ;
14921
14922 if (!args) SWIG_fail;
14923 swig_obj[0] = args;
14924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14925 if (!SWIG_IsOK(res1)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14927 }
14928 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14929 {
14930 PyThreadState* __tstate = wxPyBeginAllowThreads();
14931 (arg1)->Clear();
14932 wxPyEndAllowThreads(__tstate);
14933 if (PyErr_Occurred()) SWIG_fail;
14934 }
14935 resultobj = SWIG_Py_Void();
14936 return resultobj;
14937fail:
14938 return NULL;
14939}
14940
14941
14942SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14943 PyObject *resultobj = 0;
14944 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14945 int arg2 ;
14946 void *argp1 = 0 ;
14947 int res1 = 0 ;
14948 int val2 ;
14949 int ecode2 = 0 ;
14950 PyObject * obj0 = 0 ;
14951 PyObject * obj1 = 0 ;
14952 char * kwnames[] = {
14953 (char *) "self",(char *) "selection", NULL
14954 };
14955
14956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14958 if (!SWIG_IsOK(res1)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14960 }
14961 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14962 ecode2 = SWIG_AsVal_int(obj1, &val2);
14963 if (!SWIG_IsOK(ecode2)) {
14964 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14965 }
14966 arg2 = static_cast< int >(val2);
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 (arg1)->SetSelection(arg2);
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
14973 resultobj = SWIG_Py_Void();
14974 return resultobj;
14975fail:
14976 return NULL;
14977}
14978
14979
14980SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14981 PyObject *resultobj = 0;
14982 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14983 size_t arg2 ;
14984 bool arg3 = (bool) true ;
14985 bool result;
14986 void *argp1 = 0 ;
14987 int res1 = 0 ;
14988 size_t val2 ;
14989 int ecode2 = 0 ;
14990 bool val3 ;
14991 int ecode3 = 0 ;
14992 PyObject * obj0 = 0 ;
14993 PyObject * obj1 = 0 ;
14994 PyObject * obj2 = 0 ;
14995 char * kwnames[] = {
14996 (char *) "self",(char *) "item",(char *) "select", NULL
14997 };
14998
14999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15001 if (!SWIG_IsOK(res1)) {
15002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15003 }
15004 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15005 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15006 if (!SWIG_IsOK(ecode2)) {
15007 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15008 }
15009 arg2 = static_cast< size_t >(val2);
15010 if (obj2) {
15011 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15012 if (!SWIG_IsOK(ecode3)) {
15013 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15014 }
15015 arg3 = static_cast< bool >(val3);
15016 }
15017 {
15018 PyThreadState* __tstate = wxPyBeginAllowThreads();
15019 result = (bool)(arg1)->Select(arg2,arg3);
15020 wxPyEndAllowThreads(__tstate);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 {
15024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15025 }
15026 return resultobj;
15027fail:
15028 return NULL;
15029}
15030
15031
15032SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj = 0;
15034 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15035 size_t arg2 ;
15036 size_t arg3 ;
15037 bool result;
15038 void *argp1 = 0 ;
15039 int res1 = 0 ;
15040 size_t val2 ;
15041 int ecode2 = 0 ;
15042 size_t val3 ;
15043 int ecode3 = 0 ;
15044 PyObject * obj0 = 0 ;
15045 PyObject * obj1 = 0 ;
15046 PyObject * obj2 = 0 ;
15047 char * kwnames[] = {
2131d850 15048 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
15049 };
15050
15051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15053 if (!SWIG_IsOK(res1)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15055 }
15056 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15057 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15058 if (!SWIG_IsOK(ecode2)) {
15059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15060 }
15061 arg2 = static_cast< size_t >(val2);
15062 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15063 if (!SWIG_IsOK(ecode3)) {
15064 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15065 }
15066 arg3 = static_cast< size_t >(val3);
15067 {
15068 PyThreadState* __tstate = wxPyBeginAllowThreads();
15069 result = (bool)(arg1)->SelectRange(arg2,arg3);
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 {
15074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15075 }
15076 return resultobj;
15077fail:
15078 return NULL;
15079}
15080
15081
15082SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15083 PyObject *resultobj = 0;
15084 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15085 size_t arg2 ;
15086 void *argp1 = 0 ;
15087 int res1 = 0 ;
15088 size_t val2 ;
15089 int ecode2 = 0 ;
15090 PyObject * obj0 = 0 ;
15091 PyObject * obj1 = 0 ;
15092 char * kwnames[] = {
15093 (char *) "self",(char *) "item", NULL
15094 };
15095
15096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15098 if (!SWIG_IsOK(res1)) {
15099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15100 }
15101 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15102 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15103 if (!SWIG_IsOK(ecode2)) {
15104 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15105 }
15106 arg2 = static_cast< size_t >(val2);
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 (arg1)->Toggle(arg2);
15110 wxPyEndAllowThreads(__tstate);
15111 if (PyErr_Occurred()) SWIG_fail;
15112 }
15113 resultobj = SWIG_Py_Void();
15114 return resultobj;
15115fail:
15116 return NULL;
d55e5bfc
RD
15117}
15118
15119
1bd55598
RD
15120SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15121 PyObject *resultobj = 0;
15122 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15123 bool result;
15124 void *argp1 = 0 ;
15125 int res1 = 0 ;
15126 PyObject *swig_obj[1] ;
15127
15128 if (!args) SWIG_fail;
15129 swig_obj[0] = args;
15130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15131 if (!SWIG_IsOK(res1)) {
15132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15133 }
15134 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 result = (bool)(arg1)->SelectAll();
15138 wxPyEndAllowThreads(__tstate);
15139 if (PyErr_Occurred()) SWIG_fail;
15140 }
15141 {
15142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15143 }
15144 return resultobj;
15145fail:
15146 return NULL;
d55e5bfc
RD
15147}
15148
15149
1bd55598
RD
15150SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15151 PyObject *resultobj = 0;
15152 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15153 bool result;
15154 void *argp1 = 0 ;
15155 int res1 = 0 ;
15156 PyObject *swig_obj[1] ;
15157
15158 if (!args) SWIG_fail;
15159 swig_obj[0] = args;
15160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15161 if (!SWIG_IsOK(res1)) {
15162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15163 }
15164 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15165 {
15166 PyThreadState* __tstate = wxPyBeginAllowThreads();
15167 result = (bool)(arg1)->DeselectAll();
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 {
15172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15173 }
15174 return resultobj;
15175fail:
15176 return NULL;
15177}
15178
15179
15180SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15181 PyObject *resultobj = 0;
15182 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15183 wxPoint *arg2 = 0 ;
15184 void *argp1 = 0 ;
15185 int res1 = 0 ;
15186 wxPoint temp2 ;
15187 PyObject * obj0 = 0 ;
15188 PyObject * obj1 = 0 ;
15189 char * kwnames[] = {
15190 (char *) "self",(char *) "pt", NULL
15191 };
15192
15193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15195 if (!SWIG_IsOK(res1)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15197 }
15198 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15199 {
15200 arg2 = &temp2;
15201 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15202 }
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 (arg1)->SetMargins((wxPoint const &)*arg2);
15206 wxPyEndAllowThreads(__tstate);
15207 if (PyErr_Occurred()) SWIG_fail;
15208 }
15209 resultobj = SWIG_Py_Void();
15210 return resultobj;
15211fail:
15212 return NULL;
15213}
15214
15215
15216SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15217 PyObject *resultobj = 0;
15218 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15219 int arg2 ;
15220 int arg3 ;
15221 void *argp1 = 0 ;
15222 int res1 = 0 ;
15223 int val2 ;
15224 int ecode2 = 0 ;
15225 int val3 ;
15226 int ecode3 = 0 ;
15227 PyObject * obj0 = 0 ;
15228 PyObject * obj1 = 0 ;
15229 PyObject * obj2 = 0 ;
15230 char * kwnames[] = {
15231 (char *) "self",(char *) "x",(char *) "y", NULL
15232 };
15233
15234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15236 if (!SWIG_IsOK(res1)) {
15237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15238 }
15239 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15240 ecode2 = SWIG_AsVal_int(obj1, &val2);
15241 if (!SWIG_IsOK(ecode2)) {
15242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15243 }
15244 arg2 = static_cast< int >(val2);
15245 ecode3 = SWIG_AsVal_int(obj2, &val3);
15246 if (!SWIG_IsOK(ecode3)) {
15247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15248 }
15249 arg3 = static_cast< int >(val3);
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 (arg1)->SetMargins(arg2,arg3);
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 resultobj = SWIG_Py_Void();
15257 return resultobj;
15258fail:
15259 return NULL;
15260}
15261
15262
15263SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj = 0;
15265 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15266 wxColour *arg2 = 0 ;
15267 void *argp1 = 0 ;
15268 int res1 = 0 ;
15269 wxColour temp2 ;
15270 PyObject * obj0 = 0 ;
15271 PyObject * obj1 = 0 ;
15272 char * kwnames[] = {
15273 (char *) "self",(char *) "col", NULL
15274 };
15275
15276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15278 if (!SWIG_IsOK(res1)) {
15279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15280 }
15281 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15282 {
15283 arg2 = &temp2;
15284 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15285 }
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 resultobj = SWIG_Py_Void();
15293 return resultobj;
15294fail:
15295 return NULL;
15296}
15297
15298
1c71765a
RD
15299SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15300 PyObject *resultobj = 0;
15301 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15302 wxDC *arg2 = 0 ;
15303 wxRect *arg3 = 0 ;
15304 size_t arg4 ;
15305 void *argp1 = 0 ;
15306 int res1 = 0 ;
15307 void *argp2 = 0 ;
15308 int res2 = 0 ;
15309 wxRect temp3 ;
15310 size_t val4 ;
15311 int ecode4 = 0 ;
15312 PyObject * obj0 = 0 ;
15313 PyObject * obj1 = 0 ;
15314 PyObject * obj2 = 0 ;
15315 PyObject * obj3 = 0 ;
15316 char * kwnames[] = {
15317 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15318 };
15319
15320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15322 if (!SWIG_IsOK(res1)) {
15323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15324 }
15325 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15326 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15327 if (!SWIG_IsOK(res2)) {
15328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15329 }
15330 if (!argp2) {
15331 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15332 }
15333 arg2 = reinterpret_cast< wxDC * >(argp2);
15334 {
15335 arg3 = &temp3;
15336 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15337 }
15338 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15339 if (!SWIG_IsOK(ecode4)) {
15340 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15341 }
15342 arg4 = static_cast< size_t >(val4);
15343 {
15344 PyThreadState* __tstate = wxPyBeginAllowThreads();
15345 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 resultobj = SWIG_Py_Void();
15350 return resultobj;
15351fail:
15352 return NULL;
15353}
15354
15355
15356SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj = 0;
15358 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15359 wxDC *arg2 = 0 ;
15360 wxRect *arg3 = 0 ;
15361 size_t arg4 ;
15362 void *argp1 = 0 ;
15363 int res1 = 0 ;
15364 void *argp2 = 0 ;
15365 int res2 = 0 ;
15366 wxRect temp3 ;
15367 size_t val4 ;
15368 int ecode4 = 0 ;
15369 PyObject * obj0 = 0 ;
15370 PyObject * obj1 = 0 ;
15371 PyObject * obj2 = 0 ;
15372 PyObject * obj3 = 0 ;
15373 char * kwnames[] = {
15374 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15375 };
15376
15377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15379 if (!SWIG_IsOK(res1)) {
15380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15381 }
15382 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15383 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15384 if (!SWIG_IsOK(res2)) {
15385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15386 }
15387 if (!argp2) {
15388 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15389 }
15390 arg2 = reinterpret_cast< wxDC * >(argp2);
15391 {
15392 arg3 = &temp3;
15393 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15394 }
15395 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15396 if (!SWIG_IsOK(ecode4)) {
15397 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15398 }
15399 arg4 = static_cast< size_t >(val4);
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15403 wxPyEndAllowThreads(__tstate);
15404 if (PyErr_Occurred()) SWIG_fail;
15405 }
15406 resultobj = SWIG_Py_Void();
15407 return resultobj;
15408fail:
15409 return NULL;
15410}
15411
15412
1bd55598
RD
15413SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15414 PyObject *obj;
15415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15416 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15417 return SWIG_Py_Void();
15418}
15419
15420SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15421 return SWIG_Python_InitShadowInstance(args);
15422}
15423
15424SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15425 PyObject *resultobj = 0;
15426 wxWindow *arg1 = (wxWindow *) 0 ;
15427 int arg2 = (int) wxID_ANY ;
15428 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15429 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15430 wxSize const &arg4_defvalue = wxDefaultSize ;
15431 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15432 long arg5 = (long) 0 ;
15433 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15434 wxString *arg6 = (wxString *) &arg6_defvalue ;
15435 wxPyHtmlListBox *result = 0 ;
15436 void *argp1 = 0 ;
15437 int res1 = 0 ;
15438 int val2 ;
15439 int ecode2 = 0 ;
15440 wxPoint temp3 ;
15441 wxSize temp4 ;
15442 long val5 ;
15443 int ecode5 = 0 ;
15444 bool temp6 = false ;
15445 PyObject * obj0 = 0 ;
15446 PyObject * obj1 = 0 ;
15447 PyObject * obj2 = 0 ;
15448 PyObject * obj3 = 0 ;
15449 PyObject * obj4 = 0 ;
15450 PyObject * obj5 = 0 ;
15451 char * kwnames[] = {
15452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15453 };
15454
15455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15457 if (!SWIG_IsOK(res1)) {
15458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15459 }
15460 arg1 = reinterpret_cast< wxWindow * >(argp1);
15461 if (obj1) {
15462 ecode2 = SWIG_AsVal_int(obj1, &val2);
15463 if (!SWIG_IsOK(ecode2)) {
15464 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15465 }
15466 arg2 = static_cast< int >(val2);
15467 }
15468 if (obj2) {
d55e5bfc 15469 {
1bd55598
RD
15470 arg3 = &temp3;
15471 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 15472 }
1bd55598
RD
15473 }
15474 if (obj3) {
36ed4f51 15475 {
1bd55598
RD
15476 arg4 = &temp4;
15477 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15478 }
1bd55598
RD
15479 }
15480 if (obj4) {
15481 ecode5 = SWIG_AsVal_long(obj4, &val5);
15482 if (!SWIG_IsOK(ecode5)) {
15483 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15484 }
15485 arg5 = static_cast< long >(val5);
15486 }
15487 if (obj5) {
36ed4f51 15488 {
1bd55598
RD
15489 arg6 = wxString_in_helper(obj5);
15490 if (arg6 == NULL) SWIG_fail;
15491 temp6 = true;
36ed4f51 15492 }
1bd55598
RD
15493 }
15494 {
15495 if (!wxPyCheckForApp()) SWIG_fail;
15496 PyThreadState* __tstate = wxPyBeginAllowThreads();
15497 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15502 {
15503 if (temp6)
15504 delete arg6;
15505 }
15506 return resultobj;
15507fail:
15508 {
15509 if (temp6)
15510 delete arg6;
15511 }
15512 return NULL;
d55e5bfc
RD
15513}
15514
15515
1bd55598
RD
15516SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15517 PyObject *resultobj = 0;
15518 wxPyHtmlListBox *result = 0 ;
15519
15520 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15521 {
15522 if (!wxPyCheckForApp()) SWIG_fail;
15523 PyThreadState* __tstate = wxPyBeginAllowThreads();
15524 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15525 wxPyEndAllowThreads(__tstate);
15526 if (PyErr_Occurred()) SWIG_fail;
15527 }
15528 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15529 return resultobj;
15530fail:
15531 return NULL;
15532}
15533
15534
15535SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15536 PyObject *resultobj = 0;
15537 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15538 PyObject *arg2 = (PyObject *) 0 ;
15539 PyObject *arg3 = (PyObject *) 0 ;
15540 void *argp1 = 0 ;
15541 int res1 = 0 ;
15542 PyObject * obj0 = 0 ;
15543 PyObject * obj1 = 0 ;
15544 PyObject * obj2 = 0 ;
15545 char * kwnames[] = {
15546 (char *) "self",(char *) "self",(char *) "_class", NULL
15547 };
15548
15549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15551 if (!SWIG_IsOK(res1)) {
15552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15553 }
15554 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15555 arg2 = obj1;
15556 arg3 = obj2;
15557 {
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 (arg1)->_setCallbackInfo(arg2,arg3);
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 resultobj = SWIG_Py_Void();
15564 return resultobj;
15565fail:
15566 return NULL;
15567}
15568
15569
15570SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj = 0;
15572 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15573 wxWindow *arg2 = (wxWindow *) 0 ;
15574 int arg3 = (int) wxID_ANY ;
15575 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15576 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15577 wxSize const &arg5_defvalue = wxDefaultSize ;
15578 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15579 long arg6 = (long) 0 ;
15580 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15581 wxString *arg7 = (wxString *) &arg7_defvalue ;
15582 bool result;
15583 void *argp1 = 0 ;
15584 int res1 = 0 ;
15585 void *argp2 = 0 ;
15586 int res2 = 0 ;
15587 int val3 ;
15588 int ecode3 = 0 ;
15589 wxPoint temp4 ;
15590 wxSize temp5 ;
15591 long val6 ;
15592 int ecode6 = 0 ;
15593 bool temp7 = false ;
15594 PyObject * obj0 = 0 ;
15595 PyObject * obj1 = 0 ;
15596 PyObject * obj2 = 0 ;
15597 PyObject * obj3 = 0 ;
15598 PyObject * obj4 = 0 ;
15599 PyObject * obj5 = 0 ;
15600 PyObject * obj6 = 0 ;
15601 char * kwnames[] = {
15602 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15603 };
15604
15605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15607 if (!SWIG_IsOK(res1)) {
15608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15609 }
15610 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15611 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15612 if (!SWIG_IsOK(res2)) {
15613 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15614 }
15615 arg2 = reinterpret_cast< wxWindow * >(argp2);
15616 if (obj2) {
15617 ecode3 = SWIG_AsVal_int(obj2, &val3);
15618 if (!SWIG_IsOK(ecode3)) {
15619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15620 }
15621 arg3 = static_cast< int >(val3);
15622 }
15623 if (obj3) {
36ed4f51 15624 {
1bd55598
RD
15625 arg4 = &temp4;
15626 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15627 }
1bd55598
RD
15628 }
15629 if (obj4) {
d55e5bfc 15630 {
1bd55598
RD
15631 arg5 = &temp5;
15632 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15633 }
1bd55598
RD
15634 }
15635 if (obj5) {
15636 ecode6 = SWIG_AsVal_long(obj5, &val6);
15637 if (!SWIG_IsOK(ecode6)) {
15638 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15639 }
15640 arg6 = static_cast< long >(val6);
15641 }
15642 if (obj6) {
36ed4f51 15643 {
1bd55598
RD
15644 arg7 = wxString_in_helper(obj6);
15645 if (arg7 == NULL) SWIG_fail;
15646 temp7 = true;
36ed4f51 15647 }
1bd55598
RD
15648 }
15649 {
15650 PyThreadState* __tstate = wxPyBeginAllowThreads();
15651 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15652 wxPyEndAllowThreads(__tstate);
15653 if (PyErr_Occurred()) SWIG_fail;
15654 }
15655 {
15656 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15657 }
15658 {
15659 if (temp7)
15660 delete arg7;
15661 }
15662 return resultobj;
15663fail:
15664 {
15665 if (temp7)
15666 delete arg7;
15667 }
15668 return NULL;
15669}
15670
15671
15672SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15673 PyObject *resultobj = 0;
15674 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15675 size_t arg2 ;
15676 void *argp1 = 0 ;
15677 int res1 = 0 ;
15678 size_t val2 ;
15679 int ecode2 = 0 ;
15680 PyObject * obj0 = 0 ;
15681 PyObject * obj1 = 0 ;
15682 char * kwnames[] = {
15683 (char *) "self",(char *) "count", NULL
15684 };
15685
15686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15688 if (!SWIG_IsOK(res1)) {
15689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15690 }
15691 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15692 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15693 if (!SWIG_IsOK(ecode2)) {
15694 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15695 }
15696 arg2 = static_cast< size_t >(val2);
15697 {
15698 PyThreadState* __tstate = wxPyBeginAllowThreads();
15699 (arg1)->SetItemCount(arg2);
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 resultobj = SWIG_Py_Void();
15704 return resultobj;
15705fail:
15706 return NULL;
d55e5bfc
RD
15707}
15708
15709
1bd55598
RD
15710SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15711 PyObject *resultobj = 0;
15712 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15713 wxFileSystem *result = 0 ;
15714 void *argp1 = 0 ;
15715 int res1 = 0 ;
15716 PyObject *swig_obj[1] ;
15717
15718 if (!args) SWIG_fail;
15719 swig_obj[0] = args;
15720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15721 if (!SWIG_IsOK(res1)) {
15722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15723 }
15724 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15725 {
15726 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15727 {
1bd55598
RD
15728 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15729 result = (wxFileSystem *) &_result_ref;
36ed4f51 15730 }
1bd55598
RD
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15735 return resultobj;
15736fail:
15737 return NULL;
d55e5bfc
RD
15738}
15739
15740
e9d6f3a4
RD
15741SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15742 PyObject *resultobj = 0;
15743 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15744 size_t arg2 ;
15745 wxHtmlLinkInfo *arg3 = 0 ;
15746 void *argp1 = 0 ;
15747 int res1 = 0 ;
15748 size_t val2 ;
15749 int ecode2 = 0 ;
15750 void *argp3 = 0 ;
15751 int res3 = 0 ;
15752 PyObject * obj0 = 0 ;
15753 PyObject * obj1 = 0 ;
15754 PyObject * obj2 = 0 ;
15755 char * kwnames[] = {
15756 (char *) "self",(char *) "n",(char *) "link", NULL
15757 };
15758
15759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15761 if (!SWIG_IsOK(res1)) {
15762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15763 }
15764 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15765 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15766 if (!SWIG_IsOK(ecode2)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15768 }
15769 arg2 = static_cast< size_t >(val2);
15770 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15771 if (!SWIG_IsOK(res3)) {
15772 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15773 }
15774 if (!argp3) {
15775 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15776 }
15777 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 resultobj = SWIG_Py_Void();
15785 return resultobj;
15786fail:
15787 return NULL;
15788}
15789
15790
1bd55598
RD
15791SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15792 PyObject *obj;
15793 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15794 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15795 return SWIG_Py_Void();
d55e5bfc
RD
15796}
15797
1bd55598
RD
15798SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15799 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
15800}
15801
f9bf356b
RD
15802SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
15803 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
15804 return 1;
15805}
15806
15807
15808SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
15809 PyObject *pyobj = 0;
15810
15811 {
15812#if wxUSE_UNICODE
15813 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15814#else
15815 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15816#endif
15817 }
15818 return pyobj;
15819}
15820
15821
15822SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15823 PyObject *resultobj = 0;
15824 wxWindow *arg1 = (wxWindow *) 0 ;
15825 int arg2 = (int) -1 ;
15826 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15827 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15828 wxSize const &arg4_defvalue = wxDefaultSize ;
15829 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15830 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
15831 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
15832 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
15833 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15834 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15835 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
15836 wxString *arg8 = (wxString *) &arg8_defvalue ;
15837 wxSimpleHtmlListBox *result = 0 ;
15838 void *argp1 = 0 ;
15839 int res1 = 0 ;
15840 int val2 ;
15841 int ecode2 = 0 ;
15842 wxPoint temp3 ;
15843 wxSize temp4 ;
15844 bool temp5 = false ;
15845 long val6 ;
15846 int ecode6 = 0 ;
15847 void *argp7 = 0 ;
15848 int res7 = 0 ;
15849 bool temp8 = false ;
15850 PyObject * obj0 = 0 ;
15851 PyObject * obj1 = 0 ;
15852 PyObject * obj2 = 0 ;
15853 PyObject * obj3 = 0 ;
15854 PyObject * obj4 = 0 ;
15855 PyObject * obj5 = 0 ;
15856 PyObject * obj6 = 0 ;
15857 PyObject * obj7 = 0 ;
15858 char * kwnames[] = {
15859 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15860 };
15861
15862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
15863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15864 if (!SWIG_IsOK(res1)) {
15865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15866 }
15867 arg1 = reinterpret_cast< wxWindow * >(argp1);
15868 if (obj1) {
15869 ecode2 = SWIG_AsVal_int(obj1, &val2);
15870 if (!SWIG_IsOK(ecode2)) {
15871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
15872 }
15873 arg2 = static_cast< int >(val2);
15874 }
15875 if (obj2) {
15876 {
15877 arg3 = &temp3;
15878 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15879 }
15880 }
15881 if (obj3) {
15882 {
15883 arg4 = &temp4;
15884 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15885 }
15886 }
15887 if (obj4) {
15888 {
15889 if (! PySequence_Check(obj4)) {
15890 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
15891 SWIG_fail;
15892 }
15893 arg5 = new wxArrayString;
15894 temp5 = true;
15895 int i, len=PySequence_Length(obj4);
15896 for (i=0; i<len; i++) {
15897 PyObject* item = PySequence_GetItem(obj4, i);
15898 wxString* s = wxString_in_helper(item);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 arg5->Add(*s);
15901 delete s;
15902 Py_DECREF(item);
15903 }
15904 }
15905 }
15906 if (obj5) {
15907 ecode6 = SWIG_AsVal_long(obj5, &val6);
15908 if (!SWIG_IsOK(ecode6)) {
15909 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
15910 }
15911 arg6 = static_cast< long >(val6);
15912 }
15913 if (obj6) {
15914 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
15915 if (!SWIG_IsOK(res7)) {
15916 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15917 }
15918 if (!argp7) {
15919 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15920 }
15921 arg7 = reinterpret_cast< wxValidator * >(argp7);
15922 }
15923 if (obj7) {
15924 {
15925 arg8 = wxString_in_helper(obj7);
15926 if (arg8 == NULL) SWIG_fail;
15927 temp8 = true;
15928 }
15929 }
15930 {
15931 if (!wxPyCheckForApp()) SWIG_fail;
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
15934 wxPyEndAllowThreads(__tstate);
15935 if (PyErr_Occurred()) SWIG_fail;
15936 }
15937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
15938 {
15939 if (temp5) delete arg5;
15940 }
15941 {
15942 if (temp8)
15943 delete arg8;
15944 }
15945 return resultobj;
15946fail:
15947 {
15948 if (temp5) delete arg5;
15949 }
15950 {
15951 if (temp8)
15952 delete arg8;
15953 }
15954 return NULL;
15955}
15956
15957
15958SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15959 PyObject *resultobj = 0;
15960 wxSimpleHtmlListBox *result = 0 ;
15961
15962 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
15963 {
15964 if (!wxPyCheckForApp()) SWIG_fail;
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
15971 return resultobj;
15972fail:
15973 return NULL;
15974}
15975
15976
15977SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj = 0;
15979 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
15980 wxWindow *arg2 = (wxWindow *) 0 ;
15981 int arg3 = (int) -1 ;
15982 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15983 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15984 wxSize const &arg5_defvalue = wxDefaultSize ;
15985 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15986 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
15987 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
15988 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
15989 wxValidator const &arg8_defvalue = wxDefaultValidator ;
15990 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
15991 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
15992 wxString *arg9 = (wxString *) &arg9_defvalue ;
15993 bool result;
15994 void *argp1 = 0 ;
15995 int res1 = 0 ;
15996 void *argp2 = 0 ;
15997 int res2 = 0 ;
15998 int val3 ;
15999 int ecode3 = 0 ;
16000 wxPoint temp4 ;
16001 wxSize temp5 ;
16002 bool temp6 = false ;
16003 long val7 ;
16004 int ecode7 = 0 ;
16005 void *argp8 = 0 ;
16006 int res8 = 0 ;
16007 bool temp9 = false ;
16008 PyObject * obj0 = 0 ;
16009 PyObject * obj1 = 0 ;
16010 PyObject * obj2 = 0 ;
16011 PyObject * obj3 = 0 ;
16012 PyObject * obj4 = 0 ;
16013 PyObject * obj5 = 0 ;
16014 PyObject * obj6 = 0 ;
16015 PyObject * obj7 = 0 ;
16016 PyObject * obj8 = 0 ;
16017 char * kwnames[] = {
16018 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16019 };
16020
16021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
16022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
16023 if (!SWIG_IsOK(res1)) {
16024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16025 }
16026 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
16027 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16028 if (!SWIG_IsOK(res2)) {
16029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16030 }
16031 arg2 = reinterpret_cast< wxWindow * >(argp2);
16032 if (obj2) {
16033 ecode3 = SWIG_AsVal_int(obj2, &val3);
16034 if (!SWIG_IsOK(ecode3)) {
16035 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16036 }
16037 arg3 = static_cast< int >(val3);
16038 }
16039 if (obj3) {
16040 {
16041 arg4 = &temp4;
16042 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16043 }
16044 }
16045 if (obj4) {
16046 {
16047 arg5 = &temp5;
16048 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16049 }
16050 }
16051 if (obj5) {
16052 {
16053 if (! PySequence_Check(obj5)) {
16054 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16055 SWIG_fail;
16056 }
16057 arg6 = new wxArrayString;
16058 temp6 = true;
16059 int i, len=PySequence_Length(obj5);
16060 for (i=0; i<len; i++) {
16061 PyObject* item = PySequence_GetItem(obj5, i);
16062 wxString* s = wxString_in_helper(item);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 arg6->Add(*s);
16065 delete s;
16066 Py_DECREF(item);
16067 }
16068 }
16069 }
16070 if (obj6) {
16071 ecode7 = SWIG_AsVal_long(obj6, &val7);
16072 if (!SWIG_IsOK(ecode7)) {
16073 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16074 }
16075 arg7 = static_cast< long >(val7);
16076 }
16077 if (obj7) {
16078 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16079 if (!SWIG_IsOK(res8)) {
16080 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16081 }
16082 if (!argp8) {
16083 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16084 }
16085 arg8 = reinterpret_cast< wxValidator * >(argp8);
16086 }
16087 if (obj8) {
16088 {
16089 arg9 = wxString_in_helper(obj8);
16090 if (arg9 == NULL) SWIG_fail;
16091 temp9 = true;
16092 }
16093 }
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 {
16101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16102 }
16103 {
16104 if (temp6) delete arg6;
16105 }
16106 {
16107 if (temp9)
16108 delete arg9;
16109 }
16110 return resultobj;
16111fail:
16112 {
16113 if (temp6) delete arg6;
16114 }
16115 {
16116 if (temp9)
16117 delete arg9;
16118 }
16119 return NULL;
16120}
16121
16122
16123SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16124 PyObject *obj;
16125 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16126 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16127 return SWIG_Py_Void();
16128}
16129
16130SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16131 return SWIG_Python_InitShadowInstance(args);
16132}
16133
1bd55598
RD
16134SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16135 PyObject *resultobj = 0;
16136 wxPyTaskBarIcon *result = 0 ;
16137
16138 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16139 {
16140 if (!wxPyCheckForApp()) SWIG_fail;
16141 PyThreadState* __tstate = wxPyBeginAllowThreads();
16142 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16147 return resultobj;
16148fail:
16149 return NULL;
d55e5bfc
RD
16150}
16151
16152
1bd55598
RD
16153SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16154 PyObject *resultobj = 0;
16155 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16156 void *argp1 = 0 ;
16157 int res1 = 0 ;
16158 PyObject *swig_obj[1] ;
16159
16160 if (!args) SWIG_fail;
16161 swig_obj[0] = args;
16162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16163 if (!SWIG_IsOK(res1)) {
16164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16165 }
16166 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 delete arg1;
d55e5bfc 16170
1bd55598
RD
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
16174 resultobj = SWIG_Py_Void();
16175 return resultobj;
16176fail:
16177 return NULL;
16178}
16179
16180
16181SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16182 PyObject *resultobj = 0;
16183 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16184 PyObject *arg2 = (PyObject *) 0 ;
16185 PyObject *arg3 = (PyObject *) 0 ;
c25f90f6 16186 int arg4 = (int) 0 ;
1bd55598
RD
16187 void *argp1 = 0 ;
16188 int res1 = 0 ;
16189 int val4 ;
16190 int ecode4 = 0 ;
16191 PyObject * obj0 = 0 ;
16192 PyObject * obj1 = 0 ;
16193 PyObject * obj2 = 0 ;
16194 PyObject * obj3 = 0 ;
16195 char * kwnames[] = {
16196 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16197 };
16198
c25f90f6 16199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
1bd55598
RD
16200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16201 if (!SWIG_IsOK(res1)) {
16202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16203 }
16204 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16205 arg2 = obj1;
16206 arg3 = obj2;
c25f90f6
RD
16207 if (obj3) {
16208 ecode4 = SWIG_AsVal_int(obj3, &val4);
16209 if (!SWIG_IsOK(ecode4)) {
16210 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16211 }
16212 arg4 = static_cast< int >(val4);
16213 }
1bd55598
RD
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 resultobj = SWIG_Py_Void();
16221 return resultobj;
16222fail:
16223 return NULL;
d55e5bfc
RD
16224}
16225
16226
1bd55598
RD
16227SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16228 PyObject *resultobj = 0;
16229 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16230 void *argp1 = 0 ;
16231 int res1 = 0 ;
16232 PyObject *swig_obj[1] ;
16233
16234 if (!args) SWIG_fail;
16235 swig_obj[0] = args;
16236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16237 if (!SWIG_IsOK(res1)) {
16238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16239 }
16240 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16241 {
16242 PyThreadState* __tstate = wxPyBeginAllowThreads();
16243 wxPyTaskBarIcon_Destroy(arg1);
16244 wxPyEndAllowThreads(__tstate);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 resultobj = SWIG_Py_Void();
16248 return resultobj;
16249fail:
16250 return NULL;
d55e5bfc
RD
16251}
16252
16253
1bd55598
RD
16254SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16255 PyObject *resultobj = 0;
16256 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16257 bool result;
16258 void *argp1 = 0 ;
16259 int res1 = 0 ;
16260 PyObject *swig_obj[1] ;
16261
16262 if (!args) SWIG_fail;
16263 swig_obj[0] = args;
16264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16265 if (!SWIG_IsOK(res1)) {
16266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16267 }
16268 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16269 {
16270 PyThreadState* __tstate = wxPyBeginAllowThreads();
16271 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16272 wxPyEndAllowThreads(__tstate);
16273 if (PyErr_Occurred()) SWIG_fail;
16274 }
16275 {
16276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16277 }
16278 return resultobj;
16279fail:
16280 return NULL;
d55e5bfc
RD
16281}
16282
16283
1bd55598
RD
16284SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16285 PyObject *resultobj = 0;
16286 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16287 bool result;
16288 void *argp1 = 0 ;
16289 int res1 = 0 ;
16290 PyObject *swig_obj[1] ;
16291
16292 if (!args) SWIG_fail;
16293 swig_obj[0] = args;
16294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16295 if (!SWIG_IsOK(res1)) {
16296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16297 }
16298 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16299 {
16300 PyThreadState* __tstate = wxPyBeginAllowThreads();
16301 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16302 wxPyEndAllowThreads(__tstate);
16303 if (PyErr_Occurred()) SWIG_fail;
16304 }
16305 {
16306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16307 }
16308 return resultobj;
16309fail:
16310 return NULL;
16311}
16312
16313
16314SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj = 0;
16316 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16317 wxIcon *arg2 = 0 ;
16318 wxString const &arg3_defvalue = wxPyEmptyString ;
16319 wxString *arg3 = (wxString *) &arg3_defvalue ;
16320 bool result;
16321 void *argp1 = 0 ;
16322 int res1 = 0 ;
16323 void *argp2 = 0 ;
16324 int res2 = 0 ;
16325 bool temp3 = false ;
16326 PyObject * obj0 = 0 ;
16327 PyObject * obj1 = 0 ;
16328 PyObject * obj2 = 0 ;
16329 char * kwnames[] = {
16330 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16331 };
16332
16333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16335 if (!SWIG_IsOK(res1)) {
16336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16337 }
16338 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16339 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16340 if (!SWIG_IsOK(res2)) {
16341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16342 }
16343 if (!argp2) {
16344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16345 }
16346 arg2 = reinterpret_cast< wxIcon * >(argp2);
16347 if (obj2) {
36ed4f51 16348 {
1bd55598
RD
16349 arg3 = wxString_in_helper(obj2);
16350 if (arg3 == NULL) SWIG_fail;
16351 temp3 = true;
36ed4f51 16352 }
1bd55598
RD
16353 }
16354 {
16355 PyThreadState* __tstate = wxPyBeginAllowThreads();
16356 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16357 wxPyEndAllowThreads(__tstate);
16358 if (PyErr_Occurred()) SWIG_fail;
16359 }
16360 {
16361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16362 }
16363 {
16364 if (temp3)
16365 delete arg3;
16366 }
16367 return resultobj;
16368fail:
16369 {
16370 if (temp3)
16371 delete arg3;
16372 }
16373 return NULL;
d55e5bfc
RD
16374}
16375
16376
1bd55598
RD
16377SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16378 PyObject *resultobj = 0;
16379 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16380 bool result;
16381 void *argp1 = 0 ;
16382 int res1 = 0 ;
16383 PyObject *swig_obj[1] ;
16384
16385 if (!args) SWIG_fail;
16386 swig_obj[0] = args;
16387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16388 if (!SWIG_IsOK(res1)) {
16389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16390 }
16391 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16392 {
16393 PyThreadState* __tstate = wxPyBeginAllowThreads();
16394 result = (bool)(arg1)->RemoveIcon();
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 {
16399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16400 }
16401 return resultobj;
16402fail:
16403 return NULL;
16404}
16405
16406
16407SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj = 0;
16409 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16410 wxMenu *arg2 = (wxMenu *) 0 ;
16411 bool result;
16412 void *argp1 = 0 ;
16413 int res1 = 0 ;
16414 void *argp2 = 0 ;
16415 int res2 = 0 ;
16416 PyObject * obj0 = 0 ;
16417 PyObject * obj1 = 0 ;
16418 char * kwnames[] = {
16419 (char *) "self",(char *) "menu", NULL
16420 };
16421
16422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16424 if (!SWIG_IsOK(res1)) {
16425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16426 }
16427 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16428 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16429 if (!SWIG_IsOK(res2)) {
16430 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16431 }
16432 arg2 = reinterpret_cast< wxMenu * >(argp2);
16433 {
16434 PyThreadState* __tstate = wxPyBeginAllowThreads();
16435 result = (bool)(arg1)->PopupMenu(arg2);
16436 wxPyEndAllowThreads(__tstate);
16437 if (PyErr_Occurred()) SWIG_fail;
16438 }
16439 {
16440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16441 }
16442 return resultobj;
16443fail:
16444 return NULL;
d55e5bfc
RD
16445}
16446
16447
1bd55598
RD
16448SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16449 PyObject *obj;
16450 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16452 return SWIG_Py_Void();
d55e5bfc
RD
16453}
16454
1bd55598
RD
16455SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16456 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16457}
16458
1bd55598
RD
16459SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16460 PyObject *resultobj = 0;
16461 wxEventType arg1 ;
16462 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16463 wxTaskBarIconEvent *result = 0 ;
16464 int val1 ;
16465 int ecode1 = 0 ;
16466 void *argp2 = 0 ;
16467 int res2 = 0 ;
16468 PyObject * obj0 = 0 ;
16469 PyObject * obj1 = 0 ;
16470 char * kwnames[] = {
16471 (char *) "evtType",(char *) "tbIcon", NULL
16472 };
16473
16474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16475 ecode1 = SWIG_AsVal_int(obj0, &val1);
16476 if (!SWIG_IsOK(ecode1)) {
16477 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16478 }
16479 arg1 = static_cast< wxEventType >(val1);
16480 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16481 if (!SWIG_IsOK(res2)) {
16482 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16483 }
16484 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16485 {
16486 PyThreadState* __tstate = wxPyBeginAllowThreads();
16487 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16492 return resultobj;
16493fail:
16494 return NULL;
d55e5bfc
RD
16495}
16496
16497
1bd55598
RD
16498SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16499 PyObject *obj;
16500 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16501 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16502 return SWIG_Py_Void();
d55e5bfc
RD
16503}
16504
1bd55598
RD
16505SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16506 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16507}
16508
1bd55598
RD
16509SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16510 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16511 return 1;
d55e5bfc
RD
16512}
16513
16514
1bd55598
RD
16515SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16516 PyObject *pyobj = 0;
16517
16518 {
16519#if wxUSE_UNICODE
16520 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16521#else
16522 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16523#endif
16524 }
16525 return pyobj;
d55e5bfc
RD
16526}
16527
16528
1bd55598
RD
16529SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16530 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16531 return 1;
d55e5bfc
RD
16532}
16533
16534
1bd55598
RD
16535SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16536 PyObject *pyobj = 0;
16537
16538 {
16539#if wxUSE_UNICODE
16540 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16541#else
16542 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16543#endif
16544 }
16545 return pyobj;
d55e5bfc
RD
16546}
16547
16548
1bd55598
RD
16549SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16550 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16551 return 1;
d55e5bfc
RD
16552}
16553
16554
1bd55598
RD
16555SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16556 PyObject *pyobj = 0;
16557
16558 {
16559#if wxUSE_UNICODE
16560 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16561#else
16562 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16563#endif
16564 }
16565 return pyobj;
d55e5bfc
RD
16566}
16567
16568
1bd55598
RD
16569SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16570 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16571 return 1;
d55e5bfc
RD
16572}
16573
16574
1bd55598
RD
16575SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16576 PyObject *pyobj = 0;
16577
16578 {
16579#if wxUSE_UNICODE
16580 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16581#else
16582 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16583#endif
16584 }
16585 return pyobj;
d55e5bfc
RD
16586}
16587
16588
1bd55598
RD
16589SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16590 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16591 return 1;
d55e5bfc
RD
16592}
16593
16594
1bd55598
RD
16595SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16596 PyObject *pyobj = 0;
16597
16598 {
16599#if wxUSE_UNICODE
16600 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16601#else
16602 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16603#endif
16604 }
16605 return pyobj;
d55e5bfc
RD
16606}
16607
16608
1bd55598
RD
16609SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16610 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16611 return 1;
d55e5bfc
RD
16612}
16613
16614
1bd55598
RD
16615SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16616 PyObject *pyobj = 0;
16617
16618 {
16619#if wxUSE_UNICODE
16620 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16621#else
16622 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16623#endif
16624 }
16625 return pyobj;
d55e5bfc
RD
16626}
16627
16628
1bd55598
RD
16629SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16630 PyObject *resultobj = 0;
16631 wxColourData *result = 0 ;
16632
16633 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16634 {
16635 PyThreadState* __tstate = wxPyBeginAllowThreads();
16636 result = (wxColourData *)new wxColourData();
16637 wxPyEndAllowThreads(__tstate);
16638 if (PyErr_Occurred()) SWIG_fail;
16639 }
16640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16641 return resultobj;
16642fail:
16643 return NULL;
d55e5bfc
RD
16644}
16645
16646
1bd55598
RD
16647SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16648 PyObject *resultobj = 0;
16649 wxColourData *arg1 = (wxColourData *) 0 ;
16650 void *argp1 = 0 ;
16651 int res1 = 0 ;
16652 PyObject *swig_obj[1] ;
16653
16654 if (!args) SWIG_fail;
16655 swig_obj[0] = args;
16656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16657 if (!SWIG_IsOK(res1)) {
16658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16659 }
16660 arg1 = reinterpret_cast< wxColourData * >(argp1);
16661 {
16662 PyThreadState* __tstate = wxPyBeginAllowThreads();
16663 delete arg1;
d55e5bfc 16664
1bd55598
RD
16665 wxPyEndAllowThreads(__tstate);
16666 if (PyErr_Occurred()) SWIG_fail;
16667 }
16668 resultobj = SWIG_Py_Void();
16669 return resultobj;
16670fail:
16671 return NULL;
d55e5bfc
RD
16672}
16673
16674
1bd55598
RD
16675SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16676 PyObject *resultobj = 0;
16677 wxColourData *arg1 = (wxColourData *) 0 ;
16678 bool result;
16679 void *argp1 = 0 ;
16680 int res1 = 0 ;
16681 PyObject *swig_obj[1] ;
16682
16683 if (!args) SWIG_fail;
16684 swig_obj[0] = args;
16685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16686 if (!SWIG_IsOK(res1)) {
16687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16688 }
16689 arg1 = reinterpret_cast< wxColourData * >(argp1);
16690 {
16691 PyThreadState* __tstate = wxPyBeginAllowThreads();
16692 result = (bool)(arg1)->GetChooseFull();
16693 wxPyEndAllowThreads(__tstate);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 }
16696 {
16697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16698 }
16699 return resultobj;
16700fail:
16701 return NULL;
d55e5bfc
RD
16702}
16703
16704
1bd55598
RD
16705SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16706 PyObject *resultobj = 0;
16707 wxColourData *arg1 = (wxColourData *) 0 ;
16708 wxColour result;
16709 void *argp1 = 0 ;
16710 int res1 = 0 ;
16711 PyObject *swig_obj[1] ;
16712
16713 if (!args) SWIG_fail;
16714 swig_obj[0] = args;
16715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16716 if (!SWIG_IsOK(res1)) {
16717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16718 }
16719 arg1 = reinterpret_cast< wxColourData * >(argp1);
16720 {
16721 PyThreadState* __tstate = wxPyBeginAllowThreads();
16722 result = (arg1)->GetColour();
16723 wxPyEndAllowThreads(__tstate);
16724 if (PyErr_Occurred()) SWIG_fail;
16725 }
16726 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16727 return resultobj;
16728fail:
16729 return NULL;
16730}
16731
16732
16733SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16734 PyObject *resultobj = 0;
16735 wxColourData *arg1 = (wxColourData *) 0 ;
16736 int arg2 ;
16737 wxColour result;
16738 void *argp1 = 0 ;
16739 int res1 = 0 ;
16740 int val2 ;
16741 int ecode2 = 0 ;
16742 PyObject * obj0 = 0 ;
16743 PyObject * obj1 = 0 ;
16744 char * kwnames[] = {
16745 (char *) "self",(char *) "i", NULL
16746 };
16747
16748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16750 if (!SWIG_IsOK(res1)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16752 }
16753 arg1 = reinterpret_cast< wxColourData * >(argp1);
16754 ecode2 = SWIG_AsVal_int(obj1, &val2);
16755 if (!SWIG_IsOK(ecode2)) {
16756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16757 }
16758 arg2 = static_cast< int >(val2);
16759 {
16760 PyThreadState* __tstate = wxPyBeginAllowThreads();
16761 result = (arg1)->GetCustomColour(arg2);
16762 wxPyEndAllowThreads(__tstate);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 }
16765 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16766 return resultobj;
16767fail:
16768 return NULL;
16769}
16770
16771
16772SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16773 PyObject *resultobj = 0;
16774 wxColourData *arg1 = (wxColourData *) 0 ;
16775 int arg2 ;
16776 void *argp1 = 0 ;
16777 int res1 = 0 ;
16778 int val2 ;
16779 int ecode2 = 0 ;
16780 PyObject * obj0 = 0 ;
16781 PyObject * obj1 = 0 ;
16782 char * kwnames[] = {
16783 (char *) "self",(char *) "flag", NULL
16784 };
16785
16786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16788 if (!SWIG_IsOK(res1)) {
16789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16790 }
16791 arg1 = reinterpret_cast< wxColourData * >(argp1);
16792 ecode2 = SWIG_AsVal_int(obj1, &val2);
16793 if (!SWIG_IsOK(ecode2)) {
16794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16795 }
16796 arg2 = static_cast< int >(val2);
16797 {
16798 PyThreadState* __tstate = wxPyBeginAllowThreads();
16799 (arg1)->SetChooseFull(arg2);
16800 wxPyEndAllowThreads(__tstate);
16801 if (PyErr_Occurred()) SWIG_fail;
16802 }
16803 resultobj = SWIG_Py_Void();
16804 return resultobj;
16805fail:
16806 return NULL;
16807}
16808
16809
16810SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16811 PyObject *resultobj = 0;
16812 wxColourData *arg1 = (wxColourData *) 0 ;
16813 wxColour *arg2 = 0 ;
16814 void *argp1 = 0 ;
16815 int res1 = 0 ;
16816 wxColour temp2 ;
16817 PyObject * obj0 = 0 ;
16818 PyObject * obj1 = 0 ;
16819 char * kwnames[] = {
16820 (char *) "self",(char *) "colour", NULL
16821 };
16822
16823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16825 if (!SWIG_IsOK(res1)) {
16826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16827 }
16828 arg1 = reinterpret_cast< wxColourData * >(argp1);
16829 {
16830 arg2 = &temp2;
16831 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16832 }
16833 {
16834 PyThreadState* __tstate = wxPyBeginAllowThreads();
16835 (arg1)->SetColour((wxColour const &)*arg2);
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 resultobj = SWIG_Py_Void();
16840 return resultobj;
16841fail:
16842 return NULL;
16843}
16844
16845
16846SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj = 0;
16848 wxColourData *arg1 = (wxColourData *) 0 ;
16849 int arg2 ;
16850 wxColour *arg3 = 0 ;
16851 void *argp1 = 0 ;
16852 int res1 = 0 ;
16853 int val2 ;
16854 int ecode2 = 0 ;
16855 wxColour temp3 ;
16856 PyObject * obj0 = 0 ;
16857 PyObject * obj1 = 0 ;
16858 PyObject * obj2 = 0 ;
16859 char * kwnames[] = {
16860 (char *) "self",(char *) "i",(char *) "colour", NULL
16861 };
16862
16863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16865 if (!SWIG_IsOK(res1)) {
16866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16867 }
16868 arg1 = reinterpret_cast< wxColourData * >(argp1);
16869 ecode2 = SWIG_AsVal_int(obj1, &val2);
16870 if (!SWIG_IsOK(ecode2)) {
16871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16872 }
16873 arg2 = static_cast< int >(val2);
16874 {
16875 arg3 = &temp3;
16876 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16877 }
16878 {
16879 PyThreadState* __tstate = wxPyBeginAllowThreads();
16880 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 resultobj = SWIG_Py_Void();
16885 return resultobj;
16886fail:
16887 return NULL;
d55e5bfc
RD
16888}
16889
16890
1bd55598
RD
16891SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16892 PyObject *obj;
16893 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16894 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16895 return SWIG_Py_Void();
d55e5bfc
RD
16896}
16897
1bd55598
RD
16898SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16899 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16900}
16901
1bd55598
RD
16902SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16903 PyObject *resultobj = 0;
16904 wxWindow *arg1 = (wxWindow *) 0 ;
16905 wxColourData *arg2 = (wxColourData *) NULL ;
16906 wxColourDialog *result = 0 ;
16907 void *argp1 = 0 ;
16908 int res1 = 0 ;
16909 void *argp2 = 0 ;
16910 int res2 = 0 ;
16911 PyObject * obj0 = 0 ;
16912 PyObject * obj1 = 0 ;
16913 char * kwnames[] = {
16914 (char *) "parent",(char *) "data", NULL
16915 };
16916
16917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16919 if (!SWIG_IsOK(res1)) {
16920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16921 }
16922 arg1 = reinterpret_cast< wxWindow * >(argp1);
16923 if (obj1) {
16924 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16925 if (!SWIG_IsOK(res2)) {
16926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
36ed4f51 16927 }
1bd55598
RD
16928 arg2 = reinterpret_cast< wxColourData * >(argp2);
16929 }
16930 {
16931 if (!wxPyCheckForApp()) SWIG_fail;
16932 PyThreadState* __tstate = wxPyBeginAllowThreads();
16933 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16934 wxPyEndAllowThreads(__tstate);
16935 if (PyErr_Occurred()) SWIG_fail;
16936 }
16937 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16938 return resultobj;
16939fail:
16940 return NULL;
d55e5bfc
RD
16941}
16942
16943
1bd55598
RD
16944SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16945 PyObject *resultobj = 0;
16946 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16947 wxColourData *result = 0 ;
16948 void *argp1 = 0 ;
16949 int res1 = 0 ;
16950 PyObject *swig_obj[1] ;
16951
16952 if (!args) SWIG_fail;
16953 swig_obj[0] = args;
16954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16955 if (!SWIG_IsOK(res1)) {
16956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16957 }
16958 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16959 {
16960 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 16961 {
1bd55598
RD
16962 wxColourData &_result_ref = (arg1)->GetColourData();
16963 result = (wxColourData *) &_result_ref;
d55e5bfc 16964 }
1bd55598
RD
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16969 return resultobj;
16970fail:
16971 return NULL;
16972}
16973
16974
16975SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16976 PyObject *obj;
16977 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16978 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16979 return SWIG_Py_Void();
16980}
16981
16982SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16983 return SWIG_Python_InitShadowInstance(args);
16984}
16985
16986SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj = 0;
16988 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16989 wxColour const &arg2_defvalue = wxNullColour ;
16990 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16991 wxString const &arg3_defvalue = wxPyEmptyString ;
16992 wxString *arg3 = (wxString *) &arg3_defvalue ;
16993 wxColour result;
16994 void *argp1 = 0 ;
16995 int res1 = 0 ;
16996 wxColour temp2 ;
16997 bool temp3 = false ;
16998 PyObject * obj0 = 0 ;
16999 PyObject * obj1 = 0 ;
17000 PyObject * obj2 = 0 ;
17001 char * kwnames[] = {
17002 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17003 };
17004
17005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17006 if (obj0) {
17007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17008 if (!SWIG_IsOK(res1)) {
17009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 17010 }
1bd55598
RD
17011 arg1 = reinterpret_cast< wxWindow * >(argp1);
17012 }
17013 if (obj1) {
d55e5bfc 17014 {
1bd55598
RD
17015 arg2 = &temp2;
17016 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 17017 }
1bd55598
RD
17018 }
17019 if (obj2) {
d55e5bfc 17020 {
1bd55598
RD
17021 arg3 = wxString_in_helper(obj2);
17022 if (arg3 == NULL) SWIG_fail;
17023 temp3 = true;
d55e5bfc 17024 }
1bd55598
RD
17025 }
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
17029 wxPyEndAllowThreads(__tstate);
17030 if (PyErr_Occurred()) SWIG_fail;
17031 }
17032 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
17033 {
17034 if (temp3)
17035 delete arg3;
17036 }
17037 return resultobj;
17038fail:
17039 {
17040 if (temp3)
17041 delete arg3;
17042 }
17043 return NULL;
17044}
17045
17046
17047SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj = 0;
17049 wxWindow *arg1 = (wxWindow *) 0 ;
17050 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
17051 wxString *arg2 = (wxString *) &arg2_defvalue ;
17052 wxString const &arg3_defvalue = wxPyEmptyString ;
17053 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 17054 long arg4 = (long) wxDD_DEFAULT_STYLE ;
1bd55598
RD
17055 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17056 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17057 wxSize const &arg6_defvalue = wxDefaultSize ;
17058 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17059 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17060 wxString *arg7 = (wxString *) &arg7_defvalue ;
17061 wxDirDialog *result = 0 ;
17062 void *argp1 = 0 ;
17063 int res1 = 0 ;
17064 bool temp2 = false ;
17065 bool temp3 = false ;
17066 long val4 ;
17067 int ecode4 = 0 ;
17068 wxPoint temp5 ;
17069 wxSize temp6 ;
17070 bool temp7 = false ;
17071 PyObject * obj0 = 0 ;
17072 PyObject * obj1 = 0 ;
17073 PyObject * obj2 = 0 ;
17074 PyObject * obj3 = 0 ;
17075 PyObject * obj4 = 0 ;
17076 PyObject * obj5 = 0 ;
17077 PyObject * obj6 = 0 ;
17078 char * kwnames[] = {
17079 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17080 };
17081
17082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17084 if (!SWIG_IsOK(res1)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17086 }
17087 arg1 = reinterpret_cast< wxWindow * >(argp1);
17088 if (obj1) {
d55e5bfc 17089 {
1bd55598
RD
17090 arg2 = wxString_in_helper(obj1);
17091 if (arg2 == NULL) SWIG_fail;
17092 temp2 = true;
d55e5bfc 17093 }
1bd55598
RD
17094 }
17095 if (obj2) {
d55e5bfc 17096 {
1bd55598
RD
17097 arg3 = wxString_in_helper(obj2);
17098 if (arg3 == NULL) SWIG_fail;
17099 temp3 = true;
d55e5bfc 17100 }
1bd55598
RD
17101 }
17102 if (obj3) {
17103 ecode4 = SWIG_AsVal_long(obj3, &val4);
17104 if (!SWIG_IsOK(ecode4)) {
17105 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17106 }
17107 arg4 = static_cast< long >(val4);
17108 }
17109 if (obj4) {
d55e5bfc 17110 {
1bd55598
RD
17111 arg5 = &temp5;
17112 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 17113 }
1bd55598
RD
17114 }
17115 if (obj5) {
17116 {
17117 arg6 = &temp6;
17118 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 17119 }
1bd55598
RD
17120 }
17121 if (obj6) {
d55e5bfc 17122 {
1bd55598
RD
17123 arg7 = wxString_in_helper(obj6);
17124 if (arg7 == NULL) SWIG_fail;
17125 temp7 = true;
17126 }
17127 }
17128 {
17129 if (!wxPyCheckForApp()) SWIG_fail;
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17136 {
17137 if (temp2)
17138 delete arg2;
17139 }
17140 {
17141 if (temp3)
17142 delete arg3;
17143 }
17144 {
17145 if (temp7)
17146 delete arg7;
17147 }
17148 return resultobj;
17149fail:
17150 {
17151 if (temp2)
17152 delete arg2;
17153 }
17154 {
17155 if (temp3)
17156 delete arg3;
17157 }
17158 {
17159 if (temp7)
17160 delete arg7;
17161 }
17162 return NULL;
d55e5bfc
RD
17163}
17164
17165
1bd55598
RD
17166SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17167 PyObject *resultobj = 0;
17168 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17169 wxString result;
17170 void *argp1 = 0 ;
17171 int res1 = 0 ;
17172 PyObject *swig_obj[1] ;
17173
17174 if (!args) SWIG_fail;
17175 swig_obj[0] = args;
17176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17177 if (!SWIG_IsOK(res1)) {
17178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17179 }
17180 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17181 {
17182 PyThreadState* __tstate = wxPyBeginAllowThreads();
17183 result = (arg1)->GetPath();
17184 wxPyEndAllowThreads(__tstate);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 }
17187 {
17188#if wxUSE_UNICODE
17189 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17190#else
17191 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17192#endif
17193 }
17194 return resultobj;
17195fail:
17196 return NULL;
d55e5bfc
RD
17197}
17198
17199
1bd55598
RD
17200SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17201 PyObject *resultobj = 0;
17202 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17203 wxString result;
17204 void *argp1 = 0 ;
17205 int res1 = 0 ;
17206 PyObject *swig_obj[1] ;
17207
17208 if (!args) SWIG_fail;
17209 swig_obj[0] = args;
17210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17211 if (!SWIG_IsOK(res1)) {
17212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17213 }
17214 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = (arg1)->GetMessage();
17218 wxPyEndAllowThreads(__tstate);
17219 if (PyErr_Occurred()) SWIG_fail;
17220 }
17221 {
17222#if wxUSE_UNICODE
17223 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17224#else
17225 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17226#endif
17227 }
17228 return resultobj;
17229fail:
17230 return NULL;
d55e5bfc
RD
17231}
17232
17233
1bd55598
RD
17234SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17235 PyObject *resultobj = 0;
17236 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17237 wxString *arg2 = 0 ;
17238 void *argp1 = 0 ;
17239 int res1 = 0 ;
17240 bool temp2 = false ;
17241 PyObject * obj0 = 0 ;
17242 PyObject * obj1 = 0 ;
17243 char * kwnames[] = {
17244 (char *) "self",(char *) "message", NULL
17245 };
17246
17247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17249 if (!SWIG_IsOK(res1)) {
17250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17251 }
17252 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17253 {
17254 arg2 = wxString_in_helper(obj1);
17255 if (arg2 == NULL) SWIG_fail;
17256 temp2 = true;
17257 }
17258 {
17259 PyThreadState* __tstate = wxPyBeginAllowThreads();
17260 (arg1)->SetMessage((wxString const &)*arg2);
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 resultobj = SWIG_Py_Void();
17265 {
17266 if (temp2)
17267 delete arg2;
17268 }
17269 return resultobj;
17270fail:
17271 {
17272 if (temp2)
17273 delete arg2;
17274 }
17275 return NULL;
d55e5bfc
RD
17276}
17277
17278
1bd55598
RD
17279SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17280 PyObject *resultobj = 0;
17281 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17282 wxString *arg2 = 0 ;
17283 void *argp1 = 0 ;
17284 int res1 = 0 ;
17285 bool temp2 = false ;
17286 PyObject * obj0 = 0 ;
17287 PyObject * obj1 = 0 ;
17288 char * kwnames[] = {
17289 (char *) "self",(char *) "path", NULL
17290 };
17291
17292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17294 if (!SWIG_IsOK(res1)) {
17295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17296 }
17297 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17298 {
17299 arg2 = wxString_in_helper(obj1);
17300 if (arg2 == NULL) SWIG_fail;
17301 temp2 = true;
17302 }
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 (arg1)->SetPath((wxString const &)*arg2);
17306 wxPyEndAllowThreads(__tstate);
17307 if (PyErr_Occurred()) SWIG_fail;
17308 }
17309 resultobj = SWIG_Py_Void();
17310 {
17311 if (temp2)
17312 delete arg2;
17313 }
17314 return resultobj;
17315fail:
17316 {
17317 if (temp2)
17318 delete arg2;
17319 }
17320 return NULL;
17321}
17322
17323
17324SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17325 PyObject *obj;
17326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17327 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17328 return SWIG_Py_Void();
17329}
17330
17331SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17332 return SWIG_Python_InitShadowInstance(args);
17333}
17334
17335SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17336 PyObject *resultobj = 0;
17337 wxWindow *arg1 = (wxWindow *) 0 ;
17338 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17339 wxString *arg2 = (wxString *) &arg2_defvalue ;
17340 wxString const &arg3_defvalue = wxPyEmptyString ;
17341 wxString *arg3 = (wxString *) &arg3_defvalue ;
17342 wxString const &arg4_defvalue = wxPyEmptyString ;
17343 wxString *arg4 = (wxString *) &arg4_defvalue ;
17344 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17345 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 17346 long arg6 = (long) wxFD_DEFAULT_STYLE ;
1bd55598
RD
17347 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17348 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17349 wxFileDialog *result = 0 ;
17350 void *argp1 = 0 ;
17351 int res1 = 0 ;
17352 bool temp2 = false ;
17353 bool temp3 = false ;
17354 bool temp4 = false ;
17355 bool temp5 = false ;
17356 long val6 ;
17357 int ecode6 = 0 ;
17358 wxPoint temp7 ;
17359 PyObject * obj0 = 0 ;
17360 PyObject * obj1 = 0 ;
17361 PyObject * obj2 = 0 ;
17362 PyObject * obj3 = 0 ;
17363 PyObject * obj4 = 0 ;
17364 PyObject * obj5 = 0 ;
17365 PyObject * obj6 = 0 ;
17366 char * kwnames[] = {
17367 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17368 };
17369
17370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17372 if (!SWIG_IsOK(res1)) {
17373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17374 }
17375 arg1 = reinterpret_cast< wxWindow * >(argp1);
17376 if (obj1) {
d55e5bfc 17377 {
1bd55598
RD
17378 arg2 = wxString_in_helper(obj1);
17379 if (arg2 == NULL) SWIG_fail;
17380 temp2 = true;
d55e5bfc 17381 }
1bd55598
RD
17382 }
17383 if (obj2) {
17384 {
17385 arg3 = wxString_in_helper(obj2);
17386 if (arg3 == NULL) SWIG_fail;
17387 temp3 = true;
d55e5bfc 17388 }
1bd55598
RD
17389 }
17390 if (obj3) {
d55e5bfc 17391 {
1bd55598
RD
17392 arg4 = wxString_in_helper(obj3);
17393 if (arg4 == NULL) SWIG_fail;
17394 temp4 = true;
17395 }
17396 }
17397 if (obj4) {
d55e5bfc 17398 {
1bd55598
RD
17399 arg5 = wxString_in_helper(obj4);
17400 if (arg5 == NULL) SWIG_fail;
17401 temp5 = true;
d55e5bfc 17402 }
1bd55598
RD
17403 }
17404 if (obj5) {
17405 ecode6 = SWIG_AsVal_long(obj5, &val6);
17406 if (!SWIG_IsOK(ecode6)) {
17407 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17408 }
17409 arg6 = static_cast< long >(val6);
17410 }
17411 if (obj6) {
d55e5bfc 17412 {
1bd55598
RD
17413 arg7 = &temp7;
17414 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17415 }
1bd55598
RD
17416 }
17417 {
17418 if (!wxPyCheckForApp()) SWIG_fail;
17419 PyThreadState* __tstate = wxPyBeginAllowThreads();
17420 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17421 wxPyEndAllowThreads(__tstate);
17422 if (PyErr_Occurred()) SWIG_fail;
17423 }
17424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17425 {
17426 if (temp2)
17427 delete arg2;
17428 }
17429 {
17430 if (temp3)
17431 delete arg3;
17432 }
17433 {
17434 if (temp4)
17435 delete arg4;
17436 }
17437 {
17438 if (temp5)
17439 delete arg5;
17440 }
17441 return resultobj;
17442fail:
17443 {
17444 if (temp2)
17445 delete arg2;
17446 }
17447 {
17448 if (temp3)
17449 delete arg3;
17450 }
17451 {
17452 if (temp4)
17453 delete arg4;
17454 }
17455 {
17456 if (temp5)
17457 delete arg5;
17458 }
17459 return NULL;
d55e5bfc
RD
17460}
17461
17462
1bd55598
RD
17463SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17464 PyObject *resultobj = 0;
17465 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17466 wxString *arg2 = 0 ;
17467 void *argp1 = 0 ;
17468 int res1 = 0 ;
17469 bool temp2 = false ;
17470 PyObject * obj0 = 0 ;
17471 PyObject * obj1 = 0 ;
17472 char * kwnames[] = {
17473 (char *) "self",(char *) "message", NULL
17474 };
17475
17476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17478 if (!SWIG_IsOK(res1)) {
17479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17480 }
17481 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17482 {
17483 arg2 = wxString_in_helper(obj1);
17484 if (arg2 == NULL) SWIG_fail;
17485 temp2 = true;
17486 }
17487 {
17488 PyThreadState* __tstate = wxPyBeginAllowThreads();
17489 (arg1)->SetMessage((wxString const &)*arg2);
17490 wxPyEndAllowThreads(__tstate);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 }
17493 resultobj = SWIG_Py_Void();
17494 {
17495 if (temp2)
17496 delete arg2;
17497 }
17498 return resultobj;
17499fail:
17500 {
17501 if (temp2)
17502 delete arg2;
17503 }
17504 return NULL;
d55e5bfc
RD
17505}
17506
17507
1bd55598
RD
17508SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17509 PyObject *resultobj = 0;
17510 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17511 wxString *arg2 = 0 ;
17512 void *argp1 = 0 ;
17513 int res1 = 0 ;
17514 bool temp2 = false ;
17515 PyObject * obj0 = 0 ;
17516 PyObject * obj1 = 0 ;
17517 char * kwnames[] = {
17518 (char *) "self",(char *) "path", NULL
17519 };
17520
17521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17523 if (!SWIG_IsOK(res1)) {
17524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17525 }
17526 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17527 {
17528 arg2 = wxString_in_helper(obj1);
17529 if (arg2 == NULL) SWIG_fail;
17530 temp2 = true;
17531 }
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 (arg1)->SetPath((wxString const &)*arg2);
17535 wxPyEndAllowThreads(__tstate);
17536 if (PyErr_Occurred()) SWIG_fail;
17537 }
17538 resultobj = SWIG_Py_Void();
17539 {
17540 if (temp2)
17541 delete arg2;
17542 }
17543 return resultobj;
17544fail:
17545 {
17546 if (temp2)
17547 delete arg2;
17548 }
17549 return NULL;
d55e5bfc
RD
17550}
17551
17552
1bd55598
RD
17553SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17554 PyObject *resultobj = 0;
17555 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17556 wxString *arg2 = 0 ;
17557 void *argp1 = 0 ;
17558 int res1 = 0 ;
17559 bool temp2 = false ;
17560 PyObject * obj0 = 0 ;
17561 PyObject * obj1 = 0 ;
17562 char * kwnames[] = {
17563 (char *) "self",(char *) "dir", NULL
17564 };
17565
17566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17568 if (!SWIG_IsOK(res1)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17570 }
17571 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17572 {
17573 arg2 = wxString_in_helper(obj1);
17574 if (arg2 == NULL) SWIG_fail;
17575 temp2 = true;
17576 }
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 (arg1)->SetDirectory((wxString const &)*arg2);
17580 wxPyEndAllowThreads(__tstate);
17581 if (PyErr_Occurred()) SWIG_fail;
17582 }
17583 resultobj = SWIG_Py_Void();
17584 {
17585 if (temp2)
17586 delete arg2;
17587 }
17588 return resultobj;
17589fail:
17590 {
17591 if (temp2)
17592 delete arg2;
17593 }
17594 return NULL;
d55e5bfc
RD
17595}
17596
17597
1bd55598
RD
17598SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17599 PyObject *resultobj = 0;
17600 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17601 wxString *arg2 = 0 ;
17602 void *argp1 = 0 ;
17603 int res1 = 0 ;
17604 bool temp2 = false ;
17605 PyObject * obj0 = 0 ;
17606 PyObject * obj1 = 0 ;
17607 char * kwnames[] = {
17608 (char *) "self",(char *) "name", NULL
17609 };
17610
17611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17613 if (!SWIG_IsOK(res1)) {
17614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17615 }
17616 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17617 {
17618 arg2 = wxString_in_helper(obj1);
17619 if (arg2 == NULL) SWIG_fail;
17620 temp2 = true;
17621 }
17622 {
17623 PyThreadState* __tstate = wxPyBeginAllowThreads();
17624 (arg1)->SetFilename((wxString const &)*arg2);
17625 wxPyEndAllowThreads(__tstate);
17626 if (PyErr_Occurred()) SWIG_fail;
17627 }
17628 resultobj = SWIG_Py_Void();
17629 {
17630 if (temp2)
17631 delete arg2;
17632 }
17633 return resultobj;
17634fail:
17635 {
17636 if (temp2)
17637 delete arg2;
17638 }
17639 return NULL;
d55e5bfc
RD
17640}
17641
17642
1bd55598
RD
17643SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17644 PyObject *resultobj = 0;
17645 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17646 wxString *arg2 = 0 ;
17647 void *argp1 = 0 ;
17648 int res1 = 0 ;
17649 bool temp2 = false ;
17650 PyObject * obj0 = 0 ;
17651 PyObject * obj1 = 0 ;
17652 char * kwnames[] = {
17653 (char *) "self",(char *) "wildCard", NULL
17654 };
17655
17656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17658 if (!SWIG_IsOK(res1)) {
17659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17660 }
17661 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17662 {
17663 arg2 = wxString_in_helper(obj1);
17664 if (arg2 == NULL) SWIG_fail;
17665 temp2 = true;
17666 }
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 (arg1)->SetWildcard((wxString const &)*arg2);
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 resultobj = SWIG_Py_Void();
17674 {
17675 if (temp2)
17676 delete arg2;
17677 }
17678 return resultobj;
17679fail:
17680 {
17681 if (temp2)
17682 delete arg2;
17683 }
17684 return NULL;
17685}
17686
17687
1bd55598
RD
17688SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17689 PyObject *resultobj = 0;
17690 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17691 int arg2 ;
17692 void *argp1 = 0 ;
17693 int res1 = 0 ;
17694 int val2 ;
17695 int ecode2 = 0 ;
17696 PyObject * obj0 = 0 ;
17697 PyObject * obj1 = 0 ;
17698 char * kwnames[] = {
17699 (char *) "self",(char *) "filterIndex", NULL
17700 };
17701
17702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17704 if (!SWIG_IsOK(res1)) {
17705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17706 }
17707 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17708 ecode2 = SWIG_AsVal_int(obj1, &val2);
17709 if (!SWIG_IsOK(ecode2)) {
17710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17711 }
17712 arg2 = static_cast< int >(val2);
17713 {
17714 PyThreadState* __tstate = wxPyBeginAllowThreads();
17715 (arg1)->SetFilterIndex(arg2);
17716 wxPyEndAllowThreads(__tstate);
17717 if (PyErr_Occurred()) SWIG_fail;
17718 }
17719 resultobj = SWIG_Py_Void();
17720 return resultobj;
17721fail:
17722 return NULL;
d55e5bfc
RD
17723}
17724
17725
1bd55598
RD
17726SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17727 PyObject *resultobj = 0;
17728 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17729 wxString result;
17730 void *argp1 = 0 ;
17731 int res1 = 0 ;
17732 PyObject *swig_obj[1] ;
17733
17734 if (!args) SWIG_fail;
17735 swig_obj[0] = args;
17736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17737 if (!SWIG_IsOK(res1)) {
17738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17739 }
17740 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 result = ((wxFileDialog const *)arg1)->GetMessage();
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 {
17748#if wxUSE_UNICODE
17749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17750#else
17751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17752#endif
17753 }
17754 return resultobj;
17755fail:
17756 return NULL;
d55e5bfc
RD
17757}
17758
17759
1bd55598
RD
17760SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17761 PyObject *resultobj = 0;
17762 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17763 wxString result;
17764 void *argp1 = 0 ;
17765 int res1 = 0 ;
17766 PyObject *swig_obj[1] ;
17767
17768 if (!args) SWIG_fail;
17769 swig_obj[0] = args;
17770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17771 if (!SWIG_IsOK(res1)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17773 }
17774 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17775 {
17776 PyThreadState* __tstate = wxPyBeginAllowThreads();
17777 result = ((wxFileDialog const *)arg1)->GetPath();
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 {
17782#if wxUSE_UNICODE
17783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17784#else
17785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17786#endif
17787 }
17788 return resultobj;
17789fail:
17790 return NULL;
d55e5bfc
RD
17791}
17792
17793
1bd55598
RD
17794SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17795 PyObject *resultobj = 0;
17796 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17797 wxString result;
17798 void *argp1 = 0 ;
17799 int res1 = 0 ;
17800 PyObject *swig_obj[1] ;
17801
17802 if (!args) SWIG_fail;
17803 swig_obj[0] = args;
17804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17805 if (!SWIG_IsOK(res1)) {
17806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17807 }
17808 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17809 {
17810 PyThreadState* __tstate = wxPyBeginAllowThreads();
17811 result = ((wxFileDialog const *)arg1)->GetDirectory();
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 {
17816#if wxUSE_UNICODE
17817 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17818#else
17819 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17820#endif
17821 }
17822 return resultobj;
17823fail:
17824 return NULL;
d55e5bfc
RD
17825}
17826
17827
1bd55598
RD
17828SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17829 PyObject *resultobj = 0;
17830 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17831 wxString result;
17832 void *argp1 = 0 ;
17833 int res1 = 0 ;
17834 PyObject *swig_obj[1] ;
17835
17836 if (!args) SWIG_fail;
17837 swig_obj[0] = args;
17838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17839 if (!SWIG_IsOK(res1)) {
17840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17841 }
17842 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17843 {
17844 PyThreadState* __tstate = wxPyBeginAllowThreads();
17845 result = ((wxFileDialog const *)arg1)->GetFilename();
17846 wxPyEndAllowThreads(__tstate);
17847 if (PyErr_Occurred()) SWIG_fail;
17848 }
17849 {
17850#if wxUSE_UNICODE
17851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17852#else
17853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17854#endif
17855 }
17856 return resultobj;
17857fail:
17858 return NULL;
d55e5bfc
RD
17859}
17860
17861
1bd55598
RD
17862SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17863 PyObject *resultobj = 0;
17864 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17865 wxString result;
17866 void *argp1 = 0 ;
17867 int res1 = 0 ;
17868 PyObject *swig_obj[1] ;
17869
17870 if (!args) SWIG_fail;
17871 swig_obj[0] = args;
17872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17873 if (!SWIG_IsOK(res1)) {
17874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17875 }
17876 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 result = ((wxFileDialog const *)arg1)->GetWildcard();
17880 wxPyEndAllowThreads(__tstate);
17881 if (PyErr_Occurred()) SWIG_fail;
17882 }
17883 {
17884#if wxUSE_UNICODE
17885 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17886#else
17887 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17888#endif
17889 }
17890 return resultobj;
17891fail:
17892 return NULL;
d55e5bfc
RD
17893}
17894
17895
1bd55598
RD
17896SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17897 PyObject *resultobj = 0;
17898 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17899 int result;
17900 void *argp1 = 0 ;
17901 int res1 = 0 ;
17902 PyObject *swig_obj[1] ;
17903
17904 if (!args) SWIG_fail;
17905 swig_obj[0] = args;
17906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17907 if (!SWIG_IsOK(res1)) {
17908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17909 }
17910 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17914 wxPyEndAllowThreads(__tstate);
17915 if (PyErr_Occurred()) SWIG_fail;
17916 }
17917 resultobj = SWIG_From_int(static_cast< int >(result));
17918 return resultobj;
17919fail:
17920 return NULL;
d55e5bfc
RD
17921}
17922
17923
1bd55598
RD
17924SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17925 PyObject *resultobj = 0;
17926 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17927 PyObject *result = 0 ;
17928 void *argp1 = 0 ;
17929 int res1 = 0 ;
17930 PyObject *swig_obj[1] ;
17931
17932 if (!args) SWIG_fail;
17933 swig_obj[0] = args;
17934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17935 if (!SWIG_IsOK(res1)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17937 }
17938 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17942 wxPyEndAllowThreads(__tstate);
17943 if (PyErr_Occurred()) SWIG_fail;
17944 }
17945 resultobj = result;
17946 return resultobj;
17947fail:
17948 return NULL;
d55e5bfc
RD
17949}
17950
17951
1bd55598
RD
17952SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17953 PyObject *resultobj = 0;
17954 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17955 PyObject *result = 0 ;
17956 void *argp1 = 0 ;
17957 int res1 = 0 ;
17958 PyObject *swig_obj[1] ;
17959
17960 if (!args) SWIG_fail;
17961 swig_obj[0] = args;
17962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17963 if (!SWIG_IsOK(res1)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17965 }
17966 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17967 {
17968 PyThreadState* __tstate = wxPyBeginAllowThreads();
17969 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 resultobj = result;
17974 return resultobj;
17975fail:
17976 return NULL;
17977}
17978
17979
17980SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17981 PyObject *obj;
17982 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17983 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17984 return SWIG_Py_Void();
17985}
17986
17987SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17988 return SWIG_Python_InitShadowInstance(args);
17989}
17990
17991SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17992 PyObject *resultobj = 0;
17993 wxWindow *arg1 = (wxWindow *) 0 ;
17994 wxString *arg2 = 0 ;
17995 wxString *arg3 = 0 ;
17996 int arg4 = (int) 0 ;
17997 wxString *arg5 = (wxString *) NULL ;
17998 long arg6 = (long) wxCHOICEDLG_STYLE ;
17999 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18000 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18001 wxMultiChoiceDialog *result = 0 ;
18002 void *argp1 = 0 ;
18003 int res1 = 0 ;
18004 bool temp2 = false ;
18005 bool temp3 = false ;
18006 long val6 ;
18007 int ecode6 = 0 ;
18008 wxPoint temp7 ;
18009 PyObject * obj0 = 0 ;
18010 PyObject * obj1 = 0 ;
18011 PyObject * obj2 = 0 ;
18012 PyObject * obj3 = 0 ;
18013 PyObject * obj4 = 0 ;
18014 PyObject * obj5 = 0 ;
18015 char * kwnames[] = {
18016 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18017 };
18018
18019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18021 if (!SWIG_IsOK(res1)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18023 }
18024 arg1 = reinterpret_cast< wxWindow * >(argp1);
18025 {
18026 arg2 = wxString_in_helper(obj1);
18027 if (arg2 == NULL) SWIG_fail;
18028 temp2 = true;
18029 }
18030 {
18031 arg3 = wxString_in_helper(obj2);
18032 if (arg3 == NULL) SWIG_fail;
18033 temp3 = true;
18034 }
18035 if (obj3) {
d55e5bfc 18036 {
1bd55598
RD
18037 arg4 = PyList_Size(obj3);
18038 arg5 = wxString_LIST_helper(obj3);
18039 if (arg5 == NULL) SWIG_fail;
d55e5bfc 18040 }
1bd55598
RD
18041 }
18042 if (obj4) {
18043 ecode6 = SWIG_AsVal_long(obj4, &val6);
18044 if (!SWIG_IsOK(ecode6)) {
18045 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18046 }
18047 arg6 = static_cast< long >(val6);
18048 }
18049 if (obj5) {
36ed4f51 18050 {
1bd55598
RD
18051 arg7 = &temp7;
18052 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 18053 }
1bd55598
RD
18054 }
18055 {
18056 if (!wxPyCheckForApp()) SWIG_fail;
18057 PyThreadState* __tstate = wxPyBeginAllowThreads();
18058 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18059 wxPyEndAllowThreads(__tstate);
18060 if (PyErr_Occurred()) SWIG_fail;
18061 }
18062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18063 {
18064 if (temp2)
18065 delete arg2;
18066 }
18067 {
18068 if (temp3)
18069 delete arg3;
18070 }
18071 {
18072 if (arg5) delete [] arg5;
18073 }
18074 return resultobj;
18075fail:
18076 {
18077 if (temp2)
18078 delete arg2;
18079 }
18080 {
18081 if (temp3)
18082 delete arg3;
18083 }
18084 {
18085 if (arg5) delete [] arg5;
18086 }
18087 return NULL;
d55e5bfc
RD
18088}
18089
18090
1bd55598
RD
18091SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj = 0;
18093 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18094 wxArrayInt *arg2 = 0 ;
18095 void *argp1 = 0 ;
18096 int res1 = 0 ;
18097 bool temp2 = false ;
18098 PyObject * obj0 = 0 ;
18099 PyObject * obj1 = 0 ;
18100 char * kwnames[] = {
18101 (char *) "self",(char *) "selections", NULL
18102 };
18103
18104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18106 if (!SWIG_IsOK(res1)) {
18107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18108 }
18109 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18110 {
18111 if (! PySequence_Check(obj1)) {
18112 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18113 SWIG_fail;
18114 }
18115 arg2 = new wxArrayInt;
18116 temp2 = true;
18117 int i, len=PySequence_Length(obj1);
18118 for (i=0; i<len; i++) {
18119 PyObject* item = PySequence_GetItem(obj1, i);
18120 PyObject* number = PyNumber_Int(item);
ec8a7755
RD
18121 if (!number) {
18122 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18123 SWIG_fail;
18124 }
1bd55598
RD
18125 arg2->Add(PyInt_AS_LONG(number));
18126 Py_DECREF(item);
18127 Py_DECREF(number);
36ed4f51 18128 }
1bd55598
RD
18129 }
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 resultobj = SWIG_Py_Void();
18137 {
18138 if (temp2) delete arg2;
18139 }
18140 return resultobj;
18141fail:
18142 {
18143 if (temp2) delete arg2;
18144 }
18145 return NULL;
d55e5bfc
RD
18146}
18147
18148
1bd55598
RD
18149SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18150 PyObject *resultobj = 0;
18151 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18152 PyObject *result = 0 ;
18153 void *argp1 = 0 ;
18154 int res1 = 0 ;
18155 PyObject *swig_obj[1] ;
18156
18157 if (!args) SWIG_fail;
18158 swig_obj[0] = args;
18159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18160 if (!SWIG_IsOK(res1)) {
18161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18162 }
18163 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18167 wxPyEndAllowThreads(__tstate);
18168 if (PyErr_Occurred()) SWIG_fail;
18169 }
18170 resultobj = result;
18171 return resultobj;
18172fail:
18173 return NULL;
18174}
18175
18176
18177SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18178 PyObject *obj;
18179 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18180 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18181 return SWIG_Py_Void();
18182}
18183
18184SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18185 return SWIG_Python_InitShadowInstance(args);
18186}
18187
18188SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj = 0;
18190 wxWindow *arg1 = (wxWindow *) 0 ;
18191 wxString *arg2 = 0 ;
18192 wxString *arg3 = 0 ;
18193 int arg4 ;
18194 wxString *arg5 = (wxString *) 0 ;
18195 long arg6 = (long) wxCHOICEDLG_STYLE ;
18196 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18197 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18198 wxSingleChoiceDialog *result = 0 ;
18199 void *argp1 = 0 ;
18200 int res1 = 0 ;
18201 bool temp2 = false ;
18202 bool temp3 = false ;
18203 long val6 ;
18204 int ecode6 = 0 ;
18205 wxPoint temp7 ;
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 PyObject * obj2 = 0 ;
18209 PyObject * obj3 = 0 ;
18210 PyObject * obj4 = 0 ;
18211 PyObject * obj5 = 0 ;
18212 char * kwnames[] = {
18213 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18214 };
18215
18216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18218 if (!SWIG_IsOK(res1)) {
18219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18220 }
18221 arg1 = reinterpret_cast< wxWindow * >(argp1);
18222 {
18223 arg2 = wxString_in_helper(obj1);
18224 if (arg2 == NULL) SWIG_fail;
18225 temp2 = true;
18226 }
18227 {
18228 arg3 = wxString_in_helper(obj2);
18229 if (arg3 == NULL) SWIG_fail;
18230 temp3 = true;
18231 }
18232 {
18233 arg4 = PyList_Size(obj3);
18234 arg5 = wxString_LIST_helper(obj3);
18235 if (arg5 == NULL) SWIG_fail;
18236 }
18237 if (obj4) {
18238 ecode6 = SWIG_AsVal_long(obj4, &val6);
18239 if (!SWIG_IsOK(ecode6)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18241 }
18242 arg6 = static_cast< long >(val6);
18243 }
18244 if (obj5) {
36ed4f51 18245 {
1bd55598
RD
18246 arg7 = &temp7;
18247 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 18248 }
1bd55598
RD
18249 }
18250 {
18251 if (!wxPyCheckForApp()) SWIG_fail;
18252 PyThreadState* __tstate = wxPyBeginAllowThreads();
18253 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18254 wxPyEndAllowThreads(__tstate);
18255 if (PyErr_Occurred()) SWIG_fail;
18256 }
18257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18258 {
18259 if (temp2)
18260 delete arg2;
18261 }
18262 {
18263 if (temp3)
18264 delete arg3;
18265 }
18266 {
18267 if (arg5) delete [] arg5;
18268 }
18269 return resultobj;
18270fail:
18271 {
18272 if (temp2)
18273 delete arg2;
18274 }
18275 {
18276 if (temp3)
18277 delete arg3;
18278 }
18279 {
18280 if (arg5) delete [] arg5;
18281 }
18282 return NULL;
d55e5bfc
RD
18283}
18284
18285
1bd55598
RD
18286SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18287 PyObject *resultobj = 0;
18288 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18289 int result;
18290 void *argp1 = 0 ;
18291 int res1 = 0 ;
18292 PyObject *swig_obj[1] ;
18293
18294 if (!args) SWIG_fail;
18295 swig_obj[0] = args;
18296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18297 if (!SWIG_IsOK(res1)) {
18298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18299 }
18300 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18301 {
18302 PyThreadState* __tstate = wxPyBeginAllowThreads();
18303 result = (int)(arg1)->GetSelection();
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 resultobj = SWIG_From_int(static_cast< int >(result));
18308 return resultobj;
18309fail:
18310 return NULL;
d55e5bfc
RD
18311}
18312
18313
1bd55598
RD
18314SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18315 PyObject *resultobj = 0;
18316 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18317 wxString result;
18318 void *argp1 = 0 ;
18319 int res1 = 0 ;
18320 PyObject *swig_obj[1] ;
18321
18322 if (!args) SWIG_fail;
18323 swig_obj[0] = args;
18324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18325 if (!SWIG_IsOK(res1)) {
18326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18327 }
18328 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18329 {
18330 PyThreadState* __tstate = wxPyBeginAllowThreads();
18331 result = (arg1)->GetStringSelection();
18332 wxPyEndAllowThreads(__tstate);
18333 if (PyErr_Occurred()) SWIG_fail;
18334 }
18335 {
18336#if wxUSE_UNICODE
18337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18338#else
18339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18340#endif
18341 }
18342 return resultobj;
18343fail:
18344 return NULL;
18345}
18346
18347
18348SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj = 0;
18350 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18351 int arg2 ;
18352 void *argp1 = 0 ;
18353 int res1 = 0 ;
18354 int val2 ;
18355 int ecode2 = 0 ;
18356 PyObject * obj0 = 0 ;
18357 PyObject * obj1 = 0 ;
18358 char * kwnames[] = {
18359 (char *) "self",(char *) "sel", NULL
18360 };
18361
18362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18364 if (!SWIG_IsOK(res1)) {
18365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18366 }
18367 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18368 ecode2 = SWIG_AsVal_int(obj1, &val2);
18369 if (!SWIG_IsOK(ecode2)) {
18370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18371 }
18372 arg2 = static_cast< int >(val2);
18373 {
18374 PyThreadState* __tstate = wxPyBeginAllowThreads();
18375 (arg1)->SetSelection(arg2);
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 resultobj = SWIG_Py_Void();
18380 return resultobj;
18381fail:
18382 return NULL;
18383}
18384
18385
18386SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18387 PyObject *obj;
18388 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18389 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18390 return SWIG_Py_Void();
18391}
18392
18393SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18394 return SWIG_Python_InitShadowInstance(args);
18395}
18396
18397SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj = 0;
18399 wxWindow *arg1 = (wxWindow *) 0 ;
18400 wxString *arg2 = 0 ;
18401 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18402 wxString *arg3 = (wxString *) &arg3_defvalue ;
18403 wxString const &arg4_defvalue = wxPyEmptyString ;
18404 wxString *arg4 = (wxString *) &arg4_defvalue ;
18405 long arg5 = (long) wxTextEntryDialogStyle ;
18406 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18407 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18408 wxTextEntryDialog *result = 0 ;
18409 void *argp1 = 0 ;
18410 int res1 = 0 ;
18411 bool temp2 = false ;
18412 bool temp3 = false ;
18413 bool temp4 = false ;
18414 long val5 ;
18415 int ecode5 = 0 ;
18416 wxPoint temp6 ;
18417 PyObject * obj0 = 0 ;
18418 PyObject * obj1 = 0 ;
18419 PyObject * obj2 = 0 ;
18420 PyObject * obj3 = 0 ;
18421 PyObject * obj4 = 0 ;
18422 PyObject * obj5 = 0 ;
18423 char * kwnames[] = {
18424 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18425 };
18426
18427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18429 if (!SWIG_IsOK(res1)) {
18430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18431 }
18432 arg1 = reinterpret_cast< wxWindow * >(argp1);
18433 {
18434 arg2 = wxString_in_helper(obj1);
18435 if (arg2 == NULL) SWIG_fail;
18436 temp2 = true;
18437 }
18438 if (obj2) {
36ed4f51 18439 {
1bd55598
RD
18440 arg3 = wxString_in_helper(obj2);
18441 if (arg3 == NULL) SWIG_fail;
18442 temp3 = true;
36ed4f51 18443 }
1bd55598
RD
18444 }
18445 if (obj3) {
d55e5bfc 18446 {
1bd55598
RD
18447 arg4 = wxString_in_helper(obj3);
18448 if (arg4 == NULL) SWIG_fail;
18449 temp4 = true;
d55e5bfc 18450 }
1bd55598
RD
18451 }
18452 if (obj4) {
18453 ecode5 = SWIG_AsVal_long(obj4, &val5);
18454 if (!SWIG_IsOK(ecode5)) {
18455 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18456 }
18457 arg5 = static_cast< long >(val5);
18458 }
18459 if (obj5) {
d55e5bfc 18460 {
1bd55598
RD
18461 arg6 = &temp6;
18462 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18463 }
1bd55598
RD
18464 }
18465 {
18466 if (!wxPyCheckForApp()) SWIG_fail;
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
18472 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18473 {
18474 if (temp2)
18475 delete arg2;
18476 }
18477 {
18478 if (temp3)
18479 delete arg3;
18480 }
18481 {
18482 if (temp4)
18483 delete arg4;
18484 }
18485 return resultobj;
18486fail:
18487 {
18488 if (temp2)
18489 delete arg2;
18490 }
18491 {
18492 if (temp3)
18493 delete arg3;
18494 }
18495 {
18496 if (temp4)
18497 delete arg4;
18498 }
18499 return NULL;
d55e5bfc
RD
18500}
18501
18502
1bd55598
RD
18503SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18504 PyObject *resultobj = 0;
18505 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18506 wxString result;
18507 void *argp1 = 0 ;
18508 int res1 = 0 ;
18509 PyObject *swig_obj[1] ;
18510
18511 if (!args) SWIG_fail;
18512 swig_obj[0] = args;
18513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18514 if (!SWIG_IsOK(res1)) {
18515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18516 }
18517 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18518 {
18519 PyThreadState* __tstate = wxPyBeginAllowThreads();
18520 result = (arg1)->GetValue();
18521 wxPyEndAllowThreads(__tstate);
18522 if (PyErr_Occurred()) SWIG_fail;
18523 }
18524 {
18525#if wxUSE_UNICODE
18526 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18527#else
18528 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18529#endif
18530 }
18531 return resultobj;
18532fail:
18533 return NULL;
18534}
18535
18536
18537SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj = 0;
18539 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18540 wxString *arg2 = 0 ;
18541 void *argp1 = 0 ;
18542 int res1 = 0 ;
18543 bool temp2 = false ;
18544 PyObject * obj0 = 0 ;
18545 PyObject * obj1 = 0 ;
18546 char * kwnames[] = {
18547 (char *) "self",(char *) "value", NULL
18548 };
18549
18550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18552 if (!SWIG_IsOK(res1)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18554 }
18555 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18556 {
18557 arg2 = wxString_in_helper(obj1);
18558 if (arg2 == NULL) SWIG_fail;
18559 temp2 = true;
18560 }
18561 {
18562 PyThreadState* __tstate = wxPyBeginAllowThreads();
18563 (arg1)->SetValue((wxString const &)*arg2);
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 resultobj = SWIG_Py_Void();
18568 {
18569 if (temp2)
18570 delete arg2;
18571 }
18572 return resultobj;
18573fail:
18574 {
18575 if (temp2)
18576 delete arg2;
18577 }
18578 return NULL;
7993762b
RD
18579}
18580
18581
1bd55598
RD
18582SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18583 PyObject *obj;
18584 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18585 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18586 return SWIG_Py_Void();
7993762b
RD
18587}
18588
1bd55598
RD
18589SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18590 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 18591}
1bd55598
RD
18592
18593SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18594 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18595 return 1;
d55e5bfc
RD
18596}
18597
18598
1bd55598
RD
18599SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18600 PyObject *pyobj = 0;
18601
18602 {
d55e5bfc 18603#if wxUSE_UNICODE
1bd55598 18604 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18605#else
1bd55598 18606 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18607#endif
1bd55598
RD
18608 }
18609 return pyobj;
18610}
18611
18612
18613SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj = 0;
18615 wxWindow *arg1 = (wxWindow *) 0 ;
18616 wxString *arg2 = 0 ;
18617 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18618 wxString *arg3 = (wxString *) &arg3_defvalue ;
18619 wxString const &arg4_defvalue = wxPyEmptyString ;
18620 wxString *arg4 = (wxString *) &arg4_defvalue ;
18621 long arg5 = (long) wxTextEntryDialogStyle ;
18622 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18623 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18624 wxPasswordEntryDialog *result = 0 ;
18625 void *argp1 = 0 ;
18626 int res1 = 0 ;
18627 bool temp2 = false ;
18628 bool temp3 = false ;
18629 bool temp4 = false ;
18630 long val5 ;
18631 int ecode5 = 0 ;
18632 wxPoint temp6 ;
18633 PyObject * obj0 = 0 ;
18634 PyObject * obj1 = 0 ;
18635 PyObject * obj2 = 0 ;
18636 PyObject * obj3 = 0 ;
18637 PyObject * obj4 = 0 ;
18638 PyObject * obj5 = 0 ;
18639 char * kwnames[] = {
18640 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18641 };
18642
18643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18645 if (!SWIG_IsOK(res1)) {
18646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18647 }
18648 arg1 = reinterpret_cast< wxWindow * >(argp1);
18649 {
18650 arg2 = wxString_in_helper(obj1);
18651 if (arg2 == NULL) SWIG_fail;
18652 temp2 = true;
18653 }
18654 if (obj2) {
d55e5bfc 18655 {
1bd55598
RD
18656 arg3 = wxString_in_helper(obj2);
18657 if (arg3 == NULL) SWIG_fail;
18658 temp3 = true;
d55e5bfc 18659 }
1bd55598
RD
18660 }
18661 if (obj3) {
d55e5bfc 18662 {
1bd55598
RD
18663 arg4 = wxString_in_helper(obj3);
18664 if (arg4 == NULL) SWIG_fail;
18665 temp4 = true;
d55e5bfc 18666 }
1bd55598
RD
18667 }
18668 if (obj4) {
18669 ecode5 = SWIG_AsVal_long(obj4, &val5);
18670 if (!SWIG_IsOK(ecode5)) {
18671 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18672 }
18673 arg5 = static_cast< long >(val5);
18674 }
18675 if (obj5) {
d55e5bfc 18676 {
1bd55598
RD
18677 arg6 = &temp6;
18678 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18679 }
18680 }
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18688 {
18689 if (temp2)
18690 delete arg2;
18691 }
18692 {
18693 if (temp3)
18694 delete arg3;
18695 }
18696 {
18697 if (temp4)
18698 delete arg4;
18699 }
18700 return resultobj;
18701fail:
18702 {
18703 if (temp2)
18704 delete arg2;
18705 }
18706 {
18707 if (temp3)
18708 delete arg3;
18709 }
18710 {
18711 if (temp4)
18712 delete arg4;
18713 }
18714 return NULL;
d55e5bfc
RD
18715}
18716
18717
1bd55598
RD
18718SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18719 PyObject *obj;
18720 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18721 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18722 return SWIG_Py_Void();
d55e5bfc
RD
18723}
18724
1bd55598
RD
18725SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18726 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18727}
18728
27e45892
RD
18729SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18730 PyObject *resultobj = 0;
18731 wxWindow *arg1 = (wxWindow *) 0 ;
18732 wxString *arg2 = 0 ;
18733 wxString *arg3 = 0 ;
18734 wxString *arg4 = 0 ;
18735 long arg5 ;
18736 long arg6 ;
18737 long arg7 ;
18738 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18739 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18740 wxNumberEntryDialog *result = 0 ;
18741 void *argp1 = 0 ;
18742 int res1 = 0 ;
18743 bool temp2 = false ;
18744 bool temp3 = false ;
18745 bool temp4 = false ;
18746 long val5 ;
18747 int ecode5 = 0 ;
18748 long val6 ;
18749 int ecode6 = 0 ;
18750 long val7 ;
18751 int ecode7 = 0 ;
18752 wxPoint temp8 ;
18753 PyObject * obj0 = 0 ;
18754 PyObject * obj1 = 0 ;
18755 PyObject * obj2 = 0 ;
18756 PyObject * obj3 = 0 ;
18757 PyObject * obj4 = 0 ;
18758 PyObject * obj5 = 0 ;
18759 PyObject * obj6 = 0 ;
18760 PyObject * obj7 = 0 ;
18761 char * kwnames[] = {
18762 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18763 };
18764
18765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18767 if (!SWIG_IsOK(res1)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18769 }
18770 arg1 = reinterpret_cast< wxWindow * >(argp1);
18771 {
18772 arg2 = wxString_in_helper(obj1);
18773 if (arg2 == NULL) SWIG_fail;
18774 temp2 = true;
18775 }
18776 {
18777 arg3 = wxString_in_helper(obj2);
18778 if (arg3 == NULL) SWIG_fail;
18779 temp3 = true;
18780 }
18781 {
18782 arg4 = wxString_in_helper(obj3);
18783 if (arg4 == NULL) SWIG_fail;
18784 temp4 = true;
18785 }
18786 ecode5 = SWIG_AsVal_long(obj4, &val5);
18787 if (!SWIG_IsOK(ecode5)) {
18788 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18789 }
18790 arg5 = static_cast< long >(val5);
18791 ecode6 = SWIG_AsVal_long(obj5, &val6);
18792 if (!SWIG_IsOK(ecode6)) {
18793 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18794 }
18795 arg6 = static_cast< long >(val6);
18796 ecode7 = SWIG_AsVal_long(obj6, &val7);
18797 if (!SWIG_IsOK(ecode7)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18799 }
18800 arg7 = static_cast< long >(val7);
18801 if (obj7) {
18802 {
18803 arg8 = &temp8;
18804 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18805 }
18806 }
18807 {
18808 if (!wxPyCheckForApp()) SWIG_fail;
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18815 {
18816 if (temp2)
18817 delete arg2;
18818 }
18819 {
18820 if (temp3)
18821 delete arg3;
18822 }
18823 {
18824 if (temp4)
18825 delete arg4;
18826 }
18827 return resultobj;
18828fail:
18829 {
18830 if (temp2)
18831 delete arg2;
18832 }
18833 {
18834 if (temp3)
18835 delete arg3;
18836 }
18837 {
18838 if (temp4)
18839 delete arg4;
18840 }
18841 return NULL;
18842}
18843
18844
18845SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18846 PyObject *resultobj = 0;
18847 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18848 long result;
18849 void *argp1 = 0 ;
18850 int res1 = 0 ;
18851 PyObject *swig_obj[1] ;
18852
18853 if (!args) SWIG_fail;
18854 swig_obj[0] = args;
18855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18856 if (!SWIG_IsOK(res1)) {
18857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18858 }
18859 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 result = (long)(arg1)->GetValue();
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 resultobj = SWIG_From_long(static_cast< long >(result));
18867 return resultobj;
18868fail:
18869 return NULL;
18870}
18871
18872
18873SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18874 PyObject *obj;
18875 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18876 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18877 return SWIG_Py_Void();
18878}
18879
18880SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18881 return SWIG_Python_InitShadowInstance(args);
18882}
18883
1bd55598
RD
18884SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18885 PyObject *resultobj = 0;
18886 wxFontData *result = 0 ;
18887
18888 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 result = (wxFontData *)new wxFontData();
18892 wxPyEndAllowThreads(__tstate);
18893 if (PyErr_Occurred()) SWIG_fail;
18894 }
18895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18896 return resultobj;
18897fail:
18898 return NULL;
d55e5bfc
RD
18899}
18900
18901
1bd55598
RD
18902SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18903 PyObject *resultobj = 0;
18904 wxFontData *arg1 = (wxFontData *) 0 ;
18905 void *argp1 = 0 ;
18906 int res1 = 0 ;
18907 PyObject *swig_obj[1] ;
18908
18909 if (!args) SWIG_fail;
18910 swig_obj[0] = args;
18911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18912 if (!SWIG_IsOK(res1)) {
18913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18914 }
18915 arg1 = reinterpret_cast< wxFontData * >(argp1);
18916 {
18917 PyThreadState* __tstate = wxPyBeginAllowThreads();
18918 delete arg1;
d55e5bfc 18919
1bd55598
RD
18920 wxPyEndAllowThreads(__tstate);
18921 if (PyErr_Occurred()) SWIG_fail;
18922 }
18923 resultobj = SWIG_Py_Void();
18924 return resultobj;
18925fail:
18926 return NULL;
18927}
18928
18929
18930SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj = 0;
18932 wxFontData *arg1 = (wxFontData *) 0 ;
18933 bool arg2 ;
18934 void *argp1 = 0 ;
18935 int res1 = 0 ;
18936 bool val2 ;
18937 int ecode2 = 0 ;
18938 PyObject * obj0 = 0 ;
18939 PyObject * obj1 = 0 ;
18940 char * kwnames[] = {
18941 (char *) "self",(char *) "enable", NULL
18942 };
18943
18944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18946 if (!SWIG_IsOK(res1)) {
18947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18948 }
18949 arg1 = reinterpret_cast< wxFontData * >(argp1);
18950 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18951 if (!SWIG_IsOK(ecode2)) {
18952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18953 }
18954 arg2 = static_cast< bool >(val2);
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 (arg1)->EnableEffects(arg2);
18958 wxPyEndAllowThreads(__tstate);
18959 if (PyErr_Occurred()) SWIG_fail;
18960 }
18961 resultobj = SWIG_Py_Void();
18962 return resultobj;
18963fail:
18964 return NULL;
d55e5bfc
RD
18965}
18966
18967
1bd55598
RD
18968SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18969 PyObject *resultobj = 0;
18970 wxFontData *arg1 = (wxFontData *) 0 ;
18971 bool result;
18972 void *argp1 = 0 ;
18973 int res1 = 0 ;
18974 PyObject *swig_obj[1] ;
18975
18976 if (!args) SWIG_fail;
18977 swig_obj[0] = args;
18978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18979 if (!SWIG_IsOK(res1)) {
18980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18981 }
18982 arg1 = reinterpret_cast< wxFontData * >(argp1);
18983 {
18984 PyThreadState* __tstate = wxPyBeginAllowThreads();
18985 result = (bool)(arg1)->GetAllowSymbols();
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 {
18990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18991 }
18992 return resultobj;
18993fail:
18994 return NULL;
d55e5bfc
RD
18995}
18996
18997
1bd55598
RD
18998SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18999 PyObject *resultobj = 0;
19000 wxFontData *arg1 = (wxFontData *) 0 ;
19001 wxColour result;
19002 void *argp1 = 0 ;
19003 int res1 = 0 ;
19004 PyObject *swig_obj[1] ;
19005
19006 if (!args) SWIG_fail;
19007 swig_obj[0] = args;
19008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19009 if (!SWIG_IsOK(res1)) {
19010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19011 }
19012 arg1 = reinterpret_cast< wxFontData * >(argp1);
19013 {
19014 PyThreadState* __tstate = wxPyBeginAllowThreads();
19015 result = (arg1)->GetColour();
19016 wxPyEndAllowThreads(__tstate);
19017 if (PyErr_Occurred()) SWIG_fail;
19018 }
19019 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19020 return resultobj;
19021fail:
19022 return NULL;
d55e5bfc
RD
19023}
19024
19025
1bd55598
RD
19026SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19027 PyObject *resultobj = 0;
19028 wxFontData *arg1 = (wxFontData *) 0 ;
19029 wxFont result;
19030 void *argp1 = 0 ;
19031 int res1 = 0 ;
19032 PyObject *swig_obj[1] ;
19033
19034 if (!args) SWIG_fail;
19035 swig_obj[0] = args;
19036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19037 if (!SWIG_IsOK(res1)) {
19038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19039 }
19040 arg1 = reinterpret_cast< wxFontData * >(argp1);
19041 {
19042 PyThreadState* __tstate = wxPyBeginAllowThreads();
19043 result = (arg1)->GetChosenFont();
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19048 return resultobj;
19049fail:
19050 return NULL;
d55e5bfc
RD
19051}
19052
19053
1bd55598
RD
19054SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19055 PyObject *resultobj = 0;
19056 wxFontData *arg1 = (wxFontData *) 0 ;
19057 bool result;
19058 void *argp1 = 0 ;
19059 int res1 = 0 ;
19060 PyObject *swig_obj[1] ;
19061
19062 if (!args) SWIG_fail;
19063 swig_obj[0] = args;
19064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19065 if (!SWIG_IsOK(res1)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19067 }
19068 arg1 = reinterpret_cast< wxFontData * >(argp1);
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 result = (bool)(arg1)->GetEnableEffects();
19072 wxPyEndAllowThreads(__tstate);
19073 if (PyErr_Occurred()) SWIG_fail;
19074 }
19075 {
19076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19077 }
19078 return resultobj;
19079fail:
19080 return NULL;
d55e5bfc
RD
19081}
19082
19083
1bd55598
RD
19084SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19085 PyObject *resultobj = 0;
19086 wxFontData *arg1 = (wxFontData *) 0 ;
19087 wxFont result;
19088 void *argp1 = 0 ;
19089 int res1 = 0 ;
19090 PyObject *swig_obj[1] ;
19091
19092 if (!args) SWIG_fail;
19093 swig_obj[0] = args;
19094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19095 if (!SWIG_IsOK(res1)) {
19096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19097 }
19098 arg1 = reinterpret_cast< wxFontData * >(argp1);
19099 {
19100 PyThreadState* __tstate = wxPyBeginAllowThreads();
19101 result = (arg1)->GetInitialFont();
19102 wxPyEndAllowThreads(__tstate);
19103 if (PyErr_Occurred()) SWIG_fail;
19104 }
19105 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19106 return resultobj;
19107fail:
19108 return NULL;
d55e5bfc
RD
19109}
19110
19111
1bd55598
RD
19112SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19113 PyObject *resultobj = 0;
19114 wxFontData *arg1 = (wxFontData *) 0 ;
19115 bool result;
19116 void *argp1 = 0 ;
19117 int res1 = 0 ;
19118 PyObject *swig_obj[1] ;
19119
19120 if (!args) SWIG_fail;
19121 swig_obj[0] = args;
19122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19123 if (!SWIG_IsOK(res1)) {
19124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19125 }
19126 arg1 = reinterpret_cast< wxFontData * >(argp1);
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 result = (bool)(arg1)->GetShowHelp();
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 {
19134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19135 }
19136 return resultobj;
19137fail:
19138 return NULL;
19139}
19140
19141
19142SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19143 PyObject *resultobj = 0;
19144 wxFontData *arg1 = (wxFontData *) 0 ;
19145 bool arg2 ;
19146 void *argp1 = 0 ;
19147 int res1 = 0 ;
19148 bool val2 ;
19149 int ecode2 = 0 ;
19150 PyObject * obj0 = 0 ;
19151 PyObject * obj1 = 0 ;
19152 char * kwnames[] = {
19153 (char *) "self",(char *) "allowSymbols", NULL
19154 };
19155
19156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19158 if (!SWIG_IsOK(res1)) {
19159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19160 }
19161 arg1 = reinterpret_cast< wxFontData * >(argp1);
19162 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19163 if (!SWIG_IsOK(ecode2)) {
19164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19165 }
19166 arg2 = static_cast< bool >(val2);
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 (arg1)->SetAllowSymbols(arg2);
19170 wxPyEndAllowThreads(__tstate);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 }
19173 resultobj = SWIG_Py_Void();
19174 return resultobj;
19175fail:
19176 return NULL;
19177}
19178
19179
19180SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj = 0;
19182 wxFontData *arg1 = (wxFontData *) 0 ;
19183 wxFont *arg2 = 0 ;
19184 void *argp1 = 0 ;
19185 int res1 = 0 ;
19186 void *argp2 = 0 ;
19187 int res2 = 0 ;
19188 PyObject * obj0 = 0 ;
19189 PyObject * obj1 = 0 ;
19190 char * kwnames[] = {
19191 (char *) "self",(char *) "font", NULL
19192 };
19193
19194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19196 if (!SWIG_IsOK(res1)) {
19197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19198 }
19199 arg1 = reinterpret_cast< wxFontData * >(argp1);
19200 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19201 if (!SWIG_IsOK(res2)) {
19202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19203 }
19204 if (!argp2) {
19205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19206 }
19207 arg2 = reinterpret_cast< wxFont * >(argp2);
19208 {
19209 PyThreadState* __tstate = wxPyBeginAllowThreads();
19210 (arg1)->SetChosenFont((wxFont const &)*arg2);
19211 wxPyEndAllowThreads(__tstate);
19212 if (PyErr_Occurred()) SWIG_fail;
19213 }
19214 resultobj = SWIG_Py_Void();
19215 return resultobj;
19216fail:
19217 return NULL;
19218}
19219
19220
19221SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19222 PyObject *resultobj = 0;
19223 wxFontData *arg1 = (wxFontData *) 0 ;
19224 wxColour *arg2 = 0 ;
19225 void *argp1 = 0 ;
19226 int res1 = 0 ;
19227 wxColour temp2 ;
19228 PyObject * obj0 = 0 ;
19229 PyObject * obj1 = 0 ;
19230 char * kwnames[] = {
19231 (char *) "self",(char *) "colour", NULL
19232 };
19233
19234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19236 if (!SWIG_IsOK(res1)) {
19237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19238 }
19239 arg1 = reinterpret_cast< wxFontData * >(argp1);
19240 {
19241 arg2 = &temp2;
19242 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19243 }
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
19246 (arg1)->SetColour((wxColour const &)*arg2);
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 resultobj = SWIG_Py_Void();
19251 return resultobj;
19252fail:
19253 return NULL;
19254}
19255
19256
19257SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj = 0;
19259 wxFontData *arg1 = (wxFontData *) 0 ;
19260 wxFont *arg2 = 0 ;
19261 void *argp1 = 0 ;
19262 int res1 = 0 ;
19263 void *argp2 = 0 ;
19264 int res2 = 0 ;
19265 PyObject * obj0 = 0 ;
19266 PyObject * obj1 = 0 ;
19267 char * kwnames[] = {
19268 (char *) "self",(char *) "font", NULL
19269 };
19270
19271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19273 if (!SWIG_IsOK(res1)) {
19274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19275 }
19276 arg1 = reinterpret_cast< wxFontData * >(argp1);
19277 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19278 if (!SWIG_IsOK(res2)) {
19279 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19280 }
19281 if (!argp2) {
19282 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19283 }
19284 arg2 = reinterpret_cast< wxFont * >(argp2);
19285 {
19286 PyThreadState* __tstate = wxPyBeginAllowThreads();
19287 (arg1)->SetInitialFont((wxFont const &)*arg2);
19288 wxPyEndAllowThreads(__tstate);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 resultobj = SWIG_Py_Void();
19292 return resultobj;
19293fail:
19294 return NULL;
19295}
19296
19297
19298SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19299 PyObject *resultobj = 0;
19300 wxFontData *arg1 = (wxFontData *) 0 ;
19301 int arg2 ;
19302 int arg3 ;
19303 void *argp1 = 0 ;
19304 int res1 = 0 ;
19305 int val2 ;
19306 int ecode2 = 0 ;
19307 int val3 ;
19308 int ecode3 = 0 ;
19309 PyObject * obj0 = 0 ;
19310 PyObject * obj1 = 0 ;
19311 PyObject * obj2 = 0 ;
19312 char * kwnames[] = {
19313 (char *) "self",(char *) "min",(char *) "max", NULL
19314 };
19315
19316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19318 if (!SWIG_IsOK(res1)) {
19319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19320 }
19321 arg1 = reinterpret_cast< wxFontData * >(argp1);
19322 ecode2 = SWIG_AsVal_int(obj1, &val2);
19323 if (!SWIG_IsOK(ecode2)) {
19324 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19325 }
19326 arg2 = static_cast< int >(val2);
19327 ecode3 = SWIG_AsVal_int(obj2, &val3);
19328 if (!SWIG_IsOK(ecode3)) {
19329 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19330 }
19331 arg3 = static_cast< int >(val3);
19332 {
19333 PyThreadState* __tstate = wxPyBeginAllowThreads();
19334 (arg1)->SetRange(arg2,arg3);
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 resultobj = SWIG_Py_Void();
19339 return resultobj;
19340fail:
19341 return NULL;
19342}
19343
19344
19345SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj = 0;
19347 wxFontData *arg1 = (wxFontData *) 0 ;
19348 bool arg2 ;
19349 void *argp1 = 0 ;
19350 int res1 = 0 ;
19351 bool val2 ;
19352 int ecode2 = 0 ;
19353 PyObject * obj0 = 0 ;
19354 PyObject * obj1 = 0 ;
19355 char * kwnames[] = {
19356 (char *) "self",(char *) "showHelp", NULL
19357 };
19358
19359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19361 if (!SWIG_IsOK(res1)) {
19362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19363 }
19364 arg1 = reinterpret_cast< wxFontData * >(argp1);
19365 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19366 if (!SWIG_IsOK(ecode2)) {
19367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19368 }
19369 arg2 = static_cast< bool >(val2);
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 (arg1)->SetShowHelp(arg2);
19373 wxPyEndAllowThreads(__tstate);
19374 if (PyErr_Occurred()) SWIG_fail;
19375 }
19376 resultobj = SWIG_Py_Void();
19377 return resultobj;
19378fail:
19379 return NULL;
d55e5bfc
RD
19380}
19381
19382
1bd55598
RD
19383SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19384 PyObject *obj;
19385 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19386 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19387 return SWIG_Py_Void();
d55e5bfc
RD
19388}
19389
1bd55598
RD
19390SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19391 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19392}
19393
1bd55598
RD
19394SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj = 0;
19396 wxWindow *arg1 = (wxWindow *) 0 ;
19397 wxFontData *arg2 = 0 ;
19398 wxFontDialog *result = 0 ;
19399 void *argp1 = 0 ;
19400 int res1 = 0 ;
19401 void *argp2 = 0 ;
19402 int res2 = 0 ;
19403 PyObject * obj0 = 0 ;
19404 PyObject * obj1 = 0 ;
19405 char * kwnames[] = {
19406 (char *) "parent",(char *) "data", NULL
19407 };
19408
19409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19411 if (!SWIG_IsOK(res1)) {
19412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19413 }
19414 arg1 = reinterpret_cast< wxWindow * >(argp1);
19415 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19416 if (!SWIG_IsOK(res2)) {
19417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19418 }
19419 if (!argp2) {
19420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19421 }
19422 arg2 = reinterpret_cast< wxFontData * >(argp2);
19423 {
19424 if (!wxPyCheckForApp()) SWIG_fail;
19425 PyThreadState* __tstate = wxPyBeginAllowThreads();
19426 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19431 return resultobj;
19432fail:
19433 return NULL;
d55e5bfc
RD
19434}
19435
19436
1bd55598
RD
19437SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19438 PyObject *resultobj = 0;
19439 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19440 wxFontData *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_wxFontDialog, 0 | 0 );
19448 if (!SWIG_IsOK(res1)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19450 }
19451 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19452 {
19453 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19454 {
1bd55598
RD
19455 wxFontData &_result_ref = (arg1)->GetFontData();
19456 result = (wxFontData *) &_result_ref;
36ed4f51 19457 }
1bd55598
RD
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19462 return resultobj;
19463fail:
19464 return NULL;
19465}
19466
19467
19468SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19469 PyObject *obj;
19470 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19471 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19472 return SWIG_Py_Void();
19473}
19474
19475SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19476 return SWIG_Python_InitShadowInstance(args);
19477}
19478
19479SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19480 PyObject *resultobj = 0;
19481 wxWindow *arg1 = (wxWindow *) NULL ;
19482 wxFont const &arg2_defvalue = wxNullFont ;
19483 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19484 wxString const &arg3_defvalue = wxPyEmptyString ;
19485 wxString *arg3 = (wxString *) &arg3_defvalue ;
19486 wxFont result;
19487 void *argp1 = 0 ;
19488 int res1 = 0 ;
19489 void *argp2 = 0 ;
19490 int res2 = 0 ;
19491 bool temp3 = false ;
19492 PyObject * obj0 = 0 ;
19493 PyObject * obj1 = 0 ;
19494 PyObject * obj2 = 0 ;
19495 char * kwnames[] = {
19496 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19497 };
19498
19499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19500 if (obj0) {
19501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19502 if (!SWIG_IsOK(res1)) {
19503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
36ed4f51 19504 }
1bd55598
RD
19505 arg1 = reinterpret_cast< wxWindow * >(argp1);
19506 }
19507 if (obj1) {
19508 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19509 if (!SWIG_IsOK(res2)) {
19510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19511 }
1bd55598
RD
19512 if (!argp2) {
19513 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19514 }
1bd55598
RD
19515 arg2 = reinterpret_cast< wxFont * >(argp2);
19516 }
19517 if (obj2) {
d55e5bfc 19518 {
1bd55598
RD
19519 arg3 = wxString_in_helper(obj2);
19520 if (arg3 == NULL) SWIG_fail;
19521 temp3 = true;
d55e5bfc 19522 }
1bd55598
RD
19523 }
19524 {
19525 PyThreadState* __tstate = wxPyBeginAllowThreads();
19526 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19531 {
19532 if (temp3)
19533 delete arg3;
19534 }
19535 return resultobj;
19536fail:
19537 {
19538 if (temp3)
19539 delete arg3;
19540 }
19541 return NULL;
19542}
19543
19544
19545SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj = 0;
19547 wxWindow *arg1 = (wxWindow *) 0 ;
19548 wxString *arg2 = 0 ;
19549 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19550 wxString *arg3 = (wxString *) &arg3_defvalue ;
19551 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19552 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19553 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19554 wxMessageDialog *result = 0 ;
19555 void *argp1 = 0 ;
19556 int res1 = 0 ;
19557 bool temp2 = false ;
19558 bool temp3 = false ;
19559 long val4 ;
19560 int ecode4 = 0 ;
19561 wxPoint temp5 ;
19562 PyObject * obj0 = 0 ;
19563 PyObject * obj1 = 0 ;
19564 PyObject * obj2 = 0 ;
19565 PyObject * obj3 = 0 ;
19566 PyObject * obj4 = 0 ;
19567 char * kwnames[] = {
19568 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19569 };
19570
19571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19573 if (!SWIG_IsOK(res1)) {
19574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19575 }
19576 arg1 = reinterpret_cast< wxWindow * >(argp1);
19577 {
19578 arg2 = wxString_in_helper(obj1);
19579 if (arg2 == NULL) SWIG_fail;
19580 temp2 = true;
19581 }
19582 if (obj2) {
36ed4f51 19583 {
1bd55598
RD
19584 arg3 = wxString_in_helper(obj2);
19585 if (arg3 == NULL) SWIG_fail;
19586 temp3 = true;
36ed4f51 19587 }
1bd55598
RD
19588 }
19589 if (obj3) {
19590 ecode4 = SWIG_AsVal_long(obj3, &val4);
19591 if (!SWIG_IsOK(ecode4)) {
19592 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19593 }
19594 arg4 = static_cast< long >(val4);
19595 }
19596 if (obj4) {
36ed4f51 19597 {
1bd55598
RD
19598 arg5 = &temp5;
19599 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 19600 }
1bd55598
RD
19601 }
19602 {
19603 if (!wxPyCheckForApp()) SWIG_fail;
19604 PyThreadState* __tstate = wxPyBeginAllowThreads();
19605 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19606 wxPyEndAllowThreads(__tstate);
19607 if (PyErr_Occurred()) SWIG_fail;
19608 }
19609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19610 {
19611 if (temp2)
19612 delete arg2;
19613 }
19614 {
19615 if (temp3)
19616 delete arg3;
19617 }
19618 return resultobj;
19619fail:
19620 {
19621 if (temp2)
19622 delete arg2;
19623 }
19624 {
19625 if (temp3)
19626 delete arg3;
19627 }
19628 return NULL;
19629}
19630
19631
19632SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19633 PyObject *obj;
19634 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19635 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19636 return SWIG_Py_Void();
19637}
19638
19639SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19640 return SWIG_Python_InitShadowInstance(args);
19641}
19642
19643SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19644 PyObject *resultobj = 0;
19645 wxString *arg1 = 0 ;
19646 wxString *arg2 = 0 ;
19647 int arg3 = (int) 100 ;
19648 wxWindow *arg4 = (wxWindow *) NULL ;
19649 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19650 wxProgressDialog *result = 0 ;
19651 bool temp1 = false ;
19652 bool temp2 = false ;
19653 int val3 ;
19654 int ecode3 = 0 ;
19655 void *argp4 = 0 ;
19656 int res4 = 0 ;
19657 int val5 ;
19658 int ecode5 = 0 ;
19659 PyObject * obj0 = 0 ;
19660 PyObject * obj1 = 0 ;
19661 PyObject * obj2 = 0 ;
19662 PyObject * obj3 = 0 ;
19663 PyObject * obj4 = 0 ;
19664 char * kwnames[] = {
19665 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19666 };
19667
19668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19669 {
19670 arg1 = wxString_in_helper(obj0);
19671 if (arg1 == NULL) SWIG_fail;
19672 temp1 = true;
19673 }
19674 {
19675 arg2 = wxString_in_helper(obj1);
19676 if (arg2 == NULL) SWIG_fail;
19677 temp2 = true;
19678 }
19679 if (obj2) {
19680 ecode3 = SWIG_AsVal_int(obj2, &val3);
19681 if (!SWIG_IsOK(ecode3)) {
19682 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19683 }
19684 arg3 = static_cast< int >(val3);
19685 }
19686 if (obj3) {
19687 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19688 if (!SWIG_IsOK(res4)) {
19689 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19690 }
1bd55598
RD
19691 arg4 = reinterpret_cast< wxWindow * >(argp4);
19692 }
19693 if (obj4) {
19694 ecode5 = SWIG_AsVal_int(obj4, &val5);
19695 if (!SWIG_IsOK(ecode5)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19697 }
19698 arg5 = static_cast< int >(val5);
19699 }
19700 {
19701 if (!wxPyCheckForApp()) SWIG_fail;
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19708 {
19709 if (temp1)
19710 delete arg1;
19711 }
19712 {
19713 if (temp2)
19714 delete arg2;
19715 }
19716 return resultobj;
19717fail:
19718 {
19719 if (temp1)
19720 delete arg1;
19721 }
19722 {
19723 if (temp2)
19724 delete arg2;
19725 }
19726 return NULL;
19727}
19728
19729
19730SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19731 PyObject *resultobj = 0;
19732 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19733 int arg2 ;
19734 wxString const &arg3_defvalue = wxPyEmptyString ;
19735 wxString *arg3 = (wxString *) &arg3_defvalue ;
2131d850 19736 bool *arg4 = (bool *) 0 ;
1bd55598
RD
19737 bool result;
19738 void *argp1 = 0 ;
19739 int res1 = 0 ;
19740 int val2 ;
19741 int ecode2 = 0 ;
19742 bool temp3 = false ;
2131d850
RD
19743 bool temp4 ;
19744 int res4 = SWIG_TMPOBJ ;
1bd55598
RD
19745 PyObject * obj0 = 0 ;
19746 PyObject * obj1 = 0 ;
19747 PyObject * obj2 = 0 ;
19748 char * kwnames[] = {
19749 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19750 };
19751
2131d850 19752 arg4 = &temp4;
1bd55598
RD
19753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19755 if (!SWIG_IsOK(res1)) {
19756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19757 }
19758 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19759 ecode2 = SWIG_AsVal_int(obj1, &val2);
19760 if (!SWIG_IsOK(ecode2)) {
19761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19762 }
19763 arg2 = static_cast< int >(val2);
19764 if (obj2) {
d55e5bfc 19765 {
1bd55598
RD
19766 arg3 = wxString_in_helper(obj2);
19767 if (arg3 == NULL) SWIG_fail;
19768 temp3 = true;
d55e5bfc 19769 }
1bd55598
RD
19770 }
19771 {
19772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131d850 19773 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
1bd55598
RD
19774 wxPyEndAllowThreads(__tstate);
19775 if (PyErr_Occurred()) SWIG_fail;
19776 }
19777 {
19778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19779 }
2131d850
RD
19780 if (SWIG_IsTmpObj(res4)) {
19781 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19782 } else {
19783 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19784 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19785 }
1bd55598
RD
19786 {
19787 if (temp3)
19788 delete arg3;
19789 }
19790 return resultobj;
19791fail:
19792 {
19793 if (temp3)
19794 delete arg3;
19795 }
19796 return NULL;
d55e5bfc
RD
19797}
19798
19799
6b449b19 19800SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0d2c9713
RD
19801 PyObject *resultobj = 0;
19802 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19803 wxString const &arg2_defvalue = wxPyEmptyString ;
19804 wxString *arg2 = (wxString *) &arg2_defvalue ;
19805 bool *arg3 = (bool *) 0 ;
19806 bool result;
19807 void *argp1 = 0 ;
19808 int res1 = 0 ;
19809 bool temp2 = false ;
19810 bool temp3 ;
19811 int res3 = SWIG_TMPOBJ ;
19812 PyObject * obj0 = 0 ;
19813 PyObject * obj1 = 0 ;
19814 char * kwnames[] = {
19815 (char *) "self",(char *) "newmsg", NULL
19816 };
19817
19818 arg3 = &temp3;
6b449b19 19819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
0d2c9713
RD
19820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19821 if (!SWIG_IsOK(res1)) {
6b449b19 19822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
0d2c9713
RD
19823 }
19824 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19825 if (obj1) {
19826 {
19827 arg2 = wxString_in_helper(obj1);
19828 if (arg2 == NULL) SWIG_fail;
19829 temp2 = true;
19830 }
19831 }
19832 {
19833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6b449b19 19834 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
0d2c9713
RD
19835 wxPyEndAllowThreads(__tstate);
19836 if (PyErr_Occurred()) SWIG_fail;
19837 }
19838 {
19839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19840 }
19841 if (SWIG_IsTmpObj(res3)) {
19842 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19843 } else {
19844 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19846 }
19847 {
19848 if (temp2)
19849 delete arg2;
19850 }
19851 return resultobj;
19852fail:
19853 {
19854 if (temp2)
19855 delete arg2;
19856 }
19857 return NULL;
19858}
19859
19860
1bd55598
RD
19861SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19862 PyObject *resultobj = 0;
19863 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19864 void *argp1 = 0 ;
19865 int res1 = 0 ;
19866 PyObject *swig_obj[1] ;
19867
19868 if (!args) SWIG_fail;
19869 swig_obj[0] = args;
19870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19871 if (!SWIG_IsOK(res1)) {
19872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19873 }
19874 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 (arg1)->Resume();
19878 wxPyEndAllowThreads(__tstate);
19879 if (PyErr_Occurred()) SWIG_fail;
19880 }
19881 resultobj = SWIG_Py_Void();
19882 return resultobj;
19883fail:
19884 return NULL;
d55e5bfc
RD
19885}
19886
19887
1bd55598
RD
19888SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19889 PyObject *obj;
19890 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19891 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19892 return SWIG_Py_Void();
d55e5bfc
RD
19893}
19894
1bd55598
RD
19895SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19896 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19897}
19898
1bd55598
RD
19899SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19900 PyObject *resultobj = 0;
19901 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19902 int arg2 = (int) 0 ;
19903 wxFindDialogEvent *result = 0 ;
19904 int val1 ;
19905 int ecode1 = 0 ;
19906 int val2 ;
19907 int ecode2 = 0 ;
19908 PyObject * obj0 = 0 ;
19909 PyObject * obj1 = 0 ;
19910 char * kwnames[] = {
19911 (char *) "commandType",(char *) "id", NULL
19912 };
19913
19914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19915 if (obj0) {
19916 ecode1 = SWIG_AsVal_int(obj0, &val1);
19917 if (!SWIG_IsOK(ecode1)) {
19918 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19919 }
19920 arg1 = static_cast< wxEventType >(val1);
19921 }
19922 if (obj1) {
19923 ecode2 = SWIG_AsVal_int(obj1, &val2);
19924 if (!SWIG_IsOK(ecode2)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19926 }
19927 arg2 = static_cast< int >(val2);
19928 }
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19936 return resultobj;
19937fail:
19938 return NULL;
d55e5bfc
RD
19939}
19940
19941
1bd55598
RD
19942SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19943 PyObject *resultobj = 0;
19944 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19945 int result;
19946 void *argp1 = 0 ;
19947 int res1 = 0 ;
19948 PyObject *swig_obj[1] ;
19949
19950 if (!args) SWIG_fail;
19951 swig_obj[0] = args;
19952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19953 if (!SWIG_IsOK(res1)) {
19954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19955 }
19956 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 result = (int)(arg1)->GetFlags();
19960 wxPyEndAllowThreads(__tstate);
19961 if (PyErr_Occurred()) SWIG_fail;
19962 }
19963 resultobj = SWIG_From_int(static_cast< int >(result));
19964 return resultobj;
19965fail:
19966 return NULL;
d55e5bfc
RD
19967}
19968
19969
1bd55598
RD
19970SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19971 PyObject *resultobj = 0;
19972 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19973 wxString *result = 0 ;
19974 void *argp1 = 0 ;
19975 int res1 = 0 ;
19976 PyObject *swig_obj[1] ;
19977
19978 if (!args) SWIG_fail;
19979 swig_obj[0] = args;
19980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19981 if (!SWIG_IsOK(res1)) {
19982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19983 }
19984 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19987 {
1bd55598
RD
19988 wxString const &_result_ref = (arg1)->GetFindString();
19989 result = (wxString *) &_result_ref;
d55e5bfc 19990 }
1bd55598
RD
19991 wxPyEndAllowThreads(__tstate);
19992 if (PyErr_Occurred()) SWIG_fail;
19993 }
19994 {
19995#if wxUSE_UNICODE
19996 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19997#else
19998 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19999#endif
20000 }
20001 return resultobj;
20002fail:
20003 return NULL;
d55e5bfc
RD
20004}
20005
20006
1bd55598
RD
20007SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20008 PyObject *resultobj = 0;
20009 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20010 wxString *result = 0 ;
20011 void *argp1 = 0 ;
20012 int res1 = 0 ;
20013 PyObject *swig_obj[1] ;
20014
20015 if (!args) SWIG_fail;
20016 swig_obj[0] = args;
20017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20018 if (!SWIG_IsOK(res1)) {
20019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20020 }
20021 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20022 {
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 20024 {
1bd55598
RD
20025 wxString const &_result_ref = (arg1)->GetReplaceString();
20026 result = (wxString *) &_result_ref;
d55e5bfc 20027 }
1bd55598
RD
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 {
20032#if wxUSE_UNICODE
20033 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20034#else
20035 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20036#endif
20037 }
20038 return resultobj;
20039fail:
20040 return NULL;
d55e5bfc
RD
20041}
20042
20043
1bd55598
RD
20044SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20045 PyObject *resultobj = 0;
20046 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20047 wxFindReplaceDialog *result = 0 ;
20048 void *argp1 = 0 ;
20049 int res1 = 0 ;
20050 PyObject *swig_obj[1] ;
20051
20052 if (!args) SWIG_fail;
20053 swig_obj[0] = args;
20054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20055 if (!SWIG_IsOK(res1)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20057 }
20058 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20059 {
20060 PyThreadState* __tstate = wxPyBeginAllowThreads();
20061 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20066 return resultobj;
20067fail:
20068 return NULL;
20069}
20070
20071
20072SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20073 PyObject *resultobj = 0;
20074 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20075 int arg2 ;
20076 void *argp1 = 0 ;
20077 int res1 = 0 ;
20078 int val2 ;
20079 int ecode2 = 0 ;
20080 PyObject * obj0 = 0 ;
20081 PyObject * obj1 = 0 ;
20082 char * kwnames[] = {
20083 (char *) "self",(char *) "flags", NULL
20084 };
20085
20086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20088 if (!SWIG_IsOK(res1)) {
20089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20090 }
20091 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20092 ecode2 = SWIG_AsVal_int(obj1, &val2);
20093 if (!SWIG_IsOK(ecode2)) {
20094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20095 }
20096 arg2 = static_cast< int >(val2);
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 (arg1)->SetFlags(arg2);
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = SWIG_Py_Void();
20104 return resultobj;
20105fail:
20106 return NULL;
20107}
20108
20109
20110SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj = 0;
20112 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20113 wxString *arg2 = 0 ;
20114 void *argp1 = 0 ;
20115 int res1 = 0 ;
20116 bool temp2 = false ;
20117 PyObject * obj0 = 0 ;
20118 PyObject * obj1 = 0 ;
20119 char * kwnames[] = {
20120 (char *) "self",(char *) "str", NULL
20121 };
20122
20123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20125 if (!SWIG_IsOK(res1)) {
20126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20127 }
20128 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20129 {
20130 arg2 = wxString_in_helper(obj1);
20131 if (arg2 == NULL) SWIG_fail;
20132 temp2 = true;
20133 }
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 (arg1)->SetFindString((wxString const &)*arg2);
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 resultobj = SWIG_Py_Void();
20141 {
20142 if (temp2)
20143 delete arg2;
20144 }
20145 return resultobj;
20146fail:
20147 {
20148 if (temp2)
20149 delete arg2;
20150 }
20151 return NULL;
d55e5bfc
RD
20152}
20153
20154
1bd55598
RD
20155SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20156 PyObject *resultobj = 0;
20157 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20158 wxString *arg2 = 0 ;
20159 void *argp1 = 0 ;
20160 int res1 = 0 ;
20161 bool temp2 = false ;
20162 PyObject * obj0 = 0 ;
20163 PyObject * obj1 = 0 ;
20164 char * kwnames[] = {
20165 (char *) "self",(char *) "str", NULL
20166 };
20167
20168 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20169 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20170 if (!SWIG_IsOK(res1)) {
20171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20172 }
20173 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20174 {
20175 arg2 = wxString_in_helper(obj1);
20176 if (arg2 == NULL) SWIG_fail;
20177 temp2 = true;
20178 }
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 (arg1)->SetReplaceString((wxString const &)*arg2);
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 resultobj = SWIG_Py_Void();
20186 {
20187 if (temp2)
20188 delete arg2;
20189 }
20190 return resultobj;
20191fail:
20192 {
20193 if (temp2)
20194 delete arg2;
20195 }
20196 return NULL;
d55e5bfc
RD
20197}
20198
20199
1bd55598
RD
20200SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20201 PyObject *obj;
20202 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20203 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20204 return SWIG_Py_Void();
d55e5bfc
RD
20205}
20206
1bd55598
RD
20207SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20208 return SWIG_Python_InitShadowInstance(args);
20209}
d55e5bfc 20210
1bd55598
RD
20211SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj = 0;
20213 int arg1 = (int) 0 ;
20214 wxFindReplaceData *result = 0 ;
20215 int val1 ;
20216 int ecode1 = 0 ;
20217 PyObject * obj0 = 0 ;
20218 char * kwnames[] = {
20219 (char *) "flags", NULL
20220 };
20221
20222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20223 if (obj0) {
20224 ecode1 = SWIG_AsVal_int(obj0, &val1);
20225 if (!SWIG_IsOK(ecode1)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20227 }
20228 arg1 = static_cast< int >(val1);
20229 }
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20237 return resultobj;
20238fail:
20239 return NULL;
d6c14a4c
RD
20240}
20241
20242
1bd55598
RD
20243SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20244 PyObject *resultobj = 0;
20245 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20246 void *argp1 = 0 ;
20247 int res1 = 0 ;
20248 PyObject *swig_obj[1] ;
20249
20250 if (!args) SWIG_fail;
20251 swig_obj[0] = args;
20252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20253 if (!SWIG_IsOK(res1)) {
20254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20255 }
20256 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20257 {
20258 PyThreadState* __tstate = wxPyBeginAllowThreads();
20259 delete arg1;
d55e5bfc 20260
1bd55598
RD
20261 wxPyEndAllowThreads(__tstate);
20262 if (PyErr_Occurred()) SWIG_fail;
20263 }
20264 resultobj = SWIG_Py_Void();
20265 return resultobj;
20266fail:
20267 return NULL;
d55e5bfc
RD
20268}
20269
20270
1bd55598
RD
20271SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20272 PyObject *resultobj = 0;
20273 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20274 wxString *result = 0 ;
20275 void *argp1 = 0 ;
20276 int res1 = 0 ;
20277 PyObject *swig_obj[1] ;
20278
20279 if (!args) SWIG_fail;
20280 swig_obj[0] = args;
20281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20282 if (!SWIG_IsOK(res1)) {
20283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20284 }
20285 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20286 {
20287 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 20288 {
1bd55598
RD
20289 wxString const &_result_ref = (arg1)->GetFindString();
20290 result = (wxString *) &_result_ref;
20291 }
20292 wxPyEndAllowThreads(__tstate);
20293 if (PyErr_Occurred()) SWIG_fail;
20294 }
20295 {
20296#if wxUSE_UNICODE
20297 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20298#else
20299 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20300#endif
20301 }
20302 return resultobj;
20303fail:
20304 return NULL;
7e08d4ef
RD
20305}
20306
20307
1bd55598
RD
20308SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20309 PyObject *resultobj = 0;
20310 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20311 wxString *result = 0 ;
20312 void *argp1 = 0 ;
20313 int res1 = 0 ;
20314 PyObject *swig_obj[1] ;
20315
20316 if (!args) SWIG_fail;
20317 swig_obj[0] = args;
20318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20319 if (!SWIG_IsOK(res1)) {
20320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20321 }
20322 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20323 {
20324 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 20325 {
1bd55598
RD
20326 wxString const &_result_ref = (arg1)->GetReplaceString();
20327 result = (wxString *) &_result_ref;
36ed4f51 20328 }
1bd55598
RD
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
20332 {
20333#if wxUSE_UNICODE
20334 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20335#else
20336 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20337#endif
20338 }
20339 return resultobj;
20340fail:
20341 return NULL;
d55e5bfc
RD
20342}
20343
20344
1bd55598
RD
20345SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20346 PyObject *resultobj = 0;
20347 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20348 int result;
20349 void *argp1 = 0 ;
20350 int res1 = 0 ;
20351 PyObject *swig_obj[1] ;
20352
20353 if (!args) SWIG_fail;
20354 swig_obj[0] = args;
20355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20356 if (!SWIG_IsOK(res1)) {
20357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20358 }
20359 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20360 {
20361 PyThreadState* __tstate = wxPyBeginAllowThreads();
20362 result = (int)(arg1)->GetFlags();
20363 wxPyEndAllowThreads(__tstate);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
20366 resultobj = SWIG_From_int(static_cast< int >(result));
20367 return resultobj;
20368fail:
20369 return NULL;
20370}
20371
20372
20373SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20374 PyObject *resultobj = 0;
20375 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20376 int arg2 ;
20377 void *argp1 = 0 ;
20378 int res1 = 0 ;
20379 int val2 ;
20380 int ecode2 = 0 ;
20381 PyObject * obj0 = 0 ;
20382 PyObject * obj1 = 0 ;
20383 char * kwnames[] = {
20384 (char *) "self",(char *) "flags", NULL
20385 };
20386
20387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20389 if (!SWIG_IsOK(res1)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20391 }
20392 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20393 ecode2 = SWIG_AsVal_int(obj1, &val2);
20394 if (!SWIG_IsOK(ecode2)) {
20395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20396 }
20397 arg2 = static_cast< int >(val2);
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 (arg1)->SetFlags(arg2);
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 resultobj = SWIG_Py_Void();
20405 return resultobj;
20406fail:
20407 return NULL;
20408}
20409
20410
20411SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj = 0;
20413 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20414 wxString *arg2 = 0 ;
20415 void *argp1 = 0 ;
20416 int res1 = 0 ;
20417 bool temp2 = false ;
20418 PyObject * obj0 = 0 ;
20419 PyObject * obj1 = 0 ;
20420 char * kwnames[] = {
20421 (char *) "self",(char *) "str", NULL
20422 };
20423
20424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20426 if (!SWIG_IsOK(res1)) {
20427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20428 }
20429 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20430 {
20431 arg2 = wxString_in_helper(obj1);
20432 if (arg2 == NULL) SWIG_fail;
20433 temp2 = true;
20434 }
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 (arg1)->SetFindString((wxString const &)*arg2);
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
20441 resultobj = SWIG_Py_Void();
20442 {
20443 if (temp2)
20444 delete arg2;
20445 }
20446 return resultobj;
20447fail:
20448 {
20449 if (temp2)
20450 delete arg2;
20451 }
20452 return NULL;
d55e5bfc
RD
20453}
20454
20455
1bd55598
RD
20456SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20457 PyObject *resultobj = 0;
20458 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20459 wxString *arg2 = 0 ;
20460 void *argp1 = 0 ;
20461 int res1 = 0 ;
20462 bool temp2 = false ;
20463 PyObject * obj0 = 0 ;
20464 PyObject * obj1 = 0 ;
20465 char * kwnames[] = {
20466 (char *) "self",(char *) "str", NULL
20467 };
20468
20469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20471 if (!SWIG_IsOK(res1)) {
20472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20473 }
20474 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20475 {
20476 arg2 = wxString_in_helper(obj1);
20477 if (arg2 == NULL) SWIG_fail;
20478 temp2 = true;
20479 }
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 (arg1)->SetReplaceString((wxString const &)*arg2);
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
20486 resultobj = SWIG_Py_Void();
20487 {
20488 if (temp2)
20489 delete arg2;
20490 }
20491 return resultobj;
20492fail:
20493 {
20494 if (temp2)
20495 delete arg2;
20496 }
20497 return NULL;
20498}
20499
20500
20501SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20502 PyObject *obj;
20503 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20504 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20505 return SWIG_Py_Void();
20506}
20507
20508SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20509 return SWIG_Python_InitShadowInstance(args);
20510}
20511
20512SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20513 PyObject *resultobj = 0;
20514 wxWindow *arg1 = (wxWindow *) 0 ;
20515 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20516 wxString *arg3 = 0 ;
20517 int arg4 = (int) 0 ;
20518 wxFindReplaceDialog *result = 0 ;
20519 void *argp1 = 0 ;
20520 int res1 = 0 ;
20521 void *argp2 = 0 ;
20522 int res2 = 0 ;
20523 bool temp3 = false ;
20524 int val4 ;
20525 int ecode4 = 0 ;
20526 PyObject * obj0 = 0 ;
20527 PyObject * obj1 = 0 ;
20528 PyObject * obj2 = 0 ;
20529 PyObject * obj3 = 0 ;
20530 char * kwnames[] = {
20531 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20532 };
20533
20534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20536 if (!SWIG_IsOK(res1)) {
20537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20538 }
20539 arg1 = reinterpret_cast< wxWindow * >(argp1);
20540 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20541 if (!SWIG_IsOK(res2)) {
20542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20543 }
20544 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20545 {
20546 arg3 = wxString_in_helper(obj2);
20547 if (arg3 == NULL) SWIG_fail;
20548 temp3 = true;
20549 }
20550 if (obj3) {
20551 ecode4 = SWIG_AsVal_int(obj3, &val4);
20552 if (!SWIG_IsOK(ecode4)) {
20553 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20554 }
20555 arg4 = static_cast< int >(val4);
20556 }
20557 {
20558 if (!wxPyCheckForApp()) SWIG_fail;
20559 PyThreadState* __tstate = wxPyBeginAllowThreads();
20560 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20565 {
20566 if (temp3)
20567 delete arg3;
20568 }
20569 return resultobj;
20570fail:
20571 {
20572 if (temp3)
20573 delete arg3;
20574 }
20575 return NULL;
b411df4a
RD
20576}
20577
20578
1bd55598
RD
20579SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20580 PyObject *resultobj = 0;
20581 wxFindReplaceDialog *result = 0 ;
20582
20583 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20584 {
20585 if (!wxPyCheckForApp()) SWIG_fail;
20586 PyThreadState* __tstate = wxPyBeginAllowThreads();
20587 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20588 wxPyEndAllowThreads(__tstate);
20589 if (PyErr_Occurred()) SWIG_fail;
20590 }
20591 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20592 return resultobj;
20593fail:
20594 return NULL;
20595}
20596
20597
20598SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj = 0;
20600 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20601 wxWindow *arg2 = (wxWindow *) 0 ;
20602 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20603 wxString *arg4 = 0 ;
20604 int arg5 = (int) 0 ;
20605 bool result;
20606 void *argp1 = 0 ;
20607 int res1 = 0 ;
20608 void *argp2 = 0 ;
20609 int res2 = 0 ;
20610 void *argp3 = 0 ;
20611 int res3 = 0 ;
20612 bool temp4 = false ;
20613 int val5 ;
20614 int ecode5 = 0 ;
20615 PyObject * obj0 = 0 ;
20616 PyObject * obj1 = 0 ;
20617 PyObject * obj2 = 0 ;
20618 PyObject * obj3 = 0 ;
20619 PyObject * obj4 = 0 ;
20620 char * kwnames[] = {
20621 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20622 };
20623
20624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20626 if (!SWIG_IsOK(res1)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20628 }
20629 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20630 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20631 if (!SWIG_IsOK(res2)) {
20632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20633 }
20634 arg2 = reinterpret_cast< wxWindow * >(argp2);
20635 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20636 if (!SWIG_IsOK(res3)) {
20637 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20638 }
20639 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20640 {
20641 arg4 = wxString_in_helper(obj3);
20642 if (arg4 == NULL) SWIG_fail;
20643 temp4 = true;
20644 }
20645 if (obj4) {
20646 ecode5 = SWIG_AsVal_int(obj4, &val5);
20647 if (!SWIG_IsOK(ecode5)) {
20648 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20649 }
20650 arg5 = static_cast< int >(val5);
20651 }
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20655 wxPyEndAllowThreads(__tstate);
20656 if (PyErr_Occurred()) SWIG_fail;
20657 }
20658 {
20659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20660 }
20661 {
20662 if (temp4)
20663 delete arg4;
20664 }
20665 return resultobj;
20666fail:
20667 {
20668 if (temp4)
20669 delete arg4;
20670 }
20671 return NULL;
b411df4a
RD
20672}
20673
20674
1bd55598
RD
20675SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20676 PyObject *resultobj = 0;
20677 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20678 wxFindReplaceData *result = 0 ;
20679 void *argp1 = 0 ;
20680 int res1 = 0 ;
20681 PyObject *swig_obj[1] ;
20682
20683 if (!args) SWIG_fail;
20684 swig_obj[0] = args;
20685 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20686 if (!SWIG_IsOK(res1)) {
20687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20688 }
20689 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20690 {
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
20692 result = (wxFindReplaceData *)(arg1)->GetData();
20693 wxPyEndAllowThreads(__tstate);
20694 if (PyErr_Occurred()) SWIG_fail;
20695 }
20696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20697 return resultobj;
20698fail:
20699 return NULL;
20700}
20701
20702
20703SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20704 PyObject *resultobj = 0;
20705 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20706 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20707 void *argp1 = 0 ;
20708 int res1 = 0 ;
20709 void *argp2 = 0 ;
20710 int res2 = 0 ;
20711 PyObject * obj0 = 0 ;
20712 PyObject * obj1 = 0 ;
20713 char * kwnames[] = {
20714 (char *) "self",(char *) "data", NULL
20715 };
20716
20717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20719 if (!SWIG_IsOK(res1)) {
20720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20721 }
20722 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20723 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20724 if (!SWIG_IsOK(res2)) {
20725 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20726 }
20727 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
20730 (arg1)->SetData(arg2);
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 resultobj = SWIG_Py_Void();
20735 return resultobj;
20736fail:
20737 return NULL;
20738}
20739
20740
20741SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20742 PyObject *obj;
20743 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20744 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20745 return SWIG_Py_Void();
20746}
20747
20748SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20749 return SWIG_Python_InitShadowInstance(args);
20750}
20751
20752SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj = 0;
20754 wxWindow *arg1 = (wxWindow *) 0 ;
20755 int arg2 = (int) (int)-1 ;
20756 wxString const &arg3_defvalue = wxPyEmptyString ;
20757 wxString *arg3 = (wxString *) &arg3_defvalue ;
20758 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20759 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20760 wxSize const &arg5_defvalue = wxDefaultSize ;
20761 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20762 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20763 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20764 wxString *arg7 = (wxString *) &arg7_defvalue ;
20765 wxMDIParentFrame *result = 0 ;
20766 void *argp1 = 0 ;
20767 int res1 = 0 ;
20768 int val2 ;
20769 int ecode2 = 0 ;
20770 bool temp3 = false ;
20771 wxPoint temp4 ;
20772 wxSize temp5 ;
20773 long val6 ;
20774 int ecode6 = 0 ;
20775 bool temp7 = false ;
20776 PyObject * obj0 = 0 ;
20777 PyObject * obj1 = 0 ;
20778 PyObject * obj2 = 0 ;
20779 PyObject * obj3 = 0 ;
20780 PyObject * obj4 = 0 ;
20781 PyObject * obj5 = 0 ;
20782 PyObject * obj6 = 0 ;
20783 char * kwnames[] = {
20784 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20785 };
20786
20787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20789 if (!SWIG_IsOK(res1)) {
20790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20791 }
20792 arg1 = reinterpret_cast< wxWindow * >(argp1);
20793 if (obj1) {
20794 ecode2 = SWIG_AsVal_int(obj1, &val2);
20795 if (!SWIG_IsOK(ecode2)) {
20796 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20797 }
20798 arg2 = static_cast< int >(val2);
20799 }
20800 if (obj2) {
b411df4a 20801 {
1bd55598
RD
20802 arg3 = wxString_in_helper(obj2);
20803 if (arg3 == NULL) SWIG_fail;
20804 temp3 = true;
b411df4a 20805 }
1bd55598
RD
20806 }
20807 if (obj3) {
b411df4a 20808 {
1bd55598
RD
20809 arg4 = &temp4;
20810 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b411df4a 20811 }
1bd55598
RD
20812 }
20813 if (obj4) {
b411df4a 20814 {
1bd55598
RD
20815 arg5 = &temp5;
20816 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20817 }
1bd55598
RD
20818 }
20819 if (obj5) {
20820 ecode6 = SWIG_AsVal_long(obj5, &val6);
20821 if (!SWIG_IsOK(ecode6)) {
20822 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20823 }
20824 arg6 = static_cast< long >(val6);
20825 }
20826 if (obj6) {
b411df4a 20827 {
1bd55598
RD
20828 arg7 = wxString_in_helper(obj6);
20829 if (arg7 == NULL) SWIG_fail;
20830 temp7 = true;
b411df4a 20831 }
1bd55598
RD
20832 }
20833 {
20834 if (!wxPyCheckForApp()) SWIG_fail;
20835 PyThreadState* __tstate = wxPyBeginAllowThreads();
20836 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20841 {
20842 if (temp3)
20843 delete arg3;
20844 }
20845 {
20846 if (temp7)
20847 delete arg7;
20848 }
20849 return resultobj;
20850fail:
20851 {
20852 if (temp3)
20853 delete arg3;
20854 }
20855 {
20856 if (temp7)
20857 delete arg7;
20858 }
20859 return NULL;
b411df4a
RD
20860}
20861
20862
1bd55598
RD
20863SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20864 PyObject *resultobj = 0;
20865 wxMDIParentFrame *result = 0 ;
20866
20867 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20868 {
20869 if (!wxPyCheckForApp()) SWIG_fail;
20870 PyThreadState* __tstate = wxPyBeginAllowThreads();
20871 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20872 wxPyEndAllowThreads(__tstate);
20873 if (PyErr_Occurred()) SWIG_fail;
20874 }
20875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20876 return resultobj;
20877fail:
20878 return NULL;
20879}
20880
20881
20882SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20883 PyObject *resultobj = 0;
20884 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20885 wxWindow *arg2 = (wxWindow *) 0 ;
20886 int arg3 = (int) (int)-1 ;
20887 wxString const &arg4_defvalue = wxPyEmptyString ;
20888 wxString *arg4 = (wxString *) &arg4_defvalue ;
20889 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20890 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20891 wxSize const &arg6_defvalue = wxDefaultSize ;
20892 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20893 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20894 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20895 wxString *arg8 = (wxString *) &arg8_defvalue ;
20896 bool result;
20897 void *argp1 = 0 ;
20898 int res1 = 0 ;
20899 void *argp2 = 0 ;
20900 int res2 = 0 ;
20901 int val3 ;
20902 int ecode3 = 0 ;
20903 bool temp4 = false ;
20904 wxPoint temp5 ;
20905 wxSize temp6 ;
20906 long val7 ;
20907 int ecode7 = 0 ;
20908 bool temp8 = false ;
20909 PyObject * obj0 = 0 ;
20910 PyObject * obj1 = 0 ;
20911 PyObject * obj2 = 0 ;
20912 PyObject * obj3 = 0 ;
20913 PyObject * obj4 = 0 ;
20914 PyObject * obj5 = 0 ;
20915 PyObject * obj6 = 0 ;
20916 PyObject * obj7 = 0 ;
20917 char * kwnames[] = {
20918 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20919 };
20920
20921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20923 if (!SWIG_IsOK(res1)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20925 }
20926 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20927 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20928 if (!SWIG_IsOK(res2)) {
20929 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20930 }
20931 arg2 = reinterpret_cast< wxWindow * >(argp2);
20932 if (obj2) {
20933 ecode3 = SWIG_AsVal_int(obj2, &val3);
20934 if (!SWIG_IsOK(ecode3)) {
20935 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20936 }
20937 arg3 = static_cast< int >(val3);
20938 }
20939 if (obj3) {
b411df4a 20940 {
1bd55598
RD
20941 arg4 = wxString_in_helper(obj3);
20942 if (arg4 == NULL) SWIG_fail;
20943 temp4 = true;
b411df4a 20944 }
1bd55598
RD
20945 }
20946 if (obj4) {
b411df4a 20947 {
1bd55598
RD
20948 arg5 = &temp5;
20949 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20950 }
1bd55598
RD
20951 }
20952 if (obj5) {
b411df4a 20953 {
1bd55598
RD
20954 arg6 = &temp6;
20955 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b411df4a 20956 }
1bd55598
RD
20957 }
20958 if (obj6) {
20959 ecode7 = SWIG_AsVal_long(obj6, &val7);
20960 if (!SWIG_IsOK(ecode7)) {
20961 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20962 }
20963 arg7 = static_cast< long >(val7);
20964 }
20965 if (obj7) {
36ed4f51 20966 {
1bd55598
RD
20967 arg8 = wxString_in_helper(obj7);
20968 if (arg8 == NULL) SWIG_fail;
20969 temp8 = true;
36ed4f51 20970 }
1bd55598
RD
20971 }
20972 {
20973 PyThreadState* __tstate = wxPyBeginAllowThreads();
20974 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20975 wxPyEndAllowThreads(__tstate);
20976 if (PyErr_Occurred()) SWIG_fail;
20977 }
20978 {
20979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20980 }
20981 {
20982 if (temp4)
20983 delete arg4;
20984 }
20985 {
20986 if (temp8)
20987 delete arg8;
20988 }
20989 return resultobj;
20990fail:
20991 {
20992 if (temp4)
20993 delete arg4;
20994 }
20995 {
20996 if (temp8)
20997 delete arg8;
20998 }
20999 return NULL;
d55e5bfc
RD
21000}
21001
21002
1bd55598
RD
21003SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21004 PyObject *resultobj = 0;
21005 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21006 void *argp1 = 0 ;
21007 int res1 = 0 ;
21008 PyObject *swig_obj[1] ;
21009
21010 if (!args) SWIG_fail;
21011 swig_obj[0] = args;
21012 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21013 if (!SWIG_IsOK(res1)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21015 }
21016 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21017 {
21018 PyThreadState* __tstate = wxPyBeginAllowThreads();
21019 (arg1)->ActivateNext();
21020 wxPyEndAllowThreads(__tstate);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 resultobj = SWIG_Py_Void();
21024 return resultobj;
21025fail:
21026 return NULL;
d55e5bfc
RD
21027}
21028
21029
1bd55598
RD
21030SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21031 PyObject *resultobj = 0;
21032 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21033 void *argp1 = 0 ;
21034 int res1 = 0 ;
21035 PyObject *swig_obj[1] ;
21036
21037 if (!args) SWIG_fail;
21038 swig_obj[0] = args;
21039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21040 if (!SWIG_IsOK(res1)) {
21041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21042 }
21043 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21044 {
21045 PyThreadState* __tstate = wxPyBeginAllowThreads();
21046 (arg1)->ActivatePrevious();
21047 wxPyEndAllowThreads(__tstate);
21048 if (PyErr_Occurred()) SWIG_fail;
21049 }
21050 resultobj = SWIG_Py_Void();
21051 return resultobj;
21052fail:
21053 return NULL;
d55e5bfc
RD
21054}
21055
21056
1bd55598
RD
21057SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21058 PyObject *resultobj = 0;
21059 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21060 void *argp1 = 0 ;
21061 int res1 = 0 ;
21062 PyObject *swig_obj[1] ;
21063
21064 if (!args) SWIG_fail;
21065 swig_obj[0] = args;
21066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21067 if (!SWIG_IsOK(res1)) {
21068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21069 }
21070 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21071 {
21072 PyThreadState* __tstate = wxPyBeginAllowThreads();
21073 (arg1)->ArrangeIcons();
21074 wxPyEndAllowThreads(__tstate);
21075 if (PyErr_Occurred()) SWIG_fail;
21076 }
21077 resultobj = SWIG_Py_Void();
21078 return resultobj;
21079fail:
21080 return NULL;
d55e5bfc
RD
21081}
21082
21083
1bd55598
RD
21084SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21085 PyObject *resultobj = 0;
21086 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21087 void *argp1 = 0 ;
21088 int res1 = 0 ;
21089 PyObject *swig_obj[1] ;
21090
21091 if (!args) SWIG_fail;
21092 swig_obj[0] = args;
21093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21094 if (!SWIG_IsOK(res1)) {
21095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21096 }
21097 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21098 {
21099 PyThreadState* __tstate = wxPyBeginAllowThreads();
21100 (arg1)->Cascade();
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 resultobj = SWIG_Py_Void();
21105 return resultobj;
21106fail:
21107 return NULL;
d55e5bfc
RD
21108}
21109
21110
1bd55598
RD
21111SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21112 PyObject *resultobj = 0;
21113 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21114 wxMDIChildFrame *result = 0 ;
21115 void *argp1 = 0 ;
21116 int res1 = 0 ;
21117 PyObject *swig_obj[1] ;
21118
21119 if (!args) SWIG_fail;
21120 swig_obj[0] = args;
21121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21122 if (!SWIG_IsOK(res1)) {
21123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21124 }
21125 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21126 {
21127 PyThreadState* __tstate = wxPyBeginAllowThreads();
21128 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21129 wxPyEndAllowThreads(__tstate);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 }
21132 {
21133 resultobj = wxPyMake_wxObject(result, (bool)0);
21134 }
21135 return resultobj;
21136fail:
21137 return NULL;
d55e5bfc
RD
21138}
21139
21140
1bd55598
RD
21141SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21142 PyObject *resultobj = 0;
21143 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21144 wxMDIClientWindow *result = 0 ;
21145 void *argp1 = 0 ;
21146 int res1 = 0 ;
21147 PyObject *swig_obj[1] ;
21148
21149 if (!args) SWIG_fail;
21150 swig_obj[0] = args;
21151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21152 if (!SWIG_IsOK(res1)) {
21153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21154 }
21155 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21156 {
21157 PyThreadState* __tstate = wxPyBeginAllowThreads();
21158 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21159 wxPyEndAllowThreads(__tstate);
21160 if (PyErr_Occurred()) SWIG_fail;
21161 }
21162 {
21163 resultobj = wxPyMake_wxObject(result, (bool)0);
21164 }
21165 return resultobj;
21166fail:
21167 return NULL;
d55e5bfc
RD
21168}
21169
21170
1bd55598
RD
21171SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21172 PyObject *resultobj = 0;
21173 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21174 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21175 void *argp1 = 0 ;
21176 int res1 = 0 ;
21177 int val2 ;
21178 int ecode2 = 0 ;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 char * kwnames[] = {
21182 (char *) "self",(char *) "orient", NULL
21183 };
21184
21185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21187 if (!SWIG_IsOK(res1)) {
21188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21189 }
21190 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21191 if (obj1) {
21192 ecode2 = SWIG_AsVal_int(obj1, &val2);
21193 if (!SWIG_IsOK(ecode2)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21195 }
21196 arg2 = static_cast< wxOrientation >(val2);
21197 }
21198 {
21199 PyThreadState* __tstate = wxPyBeginAllowThreads();
21200 (arg1)->Tile(arg2);
21201 wxPyEndAllowThreads(__tstate);
21202 if (PyErr_Occurred()) SWIG_fail;
21203 }
21204 resultobj = SWIG_Py_Void();
21205 return resultobj;
21206fail:
21207 return NULL;
21208}
21209
21210
21211SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21212 PyObject *obj;
21213 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21214 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21215 return SWIG_Py_Void();
21216}
21217
21218SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21219 return SWIG_Python_InitShadowInstance(args);
21220}
21221
21222SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21223 PyObject *resultobj = 0;
21224 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21225 int arg2 = (int) (int)-1 ;
21226 wxString const &arg3_defvalue = wxPyEmptyString ;
21227 wxString *arg3 = (wxString *) &arg3_defvalue ;
21228 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21229 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21230 wxSize const &arg5_defvalue = wxDefaultSize ;
21231 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21232 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21233 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21234 wxString *arg7 = (wxString *) &arg7_defvalue ;
21235 wxMDIChildFrame *result = 0 ;
21236 void *argp1 = 0 ;
21237 int res1 = 0 ;
21238 int val2 ;
21239 int ecode2 = 0 ;
21240 bool temp3 = false ;
21241 wxPoint temp4 ;
21242 wxSize temp5 ;
21243 long val6 ;
21244 int ecode6 = 0 ;
21245 bool temp7 = false ;
21246 PyObject * obj0 = 0 ;
21247 PyObject * obj1 = 0 ;
21248 PyObject * obj2 = 0 ;
21249 PyObject * obj3 = 0 ;
21250 PyObject * obj4 = 0 ;
21251 PyObject * obj5 = 0 ;
21252 PyObject * obj6 = 0 ;
21253 char * kwnames[] = {
21254 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21255 };
21256
21257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21259 if (!SWIG_IsOK(res1)) {
21260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21261 }
21262 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21263 if (obj1) {
21264 ecode2 = SWIG_AsVal_int(obj1, &val2);
21265 if (!SWIG_IsOK(ecode2)) {
21266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21267 }
21268 arg2 = static_cast< int >(val2);
21269 }
21270 if (obj2) {
d55e5bfc 21271 {
1bd55598
RD
21272 arg3 = wxString_in_helper(obj2);
21273 if (arg3 == NULL) SWIG_fail;
21274 temp3 = true;
d55e5bfc 21275 }
1bd55598
RD
21276 }
21277 if (obj3) {
d55e5bfc 21278 {
1bd55598
RD
21279 arg4 = &temp4;
21280 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 21281 }
1bd55598
RD
21282 }
21283 if (obj4) {
d55e5bfc 21284 {
1bd55598
RD
21285 arg5 = &temp5;
21286 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21287 }
1bd55598
RD
21288 }
21289 if (obj5) {
21290 ecode6 = SWIG_AsVal_long(obj5, &val6);
21291 if (!SWIG_IsOK(ecode6)) {
21292 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21293 }
21294 arg6 = static_cast< long >(val6);
21295 }
21296 if (obj6) {
d55e5bfc 21297 {
1bd55598
RD
21298 arg7 = wxString_in_helper(obj6);
21299 if (arg7 == NULL) SWIG_fail;
21300 temp7 = true;
d55e5bfc 21301 }
1bd55598
RD
21302 }
21303 {
21304 if (!wxPyCheckForApp()) SWIG_fail;
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21307 wxPyEndAllowThreads(__tstate);
21308 if (PyErr_Occurred()) SWIG_fail;
21309 }
21310 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21311 {
21312 if (temp3)
21313 delete arg3;
21314 }
21315 {
21316 if (temp7)
21317 delete arg7;
21318 }
21319 return resultobj;
21320fail:
21321 {
21322 if (temp3)
21323 delete arg3;
21324 }
21325 {
21326 if (temp7)
21327 delete arg7;
21328 }
21329 return NULL;
d55e5bfc
RD
21330}
21331
21332
1bd55598
RD
21333SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21334 PyObject *resultobj = 0;
21335 wxMDIChildFrame *result = 0 ;
21336
21337 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21338 {
21339 if (!wxPyCheckForApp()) SWIG_fail;
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21342 wxPyEndAllowThreads(__tstate);
21343 if (PyErr_Occurred()) SWIG_fail;
21344 }
21345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21346 return resultobj;
21347fail:
21348 return NULL;
21349}
21350
21351
21352SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj = 0;
21354 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21355 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21356 int arg3 = (int) (int)-1 ;
21357 wxString const &arg4_defvalue = wxPyEmptyString ;
21358 wxString *arg4 = (wxString *) &arg4_defvalue ;
21359 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21360 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21361 wxSize const &arg6_defvalue = wxDefaultSize ;
21362 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21363 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21364 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21365 wxString *arg8 = (wxString *) &arg8_defvalue ;
21366 bool result;
21367 void *argp1 = 0 ;
21368 int res1 = 0 ;
21369 void *argp2 = 0 ;
21370 int res2 = 0 ;
21371 int val3 ;
21372 int ecode3 = 0 ;
21373 bool temp4 = false ;
21374 wxPoint temp5 ;
21375 wxSize temp6 ;
21376 long val7 ;
21377 int ecode7 = 0 ;
21378 bool temp8 = false ;
21379 PyObject * obj0 = 0 ;
21380 PyObject * obj1 = 0 ;
21381 PyObject * obj2 = 0 ;
21382 PyObject * obj3 = 0 ;
21383 PyObject * obj4 = 0 ;
21384 PyObject * obj5 = 0 ;
21385 PyObject * obj6 = 0 ;
21386 PyObject * obj7 = 0 ;
21387 char * kwnames[] = {
21388 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21389 };
21390
21391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21393 if (!SWIG_IsOK(res1)) {
21394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21395 }
21396 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21397 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21398 if (!SWIG_IsOK(res2)) {
21399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21400 }
21401 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21402 if (obj2) {
21403 ecode3 = SWIG_AsVal_int(obj2, &val3);
21404 if (!SWIG_IsOK(ecode3)) {
21405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21406 }
21407 arg3 = static_cast< int >(val3);
21408 }
21409 if (obj3) {
36ed4f51 21410 {
1bd55598
RD
21411 arg4 = wxString_in_helper(obj3);
21412 if (arg4 == NULL) SWIG_fail;
21413 temp4 = true;
36ed4f51 21414 }
1bd55598
RD
21415 }
21416 if (obj4) {
d55e5bfc 21417 {
1bd55598
RD
21418 arg5 = &temp5;
21419 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21420 }
1bd55598
RD
21421 }
21422 if (obj5) {
d55e5bfc 21423 {
1bd55598
RD
21424 arg6 = &temp6;
21425 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 21426 }
1bd55598
RD
21427 }
21428 if (obj6) {
21429 ecode7 = SWIG_AsVal_long(obj6, &val7);
21430 if (!SWIG_IsOK(ecode7)) {
21431 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21432 }
21433 arg7 = static_cast< long >(val7);
21434 }
21435 if (obj7) {
36ed4f51 21436 {
1bd55598
RD
21437 arg8 = wxString_in_helper(obj7);
21438 if (arg8 == NULL) SWIG_fail;
21439 temp8 = true;
36ed4f51 21440 }
1bd55598
RD
21441 }
21442 {
21443 PyThreadState* __tstate = wxPyBeginAllowThreads();
21444 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 {
21449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21450 }
21451 {
21452 if (temp4)
21453 delete arg4;
21454 }
21455 {
21456 if (temp8)
21457 delete arg8;
21458 }
21459 return resultobj;
21460fail:
21461 {
21462 if (temp4)
21463 delete arg4;
21464 }
21465 {
21466 if (temp8)
21467 delete arg8;
21468 }
21469 return NULL;
d55e5bfc
RD
21470}
21471
21472
1bd55598
RD
21473SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21474 PyObject *resultobj = 0;
21475 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21476 void *argp1 = 0 ;
21477 int res1 = 0 ;
21478 PyObject *swig_obj[1] ;
21479
21480 if (!args) SWIG_fail;
21481 swig_obj[0] = args;
21482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21483 if (!SWIG_IsOK(res1)) {
21484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21485 }
21486 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 (arg1)->Activate();
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 resultobj = SWIG_Py_Void();
21494 return resultobj;
21495fail:
21496 return NULL;
d55e5bfc
RD
21497}
21498
21499
1bd55598
RD
21500SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21501 PyObject *obj;
21502 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21503 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21504 return SWIG_Py_Void();
d55e5bfc
RD
21505}
21506
1bd55598
RD
21507SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21508 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21509}
21510
1bd55598
RD
21511SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21512 PyObject *resultobj = 0;
21513 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21514 long arg2 = (long) 0 ;
21515 wxMDIClientWindow *result = 0 ;
21516 void *argp1 = 0 ;
21517 int res1 = 0 ;
21518 long val2 ;
21519 int ecode2 = 0 ;
21520 PyObject * obj0 = 0 ;
21521 PyObject * obj1 = 0 ;
21522 char * kwnames[] = {
21523 (char *) "parent",(char *) "style", NULL
21524 };
21525
21526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21528 if (!SWIG_IsOK(res1)) {
21529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21530 }
21531 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21532 if (obj1) {
21533 ecode2 = SWIG_AsVal_long(obj1, &val2);
21534 if (!SWIG_IsOK(ecode2)) {
21535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21536 }
21537 arg2 = static_cast< long >(val2);
21538 }
21539 {
21540 if (!wxPyCheckForApp()) SWIG_fail;
21541 PyThreadState* __tstate = wxPyBeginAllowThreads();
21542 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21543 wxPyEndAllowThreads(__tstate);
21544 if (PyErr_Occurred()) SWIG_fail;
21545 }
21546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21547 return resultobj;
21548fail:
21549 return NULL;
d55e5bfc
RD
21550}
21551
21552
1bd55598
RD
21553SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21554 PyObject *resultobj = 0;
21555 wxMDIClientWindow *result = 0 ;
21556
21557 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21558 {
21559 if (!wxPyCheckForApp()) SWIG_fail;
21560 PyThreadState* __tstate = wxPyBeginAllowThreads();
21561 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21566 return resultobj;
21567fail:
21568 return NULL;
21569}
21570
21571
21572SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21573 PyObject *resultobj = 0;
21574 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21575 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21576 long arg3 = (long) 0 ;
21577 bool result;
21578 void *argp1 = 0 ;
21579 int res1 = 0 ;
21580 void *argp2 = 0 ;
21581 int res2 = 0 ;
21582 long val3 ;
21583 int ecode3 = 0 ;
21584 PyObject * obj0 = 0 ;
21585 PyObject * obj1 = 0 ;
21586 PyObject * obj2 = 0 ;
21587 char * kwnames[] = {
21588 (char *) "self",(char *) "parent",(char *) "style", NULL
21589 };
21590
21591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21593 if (!SWIG_IsOK(res1)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21595 }
21596 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21597 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21598 if (!SWIG_IsOK(res2)) {
21599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21600 }
21601 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21602 if (obj2) {
21603 ecode3 = SWIG_AsVal_long(obj2, &val3);
21604 if (!SWIG_IsOK(ecode3)) {
21605 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21606 }
21607 arg3 = static_cast< long >(val3);
21608 }
21609 {
21610 PyThreadState* __tstate = wxPyBeginAllowThreads();
21611 result = (bool)(arg1)->Create(arg2,arg3);
21612 wxPyEndAllowThreads(__tstate);
21613 if (PyErr_Occurred()) SWIG_fail;
21614 }
21615 {
21616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21617 }
21618 return resultobj;
21619fail:
21620 return NULL;
21621}
21622
21623
21624SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21625 PyObject *obj;
21626 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21627 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21628 return SWIG_Py_Void();
21629}
21630
21631SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21632 return SWIG_Python_InitShadowInstance(args);
21633}
21634
21635SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21636 PyObject *resultobj = 0;
21637 wxWindow *arg1 = (wxWindow *) 0 ;
21638 int arg2 = (int) (int)-1 ;
21639 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21640 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21641 wxSize const &arg4_defvalue = wxDefaultSize ;
21642 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21643 long arg5 = (long) 0 ;
21644 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21645 wxString *arg6 = (wxString *) &arg6_defvalue ;
21646 wxPyWindow *result = 0 ;
21647 void *argp1 = 0 ;
21648 int res1 = 0 ;
21649 int val2 ;
21650 int ecode2 = 0 ;
21651 wxPoint temp3 ;
21652 wxSize temp4 ;
21653 long val5 ;
21654 int ecode5 = 0 ;
21655 bool temp6 = false ;
21656 PyObject * obj0 = 0 ;
21657 PyObject * obj1 = 0 ;
21658 PyObject * obj2 = 0 ;
21659 PyObject * obj3 = 0 ;
21660 PyObject * obj4 = 0 ;
21661 PyObject * obj5 = 0 ;
21662 char * kwnames[] = {
21663 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21664 };
21665
21666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21668 if (!SWIG_IsOK(res1)) {
21669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21670 }
21671 arg1 = reinterpret_cast< wxWindow * >(argp1);
21672 if (obj1) {
21673 ecode2 = SWIG_AsVal_int(obj1, &val2);
21674 if (!SWIG_IsOK(ecode2)) {
21675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21676 }
21677 arg2 = static_cast< int >(val2);
21678 }
21679 if (obj2) {
32fe5131 21680 {
1bd55598
RD
21681 arg3 = &temp3;
21682 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 21683 }
1bd55598
RD
21684 }
21685 if (obj3) {
32fe5131 21686 {
1bd55598
RD
21687 arg4 = &temp4;
21688 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 21689 }
1bd55598
RD
21690 }
21691 if (obj4) {
21692 ecode5 = SWIG_AsVal_long(obj4, &val5);
21693 if (!SWIG_IsOK(ecode5)) {
21694 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21695 }
21696 arg5 = static_cast< long >(val5);
21697 }
21698 if (obj5) {
32fe5131 21699 {
1bd55598
RD
21700 arg6 = wxString_in_helper(obj5);
21701 if (arg6 == NULL) SWIG_fail;
21702 temp6 = true;
32fe5131 21703 }
1bd55598
RD
21704 }
21705 {
21706 if (!wxPyCheckForApp()) SWIG_fail;
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21713 {
21714 if (temp6)
21715 delete arg6;
21716 }
21717 return resultobj;
21718fail:
21719 {
21720 if (temp6)
21721 delete arg6;
21722 }
21723 return NULL;
32fe5131
RD
21724}
21725
21726
1bd55598
RD
21727SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21728 PyObject *resultobj = 0;
21729 wxPyWindow *result = 0 ;
21730
21731 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21732 {
21733 if (!wxPyCheckForApp()) SWIG_fail;
21734 PyThreadState* __tstate = wxPyBeginAllowThreads();
21735 result = (wxPyWindow *)new wxPyWindow();
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21740 return resultobj;
21741fail:
21742 return NULL;
21743}
21744
21745
21746SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21747 PyObject *resultobj = 0;
21748 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21749 PyObject *arg2 = (PyObject *) 0 ;
21750 PyObject *arg3 = (PyObject *) 0 ;
21751 void *argp1 = 0 ;
21752 int res1 = 0 ;
21753 PyObject * obj0 = 0 ;
21754 PyObject * obj1 = 0 ;
21755 PyObject * obj2 = 0 ;
21756 char * kwnames[] = {
21757 (char *) "self",(char *) "self",(char *) "_class", NULL
21758 };
21759
21760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21762 if (!SWIG_IsOK(res1)) {
21763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21764 }
21765 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21766 arg2 = obj1;
21767 arg3 = obj2;
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 (arg1)->_setCallbackInfo(arg2,arg3);
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 resultobj = SWIG_Py_Void();
21775 return resultobj;
21776fail:
21777 return NULL;
21778}
21779
21780
1bd55598
RD
21781SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj = 0;
21783 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21784 wxDC *arg2 = (wxDC *) 0 ;
21785 bool result;
21786 void *argp1 = 0 ;
21787 int res1 = 0 ;
21788 void *argp2 = 0 ;
21789 int res2 = 0 ;
21790 PyObject * obj0 = 0 ;
21791 PyObject * obj1 = 0 ;
21792 char * kwnames[] = {
21793 (char *) "self",(char *) "dc", NULL
21794 };
21795
21796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21798 if (!SWIG_IsOK(res1)) {
21799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21800 }
21801 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21802 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21803 if (!SWIG_IsOK(res2)) {
21804 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21805 }
21806 arg2 = reinterpret_cast< wxDC * >(argp2);
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 result = (bool)(arg1)->DoEraseBackground(arg2);
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
21813 {
21814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21815 }
21816 return resultobj;
21817fail:
21818 return NULL;
21819}
21820
21821
21822SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21823 PyObject *resultobj = 0;
21824 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21825 int arg2 ;
21826 int arg3 ;
21827 int arg4 ;
21828 int arg5 ;
21829 void *argp1 = 0 ;
21830 int res1 = 0 ;
21831 int val2 ;
21832 int ecode2 = 0 ;
21833 int val3 ;
21834 int ecode3 = 0 ;
21835 int val4 ;
21836 int ecode4 = 0 ;
21837 int val5 ;
21838 int ecode5 = 0 ;
21839 PyObject * obj0 = 0 ;
21840 PyObject * obj1 = 0 ;
21841 PyObject * obj2 = 0 ;
21842 PyObject * obj3 = 0 ;
21843 PyObject * obj4 = 0 ;
21844 char * kwnames[] = {
21845 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21846 };
21847
21848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21850 if (!SWIG_IsOK(res1)) {
21851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21852 }
21853 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21854 ecode2 = SWIG_AsVal_int(obj1, &val2);
21855 if (!SWIG_IsOK(ecode2)) {
21856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21857 }
21858 arg2 = static_cast< int >(val2);
21859 ecode3 = SWIG_AsVal_int(obj2, &val3);
21860 if (!SWIG_IsOK(ecode3)) {
21861 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21862 }
21863 arg3 = static_cast< int >(val3);
21864 ecode4 = SWIG_AsVal_int(obj3, &val4);
21865 if (!SWIG_IsOK(ecode4)) {
21866 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21867 }
21868 arg4 = static_cast< int >(val4);
21869 ecode5 = SWIG_AsVal_int(obj4, &val5);
21870 if (!SWIG_IsOK(ecode5)) {
21871 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21872 }
21873 arg5 = static_cast< int >(val5);
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 resultobj = SWIG_Py_Void();
21881 return resultobj;
21882fail:
21883 return NULL;
21884}
21885
21886
21887SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21888 PyObject *resultobj = 0;
21889 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21890 int arg2 ;
21891 int arg3 ;
21892 int arg4 ;
21893 int arg5 ;
21894 int arg6 = (int) wxSIZE_AUTO ;
21895 void *argp1 = 0 ;
21896 int res1 = 0 ;
21897 int val2 ;
21898 int ecode2 = 0 ;
21899 int val3 ;
21900 int ecode3 = 0 ;
21901 int val4 ;
21902 int ecode4 = 0 ;
21903 int val5 ;
21904 int ecode5 = 0 ;
21905 int val6 ;
21906 int ecode6 = 0 ;
21907 PyObject * obj0 = 0 ;
21908 PyObject * obj1 = 0 ;
21909 PyObject * obj2 = 0 ;
21910 PyObject * obj3 = 0 ;
21911 PyObject * obj4 = 0 ;
21912 PyObject * obj5 = 0 ;
21913 char * kwnames[] = {
21914 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21915 };
21916
21917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21919 if (!SWIG_IsOK(res1)) {
21920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21921 }
21922 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21923 ecode2 = SWIG_AsVal_int(obj1, &val2);
21924 if (!SWIG_IsOK(ecode2)) {
21925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21926 }
21927 arg2 = static_cast< int >(val2);
21928 ecode3 = SWIG_AsVal_int(obj2, &val3);
21929 if (!SWIG_IsOK(ecode3)) {
21930 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21931 }
21932 arg3 = static_cast< int >(val3);
21933 ecode4 = SWIG_AsVal_int(obj3, &val4);
21934 if (!SWIG_IsOK(ecode4)) {
21935 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21936 }
21937 arg4 = static_cast< int >(val4);
21938 ecode5 = SWIG_AsVal_int(obj4, &val5);
21939 if (!SWIG_IsOK(ecode5)) {
21940 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21941 }
21942 arg5 = static_cast< int >(val5);
21943 if (obj5) {
21944 ecode6 = SWIG_AsVal_int(obj5, &val6);
21945 if (!SWIG_IsOK(ecode6)) {
21946 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21947 }
21948 arg6 = static_cast< int >(val6);
21949 }
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 resultobj = SWIG_Py_Void();
21957 return resultobj;
21958fail:
21959 return NULL;
21960}
21961
21962
21963SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj = 0;
21965 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21966 int arg2 ;
21967 int arg3 ;
21968 void *argp1 = 0 ;
21969 int res1 = 0 ;
21970 int val2 ;
21971 int ecode2 = 0 ;
21972 int val3 ;
21973 int ecode3 = 0 ;
21974 PyObject * obj0 = 0 ;
21975 PyObject * obj1 = 0 ;
21976 PyObject * obj2 = 0 ;
21977 char * kwnames[] = {
21978 (char *) "self",(char *) "width",(char *) "height", NULL
21979 };
21980
21981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21983 if (!SWIG_IsOK(res1)) {
21984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21985 }
21986 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21987 ecode2 = SWIG_AsVal_int(obj1, &val2);
21988 if (!SWIG_IsOK(ecode2)) {
21989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21990 }
21991 arg2 = static_cast< int >(val2);
21992 ecode3 = SWIG_AsVal_int(obj2, &val3);
21993 if (!SWIG_IsOK(ecode3)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21995 }
21996 arg3 = static_cast< int >(val3);
21997 {
21998 PyThreadState* __tstate = wxPyBeginAllowThreads();
21999 (arg1)->DoSetClientSize(arg2,arg3);
22000 wxPyEndAllowThreads(__tstate);
22001 if (PyErr_Occurred()) SWIG_fail;
22002 }
22003 resultobj = SWIG_Py_Void();
22004 return resultobj;
22005fail:
22006 return NULL;
22007}
22008
22009
22010SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22011 PyObject *resultobj = 0;
22012 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22013 int arg2 ;
22014 int arg3 ;
22015 void *argp1 = 0 ;
22016 int res1 = 0 ;
22017 int val2 ;
22018 int ecode2 = 0 ;
22019 int val3 ;
22020 int ecode3 = 0 ;
22021 PyObject * obj0 = 0 ;
22022 PyObject * obj1 = 0 ;
22023 PyObject * obj2 = 0 ;
22024 char * kwnames[] = {
22025 (char *) "self",(char *) "x",(char *) "y", NULL
22026 };
22027
22028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22030 if (!SWIG_IsOK(res1)) {
22031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22032 }
22033 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22034 ecode2 = SWIG_AsVal_int(obj1, &val2);
22035 if (!SWIG_IsOK(ecode2)) {
22036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', 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 '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22042 }
22043 arg3 = static_cast< int >(val3);
22044 {
22045 PyThreadState* __tstate = wxPyBeginAllowThreads();
22046 (arg1)->DoSetVirtualSize(arg2,arg3);
22047 wxPyEndAllowThreads(__tstate);
22048 if (PyErr_Occurred()) SWIG_fail;
22049 }
22050 resultobj = SWIG_Py_Void();
22051 return resultobj;
22052fail:
22053 return NULL;
22054}
22055
22056
22057SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22058 PyObject *resultobj = 0;
22059 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22060 int *arg2 = (int *) 0 ;
22061 int *arg3 = (int *) 0 ;
22062 void *argp1 = 0 ;
22063 int res1 = 0 ;
22064 int temp2 ;
22065 int res2 = SWIG_TMPOBJ ;
22066 int temp3 ;
22067 int res3 = SWIG_TMPOBJ ;
22068 PyObject *swig_obj[1] ;
22069
22070 arg2 = &temp2;
22071 arg3 = &temp3;
22072 if (!args) SWIG_fail;
22073 swig_obj[0] = args;
22074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22075 if (!SWIG_IsOK(res1)) {
22076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22077 }
22078 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 resultobj = SWIG_Py_Void();
22086 if (SWIG_IsTmpObj(res2)) {
22087 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22088 } else {
22089 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22090 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22091 }
22092 if (SWIG_IsTmpObj(res3)) {
22093 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22094 } else {
22095 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22096 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22097 }
22098 return resultobj;
22099fail:
22100 return NULL;
22101}
22102
22103
22104SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22105 PyObject *resultobj = 0;
22106 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22107 int *arg2 = (int *) 0 ;
22108 int *arg3 = (int *) 0 ;
22109 void *argp1 = 0 ;
22110 int res1 = 0 ;
22111 int temp2 ;
22112 int res2 = SWIG_TMPOBJ ;
22113 int temp3 ;
22114 int res3 = SWIG_TMPOBJ ;
22115 PyObject *swig_obj[1] ;
22116
22117 arg2 = &temp2;
22118 arg3 = &temp3;
22119 if (!args) SWIG_fail;
22120 swig_obj[0] = args;
22121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22122 if (!SWIG_IsOK(res1)) {
22123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22124 }
22125 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 resultobj = SWIG_Py_Void();
22133 if (SWIG_IsTmpObj(res2)) {
22134 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22135 } else {
22136 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22137 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22138 }
22139 if (SWIG_IsTmpObj(res3)) {
22140 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22141 } else {
22142 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22143 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22144 }
22145 return resultobj;
22146fail:
22147 return NULL;
22148}
22149
22150
22151SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22152 PyObject *resultobj = 0;
22153 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22154 int *arg2 = (int *) 0 ;
22155 int *arg3 = (int *) 0 ;
22156 void *argp1 = 0 ;
22157 int res1 = 0 ;
22158 int temp2 ;
22159 int res2 = SWIG_TMPOBJ ;
22160 int temp3 ;
22161 int res3 = SWIG_TMPOBJ ;
22162 PyObject *swig_obj[1] ;
22163
22164 arg2 = &temp2;
22165 arg3 = &temp3;
22166 if (!args) SWIG_fail;
22167 swig_obj[0] = args;
22168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22169 if (!SWIG_IsOK(res1)) {
22170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22171 }
22172 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22173 {
22174 PyThreadState* __tstate = wxPyBeginAllowThreads();
22175 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22176 wxPyEndAllowThreads(__tstate);
22177 if (PyErr_Occurred()) SWIG_fail;
22178 }
22179 resultobj = SWIG_Py_Void();
22180 if (SWIG_IsTmpObj(res2)) {
22181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22182 } else {
22183 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22184 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22185 }
22186 if (SWIG_IsTmpObj(res3)) {
22187 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22188 } else {
22189 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22190 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22191 }
22192 return resultobj;
22193fail:
22194 return NULL;
d55e5bfc
RD
22195}
22196
22197
1bd55598
RD
22198SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22199 PyObject *resultobj = 0;
22200 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22201 wxSize result;
22202 void *argp1 = 0 ;
22203 int res1 = 0 ;
22204 PyObject *swig_obj[1] ;
22205
22206 if (!args) SWIG_fail;
22207 swig_obj[0] = args;
22208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22209 if (!SWIG_IsOK(res1)) {
22210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22211 }
22212 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22220 return resultobj;
22221fail:
22222 return NULL;
d55e5bfc
RD
22223}
22224
22225
1bd55598
RD
22226SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22227 PyObject *resultobj = 0;
22228 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22229 wxSize result;
22230 void *argp1 = 0 ;
22231 int res1 = 0 ;
22232 PyObject *swig_obj[1] ;
22233
22234 if (!args) SWIG_fail;
22235 swig_obj[0] = args;
22236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22237 if (!SWIG_IsOK(res1)) {
22238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22239 }
22240 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
22247 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22248 return resultobj;
22249fail:
22250 return NULL;
d55e5bfc
RD
22251}
22252
22253
1bd55598
RD
22254SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22255 PyObject *resultobj = 0;
22256 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22257 SwigValueWrapper<wxVisualAttributes > result;
22258 void *argp1 = 0 ;
22259 int res1 = 0 ;
22260 PyObject *swig_obj[1] ;
22261
22262 if (!args) SWIG_fail;
22263 swig_obj[0] = args;
22264 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22265 if (!SWIG_IsOK(res1)) {
22266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22267 }
22268 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22269 {
22270 PyThreadState* __tstate = wxPyBeginAllowThreads();
22271 result = (arg1)->GetDefaultAttributes();
22272 wxPyEndAllowThreads(__tstate);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 }
22275 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22276 return resultobj;
22277fail:
22278 return NULL;
d55e5bfc
RD
22279}
22280
22281
1bd55598
RD
22282SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22283 PyObject *resultobj = 0;
22284 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22285 void *argp1 = 0 ;
22286 int res1 = 0 ;
22287 PyObject *swig_obj[1] ;
22288
22289 if (!args) SWIG_fail;
22290 swig_obj[0] = args;
22291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22292 if (!SWIG_IsOK(res1)) {
22293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22294 }
22295 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22296 {
22297 PyThreadState* __tstate = wxPyBeginAllowThreads();
22298 (arg1)->OnInternalIdle();
22299 wxPyEndAllowThreads(__tstate);
22300 if (PyErr_Occurred()) SWIG_fail;
22301 }
22302 resultobj = SWIG_Py_Void();
22303 return resultobj;
22304fail:
22305 return NULL;
22306}
22307
22308
22309SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22310 PyObject *obj;
22311 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22312 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22313 return SWIG_Py_Void();
22314}
22315
22316SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22317 return SWIG_Python_InitShadowInstance(args);
22318}
22319
22320SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj = 0;
22322 wxWindow *arg1 = (wxWindow *) 0 ;
22323 int arg2 = (int) (int)-1 ;
22324 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22325 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22326 wxSize const &arg4_defvalue = wxDefaultSize ;
22327 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22328 long arg5 = (long) 0 ;
22329 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22330 wxString *arg6 = (wxString *) &arg6_defvalue ;
22331 wxPyPanel *result = 0 ;
22332 void *argp1 = 0 ;
22333 int res1 = 0 ;
22334 int val2 ;
22335 int ecode2 = 0 ;
22336 wxPoint temp3 ;
22337 wxSize temp4 ;
22338 long val5 ;
22339 int ecode5 = 0 ;
22340 bool temp6 = false ;
22341 PyObject * obj0 = 0 ;
22342 PyObject * obj1 = 0 ;
22343 PyObject * obj2 = 0 ;
22344 PyObject * obj3 = 0 ;
22345 PyObject * obj4 = 0 ;
22346 PyObject * obj5 = 0 ;
22347 char * kwnames[] = {
22348 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22349 };
22350
22351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22353 if (!SWIG_IsOK(res1)) {
22354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22355 }
22356 arg1 = reinterpret_cast< wxWindow * >(argp1);
22357 if (obj1) {
22358 ecode2 = SWIG_AsVal_int(obj1, &val2);
22359 if (!SWIG_IsOK(ecode2)) {
22360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22361 }
22362 arg2 = static_cast< int >(val2);
22363 }
22364 if (obj2) {
d55e5bfc 22365 {
1bd55598
RD
22366 arg3 = &temp3;
22367 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22368 }
1bd55598
RD
22369 }
22370 if (obj3) {
d55e5bfc 22371 {
1bd55598
RD
22372 arg4 = &temp4;
22373 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22374 }
1bd55598
RD
22375 }
22376 if (obj4) {
22377 ecode5 = SWIG_AsVal_long(obj4, &val5);
22378 if (!SWIG_IsOK(ecode5)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22380 }
22381 arg5 = static_cast< long >(val5);
22382 }
22383 if (obj5) {
d55e5bfc 22384 {
1bd55598
RD
22385 arg6 = wxString_in_helper(obj5);
22386 if (arg6 == NULL) SWIG_fail;
22387 temp6 = true;
d55e5bfc 22388 }
1bd55598
RD
22389 }
22390 {
22391 if (!wxPyCheckForApp()) SWIG_fail;
22392 PyThreadState* __tstate = wxPyBeginAllowThreads();
22393 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22394 wxPyEndAllowThreads(__tstate);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 }
22397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22398 {
22399 if (temp6)
22400 delete arg6;
22401 }
22402 return resultobj;
22403fail:
22404 {
22405 if (temp6)
22406 delete arg6;
22407 }
22408 return NULL;
d55e5bfc
RD
22409}
22410
22411
1bd55598
RD
22412SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22413 PyObject *resultobj = 0;
22414 wxPyPanel *result = 0 ;
22415
22416 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22417 {
22418 if (!wxPyCheckForApp()) SWIG_fail;
22419 PyThreadState* __tstate = wxPyBeginAllowThreads();
22420 result = (wxPyPanel *)new wxPyPanel();
22421 wxPyEndAllowThreads(__tstate);
22422 if (PyErr_Occurred()) SWIG_fail;
22423 }
22424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22425 return resultobj;
22426fail:
22427 return NULL;
22428}
22429
22430
22431SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22432 PyObject *resultobj = 0;
22433 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22434 PyObject *arg2 = (PyObject *) 0 ;
22435 PyObject *arg3 = (PyObject *) 0 ;
22436 void *argp1 = 0 ;
22437 int res1 = 0 ;
22438 PyObject * obj0 = 0 ;
22439 PyObject * obj1 = 0 ;
22440 PyObject * obj2 = 0 ;
22441 char * kwnames[] = {
22442 (char *) "self",(char *) "self",(char *) "_class", NULL
22443 };
22444
22445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22447 if (!SWIG_IsOK(res1)) {
22448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22449 }
22450 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22451 arg2 = obj1;
22452 arg3 = obj2;
22453 {
22454 PyThreadState* __tstate = wxPyBeginAllowThreads();
22455 (arg1)->_setCallbackInfo(arg2,arg3);
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 resultobj = SWIG_Py_Void();
22460 return resultobj;
22461fail:
22462 return NULL;
22463}
22464
22465
1bd55598
RD
22466SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj = 0;
22468 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22469 wxDC *arg2 = (wxDC *) 0 ;
22470 bool result;
22471 void *argp1 = 0 ;
22472 int res1 = 0 ;
22473 void *argp2 = 0 ;
22474 int res2 = 0 ;
22475 PyObject * obj0 = 0 ;
22476 PyObject * obj1 = 0 ;
22477 char * kwnames[] = {
22478 (char *) "self",(char *) "dc", NULL
22479 };
22480
22481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22483 if (!SWIG_IsOK(res1)) {
22484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22485 }
22486 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22487 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22488 if (!SWIG_IsOK(res2)) {
22489 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22490 }
22491 arg2 = reinterpret_cast< wxDC * >(argp2);
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 result = (bool)(arg1)->DoEraseBackground(arg2);
22495 wxPyEndAllowThreads(__tstate);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 }
22498 {
22499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22500 }
22501 return resultobj;
22502fail:
22503 return NULL;
22504}
22505
22506
22507SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22508 PyObject *resultobj = 0;
22509 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22510 int arg2 ;
22511 int arg3 ;
22512 int arg4 ;
22513 int arg5 ;
22514 void *argp1 = 0 ;
22515 int res1 = 0 ;
22516 int val2 ;
22517 int ecode2 = 0 ;
22518 int val3 ;
22519 int ecode3 = 0 ;
22520 int val4 ;
22521 int ecode4 = 0 ;
22522 int val5 ;
22523 int ecode5 = 0 ;
22524 PyObject * obj0 = 0 ;
22525 PyObject * obj1 = 0 ;
22526 PyObject * obj2 = 0 ;
22527 PyObject * obj3 = 0 ;
22528 PyObject * obj4 = 0 ;
22529 char * kwnames[] = {
22530 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22531 };
22532
22533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22535 if (!SWIG_IsOK(res1)) {
22536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22537 }
22538 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22539 ecode2 = SWIG_AsVal_int(obj1, &val2);
22540 if (!SWIG_IsOK(ecode2)) {
22541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22542 }
22543 arg2 = static_cast< int >(val2);
22544 ecode3 = SWIG_AsVal_int(obj2, &val3);
22545 if (!SWIG_IsOK(ecode3)) {
22546 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22547 }
22548 arg3 = static_cast< int >(val3);
22549 ecode4 = SWIG_AsVal_int(obj3, &val4);
22550 if (!SWIG_IsOK(ecode4)) {
22551 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22552 }
22553 arg4 = static_cast< int >(val4);
22554 ecode5 = SWIG_AsVal_int(obj4, &val5);
22555 if (!SWIG_IsOK(ecode5)) {
22556 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22557 }
22558 arg5 = static_cast< int >(val5);
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 resultobj = SWIG_Py_Void();
22566 return resultobj;
22567fail:
22568 return NULL;
22569}
22570
22571
22572SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22573 PyObject *resultobj = 0;
22574 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22575 int arg2 ;
22576 int arg3 ;
22577 int arg4 ;
22578 int arg5 ;
22579 int arg6 = (int) wxSIZE_AUTO ;
22580 void *argp1 = 0 ;
22581 int res1 = 0 ;
22582 int val2 ;
22583 int ecode2 = 0 ;
22584 int val3 ;
22585 int ecode3 = 0 ;
22586 int val4 ;
22587 int ecode4 = 0 ;
22588 int val5 ;
22589 int ecode5 = 0 ;
22590 int val6 ;
22591 int ecode6 = 0 ;
22592 PyObject * obj0 = 0 ;
22593 PyObject * obj1 = 0 ;
22594 PyObject * obj2 = 0 ;
22595 PyObject * obj3 = 0 ;
22596 PyObject * obj4 = 0 ;
22597 PyObject * obj5 = 0 ;
22598 char * kwnames[] = {
22599 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22600 };
22601
22602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22604 if (!SWIG_IsOK(res1)) {
22605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22606 }
22607 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22608 ecode2 = SWIG_AsVal_int(obj1, &val2);
22609 if (!SWIG_IsOK(ecode2)) {
22610 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22611 }
22612 arg2 = static_cast< int >(val2);
22613 ecode3 = SWIG_AsVal_int(obj2, &val3);
22614 if (!SWIG_IsOK(ecode3)) {
22615 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22616 }
22617 arg3 = static_cast< int >(val3);
22618 ecode4 = SWIG_AsVal_int(obj3, &val4);
22619 if (!SWIG_IsOK(ecode4)) {
22620 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22621 }
22622 arg4 = static_cast< int >(val4);
22623 ecode5 = SWIG_AsVal_int(obj4, &val5);
22624 if (!SWIG_IsOK(ecode5)) {
22625 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22626 }
22627 arg5 = static_cast< int >(val5);
22628 if (obj5) {
22629 ecode6 = SWIG_AsVal_int(obj5, &val6);
22630 if (!SWIG_IsOK(ecode6)) {
22631 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22632 }
22633 arg6 = static_cast< int >(val6);
22634 }
22635 {
22636 PyThreadState* __tstate = wxPyBeginAllowThreads();
22637 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22638 wxPyEndAllowThreads(__tstate);
22639 if (PyErr_Occurred()) SWIG_fail;
22640 }
22641 resultobj = SWIG_Py_Void();
22642 return resultobj;
22643fail:
22644 return NULL;
22645}
22646
22647
22648SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22649 PyObject *resultobj = 0;
22650 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22651 int arg2 ;
22652 int arg3 ;
22653 void *argp1 = 0 ;
22654 int res1 = 0 ;
22655 int val2 ;
22656 int ecode2 = 0 ;
22657 int val3 ;
22658 int ecode3 = 0 ;
22659 PyObject * obj0 = 0 ;
22660 PyObject * obj1 = 0 ;
22661 PyObject * obj2 = 0 ;
22662 char * kwnames[] = {
22663 (char *) "self",(char *) "width",(char *) "height", NULL
22664 };
22665
22666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22668 if (!SWIG_IsOK(res1)) {
22669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22670 }
22671 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22672 ecode2 = SWIG_AsVal_int(obj1, &val2);
22673 if (!SWIG_IsOK(ecode2)) {
22674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22675 }
22676 arg2 = static_cast< int >(val2);
22677 ecode3 = SWIG_AsVal_int(obj2, &val3);
22678 if (!SWIG_IsOK(ecode3)) {
22679 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22680 }
22681 arg3 = static_cast< int >(val3);
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 (arg1)->DoSetClientSize(arg2,arg3);
22685 wxPyEndAllowThreads(__tstate);
22686 if (PyErr_Occurred()) SWIG_fail;
22687 }
22688 resultobj = SWIG_Py_Void();
22689 return resultobj;
22690fail:
22691 return NULL;
22692}
22693
22694
22695SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22696 PyObject *resultobj = 0;
22697 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22698 int arg2 ;
22699 int arg3 ;
22700 void *argp1 = 0 ;
22701 int res1 = 0 ;
22702 int val2 ;
22703 int ecode2 = 0 ;
22704 int val3 ;
22705 int ecode3 = 0 ;
22706 PyObject * obj0 = 0 ;
22707 PyObject * obj1 = 0 ;
22708 PyObject * obj2 = 0 ;
22709 char * kwnames[] = {
22710 (char *) "self",(char *) "x",(char *) "y", NULL
22711 };
22712
22713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22715 if (!SWIG_IsOK(res1)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22717 }
22718 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22719 ecode2 = SWIG_AsVal_int(obj1, &val2);
22720 if (!SWIG_IsOK(ecode2)) {
22721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22722 }
22723 arg2 = static_cast< int >(val2);
22724 ecode3 = SWIG_AsVal_int(obj2, &val3);
22725 if (!SWIG_IsOK(ecode3)) {
22726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22727 }
22728 arg3 = static_cast< int >(val3);
22729 {
22730 PyThreadState* __tstate = wxPyBeginAllowThreads();
22731 (arg1)->DoSetVirtualSize(arg2,arg3);
22732 wxPyEndAllowThreads(__tstate);
22733 if (PyErr_Occurred()) SWIG_fail;
22734 }
22735 resultobj = SWIG_Py_Void();
22736 return resultobj;
22737fail:
22738 return NULL;
22739}
22740
22741
22742SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22743 PyObject *resultobj = 0;
22744 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22745 int *arg2 = (int *) 0 ;
22746 int *arg3 = (int *) 0 ;
22747 void *argp1 = 0 ;
22748 int res1 = 0 ;
22749 int temp2 ;
22750 int res2 = SWIG_TMPOBJ ;
22751 int temp3 ;
22752 int res3 = SWIG_TMPOBJ ;
22753 PyObject *swig_obj[1] ;
22754
22755 arg2 = &temp2;
22756 arg3 = &temp3;
22757 if (!args) SWIG_fail;
22758 swig_obj[0] = args;
22759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22760 if (!SWIG_IsOK(res1)) {
22761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22762 }
22763 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22764 {
22765 PyThreadState* __tstate = wxPyBeginAllowThreads();
22766 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22767 wxPyEndAllowThreads(__tstate);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 }
22770 resultobj = SWIG_Py_Void();
22771 if (SWIG_IsTmpObj(res2)) {
22772 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22773 } else {
22774 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22775 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22776 }
22777 if (SWIG_IsTmpObj(res3)) {
22778 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22779 } else {
22780 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22781 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22782 }
22783 return resultobj;
22784fail:
22785 return NULL;
22786}
22787
22788
22789SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22790 PyObject *resultobj = 0;
22791 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22792 int *arg2 = (int *) 0 ;
22793 int *arg3 = (int *) 0 ;
22794 void *argp1 = 0 ;
22795 int res1 = 0 ;
22796 int temp2 ;
22797 int res2 = SWIG_TMPOBJ ;
22798 int temp3 ;
22799 int res3 = SWIG_TMPOBJ ;
22800 PyObject *swig_obj[1] ;
22801
22802 arg2 = &temp2;
22803 arg3 = &temp3;
22804 if (!args) SWIG_fail;
22805 swig_obj[0] = args;
22806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22807 if (!SWIG_IsOK(res1)) {
22808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22809 }
22810 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22811 {
22812 PyThreadState* __tstate = wxPyBeginAllowThreads();
22813 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22814 wxPyEndAllowThreads(__tstate);
22815 if (PyErr_Occurred()) SWIG_fail;
22816 }
22817 resultobj = SWIG_Py_Void();
22818 if (SWIG_IsTmpObj(res2)) {
22819 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22820 } else {
22821 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22822 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22823 }
22824 if (SWIG_IsTmpObj(res3)) {
22825 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22826 } else {
22827 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22828 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22829 }
22830 return resultobj;
22831fail:
22832 return NULL;
22833}
22834
22835
22836SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22837 PyObject *resultobj = 0;
22838 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22839 int *arg2 = (int *) 0 ;
22840 int *arg3 = (int *) 0 ;
22841 void *argp1 = 0 ;
22842 int res1 = 0 ;
22843 int temp2 ;
22844 int res2 = SWIG_TMPOBJ ;
22845 int temp3 ;
22846 int res3 = SWIG_TMPOBJ ;
22847 PyObject *swig_obj[1] ;
22848
22849 arg2 = &temp2;
22850 arg3 = &temp3;
22851 if (!args) SWIG_fail;
22852 swig_obj[0] = args;
22853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22854 if (!SWIG_IsOK(res1)) {
22855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22856 }
22857 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22858 {
22859 PyThreadState* __tstate = wxPyBeginAllowThreads();
22860 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22861 wxPyEndAllowThreads(__tstate);
22862 if (PyErr_Occurred()) SWIG_fail;
22863 }
22864 resultobj = SWIG_Py_Void();
22865 if (SWIG_IsTmpObj(res2)) {
22866 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22867 } else {
22868 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22870 }
22871 if (SWIG_IsTmpObj(res3)) {
22872 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22873 } else {
22874 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22875 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22876 }
22877 return resultobj;
22878fail:
22879 return NULL;
d55e5bfc
RD
22880}
22881
22882
1bd55598
RD
22883SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22884 PyObject *resultobj = 0;
22885 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22886 wxSize result;
22887 void *argp1 = 0 ;
22888 int res1 = 0 ;
22889 PyObject *swig_obj[1] ;
22890
22891 if (!args) SWIG_fail;
22892 swig_obj[0] = args;
22893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22894 if (!SWIG_IsOK(res1)) {
22895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22896 }
22897 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22898 {
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22901 wxPyEndAllowThreads(__tstate);
22902 if (PyErr_Occurred()) SWIG_fail;
22903 }
22904 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22905 return resultobj;
22906fail:
22907 return NULL;
d55e5bfc
RD
22908}
22909
22910
1bd55598
RD
22911SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22912 PyObject *resultobj = 0;
22913 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22914 wxSize result;
22915 void *argp1 = 0 ;
22916 int res1 = 0 ;
22917 PyObject *swig_obj[1] ;
22918
22919 if (!args) SWIG_fail;
22920 swig_obj[0] = args;
22921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22922 if (!SWIG_IsOK(res1)) {
22923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22924 }
22925 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22926 {
22927 PyThreadState* __tstate = wxPyBeginAllowThreads();
22928 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22929 wxPyEndAllowThreads(__tstate);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
22932 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22933 return resultobj;
22934fail:
22935 return NULL;
d55e5bfc
RD
22936}
22937
22938
1bd55598
RD
22939SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22940 PyObject *resultobj = 0;
22941 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22942 SwigValueWrapper<wxVisualAttributes > result;
22943 void *argp1 = 0 ;
22944 int res1 = 0 ;
22945 PyObject *swig_obj[1] ;
22946
22947 if (!args) SWIG_fail;
22948 swig_obj[0] = args;
22949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22950 if (!SWIG_IsOK(res1)) {
22951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22952 }
22953 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22954 {
22955 PyThreadState* __tstate = wxPyBeginAllowThreads();
22956 result = (arg1)->GetDefaultAttributes();
22957 wxPyEndAllowThreads(__tstate);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 }
22960 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22961 return resultobj;
22962fail:
22963 return NULL;
d55e5bfc
RD
22964}
22965
22966
1bd55598
RD
22967SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22968 PyObject *resultobj = 0;
22969 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22970 void *argp1 = 0 ;
22971 int res1 = 0 ;
22972 PyObject *swig_obj[1] ;
22973
22974 if (!args) SWIG_fail;
22975 swig_obj[0] = args;
22976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22977 if (!SWIG_IsOK(res1)) {
22978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22979 }
22980 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22981 {
22982 PyThreadState* __tstate = wxPyBeginAllowThreads();
22983 (arg1)->OnInternalIdle();
22984 wxPyEndAllowThreads(__tstate);
22985 if (PyErr_Occurred()) SWIG_fail;
22986 }
22987 resultobj = SWIG_Py_Void();
22988 return resultobj;
22989fail:
22990 return NULL;
22991}
22992
22993
22994SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22995 PyObject *obj;
22996 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22997 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22998 return SWIG_Py_Void();
22999}
23000
23001SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23002 return SWIG_Python_InitShadowInstance(args);
23003}
23004
23005SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23006 PyObject *resultobj = 0;
23007 wxWindow *arg1 = (wxWindow *) 0 ;
23008 int arg2 = (int) (int)-1 ;
23009 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23010 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23011 wxSize const &arg4_defvalue = wxDefaultSize ;
23012 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23013 long arg5 = (long) 0 ;
23014 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23015 wxString *arg6 = (wxString *) &arg6_defvalue ;
23016 wxPyScrolledWindow *result = 0 ;
23017 void *argp1 = 0 ;
23018 int res1 = 0 ;
23019 int val2 ;
23020 int ecode2 = 0 ;
23021 wxPoint temp3 ;
23022 wxSize temp4 ;
23023 long val5 ;
23024 int ecode5 = 0 ;
23025 bool temp6 = false ;
23026 PyObject * obj0 = 0 ;
23027 PyObject * obj1 = 0 ;
23028 PyObject * obj2 = 0 ;
23029 PyObject * obj3 = 0 ;
23030 PyObject * obj4 = 0 ;
23031 PyObject * obj5 = 0 ;
23032 char * kwnames[] = {
23033 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23034 };
23035
23036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23038 if (!SWIG_IsOK(res1)) {
23039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23040 }
23041 arg1 = reinterpret_cast< wxWindow * >(argp1);
23042 if (obj1) {
23043 ecode2 = SWIG_AsVal_int(obj1, &val2);
23044 if (!SWIG_IsOK(ecode2)) {
23045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23046 }
23047 arg2 = static_cast< int >(val2);
23048 }
23049 if (obj2) {
d55e5bfc 23050 {
1bd55598
RD
23051 arg3 = &temp3;
23052 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 23053 }
1bd55598
RD
23054 }
23055 if (obj3) {
d55e5bfc 23056 {
1bd55598
RD
23057 arg4 = &temp4;
23058 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 23059 }
1bd55598
RD
23060 }
23061 if (obj4) {
23062 ecode5 = SWIG_AsVal_long(obj4, &val5);
23063 if (!SWIG_IsOK(ecode5)) {
23064 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23065 }
23066 arg5 = static_cast< long >(val5);
23067 }
23068 if (obj5) {
d55e5bfc 23069 {
1bd55598
RD
23070 arg6 = wxString_in_helper(obj5);
23071 if (arg6 == NULL) SWIG_fail;
23072 temp6 = true;
d55e5bfc 23073 }
1bd55598
RD
23074 }
23075 {
23076 if (!wxPyCheckForApp()) SWIG_fail;
23077 PyThreadState* __tstate = wxPyBeginAllowThreads();
23078 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23079 wxPyEndAllowThreads(__tstate);
23080 if (PyErr_Occurred()) SWIG_fail;
23081 }
23082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23083 {
23084 if (temp6)
23085 delete arg6;
23086 }
23087 return resultobj;
23088fail:
23089 {
23090 if (temp6)
23091 delete arg6;
23092 }
23093 return NULL;
d55e5bfc
RD
23094}
23095
23096
1bd55598
RD
23097SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23098 PyObject *resultobj = 0;
23099 wxPyScrolledWindow *result = 0 ;
23100
23101 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23102 {
23103 if (!wxPyCheckForApp()) SWIG_fail;
23104 PyThreadState* __tstate = wxPyBeginAllowThreads();
23105 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23106 wxPyEndAllowThreads(__tstate);
23107 if (PyErr_Occurred()) SWIG_fail;
23108 }
23109 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23110 return resultobj;
23111fail:
23112 return NULL;
23113}
23114
23115
23116SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23117 PyObject *resultobj = 0;
23118 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23119 PyObject *arg2 = (PyObject *) 0 ;
23120 PyObject *arg3 = (PyObject *) 0 ;
23121 void *argp1 = 0 ;
23122 int res1 = 0 ;
23123 PyObject * obj0 = 0 ;
23124 PyObject * obj1 = 0 ;
23125 PyObject * obj2 = 0 ;
23126 char * kwnames[] = {
23127 (char *) "self",(char *) "self",(char *) "_class", NULL
23128 };
23129
23130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23132 if (!SWIG_IsOK(res1)) {
23133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23134 }
23135 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23136 arg2 = obj1;
23137 arg3 = obj2;
23138 {
23139 PyThreadState* __tstate = wxPyBeginAllowThreads();
23140 (arg1)->_setCallbackInfo(arg2,arg3);
23141 wxPyEndAllowThreads(__tstate);
23142 if (PyErr_Occurred()) SWIG_fail;
23143 }
23144 resultobj = SWIG_Py_Void();
23145 return resultobj;
23146fail:
23147 return NULL;
23148}
23149
23150
1bd55598
RD
23151SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23152 PyObject *resultobj = 0;
23153 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23154 wxDC *arg2 = (wxDC *) 0 ;
23155 bool result;
23156 void *argp1 = 0 ;
23157 int res1 = 0 ;
23158 void *argp2 = 0 ;
23159 int res2 = 0 ;
23160 PyObject * obj0 = 0 ;
23161 PyObject * obj1 = 0 ;
23162 char * kwnames[] = {
23163 (char *) "self",(char *) "dc", NULL
23164 };
23165
23166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23168 if (!SWIG_IsOK(res1)) {
23169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23170 }
23171 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23172 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23173 if (!SWIG_IsOK(res2)) {
23174 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23175 }
23176 arg2 = reinterpret_cast< wxDC * >(argp2);
23177 {
23178 PyThreadState* __tstate = wxPyBeginAllowThreads();
23179 result = (bool)(arg1)->DoEraseBackground(arg2);
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 {
23184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23185 }
23186 return resultobj;
23187fail:
23188 return NULL;
23189}
23190
23191
23192SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23193 PyObject *resultobj = 0;
23194 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23195 int arg2 ;
23196 int arg3 ;
23197 int arg4 ;
23198 int arg5 ;
23199 void *argp1 = 0 ;
23200 int res1 = 0 ;
23201 int val2 ;
23202 int ecode2 = 0 ;
23203 int val3 ;
23204 int ecode3 = 0 ;
23205 int val4 ;
23206 int ecode4 = 0 ;
23207 int val5 ;
23208 int ecode5 = 0 ;
23209 PyObject * obj0 = 0 ;
23210 PyObject * obj1 = 0 ;
23211 PyObject * obj2 = 0 ;
23212 PyObject * obj3 = 0 ;
23213 PyObject * obj4 = 0 ;
23214 char * kwnames[] = {
23215 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23216 };
23217
23218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23220 if (!SWIG_IsOK(res1)) {
23221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23222 }
23223 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23224 ecode2 = SWIG_AsVal_int(obj1, &val2);
23225 if (!SWIG_IsOK(ecode2)) {
23226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23227 }
23228 arg2 = static_cast< int >(val2);
23229 ecode3 = SWIG_AsVal_int(obj2, &val3);
23230 if (!SWIG_IsOK(ecode3)) {
23231 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23232 }
23233 arg3 = static_cast< int >(val3);
23234 ecode4 = SWIG_AsVal_int(obj3, &val4);
23235 if (!SWIG_IsOK(ecode4)) {
23236 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23237 }
23238 arg4 = static_cast< int >(val4);
23239 ecode5 = SWIG_AsVal_int(obj4, &val5);
23240 if (!SWIG_IsOK(ecode5)) {
23241 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23242 }
23243 arg5 = static_cast< int >(val5);
23244 {
23245 PyThreadState* __tstate = wxPyBeginAllowThreads();
23246 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 resultobj = SWIG_Py_Void();
23251 return resultobj;
23252fail:
23253 return NULL;
23254}
23255
23256
23257SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23258 PyObject *resultobj = 0;
23259 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23260 int arg2 ;
23261 int arg3 ;
23262 int arg4 ;
23263 int arg5 ;
23264 int arg6 = (int) wxSIZE_AUTO ;
23265 void *argp1 = 0 ;
23266 int res1 = 0 ;
23267 int val2 ;
23268 int ecode2 = 0 ;
23269 int val3 ;
23270 int ecode3 = 0 ;
23271 int val4 ;
23272 int ecode4 = 0 ;
23273 int val5 ;
23274 int ecode5 = 0 ;
23275 int val6 ;
23276 int ecode6 = 0 ;
23277 PyObject * obj0 = 0 ;
23278 PyObject * obj1 = 0 ;
23279 PyObject * obj2 = 0 ;
23280 PyObject * obj3 = 0 ;
23281 PyObject * obj4 = 0 ;
23282 PyObject * obj5 = 0 ;
23283 char * kwnames[] = {
23284 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23285 };
23286
23287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23289 if (!SWIG_IsOK(res1)) {
23290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23291 }
23292 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23293 ecode2 = SWIG_AsVal_int(obj1, &val2);
23294 if (!SWIG_IsOK(ecode2)) {
23295 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23296 }
23297 arg2 = static_cast< int >(val2);
23298 ecode3 = SWIG_AsVal_int(obj2, &val3);
23299 if (!SWIG_IsOK(ecode3)) {
23300 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23301 }
23302 arg3 = static_cast< int >(val3);
23303 ecode4 = SWIG_AsVal_int(obj3, &val4);
23304 if (!SWIG_IsOK(ecode4)) {
23305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23306 }
23307 arg4 = static_cast< int >(val4);
23308 ecode5 = SWIG_AsVal_int(obj4, &val5);
23309 if (!SWIG_IsOK(ecode5)) {
23310 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23311 }
23312 arg5 = static_cast< int >(val5);
23313 if (obj5) {
23314 ecode6 = SWIG_AsVal_int(obj5, &val6);
23315 if (!SWIG_IsOK(ecode6)) {
23316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23317 }
23318 arg6 = static_cast< int >(val6);
23319 }
23320 {
23321 PyThreadState* __tstate = wxPyBeginAllowThreads();
23322 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23323 wxPyEndAllowThreads(__tstate);
23324 if (PyErr_Occurred()) SWIG_fail;
23325 }
23326 resultobj = SWIG_Py_Void();
23327 return resultobj;
23328fail:
23329 return NULL;
23330}
23331
23332
23333SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23334 PyObject *resultobj = 0;
23335 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23336 int arg2 ;
23337 int arg3 ;
23338 void *argp1 = 0 ;
23339 int res1 = 0 ;
23340 int val2 ;
23341 int ecode2 = 0 ;
23342 int val3 ;
23343 int ecode3 = 0 ;
23344 PyObject * obj0 = 0 ;
23345 PyObject * obj1 = 0 ;
23346 PyObject * obj2 = 0 ;
23347 char * kwnames[] = {
23348 (char *) "self",(char *) "width",(char *) "height", NULL
23349 };
23350
23351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23353 if (!SWIG_IsOK(res1)) {
23354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23355 }
23356 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23357 ecode2 = SWIG_AsVal_int(obj1, &val2);
23358 if (!SWIG_IsOK(ecode2)) {
23359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23360 }
23361 arg2 = static_cast< int >(val2);
23362 ecode3 = SWIG_AsVal_int(obj2, &val3);
23363 if (!SWIG_IsOK(ecode3)) {
23364 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23365 }
23366 arg3 = static_cast< int >(val3);
23367 {
23368 PyThreadState* __tstate = wxPyBeginAllowThreads();
23369 (arg1)->DoSetClientSize(arg2,arg3);
23370 wxPyEndAllowThreads(__tstate);
23371 if (PyErr_Occurred()) SWIG_fail;
23372 }
23373 resultobj = SWIG_Py_Void();
23374 return resultobj;
23375fail:
23376 return NULL;
23377}
23378
23379
23380SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23381 PyObject *resultobj = 0;
23382 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23383 int arg2 ;
23384 int arg3 ;
23385 void *argp1 = 0 ;
23386 int res1 = 0 ;
23387 int val2 ;
23388 int ecode2 = 0 ;
23389 int val3 ;
23390 int ecode3 = 0 ;
23391 PyObject * obj0 = 0 ;
23392 PyObject * obj1 = 0 ;
23393 PyObject * obj2 = 0 ;
23394 char * kwnames[] = {
23395 (char *) "self",(char *) "x",(char *) "y", NULL
23396 };
23397
23398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23400 if (!SWIG_IsOK(res1)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23402 }
23403 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23404 ecode2 = SWIG_AsVal_int(obj1, &val2);
23405 if (!SWIG_IsOK(ecode2)) {
23406 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23407 }
23408 arg2 = static_cast< int >(val2);
23409 ecode3 = SWIG_AsVal_int(obj2, &val3);
23410 if (!SWIG_IsOK(ecode3)) {
23411 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23412 }
23413 arg3 = static_cast< int >(val3);
23414 {
23415 PyThreadState* __tstate = wxPyBeginAllowThreads();
23416 (arg1)->DoSetVirtualSize(arg2,arg3);
23417 wxPyEndAllowThreads(__tstate);
23418 if (PyErr_Occurred()) SWIG_fail;
23419 }
23420 resultobj = SWIG_Py_Void();
23421 return resultobj;
23422fail:
23423 return NULL;
23424}
23425
23426
23427SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23428 PyObject *resultobj = 0;
23429 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23430 int *arg2 = (int *) 0 ;
23431 int *arg3 = (int *) 0 ;
23432 void *argp1 = 0 ;
23433 int res1 = 0 ;
23434 int temp2 ;
23435 int res2 = SWIG_TMPOBJ ;
23436 int temp3 ;
23437 int res3 = SWIG_TMPOBJ ;
23438 PyObject *swig_obj[1] ;
23439
23440 arg2 = &temp2;
23441 arg3 = &temp3;
23442 if (!args) SWIG_fail;
23443 swig_obj[0] = args;
23444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23445 if (!SWIG_IsOK(res1)) {
23446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23447 }
23448 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23452 wxPyEndAllowThreads(__tstate);
23453 if (PyErr_Occurred()) SWIG_fail;
23454 }
23455 resultobj = SWIG_Py_Void();
23456 if (SWIG_IsTmpObj(res2)) {
23457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23458 } else {
23459 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23460 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23461 }
23462 if (SWIG_IsTmpObj(res3)) {
23463 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23464 } else {
23465 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23466 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23467 }
23468 return resultobj;
23469fail:
23470 return NULL;
23471}
23472
23473
23474SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23475 PyObject *resultobj = 0;
23476 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23477 int *arg2 = (int *) 0 ;
23478 int *arg3 = (int *) 0 ;
23479 void *argp1 = 0 ;
23480 int res1 = 0 ;
23481 int temp2 ;
23482 int res2 = SWIG_TMPOBJ ;
23483 int temp3 ;
23484 int res3 = SWIG_TMPOBJ ;
23485 PyObject *swig_obj[1] ;
23486
23487 arg2 = &temp2;
23488 arg3 = &temp3;
23489 if (!args) SWIG_fail;
23490 swig_obj[0] = args;
23491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23492 if (!SWIG_IsOK(res1)) {
23493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23494 }
23495 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23496 {
23497 PyThreadState* __tstate = wxPyBeginAllowThreads();
23498 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23499 wxPyEndAllowThreads(__tstate);
23500 if (PyErr_Occurred()) SWIG_fail;
23501 }
23502 resultobj = SWIG_Py_Void();
23503 if (SWIG_IsTmpObj(res2)) {
23504 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23505 } else {
23506 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23507 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23508 }
23509 if (SWIG_IsTmpObj(res3)) {
23510 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23511 } else {
23512 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23513 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23514 }
23515 return resultobj;
23516fail:
23517 return NULL;
23518}
23519
23520
23521SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23522 PyObject *resultobj = 0;
23523 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23524 int *arg2 = (int *) 0 ;
23525 int *arg3 = (int *) 0 ;
23526 void *argp1 = 0 ;
23527 int res1 = 0 ;
23528 int temp2 ;
23529 int res2 = SWIG_TMPOBJ ;
23530 int temp3 ;
23531 int res3 = SWIG_TMPOBJ ;
23532 PyObject *swig_obj[1] ;
23533
23534 arg2 = &temp2;
23535 arg3 = &temp3;
23536 if (!args) SWIG_fail;
23537 swig_obj[0] = args;
23538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23539 if (!SWIG_IsOK(res1)) {
23540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23541 }
23542 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23543 {
23544 PyThreadState* __tstate = wxPyBeginAllowThreads();
23545 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23546 wxPyEndAllowThreads(__tstate);
23547 if (PyErr_Occurred()) SWIG_fail;
23548 }
23549 resultobj = SWIG_Py_Void();
23550 if (SWIG_IsTmpObj(res2)) {
23551 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23552 } else {
23553 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23555 }
23556 if (SWIG_IsTmpObj(res3)) {
23557 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23558 } else {
23559 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23561 }
23562 return resultobj;
23563fail:
23564 return NULL;
d55e5bfc
RD
23565}
23566
23567
1bd55598
RD
23568SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23569 PyObject *resultobj = 0;
23570 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23571 wxSize result;
23572 void *argp1 = 0 ;
23573 int res1 = 0 ;
23574 PyObject *swig_obj[1] ;
23575
23576 if (!args) SWIG_fail;
23577 swig_obj[0] = args;
23578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23579 if (!SWIG_IsOK(res1)) {
23580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23581 }
23582 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23583 {
23584 PyThreadState* __tstate = wxPyBeginAllowThreads();
23585 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23586 wxPyEndAllowThreads(__tstate);
23587 if (PyErr_Occurred()) SWIG_fail;
23588 }
23589 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23590 return resultobj;
23591fail:
23592 return NULL;
d55e5bfc
RD
23593}
23594
23595
1bd55598
RD
23596SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23597 PyObject *resultobj = 0;
23598 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23599 wxSize result;
23600 void *argp1 = 0 ;
23601 int res1 = 0 ;
23602 PyObject *swig_obj[1] ;
23603
23604 if (!args) SWIG_fail;
23605 swig_obj[0] = args;
23606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23607 if (!SWIG_IsOK(res1)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23609 }
23610 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23611 {
23612 PyThreadState* __tstate = wxPyBeginAllowThreads();
23613 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
23617 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23618 return resultobj;
23619fail:
23620 return NULL;
d55e5bfc
RD
23621}
23622
23623
1bd55598
RD
23624SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23625 PyObject *resultobj = 0;
23626 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23627 SwigValueWrapper<wxVisualAttributes > result;
23628 void *argp1 = 0 ;
23629 int res1 = 0 ;
23630 PyObject *swig_obj[1] ;
23631
23632 if (!args) SWIG_fail;
23633 swig_obj[0] = args;
23634 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23635 if (!SWIG_IsOK(res1)) {
23636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23637 }
23638 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 result = (arg1)->GetDefaultAttributes();
23642 wxPyEndAllowThreads(__tstate);
23643 if (PyErr_Occurred()) SWIG_fail;
23644 }
23645 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23646 return resultobj;
23647fail:
23648 return NULL;
d55e5bfc
RD
23649}
23650
23651
1bd55598
RD
23652SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23653 PyObject *resultobj = 0;
23654 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23655 void *argp1 = 0 ;
23656 int res1 = 0 ;
23657 PyObject *swig_obj[1] ;
23658
23659 if (!args) SWIG_fail;
23660 swig_obj[0] = args;
23661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23662 if (!SWIG_IsOK(res1)) {
23663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23664 }
23665 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 (arg1)->OnInternalIdle();
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
23672 resultobj = SWIG_Py_Void();
23673 return resultobj;
23674fail:
23675 return NULL;
d55e5bfc
RD
23676}
23677
23678
1bd55598
RD
23679SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23680 PyObject *obj;
23681 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23682 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23683 return SWIG_Py_Void();
d55e5bfc
RD
23684}
23685
1bd55598
RD
23686SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23687 return SWIG_Python_InitShadowInstance(args);
23688}
d55e5bfc 23689
1bd55598
RD
23690SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23691 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23692 return 1;
d55e5bfc
RD
23693}
23694
23695
1bd55598
RD
23696SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23697 PyObject *pyobj = 0;
23698
23699 {
d55e5bfc 23700#if wxUSE_UNICODE
1bd55598 23701 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23702#else
1bd55598 23703 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23704#endif
1bd55598
RD
23705 }
23706 return pyobj;
d55e5bfc
RD
23707}
23708
23709
1bd55598
RD
23710SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23711 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23712 return 1;
23713}
23714
23715
23716SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23717 PyObject *pyobj = 0;
23718
23719 {
d55e5bfc 23720#if wxUSE_UNICODE
1bd55598 23721 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23722#else
1bd55598 23723 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23724#endif
1bd55598
RD
23725 }
23726 return pyobj;
d55e5bfc
RD
23727}
23728
23729
1bd55598
RD
23730SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23731 PyObject *resultobj = 0;
23732 wxPrintData *result = 0 ;
23733
23734 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 result = (wxPrintData *)new wxPrintData();
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23742 return resultobj;
23743fail:
23744 return NULL;
d55e5bfc
RD
23745}
23746
23747
1bd55598
RD
23748SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23749 PyObject *resultobj = 0;
23750 wxPrintData *arg1 = 0 ;
23751 wxPrintData *result = 0 ;
23752 void *argp1 = 0 ;
23753 int res1 = 0 ;
23754
23755 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23757 if (!SWIG_IsOK(res1)) {
23758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23759 }
23760 if (!argp1) {
23761 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23762 }
23763 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23767 wxPyEndAllowThreads(__tstate);
23768 if (PyErr_Occurred()) SWIG_fail;
23769 }
23770 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23771 return resultobj;
23772fail:
23773 return NULL;
d55e5bfc
RD
23774}
23775
23776
1bd55598
RD
23777SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23778 int argc;
23779 PyObject *argv[2];
23780
23781 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23782 --argc;
23783 if (argc == 0) {
23784 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23785 }
23786 if (argc == 1) {
23787 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23788 }
23789
23790fail:
23791 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23792 return NULL;
d55e5bfc
RD
23793}
23794
23795
1bd55598
RD
23796SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23797 PyObject *resultobj = 0;
23798 wxPrintData *arg1 = (wxPrintData *) 0 ;
23799 void *argp1 = 0 ;
23800 int res1 = 0 ;
23801 PyObject *swig_obj[1] ;
23802
23803 if (!args) SWIG_fail;
23804 swig_obj[0] = args;
23805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23806 if (!SWIG_IsOK(res1)) {
23807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23808 }
23809 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 delete arg1;
d55e5bfc 23813
1bd55598
RD
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 resultobj = SWIG_Py_Void();
23818 return resultobj;
23819fail:
23820 return NULL;
d55e5bfc
RD
23821}
23822
23823
1bd55598
RD
23824SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23825 PyObject *resultobj = 0;
23826 wxPrintData *arg1 = (wxPrintData *) 0 ;
23827 int result;
23828 void *argp1 = 0 ;
23829 int res1 = 0 ;
23830 PyObject *swig_obj[1] ;
23831
23832 if (!args) SWIG_fail;
23833 swig_obj[0] = args;
23834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23835 if (!SWIG_IsOK(res1)) {
23836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23837 }
23838 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23839 {
23840 PyThreadState* __tstate = wxPyBeginAllowThreads();
23841 result = (int)(arg1)->GetNoCopies();
23842 wxPyEndAllowThreads(__tstate);
23843 if (PyErr_Occurred()) SWIG_fail;
23844 }
23845 resultobj = SWIG_From_int(static_cast< int >(result));
23846 return resultobj;
23847fail:
23848 return NULL;
d55e5bfc
RD
23849}
23850
23851
1bd55598
RD
23852SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23853 PyObject *resultobj = 0;
23854 wxPrintData *arg1 = (wxPrintData *) 0 ;
23855 bool result;
23856 void *argp1 = 0 ;
23857 int res1 = 0 ;
23858 PyObject *swig_obj[1] ;
23859
23860 if (!args) SWIG_fail;
23861 swig_obj[0] = args;
23862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23863 if (!SWIG_IsOK(res1)) {
23864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23865 }
23866 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23867 {
23868 PyThreadState* __tstate = wxPyBeginAllowThreads();
23869 result = (bool)(arg1)->GetCollate();
23870 wxPyEndAllowThreads(__tstate);
23871 if (PyErr_Occurred()) SWIG_fail;
23872 }
23873 {
23874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23875 }
23876 return resultobj;
23877fail:
23878 return NULL;
d55e5bfc
RD
23879}
23880
23881
1bd55598
RD
23882SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23883 PyObject *resultobj = 0;
23884 wxPrintData *arg1 = (wxPrintData *) 0 ;
23885 int result;
23886 void *argp1 = 0 ;
23887 int res1 = 0 ;
23888 PyObject *swig_obj[1] ;
23889
23890 if (!args) SWIG_fail;
23891 swig_obj[0] = args;
23892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23893 if (!SWIG_IsOK(res1)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23895 }
23896 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (int)(arg1)->GetOrientation();
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 resultobj = SWIG_From_int(static_cast< int >(result));
23904 return resultobj;
23905fail:
23906 return NULL;
d55e5bfc
RD
23907}
23908
23909
5172800e
RD
23910SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23911 PyObject *resultobj = 0;
23912 wxPrintData *arg1 = (wxPrintData *) 0 ;
23913 bool result;
23914 void *argp1 = 0 ;
23915 int res1 = 0 ;
23916 PyObject *swig_obj[1] ;
23917
23918 if (!args) SWIG_fail;
23919 swig_obj[0] = args;
23920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23921 if (!SWIG_IsOK(res1)) {
23922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23923 }
23924 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
23928 wxPyEndAllowThreads(__tstate);
23929 if (PyErr_Occurred()) SWIG_fail;
23930 }
23931 {
23932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23933 }
23934 return resultobj;
23935fail:
23936 return NULL;
23937}
23938
23939
b39fe951 23940SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
23941 PyObject *resultobj = 0;
23942 wxPrintData *arg1 = (wxPrintData *) 0 ;
23943 bool result;
23944 void *argp1 = 0 ;
23945 int res1 = 0 ;
23946 PyObject *swig_obj[1] ;
23947
23948 if (!args) SWIG_fail;
23949 swig_obj[0] = args;
23950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23951 if (!SWIG_IsOK(res1)) {
b39fe951 23952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
1bd55598
RD
23953 }
23954 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 23957 result = (bool)(arg1)->IsOk();
1bd55598
RD
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 {
23962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23963 }
23964 return resultobj;
23965fail:
23966 return NULL;
d55e5bfc
RD
23967}
23968
23969
1bd55598
RD
23970SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23971 PyObject *resultobj = 0;
23972 wxPrintData *arg1 = (wxPrintData *) 0 ;
23973 wxString *result = 0 ;
23974 void *argp1 = 0 ;
23975 int res1 = 0 ;
23976 PyObject *swig_obj[1] ;
23977
23978 if (!args) SWIG_fail;
23979 swig_obj[0] = args;
23980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23981 if (!SWIG_IsOK(res1)) {
23982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23983 }
23984 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23987 {
1bd55598
RD
23988 wxString const &_result_ref = (arg1)->GetPrinterName();
23989 result = (wxString *) &_result_ref;
d55e5bfc 23990 }
1bd55598
RD
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 {
d55e5bfc 23995#if wxUSE_UNICODE
1bd55598 23996 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23997#else
1bd55598 23998 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23999#endif
1bd55598
RD
24000 }
24001 return resultobj;
24002fail:
24003 return NULL;
d55e5bfc
RD
24004}
24005
24006
1bd55598
RD
24007SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24008 PyObject *resultobj = 0;
24009 wxPrintData *arg1 = (wxPrintData *) 0 ;
24010 bool result;
24011 void *argp1 = 0 ;
24012 int res1 = 0 ;
24013 PyObject *swig_obj[1] ;
24014
24015 if (!args) SWIG_fail;
24016 swig_obj[0] = args;
24017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24018 if (!SWIG_IsOK(res1)) {
24019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24020 }
24021 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24022 {
24023 PyThreadState* __tstate = wxPyBeginAllowThreads();
24024 result = (bool)(arg1)->GetColour();
24025 wxPyEndAllowThreads(__tstate);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 }
24028 {
24029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24030 }
24031 return resultobj;
24032fail:
24033 return NULL;
d55e5bfc
RD
24034}
24035
24036
1bd55598
RD
24037SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24038 PyObject *resultobj = 0;
24039 wxPrintData *arg1 = (wxPrintData *) 0 ;
24040 wxDuplexMode result;
24041 void *argp1 = 0 ;
24042 int res1 = 0 ;
24043 PyObject *swig_obj[1] ;
24044
24045 if (!args) SWIG_fail;
24046 swig_obj[0] = args;
24047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24048 if (!SWIG_IsOK(res1)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24050 }
24051 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = (wxDuplexMode)(arg1)->GetDuplex();
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
24058 resultobj = SWIG_From_int(static_cast< int >(result));
24059 return resultobj;
24060fail:
24061 return NULL;
d55e5bfc
RD
24062}
24063
24064
1bd55598
RD
24065SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24066 PyObject *resultobj = 0;
24067 wxPrintData *arg1 = (wxPrintData *) 0 ;
24068 wxPaperSize result;
24069 void *argp1 = 0 ;
24070 int res1 = 0 ;
24071 PyObject *swig_obj[1] ;
24072
24073 if (!args) SWIG_fail;
24074 swig_obj[0] = args;
24075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24076 if (!SWIG_IsOK(res1)) {
24077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24078 }
24079 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24080 {
24081 PyThreadState* __tstate = wxPyBeginAllowThreads();
24082 result = (wxPaperSize)(arg1)->GetPaperId();
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 resultobj = SWIG_From_int(static_cast< int >(result));
24087 return resultobj;
24088fail:
24089 return NULL;
070c48b4
RD
24090}
24091
24092
1bd55598
RD
24093SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24094 PyObject *resultobj = 0;
24095 wxPrintData *arg1 = (wxPrintData *) 0 ;
24096 wxSize *result = 0 ;
24097 void *argp1 = 0 ;
24098 int res1 = 0 ;
24099 PyObject *swig_obj[1] ;
24100
24101 if (!args) SWIG_fail;
24102 swig_obj[0] = args;
24103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24104 if (!SWIG_IsOK(res1)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24106 }
24107 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 24110 {
1bd55598
RD
24111 wxSize const &_result_ref = (arg1)->GetPaperSize();
24112 result = (wxSize *) &_result_ref;
070c48b4 24113 }
1bd55598
RD
24114 wxPyEndAllowThreads(__tstate);
24115 if (PyErr_Occurred()) SWIG_fail;
24116 }
24117 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24118 return resultobj;
24119fail:
24120 return NULL;
d55e5bfc
RD
24121}
24122
24123
1bd55598
RD
24124SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24125 PyObject *resultobj = 0;
24126 wxPrintData *arg1 = (wxPrintData *) 0 ;
24127 int result;
24128 void *argp1 = 0 ;
24129 int res1 = 0 ;
24130 PyObject *swig_obj[1] ;
24131
24132 if (!args) SWIG_fail;
24133 swig_obj[0] = args;
24134 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24135 if (!SWIG_IsOK(res1)) {
24136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24137 }
24138 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 result = (int)(arg1)->GetQuality();
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 resultobj = SWIG_From_int(static_cast< int >(result));
24146 return resultobj;
24147fail:
24148 return NULL;
d55e5bfc
RD
24149}
24150
24151
1bd55598
RD
24152SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24153 PyObject *resultobj = 0;
24154 wxPrintData *arg1 = (wxPrintData *) 0 ;
24155 wxPrintBin result;
24156 void *argp1 = 0 ;
24157 int res1 = 0 ;
24158 PyObject *swig_obj[1] ;
24159
24160 if (!args) SWIG_fail;
24161 swig_obj[0] = args;
24162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24163 if (!SWIG_IsOK(res1)) {
24164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24165 }
24166 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24167 {
24168 PyThreadState* __tstate = wxPyBeginAllowThreads();
24169 result = (wxPrintBin)(arg1)->GetBin();
24170 wxPyEndAllowThreads(__tstate);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 }
24173 resultobj = SWIG_From_int(static_cast< int >(result));
24174 return resultobj;
24175fail:
24176 return NULL;
d55e5bfc
RD
24177}
24178
24179
1bd55598
RD
24180SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24181 PyObject *resultobj = 0;
24182 wxPrintData *arg1 = (wxPrintData *) 0 ;
24183 wxPrintMode result;
24184 void *argp1 = 0 ;
24185 int res1 = 0 ;
24186 PyObject *swig_obj[1] ;
24187
24188 if (!args) SWIG_fail;
24189 swig_obj[0] = args;
24190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24191 if (!SWIG_IsOK(res1)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24193 }
24194 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24195 {
24196 PyThreadState* __tstate = wxPyBeginAllowThreads();
24197 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 resultobj = SWIG_From_int(static_cast< int >(result));
24202 return resultobj;
24203fail:
24204 return NULL;
24205}
24206
24207
8f514ab4
RD
24208SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24209 PyObject *resultobj = 0;
24210 wxPrintData *arg1 = (wxPrintData *) 0 ;
24211 int result;
24212 void *argp1 = 0 ;
24213 int res1 = 0 ;
24214 PyObject *swig_obj[1] ;
24215
24216 if (!args) SWIG_fail;
24217 swig_obj[0] = args;
24218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24219 if (!SWIG_IsOK(res1)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24221 }
24222 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 result = (int)((wxPrintData const *)arg1)->GetMedia();
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 resultobj = SWIG_From_int(static_cast< int >(result));
24230 return resultobj;
24231fail:
24232 return NULL;
24233}
24234
24235
1bd55598
RD
24236SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj = 0;
24238 wxPrintData *arg1 = (wxPrintData *) 0 ;
24239 int arg2 ;
24240 void *argp1 = 0 ;
24241 int res1 = 0 ;
24242 int val2 ;
24243 int ecode2 = 0 ;
24244 PyObject * obj0 = 0 ;
24245 PyObject * obj1 = 0 ;
24246 char * kwnames[] = {
24247 (char *) "self",(char *) "v", NULL
24248 };
24249
24250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24252 if (!SWIG_IsOK(res1)) {
24253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24254 }
24255 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24256 ecode2 = SWIG_AsVal_int(obj1, &val2);
24257 if (!SWIG_IsOK(ecode2)) {
24258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24259 }
24260 arg2 = static_cast< int >(val2);
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 (arg1)->SetNoCopies(arg2);
24264 wxPyEndAllowThreads(__tstate);
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 resultobj = SWIG_Py_Void();
24268 return resultobj;
24269fail:
24270 return NULL;
24271}
24272
24273
24274SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24275 PyObject *resultobj = 0;
24276 wxPrintData *arg1 = (wxPrintData *) 0 ;
24277 bool arg2 ;
24278 void *argp1 = 0 ;
24279 int res1 = 0 ;
24280 bool val2 ;
24281 int ecode2 = 0 ;
24282 PyObject * obj0 = 0 ;
24283 PyObject * obj1 = 0 ;
24284 char * kwnames[] = {
24285 (char *) "self",(char *) "flag", NULL
24286 };
24287
24288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24290 if (!SWIG_IsOK(res1)) {
24291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24292 }
24293 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24294 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24295 if (!SWIG_IsOK(ecode2)) {
24296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24297 }
24298 arg2 = static_cast< bool >(val2);
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 (arg1)->SetCollate(arg2);
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 resultobj = SWIG_Py_Void();
24306 return resultobj;
24307fail:
24308 return NULL;
24309}
24310
24311
24312SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj = 0;
24314 wxPrintData *arg1 = (wxPrintData *) 0 ;
24315 int arg2 ;
24316 void *argp1 = 0 ;
24317 int res1 = 0 ;
24318 int val2 ;
24319 int ecode2 = 0 ;
24320 PyObject * obj0 = 0 ;
24321 PyObject * obj1 = 0 ;
24322 char * kwnames[] = {
24323 (char *) "self",(char *) "orient", NULL
24324 };
24325
24326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24328 if (!SWIG_IsOK(res1)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24330 }
24331 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24332 ecode2 = SWIG_AsVal_int(obj1, &val2);
24333 if (!SWIG_IsOK(ecode2)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24335 }
24336 arg2 = static_cast< int >(val2);
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 (arg1)->SetOrientation(arg2);
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 resultobj = SWIG_Py_Void();
24344 return resultobj;
24345fail:
24346 return NULL;
24347}
24348
24349
5172800e
RD
24350SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj = 0;
24352 wxPrintData *arg1 = (wxPrintData *) 0 ;
24353 bool arg2 ;
24354 void *argp1 = 0 ;
24355 int res1 = 0 ;
24356 bool val2 ;
24357 int ecode2 = 0 ;
24358 PyObject * obj0 = 0 ;
24359 PyObject * obj1 = 0 ;
24360 char * kwnames[] = {
24361 (char *) "self",(char *) "reversed", NULL
24362 };
24363
24364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24366 if (!SWIG_IsOK(res1)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24368 }
24369 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24370 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24371 if (!SWIG_IsOK(ecode2)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24373 }
24374 arg2 = static_cast< bool >(val2);
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 (arg1)->SetOrientationReversed(arg2);
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 resultobj = SWIG_Py_Void();
24382 return resultobj;
24383fail:
24384 return NULL;
24385}
24386
24387
1bd55598
RD
24388SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj = 0;
24390 wxPrintData *arg1 = (wxPrintData *) 0 ;
24391 wxString *arg2 = 0 ;
24392 void *argp1 = 0 ;
24393 int res1 = 0 ;
24394 bool temp2 = false ;
24395 PyObject * obj0 = 0 ;
24396 PyObject * obj1 = 0 ;
24397 char * kwnames[] = {
24398 (char *) "self",(char *) "name", NULL
24399 };
24400
24401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24403 if (!SWIG_IsOK(res1)) {
24404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24405 }
24406 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24407 {
24408 arg2 = wxString_in_helper(obj1);
24409 if (arg2 == NULL) SWIG_fail;
24410 temp2 = true;
24411 }
24412 {
24413 PyThreadState* __tstate = wxPyBeginAllowThreads();
24414 (arg1)->SetPrinterName((wxString const &)*arg2);
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 resultobj = SWIG_Py_Void();
24419 {
24420 if (temp2)
24421 delete arg2;
24422 }
24423 return resultobj;
24424fail:
24425 {
24426 if (temp2)
24427 delete arg2;
24428 }
24429 return NULL;
24430}
24431
24432
24433SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj = 0;
24435 wxPrintData *arg1 = (wxPrintData *) 0 ;
24436 bool arg2 ;
24437 void *argp1 = 0 ;
24438 int res1 = 0 ;
24439 bool val2 ;
24440 int ecode2 = 0 ;
24441 PyObject * obj0 = 0 ;
24442 PyObject * obj1 = 0 ;
24443 char * kwnames[] = {
24444 (char *) "self",(char *) "colour", NULL
24445 };
24446
24447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24449 if (!SWIG_IsOK(res1)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24451 }
24452 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24453 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24454 if (!SWIG_IsOK(ecode2)) {
24455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24456 }
24457 arg2 = static_cast< bool >(val2);
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 (arg1)->SetColour(arg2);
24461 wxPyEndAllowThreads(__tstate);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 resultobj = SWIG_Py_Void();
24465 return resultobj;
24466fail:
24467 return NULL;
24468}
24469
24470
24471SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24472 PyObject *resultobj = 0;
24473 wxPrintData *arg1 = (wxPrintData *) 0 ;
24474 wxDuplexMode arg2 ;
24475 void *argp1 = 0 ;
24476 int res1 = 0 ;
24477 int val2 ;
24478 int ecode2 = 0 ;
24479 PyObject * obj0 = 0 ;
24480 PyObject * obj1 = 0 ;
24481 char * kwnames[] = {
24482 (char *) "self",(char *) "duplex", NULL
24483 };
24484
24485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24487 if (!SWIG_IsOK(res1)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24489 }
24490 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24491 ecode2 = SWIG_AsVal_int(obj1, &val2);
24492 if (!SWIG_IsOK(ecode2)) {
24493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24494 }
24495 arg2 = static_cast< wxDuplexMode >(val2);
24496 {
24497 PyThreadState* __tstate = wxPyBeginAllowThreads();
24498 (arg1)->SetDuplex(arg2);
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 resultobj = SWIG_Py_Void();
24503 return resultobj;
24504fail:
24505 return NULL;
24506}
24507
24508
24509SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj = 0;
24511 wxPrintData *arg1 = (wxPrintData *) 0 ;
24512 wxPaperSize arg2 ;
24513 void *argp1 = 0 ;
24514 int res1 = 0 ;
24515 int val2 ;
24516 int ecode2 = 0 ;
24517 PyObject * obj0 = 0 ;
24518 PyObject * obj1 = 0 ;
24519 char * kwnames[] = {
24520 (char *) "self",(char *) "sizeId", NULL
24521 };
24522
24523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24525 if (!SWIG_IsOK(res1)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24527 }
24528 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24529 ecode2 = SWIG_AsVal_int(obj1, &val2);
24530 if (!SWIG_IsOK(ecode2)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24532 }
24533 arg2 = static_cast< wxPaperSize >(val2);
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 (arg1)->SetPaperId(arg2);
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 resultobj = SWIG_Py_Void();
24541 return resultobj;
24542fail:
24543 return NULL;
24544}
24545
24546
24547SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj = 0;
24549 wxPrintData *arg1 = (wxPrintData *) 0 ;
24550 wxSize *arg2 = 0 ;
24551 void *argp1 = 0 ;
24552 int res1 = 0 ;
24553 wxSize temp2 ;
24554 PyObject * obj0 = 0 ;
24555 PyObject * obj1 = 0 ;
24556 char * kwnames[] = {
24557 (char *) "self",(char *) "sz", NULL
24558 };
24559
24560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24562 if (!SWIG_IsOK(res1)) {
24563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24564 }
24565 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24566 {
24567 arg2 = &temp2;
24568 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24569 }
24570 {
24571 PyThreadState* __tstate = wxPyBeginAllowThreads();
24572 (arg1)->SetPaperSize((wxSize const &)*arg2);
24573 wxPyEndAllowThreads(__tstate);
24574 if (PyErr_Occurred()) SWIG_fail;
24575 }
24576 resultobj = SWIG_Py_Void();
24577 return resultobj;
24578fail:
24579 return NULL;
24580}
24581
24582
24583SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24584 PyObject *resultobj = 0;
24585 wxPrintData *arg1 = (wxPrintData *) 0 ;
24586 int arg2 ;
24587 void *argp1 = 0 ;
24588 int res1 = 0 ;
24589 int val2 ;
24590 int ecode2 = 0 ;
24591 PyObject * obj0 = 0 ;
24592 PyObject * obj1 = 0 ;
24593 char * kwnames[] = {
24594 (char *) "self",(char *) "quality", NULL
24595 };
24596
24597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24599 if (!SWIG_IsOK(res1)) {
24600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24601 }
24602 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24603 ecode2 = SWIG_AsVal_int(obj1, &val2);
24604 if (!SWIG_IsOK(ecode2)) {
24605 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24606 }
24607 arg2 = static_cast< int >(val2);
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 (arg1)->SetQuality(arg2);
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
24614 resultobj = SWIG_Py_Void();
24615 return resultobj;
24616fail:
24617 return NULL;
24618}
24619
24620
24621SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj = 0;
24623 wxPrintData *arg1 = (wxPrintData *) 0 ;
24624 wxPrintBin arg2 ;
24625 void *argp1 = 0 ;
24626 int res1 = 0 ;
24627 int val2 ;
24628 int ecode2 = 0 ;
24629 PyObject * obj0 = 0 ;
24630 PyObject * obj1 = 0 ;
24631 char * kwnames[] = {
24632 (char *) "self",(char *) "bin", NULL
24633 };
24634
24635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24637 if (!SWIG_IsOK(res1)) {
24638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24639 }
24640 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24641 ecode2 = SWIG_AsVal_int(obj1, &val2);
24642 if (!SWIG_IsOK(ecode2)) {
24643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24644 }
24645 arg2 = static_cast< wxPrintBin >(val2);
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 (arg1)->SetBin(arg2);
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 resultobj = SWIG_Py_Void();
24653 return resultobj;
24654fail:
24655 return NULL;
24656}
24657
24658
24659SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24660 PyObject *resultobj = 0;
24661 wxPrintData *arg1 = (wxPrintData *) 0 ;
24662 wxPrintMode arg2 ;
24663 void *argp1 = 0 ;
24664 int res1 = 0 ;
24665 int val2 ;
24666 int ecode2 = 0 ;
24667 PyObject * obj0 = 0 ;
24668 PyObject * obj1 = 0 ;
24669 char * kwnames[] = {
24670 (char *) "self",(char *) "printMode", NULL
24671 };
24672
24673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24675 if (!SWIG_IsOK(res1)) {
24676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24677 }
24678 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24679 ecode2 = SWIG_AsVal_int(obj1, &val2);
24680 if (!SWIG_IsOK(ecode2)) {
24681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24682 }
24683 arg2 = static_cast< wxPrintMode >(val2);
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 (arg1)->SetPrintMode(arg2);
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 resultobj = SWIG_Py_Void();
24691 return resultobj;
24692fail:
24693 return NULL;
24694}
d55e5bfc
RD
24695
24696
8f514ab4
RD
24697SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24698 PyObject *resultobj = 0;
24699 wxPrintData *arg1 = (wxPrintData *) 0 ;
24700 int arg2 ;
24701 void *argp1 = 0 ;
24702 int res1 = 0 ;
24703 int val2 ;
24704 int ecode2 = 0 ;
24705 PyObject * obj0 = 0 ;
24706 PyObject * obj1 = 0 ;
24707 char * kwnames[] = {
24708 (char *) "self",(char *) "media", NULL
24709 };
24710
24711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24713 if (!SWIG_IsOK(res1)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24715 }
24716 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24717 ecode2 = SWIG_AsVal_int(obj1, &val2);
24718 if (!SWIG_IsOK(ecode2)) {
24719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24720 }
24721 arg2 = static_cast< int >(val2);
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 (arg1)->SetMedia(arg2);
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 resultobj = SWIG_Py_Void();
24729 return resultobj;
24730fail:
24731 return NULL;
24732}
24733
24734
1bd55598
RD
24735SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24736 PyObject *resultobj = 0;
24737 wxPrintData *arg1 = (wxPrintData *) 0 ;
24738 wxString result;
24739 void *argp1 = 0 ;
24740 int res1 = 0 ;
24741 PyObject *swig_obj[1] ;
24742
24743 if (!args) SWIG_fail;
24744 swig_obj[0] = args;
24745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24746 if (!SWIG_IsOK(res1)) {
24747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24748 }
24749 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 result = ((wxPrintData const *)arg1)->GetFilename();
24753 wxPyEndAllowThreads(__tstate);
24754 if (PyErr_Occurred()) SWIG_fail;
24755 }
24756 {
24757#if wxUSE_UNICODE
24758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24759#else
24760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24761#endif
24762 }
24763 return resultobj;
24764fail:
24765 return NULL;
24766}
24767
24768
24769SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24770 PyObject *resultobj = 0;
24771 wxPrintData *arg1 = (wxPrintData *) 0 ;
24772 wxString *arg2 = 0 ;
24773 void *argp1 = 0 ;
24774 int res1 = 0 ;
24775 bool temp2 = false ;
24776 PyObject * obj0 = 0 ;
24777 PyObject * obj1 = 0 ;
24778 char * kwnames[] = {
24779 (char *) "self",(char *) "filename", NULL
24780 };
24781
24782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24784 if (!SWIG_IsOK(res1)) {
24785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24786 }
24787 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24788 {
24789 arg2 = wxString_in_helper(obj1);
24790 if (arg2 == NULL) SWIG_fail;
24791 temp2 = true;
24792 }
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 (arg1)->SetFilename((wxString const &)*arg2);
24796 wxPyEndAllowThreads(__tstate);
24797 if (PyErr_Occurred()) SWIG_fail;
24798 }
24799 resultobj = SWIG_Py_Void();
24800 {
24801 if (temp2)
24802 delete arg2;
24803 }
24804 return resultobj;
24805fail:
24806 {
24807 if (temp2)
24808 delete arg2;
24809 }
24810 return NULL;
d55e5bfc
RD
24811}
24812
24813
1bd55598
RD
24814SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24815 PyObject *resultobj = 0;
24816 wxPrintData *arg1 = (wxPrintData *) 0 ;
24817 PyObject *result = 0 ;
24818 void *argp1 = 0 ;
24819 int res1 = 0 ;
24820 PyObject *swig_obj[1] ;
24821
24822 if (!args) SWIG_fail;
24823 swig_obj[0] = args;
24824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24825 if (!SWIG_IsOK(res1)) {
24826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24827 }
24828 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24829 {
24830 PyThreadState* __tstate = wxPyBeginAllowThreads();
24831 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24832 wxPyEndAllowThreads(__tstate);
24833 if (PyErr_Occurred()) SWIG_fail;
24834 }
24835 resultobj = result;
24836 return resultobj;
24837fail:
24838 return NULL;
24839}
24840
24841
24842SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24843 PyObject *resultobj = 0;
24844 wxPrintData *arg1 = (wxPrintData *) 0 ;
24845 PyObject *arg2 = (PyObject *) 0 ;
24846 void *argp1 = 0 ;
24847 int res1 = 0 ;
24848 PyObject * obj0 = 0 ;
24849 PyObject * obj1 = 0 ;
24850 char * kwnames[] = {
24851 (char *) "self",(char *) "data", NULL
24852 };
24853
24854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24856 if (!SWIG_IsOK(res1)) {
24857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24858 }
24859 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24860 arg2 = obj1;
24861 {
24862 PyThreadState* __tstate = wxPyBeginAllowThreads();
24863 wxPrintData_SetPrivData(arg1,arg2);
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 resultobj = SWIG_Py_Void();
24868 return resultobj;
24869fail:
24870 return NULL;
d55e5bfc
RD
24871}
24872
24873
1bd55598
RD
24874SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24875 PyObject *obj;
24876 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24877 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24878 return SWIG_Py_Void();
d55e5bfc
RD
24879}
24880
1bd55598
RD
24881SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24882 return SWIG_Python_InitShadowInstance(args);
24883}
d55e5bfc 24884
1bd55598
RD
24885SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24886 PyObject *resultobj = 0;
24887 wxPageSetupDialogData *result = 0 ;
24888
24889 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24890 {
24891 PyThreadState* __tstate = wxPyBeginAllowThreads();
24892 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24893 wxPyEndAllowThreads(__tstate);
24894 if (PyErr_Occurred()) SWIG_fail;
24895 }
24896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24897 return resultobj;
24898fail:
24899 return NULL;
d55e5bfc
RD
24900}
24901
24902
1bd55598
RD
24903SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24904 PyObject *resultobj = 0;
24905 wxPageSetupDialogData *arg1 = 0 ;
24906 wxPageSetupDialogData *result = 0 ;
24907 void *argp1 = 0 ;
24908 int res1 = 0 ;
24909
24910 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24912 if (!SWIG_IsOK(res1)) {
24913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24914 }
24915 if (!argp1) {
24916 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24917 }
24918 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24919 {
24920 PyThreadState* __tstate = wxPyBeginAllowThreads();
24921 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24922 wxPyEndAllowThreads(__tstate);
24923 if (PyErr_Occurred()) SWIG_fail;
24924 }
24925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24926 return resultobj;
24927fail:
24928 return NULL;
d55e5bfc
RD
24929}
24930
24931
1bd55598
RD
24932SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24933 PyObject *resultobj = 0;
24934 wxPrintData *arg1 = 0 ;
24935 wxPageSetupDialogData *result = 0 ;
24936 void *argp1 = 0 ;
24937 int res1 = 0 ;
24938
24939 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24941 if (!SWIG_IsOK(res1)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24943 }
24944 if (!argp1) {
24945 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24946 }
24947 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24951 wxPyEndAllowThreads(__tstate);
24952 if (PyErr_Occurred()) SWIG_fail;
24953 }
24954 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24955 return resultobj;
24956fail:
24957 return NULL;
d55e5bfc
RD
24958}
24959
24960
1bd55598
RD
24961SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24962 int argc;
24963 PyObject *argv[2];
24964
24965 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24966 --argc;
24967 if (argc == 0) {
24968 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24969 }
24970 if (argc == 1) {
24971 int _v = 0;
36ed4f51 24972 {
1bd55598
RD
24973 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24974 _v = SWIG_CheckState(res);
d55e5bfc 24975 }
1bd55598
RD
24976 if (!_v) goto check_2;
24977 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24978 }
24979check_2:
24980
24981 if (argc == 1) {
24982 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24983 }
24984
24985fail:
24986 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24987 return NULL;
d55e5bfc
RD
24988}
24989
24990
1bd55598
RD
24991SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24992 PyObject *resultobj = 0;
24993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24994 void *argp1 = 0 ;
24995 int res1 = 0 ;
24996 PyObject *swig_obj[1] ;
24997
24998 if (!args) SWIG_fail;
24999 swig_obj[0] = args;
25000 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
25001 if (!SWIG_IsOK(res1)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25003 }
25004 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25005 {
25006 PyThreadState* __tstate = wxPyBeginAllowThreads();
25007 delete arg1;
d55e5bfc 25008
1bd55598
RD
25009 wxPyEndAllowThreads(__tstate);
25010 if (PyErr_Occurred()) SWIG_fail;
25011 }
25012 resultobj = SWIG_Py_Void();
25013 return resultobj;
25014fail:
25015 return NULL;
25016}
25017
25018
25019SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25020 PyObject *resultobj = 0;
25021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25022 bool arg2 ;
25023 void *argp1 = 0 ;
25024 int res1 = 0 ;
25025 bool val2 ;
25026 int ecode2 = 0 ;
25027 PyObject * obj0 = 0 ;
25028 PyObject * obj1 = 0 ;
25029 char * kwnames[] = {
25030 (char *) "self",(char *) "flag", NULL
25031 };
25032
25033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25035 if (!SWIG_IsOK(res1)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25037 }
25038 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25039 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25040 if (!SWIG_IsOK(ecode2)) {
25041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25042 }
25043 arg2 = static_cast< bool >(val2);
25044 {
25045 PyThreadState* __tstate = wxPyBeginAllowThreads();
25046 (arg1)->EnableHelp(arg2);
25047 wxPyEndAllowThreads(__tstate);
25048 if (PyErr_Occurred()) SWIG_fail;
25049 }
25050 resultobj = SWIG_Py_Void();
25051 return resultobj;
25052fail:
25053 return NULL;
25054}
25055
25056
25057SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25058 PyObject *resultobj = 0;
25059 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25060 bool arg2 ;
25061 void *argp1 = 0 ;
25062 int res1 = 0 ;
25063 bool val2 ;
25064 int ecode2 = 0 ;
25065 PyObject * obj0 = 0 ;
25066 PyObject * obj1 = 0 ;
25067 char * kwnames[] = {
25068 (char *) "self",(char *) "flag", NULL
25069 };
25070
25071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25073 if (!SWIG_IsOK(res1)) {
25074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25075 }
25076 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25077 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25078 if (!SWIG_IsOK(ecode2)) {
25079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25080 }
25081 arg2 = static_cast< bool >(val2);
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 (arg1)->EnableMargins(arg2);
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 resultobj = SWIG_Py_Void();
25089 return resultobj;
25090fail:
25091 return NULL;
25092}
25093
25094
25095SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj = 0;
25097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25098 bool arg2 ;
25099 void *argp1 = 0 ;
25100 int res1 = 0 ;
25101 bool val2 ;
25102 int ecode2 = 0 ;
25103 PyObject * obj0 = 0 ;
25104 PyObject * obj1 = 0 ;
25105 char * kwnames[] = {
25106 (char *) "self",(char *) "flag", NULL
25107 };
25108
25109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25111 if (!SWIG_IsOK(res1)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25113 }
25114 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25115 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25116 if (!SWIG_IsOK(ecode2)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25118 }
25119 arg2 = static_cast< bool >(val2);
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 (arg1)->EnableOrientation(arg2);
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 resultobj = SWIG_Py_Void();
25127 return resultobj;
25128fail:
25129 return NULL;
25130}
25131
25132
25133SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj = 0;
25135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25136 bool arg2 ;
25137 void *argp1 = 0 ;
25138 int res1 = 0 ;
25139 bool val2 ;
25140 int ecode2 = 0 ;
25141 PyObject * obj0 = 0 ;
25142 PyObject * obj1 = 0 ;
25143 char * kwnames[] = {
25144 (char *) "self",(char *) "flag", NULL
25145 };
25146
25147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25149 if (!SWIG_IsOK(res1)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25151 }
25152 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25153 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25154 if (!SWIG_IsOK(ecode2)) {
25155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25156 }
25157 arg2 = static_cast< bool >(val2);
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 (arg1)->EnablePaper(arg2);
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 resultobj = SWIG_Py_Void();
25165 return resultobj;
25166fail:
25167 return NULL;
25168}
25169
25170
25171SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25172 PyObject *resultobj = 0;
25173 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25174 bool arg2 ;
25175 void *argp1 = 0 ;
25176 int res1 = 0 ;
25177 bool val2 ;
25178 int ecode2 = 0 ;
25179 PyObject * obj0 = 0 ;
25180 PyObject * obj1 = 0 ;
25181 char * kwnames[] = {
25182 (char *) "self",(char *) "flag", NULL
25183 };
25184
25185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25187 if (!SWIG_IsOK(res1)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25189 }
25190 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25191 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25192 if (!SWIG_IsOK(ecode2)) {
25193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25194 }
25195 arg2 = static_cast< bool >(val2);
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 (arg1)->EnablePrinter(arg2);
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 resultobj = SWIG_Py_Void();
25203 return resultobj;
25204fail:
25205 return NULL;
d55e5bfc
RD
25206}
25207
25208
1bd55598
RD
25209SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25210 PyObject *resultobj = 0;
25211 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25212 bool result;
25213 void *argp1 = 0 ;
25214 int res1 = 0 ;
25215 PyObject *swig_obj[1] ;
25216
25217 if (!args) SWIG_fail;
25218 swig_obj[0] = args;
25219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25220 if (!SWIG_IsOK(res1)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25222 }
25223 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 result = (bool)(arg1)->GetDefaultMinMargins();
25227 wxPyEndAllowThreads(__tstate);
25228 if (PyErr_Occurred()) SWIG_fail;
25229 }
25230 {
25231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25232 }
25233 return resultobj;
25234fail:
25235 return NULL;
d55e5bfc
RD
25236}
25237
25238
1bd55598
RD
25239SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25240 PyObject *resultobj = 0;
25241 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25242 bool result;
25243 void *argp1 = 0 ;
25244 int res1 = 0 ;
25245 PyObject *swig_obj[1] ;
25246
25247 if (!args) SWIG_fail;
25248 swig_obj[0] = args;
25249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25250 if (!SWIG_IsOK(res1)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25252 }
25253 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25254 {
25255 PyThreadState* __tstate = wxPyBeginAllowThreads();
25256 result = (bool)(arg1)->GetEnableMargins();
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 {
25261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25262 }
25263 return resultobj;
25264fail:
25265 return NULL;
d55e5bfc
RD
25266}
25267
25268
1bd55598
RD
25269SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25270 PyObject *resultobj = 0;
25271 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25272 bool result;
25273 void *argp1 = 0 ;
25274 int res1 = 0 ;
25275 PyObject *swig_obj[1] ;
25276
25277 if (!args) SWIG_fail;
25278 swig_obj[0] = args;
25279 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25280 if (!SWIG_IsOK(res1)) {
25281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25282 }
25283 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 result = (bool)(arg1)->GetEnableOrientation();
25287 wxPyEndAllowThreads(__tstate);
25288 if (PyErr_Occurred()) SWIG_fail;
25289 }
25290 {
25291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25292 }
25293 return resultobj;
25294fail:
25295 return NULL;
d55e5bfc
RD
25296}
25297
25298
1bd55598
RD
25299SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25300 PyObject *resultobj = 0;
25301 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25302 bool result;
25303 void *argp1 = 0 ;
25304 int res1 = 0 ;
25305 PyObject *swig_obj[1] ;
25306
25307 if (!args) SWIG_fail;
25308 swig_obj[0] = args;
25309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25310 if (!SWIG_IsOK(res1)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25312 }
25313 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25314 {
25315 PyThreadState* __tstate = wxPyBeginAllowThreads();
25316 result = (bool)(arg1)->GetEnablePaper();
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 {
25321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25322 }
25323 return resultobj;
25324fail:
25325 return NULL;
d55e5bfc
RD
25326}
25327
25328
1bd55598
RD
25329SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25330 PyObject *resultobj = 0;
25331 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25332 bool result;
25333 void *argp1 = 0 ;
25334 int res1 = 0 ;
25335 PyObject *swig_obj[1] ;
25336
25337 if (!args) SWIG_fail;
25338 swig_obj[0] = args;
25339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25340 if (!SWIG_IsOK(res1)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25342 }
25343 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 result = (bool)(arg1)->GetEnablePrinter();
25347 wxPyEndAllowThreads(__tstate);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 }
25350 {
25351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25352 }
25353 return resultobj;
25354fail:
25355 return NULL;
32fe5131
RD
25356}
25357
25358
1bd55598
RD
25359SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25360 PyObject *resultobj = 0;
25361 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25362 bool result;
25363 void *argp1 = 0 ;
25364 int res1 = 0 ;
25365 PyObject *swig_obj[1] ;
25366
25367 if (!args) SWIG_fail;
25368 swig_obj[0] = args;
25369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25370 if (!SWIG_IsOK(res1)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25372 }
25373 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 result = (bool)(arg1)->GetEnableHelp();
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 {
25381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25382 }
25383 return resultobj;
25384fail:
25385 return NULL;
d55e5bfc
RD
25386}
25387
25388
1bd55598
RD
25389SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25390 PyObject *resultobj = 0;
25391 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25392 bool result;
25393 void *argp1 = 0 ;
25394 int res1 = 0 ;
25395 PyObject *swig_obj[1] ;
25396
25397 if (!args) SWIG_fail;
25398 swig_obj[0] = args;
25399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25400 if (!SWIG_IsOK(res1)) {
25401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25402 }
25403 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25404 {
25405 PyThreadState* __tstate = wxPyBeginAllowThreads();
25406 result = (bool)(arg1)->GetDefaultInfo();
25407 wxPyEndAllowThreads(__tstate);
25408 if (PyErr_Occurred()) SWIG_fail;
25409 }
25410 {
25411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25412 }
25413 return resultobj;
25414fail:
25415 return NULL;
d55e5bfc
RD
25416}
25417
25418
1bd55598
RD
25419SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25420 PyObject *resultobj = 0;
25421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25422 wxPoint result;
25423 void *argp1 = 0 ;
25424 int res1 = 0 ;
25425 PyObject *swig_obj[1] ;
25426
25427 if (!args) SWIG_fail;
25428 swig_obj[0] = args;
25429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25430 if (!SWIG_IsOK(res1)) {
25431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25432 }
25433 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25434 {
25435 PyThreadState* __tstate = wxPyBeginAllowThreads();
25436 result = (arg1)->GetMarginTopLeft();
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
25440 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25441 return resultobj;
25442fail:
25443 return NULL;
d55e5bfc
RD
25444}
25445
25446
1bd55598
RD
25447SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25448 PyObject *resultobj = 0;
25449 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25450 wxPoint result;
25451 void *argp1 = 0 ;
25452 int res1 = 0 ;
25453 PyObject *swig_obj[1] ;
25454
25455 if (!args) SWIG_fail;
25456 swig_obj[0] = args;
25457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25458 if (!SWIG_IsOK(res1)) {
25459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25460 }
25461 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 result = (arg1)->GetMarginBottomRight();
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25469 return resultobj;
25470fail:
25471 return NULL;
d55e5bfc
RD
25472}
25473
25474
1bd55598
RD
25475SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25476 PyObject *resultobj = 0;
25477 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25478 wxPoint result;
25479 void *argp1 = 0 ;
25480 int res1 = 0 ;
25481 PyObject *swig_obj[1] ;
25482
25483 if (!args) SWIG_fail;
25484 swig_obj[0] = args;
25485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25486 if (!SWIG_IsOK(res1)) {
25487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25488 }
25489 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25490 {
25491 PyThreadState* __tstate = wxPyBeginAllowThreads();
25492 result = (arg1)->GetMinMarginTopLeft();
25493 wxPyEndAllowThreads(__tstate);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 }
25496 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25497 return resultobj;
25498fail:
25499 return NULL;
d55e5bfc
RD
25500}
25501
25502
1bd55598
RD
25503SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25504 PyObject *resultobj = 0;
25505 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25506 wxPoint result;
25507 void *argp1 = 0 ;
25508 int res1 = 0 ;
25509 PyObject *swig_obj[1] ;
25510
25511 if (!args) SWIG_fail;
25512 swig_obj[0] = args;
25513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25514 if (!SWIG_IsOK(res1)) {
25515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25516 }
25517 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 result = (arg1)->GetMinMarginBottomRight();
25521 wxPyEndAllowThreads(__tstate);
25522 if (PyErr_Occurred()) SWIG_fail;
25523 }
25524 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25525 return resultobj;
25526fail:
25527 return NULL;
d55e5bfc
RD
25528}
25529
25530
1bd55598
RD
25531SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25532 PyObject *resultobj = 0;
25533 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25534 wxPaperSize result;
25535 void *argp1 = 0 ;
25536 int res1 = 0 ;
25537 PyObject *swig_obj[1] ;
25538
25539 if (!args) SWIG_fail;
25540 swig_obj[0] = args;
25541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25542 if (!SWIG_IsOK(res1)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25544 }
25545 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 result = (wxPaperSize)(arg1)->GetPaperId();
25549 wxPyEndAllowThreads(__tstate);
25550 if (PyErr_Occurred()) SWIG_fail;
25551 }
25552 resultobj = SWIG_From_int(static_cast< int >(result));
25553 return resultobj;
25554fail:
25555 return NULL;
d55e5bfc
RD
25556}
25557
25558
1bd55598
RD
25559SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25560 PyObject *resultobj = 0;
25561 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25562 wxSize result;
25563 void *argp1 = 0 ;
25564 int res1 = 0 ;
25565 PyObject *swig_obj[1] ;
25566
25567 if (!args) SWIG_fail;
25568 swig_obj[0] = args;
25569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25570 if (!SWIG_IsOK(res1)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25572 }
25573 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 result = (arg1)->GetPaperSize();
25577 wxPyEndAllowThreads(__tstate);
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25581 return resultobj;
25582fail:
25583 return NULL;
d55e5bfc
RD
25584}
25585
25586
1bd55598
RD
25587SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25588 PyObject *resultobj = 0;
25589 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25590 wxPrintData *result = 0 ;
25591 void *argp1 = 0 ;
25592 int res1 = 0 ;
25593 PyObject *swig_obj[1] ;
25594
25595 if (!args) SWIG_fail;
25596 swig_obj[0] = args;
25597 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25598 if (!SWIG_IsOK(res1)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25600 }
25601 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25602 {
25603 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25604 {
1bd55598
RD
25605 wxPrintData &_result_ref = (arg1)->GetPrintData();
25606 result = (wxPrintData *) &_result_ref;
d55e5bfc 25607 }
1bd55598
RD
25608 wxPyEndAllowThreads(__tstate);
25609 if (PyErr_Occurred()) SWIG_fail;
25610 }
25611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25612 return resultobj;
25613fail:
25614 return NULL;
d55e5bfc
RD
25615}
25616
25617
b39fe951 25618SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
25619 PyObject *resultobj = 0;
25620 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25621 bool result;
25622 void *argp1 = 0 ;
25623 int res1 = 0 ;
25624 PyObject *swig_obj[1] ;
25625
25626 if (!args) SWIG_fail;
25627 swig_obj[0] = args;
25628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25629 if (!SWIG_IsOK(res1)) {
b39fe951 25630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
1bd55598
RD
25631 }
25632 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25633 {
25634 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 25635 result = (bool)(arg1)->IsOk();
1bd55598
RD
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 {
25640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25641 }
25642 return resultobj;
25643fail:
25644 return NULL;
25645}
25646
25647
25648SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25649 PyObject *resultobj = 0;
25650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25651 bool arg2 ;
25652 void *argp1 = 0 ;
25653 int res1 = 0 ;
25654 bool val2 ;
25655 int ecode2 = 0 ;
25656 PyObject * obj0 = 0 ;
25657 PyObject * obj1 = 0 ;
25658 char * kwnames[] = {
25659 (char *) "self",(char *) "flag", NULL
25660 };
25661
25662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25664 if (!SWIG_IsOK(res1)) {
25665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25666 }
25667 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25668 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25669 if (!SWIG_IsOK(ecode2)) {
25670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25671 }
25672 arg2 = static_cast< bool >(val2);
25673 {
25674 PyThreadState* __tstate = wxPyBeginAllowThreads();
25675 (arg1)->SetDefaultInfo(arg2);
25676 wxPyEndAllowThreads(__tstate);
25677 if (PyErr_Occurred()) SWIG_fail;
25678 }
25679 resultobj = SWIG_Py_Void();
25680 return resultobj;
25681fail:
25682 return NULL;
25683}
25684
25685
25686SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25687 PyObject *resultobj = 0;
25688 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25689 bool arg2 ;
25690 void *argp1 = 0 ;
25691 int res1 = 0 ;
25692 bool val2 ;
25693 int ecode2 = 0 ;
25694 PyObject * obj0 = 0 ;
25695 PyObject * obj1 = 0 ;
25696 char * kwnames[] = {
25697 (char *) "self",(char *) "flag", NULL
25698 };
25699
25700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25702 if (!SWIG_IsOK(res1)) {
25703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25704 }
25705 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25706 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25707 if (!SWIG_IsOK(ecode2)) {
25708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25709 }
25710 arg2 = static_cast< bool >(val2);
25711 {
25712 PyThreadState* __tstate = wxPyBeginAllowThreads();
25713 (arg1)->SetDefaultMinMargins(arg2);
25714 wxPyEndAllowThreads(__tstate);
25715 if (PyErr_Occurred()) SWIG_fail;
25716 }
25717 resultobj = SWIG_Py_Void();
25718 return resultobj;
25719fail:
25720 return NULL;
25721}
25722
25723
25724SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25725 PyObject *resultobj = 0;
25726 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25727 wxPoint *arg2 = 0 ;
25728 void *argp1 = 0 ;
25729 int res1 = 0 ;
25730 wxPoint temp2 ;
25731 PyObject * obj0 = 0 ;
25732 PyObject * obj1 = 0 ;
25733 char * kwnames[] = {
25734 (char *) "self",(char *) "pt", NULL
25735 };
25736
25737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25739 if (!SWIG_IsOK(res1)) {
25740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25741 }
25742 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25743 {
25744 arg2 = &temp2;
25745 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25746 }
25747 {
25748 PyThreadState* __tstate = wxPyBeginAllowThreads();
25749 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25750 wxPyEndAllowThreads(__tstate);
25751 if (PyErr_Occurred()) SWIG_fail;
25752 }
25753 resultobj = SWIG_Py_Void();
25754 return resultobj;
25755fail:
25756 return NULL;
25757}
25758
25759
25760SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25761 PyObject *resultobj = 0;
25762 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25763 wxPoint *arg2 = 0 ;
25764 void *argp1 = 0 ;
25765 int res1 = 0 ;
25766 wxPoint temp2 ;
25767 PyObject * obj0 = 0 ;
25768 PyObject * obj1 = 0 ;
25769 char * kwnames[] = {
25770 (char *) "self",(char *) "pt", NULL
25771 };
25772
25773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25775 if (!SWIG_IsOK(res1)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25777 }
25778 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25779 {
25780 arg2 = &temp2;
25781 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25782 }
25783 {
25784 PyThreadState* __tstate = wxPyBeginAllowThreads();
25785 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25786 wxPyEndAllowThreads(__tstate);
25787 if (PyErr_Occurred()) SWIG_fail;
25788 }
25789 resultobj = SWIG_Py_Void();
25790 return resultobj;
25791fail:
25792 return NULL;
25793}
25794
25795
25796SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25797 PyObject *resultobj = 0;
25798 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25799 wxPoint *arg2 = 0 ;
25800 void *argp1 = 0 ;
25801 int res1 = 0 ;
25802 wxPoint temp2 ;
25803 PyObject * obj0 = 0 ;
25804 PyObject * obj1 = 0 ;
25805 char * kwnames[] = {
25806 (char *) "self",(char *) "pt", NULL
25807 };
25808
25809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25811 if (!SWIG_IsOK(res1)) {
25812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25813 }
25814 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25815 {
25816 arg2 = &temp2;
25817 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25818 }
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25822 wxPyEndAllowThreads(__tstate);
25823 if (PyErr_Occurred()) SWIG_fail;
25824 }
25825 resultobj = SWIG_Py_Void();
25826 return resultobj;
25827fail:
25828 return NULL;
25829}
25830
25831
25832SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25833 PyObject *resultobj = 0;
25834 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25835 wxPoint *arg2 = 0 ;
25836 void *argp1 = 0 ;
25837 int res1 = 0 ;
25838 wxPoint temp2 ;
25839 PyObject * obj0 = 0 ;
25840 PyObject * obj1 = 0 ;
25841 char * kwnames[] = {
25842 (char *) "self",(char *) "pt", NULL
25843 };
25844
25845 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25846 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25847 if (!SWIG_IsOK(res1)) {
25848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25849 }
25850 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25851 {
25852 arg2 = &temp2;
25853 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25854 }
25855 {
25856 PyThreadState* __tstate = wxPyBeginAllowThreads();
25857 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25858 wxPyEndAllowThreads(__tstate);
25859 if (PyErr_Occurred()) SWIG_fail;
25860 }
25861 resultobj = SWIG_Py_Void();
25862 return resultobj;
25863fail:
25864 return NULL;
25865}
25866
25867
25868SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25869 PyObject *resultobj = 0;
25870 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25871 wxPaperSize arg2 ;
25872 void *argp1 = 0 ;
25873 int res1 = 0 ;
25874 int val2 ;
25875 int ecode2 = 0 ;
25876 PyObject * obj0 = 0 ;
25877 PyObject * obj1 = 0 ;
25878 char * kwnames[] = {
25879 (char *) "self",(char *) "id", NULL
25880 };
25881
25882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25884 if (!SWIG_IsOK(res1)) {
25885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25886 }
25887 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25888 ecode2 = SWIG_AsVal_int(obj1, &val2);
25889 if (!SWIG_IsOK(ecode2)) {
25890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25891 }
25892 arg2 = static_cast< wxPaperSize >(val2);
25893 {
25894 PyThreadState* __tstate = wxPyBeginAllowThreads();
25895 (arg1)->SetPaperId(arg2);
25896 wxPyEndAllowThreads(__tstate);
25897 if (PyErr_Occurred()) SWIG_fail;
25898 }
25899 resultobj = SWIG_Py_Void();
25900 return resultobj;
25901fail:
25902 return NULL;
25903}
25904
25905
25906SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25907 PyObject *resultobj = 0;
25908 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25909 wxSize *arg2 = 0 ;
25910 void *argp1 = 0 ;
25911 int res1 = 0 ;
25912 wxSize temp2 ;
25913 PyObject * obj0 = 0 ;
25914 PyObject * obj1 = 0 ;
25915 char * kwnames[] = {
25916 (char *) "self",(char *) "size", NULL
25917 };
25918
25919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25921 if (!SWIG_IsOK(res1)) {
25922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25923 }
25924 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25925 {
25926 arg2 = &temp2;
25927 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25928 }
25929 {
25930 PyThreadState* __tstate = wxPyBeginAllowThreads();
25931 (arg1)->SetPaperSize((wxSize const &)*arg2);
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 resultobj = SWIG_Py_Void();
25936 return resultobj;
25937fail:
25938 return NULL;
25939}
25940
25941
25942SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25943 PyObject *resultobj = 0;
25944 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25945 wxPrintData *arg2 = 0 ;
25946 void *argp1 = 0 ;
25947 int res1 = 0 ;
25948 void *argp2 = 0 ;
25949 int res2 = 0 ;
25950 PyObject * obj0 = 0 ;
25951 PyObject * obj1 = 0 ;
25952 char * kwnames[] = {
25953 (char *) "self",(char *) "printData", NULL
25954 };
25955
25956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25958 if (!SWIG_IsOK(res1)) {
25959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25960 }
25961 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25962 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25963 if (!SWIG_IsOK(res2)) {
25964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25965 }
25966 if (!argp2) {
25967 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25968 }
25969 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25970 {
25971 PyThreadState* __tstate = wxPyBeginAllowThreads();
25972 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25973 wxPyEndAllowThreads(__tstate);
25974 if (PyErr_Occurred()) SWIG_fail;
25975 }
25976 resultobj = SWIG_Py_Void();
25977 return resultobj;
25978fail:
25979 return NULL;
d55e5bfc
RD
25980}
25981
25982
1bd55598
RD
25983SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25984 PyObject *resultobj = 0;
25985 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25986 void *argp1 = 0 ;
25987 int res1 = 0 ;
25988 PyObject *swig_obj[1] ;
25989
25990 if (!args) SWIG_fail;
25991 swig_obj[0] = args;
25992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25993 if (!SWIG_IsOK(res1)) {
25994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25995 }
25996 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25997 {
25998 PyThreadState* __tstate = wxPyBeginAllowThreads();
25999 (arg1)->CalculateIdFromPaperSize();
26000 wxPyEndAllowThreads(__tstate);
26001 if (PyErr_Occurred()) SWIG_fail;
26002 }
26003 resultobj = SWIG_Py_Void();
26004 return resultobj;
26005fail:
26006 return NULL;
d55e5bfc
RD
26007}
26008
26009
1bd55598
RD
26010SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26011 PyObject *resultobj = 0;
26012 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26013 void *argp1 = 0 ;
26014 int res1 = 0 ;
26015 PyObject *swig_obj[1] ;
26016
26017 if (!args) SWIG_fail;
26018 swig_obj[0] = args;
26019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26020 if (!SWIG_IsOK(res1)) {
26021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26022 }
26023 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26024 {
26025 PyThreadState* __tstate = wxPyBeginAllowThreads();
26026 (arg1)->CalculatePaperSizeFromId();
26027 wxPyEndAllowThreads(__tstate);
26028 if (PyErr_Occurred()) SWIG_fail;
26029 }
26030 resultobj = SWIG_Py_Void();
26031 return resultobj;
26032fail:
26033 return NULL;
d55e5bfc
RD
26034}
26035
26036
1bd55598
RD
26037SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26038 PyObject *obj;
26039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26041 return SWIG_Py_Void();
d55e5bfc
RD
26042}
26043
1bd55598
RD
26044SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26045 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
26046}
26047
1bd55598
RD
26048SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26049 PyObject *resultobj = 0;
26050 wxWindow *arg1 = (wxWindow *) 0 ;
26051 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26052 wxPageSetupDialog *result = 0 ;
26053 void *argp1 = 0 ;
26054 int res1 = 0 ;
26055 void *argp2 = 0 ;
26056 int res2 = 0 ;
26057 PyObject * obj0 = 0 ;
26058 PyObject * obj1 = 0 ;
26059 char * kwnames[] = {
26060 (char *) "parent",(char *) "data", NULL
26061 };
26062
26063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26065 if (!SWIG_IsOK(res1)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26067 }
26068 arg1 = reinterpret_cast< wxWindow * >(argp1);
26069 if (obj1) {
26070 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26071 if (!SWIG_IsOK(res2)) {
26072 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
36ed4f51 26073 }
1bd55598
RD
26074 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26075 }
26076 {
26077 if (!wxPyCheckForApp()) SWIG_fail;
26078 PyThreadState* __tstate = wxPyBeginAllowThreads();
26079 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26080 wxPyEndAllowThreads(__tstate);
26081 if (PyErr_Occurred()) SWIG_fail;
26082 }
26083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26084 return resultobj;
26085fail:
26086 return NULL;
d55e5bfc
RD
26087}
26088
26089
06810ecf
RD
26090SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26091 PyObject *resultobj = 0;
26092 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26093 void *argp1 = 0 ;
26094 int res1 = 0 ;
26095 PyObject *swig_obj[1] ;
26096
26097 if (!args) SWIG_fail;
26098 swig_obj[0] = args;
26099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26100 if (!SWIG_IsOK(res1)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26102 }
26103 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26104 {
26105 PyThreadState* __tstate = wxPyBeginAllowThreads();
26106 delete arg1;
26107
26108 wxPyEndAllowThreads(__tstate);
26109 if (PyErr_Occurred()) SWIG_fail;
26110 }
26111 resultobj = SWIG_Py_Void();
26112 return resultobj;
26113fail:
26114 return NULL;
26115}
26116
26117
1bd55598
RD
26118SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26119 PyObject *resultobj = 0;
26120 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26121 wxPageSetupDialogData *result = 0 ;
26122 void *argp1 = 0 ;
26123 int res1 = 0 ;
26124 PyObject *swig_obj[1] ;
26125
26126 if (!args) SWIG_fail;
26127 swig_obj[0] = args;
26128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26129 if (!SWIG_IsOK(res1)) {
26130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26131 }
26132 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26133 {
26134 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 26135 {
1bd55598
RD
26136 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26137 result = (wxPageSetupDialogData *) &_result_ref;
36ed4f51 26138 }
1bd55598
RD
26139 wxPyEndAllowThreads(__tstate);
26140 if (PyErr_Occurred()) SWIG_fail;
26141 }
26142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26143 return resultobj;
26144fail:
26145 return NULL;
d55e5bfc
RD
26146}
26147
26148
1bd55598
RD
26149SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26150 PyObject *resultobj = 0;
26151 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26152 wxPageSetupDialogData *result = 0 ;
26153 void *argp1 = 0 ;
26154 int res1 = 0 ;
26155 PyObject *swig_obj[1] ;
26156
26157 if (!args) SWIG_fail;
26158 swig_obj[0] = args;
26159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26160 if (!SWIG_IsOK(res1)) {
26161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26162 }
26163 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26164 {
26165 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26166 {
1bd55598
RD
26167 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26168 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 26169 }
1bd55598
RD
26170 wxPyEndAllowThreads(__tstate);
26171 if (PyErr_Occurred()) SWIG_fail;
26172 }
26173 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26174 return resultobj;
26175fail:
26176 return NULL;
d55e5bfc
RD
26177}
26178
26179
1bd55598
RD
26180SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26181 PyObject *resultobj = 0;
26182 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26183 int result;
26184 void *argp1 = 0 ;
26185 int res1 = 0 ;
26186 PyObject *swig_obj[1] ;
26187
26188 if (!args) SWIG_fail;
26189 swig_obj[0] = args;
26190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26191 if (!SWIG_IsOK(res1)) {
26192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26193 }
26194 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26195 {
26196 PyThreadState* __tstate = wxPyBeginAllowThreads();
26197 result = (int)(arg1)->ShowModal();
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
26201 resultobj = SWIG_From_int(static_cast< int >(result));
26202 return resultobj;
26203fail:
26204 return NULL;
d55e5bfc
RD
26205}
26206
26207
1bd55598
RD
26208SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26209 PyObject *obj;
26210 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26211 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26212 return SWIG_Py_Void();
d55e5bfc
RD
26213}
26214
1bd55598
RD
26215SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26216 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
26217}
26218
1bd55598
RD
26219SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26220 PyObject *resultobj = 0;
26221 wxPrintDialogData *result = 0 ;
26222
26223 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26224 {
26225 PyThreadState* __tstate = wxPyBeginAllowThreads();
26226 result = (wxPrintDialogData *)new wxPrintDialogData();
26227 wxPyEndAllowThreads(__tstate);
26228 if (PyErr_Occurred()) SWIG_fail;
26229 }
26230 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26231 return resultobj;
26232fail:
26233 return NULL;
d55e5bfc
RD
26234}
26235
26236
1bd55598
RD
26237SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26238 PyObject *resultobj = 0;
26239 wxPrintData *arg1 = 0 ;
26240 wxPrintDialogData *result = 0 ;
26241 void *argp1 = 0 ;
26242 int res1 = 0 ;
26243
26244 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26246 if (!SWIG_IsOK(res1)) {
26247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26248 }
26249 if (!argp1) {
26250 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26251 }
26252 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26256 wxPyEndAllowThreads(__tstate);
26257 if (PyErr_Occurred()) SWIG_fail;
26258 }
26259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26260 return resultobj;
26261fail:
26262 return NULL;
d55e5bfc
RD
26263}
26264
26265
1bd55598
RD
26266SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26267 PyObject *resultobj = 0;
26268 wxPrintDialogData *arg1 = 0 ;
26269 wxPrintDialogData *result = 0 ;
26270 void *argp1 = 0 ;
26271 int res1 = 0 ;
26272
26273 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26275 if (!SWIG_IsOK(res1)) {
26276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26277 }
26278 if (!argp1) {
26279 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26280 }
26281 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26289 return resultobj;
26290fail:
26291 return NULL;
d55e5bfc
RD
26292}
26293
26294
1bd55598
RD
26295SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26296 int argc;
26297 PyObject *argv[2];
26298
26299 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26300 --argc;
26301 if (argc == 0) {
26302 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26303 }
26304 if (argc == 1) {
26305 int _v = 0;
d55e5bfc 26306 {
1bd55598
RD
26307 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26308 _v = SWIG_CheckState(res);
d55e5bfc 26309 }
1bd55598
RD
26310 if (!_v) goto check_2;
26311 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26312 }
26313check_2:
26314
26315 if (argc == 1) {
26316 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26317 }
26318
26319fail:
26320 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26321 return NULL;
d55e5bfc
RD
26322}
26323
26324
1bd55598
RD
26325SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26326 PyObject *resultobj = 0;
26327 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26328 void *argp1 = 0 ;
26329 int res1 = 0 ;
26330 PyObject *swig_obj[1] ;
26331
26332 if (!args) SWIG_fail;
26333 swig_obj[0] = args;
26334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26335 if (!SWIG_IsOK(res1)) {
26336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26337 }
26338 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26339 {
26340 PyThreadState* __tstate = wxPyBeginAllowThreads();
26341 delete arg1;
d55e5bfc 26342
1bd55598
RD
26343 wxPyEndAllowThreads(__tstate);
26344 if (PyErr_Occurred()) SWIG_fail;
26345 }
26346 resultobj = SWIG_Py_Void();
26347 return resultobj;
26348fail:
26349 return NULL;
d55e5bfc
RD
26350}
26351
26352
1bd55598
RD
26353SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26354 PyObject *resultobj = 0;
26355 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26356 int result;
26357 void *argp1 = 0 ;
26358 int res1 = 0 ;
26359 PyObject *swig_obj[1] ;
26360
26361 if (!args) SWIG_fail;
26362 swig_obj[0] = args;
26363 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26364 if (!SWIG_IsOK(res1)) {
26365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26366 }
26367 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26368 {
26369 PyThreadState* __tstate = wxPyBeginAllowThreads();
26370 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26371 wxPyEndAllowThreads(__tstate);
26372 if (PyErr_Occurred()) SWIG_fail;
26373 }
26374 resultobj = SWIG_From_int(static_cast< int >(result));
26375 return resultobj;
26376fail:
26377 return NULL;
d55e5bfc
RD
26378}
26379
26380
1bd55598
RD
26381SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26382 PyObject *resultobj = 0;
26383 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26384 int result;
26385 void *argp1 = 0 ;
26386 int res1 = 0 ;
26387 PyObject *swig_obj[1] ;
26388
26389 if (!args) SWIG_fail;
26390 swig_obj[0] = args;
26391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26392 if (!SWIG_IsOK(res1)) {
26393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26394 }
26395 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26396 {
26397 PyThreadState* __tstate = wxPyBeginAllowThreads();
26398 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
26402 resultobj = SWIG_From_int(static_cast< int >(result));
26403 return resultobj;
26404fail:
26405 return NULL;
d55e5bfc
RD
26406}
26407
26408
1bd55598
RD
26409SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26410 PyObject *resultobj = 0;
26411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26412 int result;
26413 void *argp1 = 0 ;
26414 int res1 = 0 ;
26415 PyObject *swig_obj[1] ;
26416
26417 if (!args) SWIG_fail;
26418 swig_obj[0] = args;
26419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26420 if (!SWIG_IsOK(res1)) {
26421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26422 }
26423 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26424 {
26425 PyThreadState* __tstate = wxPyBeginAllowThreads();
26426 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26427 wxPyEndAllowThreads(__tstate);
26428 if (PyErr_Occurred()) SWIG_fail;
26429 }
26430 resultobj = SWIG_From_int(static_cast< int >(result));
26431 return resultobj;
26432fail:
26433 return NULL;
d55e5bfc
RD
26434}
26435
26436
1bd55598
RD
26437SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26438 PyObject *resultobj = 0;
26439 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26440 int result;
26441 void *argp1 = 0 ;
26442 int res1 = 0 ;
26443 PyObject *swig_obj[1] ;
26444
26445 if (!args) SWIG_fail;
26446 swig_obj[0] = args;
26447 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26448 if (!SWIG_IsOK(res1)) {
26449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26450 }
26451 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26452 {
26453 PyThreadState* __tstate = wxPyBeginAllowThreads();
26454 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26455 wxPyEndAllowThreads(__tstate);
26456 if (PyErr_Occurred()) SWIG_fail;
26457 }
26458 resultobj = SWIG_From_int(static_cast< int >(result));
26459 return resultobj;
26460fail:
26461 return NULL;
d55e5bfc
RD
26462}
26463
26464
1bd55598
RD
26465SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26466 PyObject *resultobj = 0;
26467 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26468 int result;
26469 void *argp1 = 0 ;
26470 int res1 = 0 ;
26471 PyObject *swig_obj[1] ;
26472
26473 if (!args) SWIG_fail;
26474 swig_obj[0] = args;
26475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26476 if (!SWIG_IsOK(res1)) {
26477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26478 }
26479 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26480 {
26481 PyThreadState* __tstate = wxPyBeginAllowThreads();
26482 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26483 wxPyEndAllowThreads(__tstate);
26484 if (PyErr_Occurred()) SWIG_fail;
26485 }
26486 resultobj = SWIG_From_int(static_cast< int >(result));
26487 return resultobj;
26488fail:
26489 return NULL;
d55e5bfc
RD
26490}
26491
26492
1bd55598
RD
26493SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26494 PyObject *resultobj = 0;
26495 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26496 bool result;
26497 void *argp1 = 0 ;
26498 int res1 = 0 ;
26499 PyObject *swig_obj[1] ;
26500
26501 if (!args) SWIG_fail;
26502 swig_obj[0] = args;
26503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26504 if (!SWIG_IsOK(res1)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26506 }
26507 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26508 {
26509 PyThreadState* __tstate = wxPyBeginAllowThreads();
26510 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26511 wxPyEndAllowThreads(__tstate);
26512 if (PyErr_Occurred()) SWIG_fail;
26513 }
26514 {
26515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26516 }
26517 return resultobj;
26518fail:
26519 return NULL;
d55e5bfc
RD
26520}
26521
26522
1bd55598
RD
26523SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26524 PyObject *resultobj = 0;
26525 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26526 bool result;
26527 void *argp1 = 0 ;
26528 int res1 = 0 ;
26529 PyObject *swig_obj[1] ;
26530
26531 if (!args) SWIG_fail;
26532 swig_obj[0] = args;
26533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26534 if (!SWIG_IsOK(res1)) {
26535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26536 }
26537 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26538 {
26539 PyThreadState* __tstate = wxPyBeginAllowThreads();
26540 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26541 wxPyEndAllowThreads(__tstate);
26542 if (PyErr_Occurred()) SWIG_fail;
26543 }
26544 {
26545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26546 }
26547 return resultobj;
26548fail:
26549 return NULL;
d55e5bfc
RD
26550}
26551
26552
1bd55598
RD
26553SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26554 PyObject *resultobj = 0;
26555 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26556 bool result;
26557 void *argp1 = 0 ;
26558 int res1 = 0 ;
26559 PyObject *swig_obj[1] ;
26560
26561 if (!args) SWIG_fail;
26562 swig_obj[0] = args;
26563 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26564 if (!SWIG_IsOK(res1)) {
26565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26566 }
26567 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26568 {
26569 PyThreadState* __tstate = wxPyBeginAllowThreads();
26570 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26571 wxPyEndAllowThreads(__tstate);
26572 if (PyErr_Occurred()) SWIG_fail;
26573 }
26574 {
26575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26576 }
26577 return resultobj;
26578fail:
26579 return NULL;
d55e5bfc
RD
26580}
26581
26582
1bd55598
RD
26583SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26584 PyObject *resultobj = 0;
26585 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26586 bool result;
26587 void *argp1 = 0 ;
26588 int res1 = 0 ;
26589 PyObject *swig_obj[1] ;
26590
26591 if (!args) SWIG_fail;
26592 swig_obj[0] = args;
26593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26594 if (!SWIG_IsOK(res1)) {
26595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26596 }
26597 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26598 {
26599 PyThreadState* __tstate = wxPyBeginAllowThreads();
26600 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26601 wxPyEndAllowThreads(__tstate);
26602 if (PyErr_Occurred()) SWIG_fail;
26603 }
26604 {
26605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26606 }
26607 return resultobj;
26608fail:
26609 return NULL;
26610}
26611
26612
26613SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26614 PyObject *resultobj = 0;
26615 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26616 int arg2 ;
26617 void *argp1 = 0 ;
26618 int res1 = 0 ;
26619 int val2 ;
26620 int ecode2 = 0 ;
26621 PyObject * obj0 = 0 ;
26622 PyObject * obj1 = 0 ;
26623 char * kwnames[] = {
26624 (char *) "self",(char *) "v", NULL
26625 };
26626
26627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26629 if (!SWIG_IsOK(res1)) {
26630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26631 }
26632 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26633 ecode2 = SWIG_AsVal_int(obj1, &val2);
26634 if (!SWIG_IsOK(ecode2)) {
26635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26636 }
26637 arg2 = static_cast< int >(val2);
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 (arg1)->SetFromPage(arg2);
26641 wxPyEndAllowThreads(__tstate);
26642 if (PyErr_Occurred()) SWIG_fail;
26643 }
26644 resultobj = SWIG_Py_Void();
26645 return resultobj;
26646fail:
26647 return NULL;
26648}
26649
26650
26651SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26652 PyObject *resultobj = 0;
26653 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26654 int arg2 ;
26655 void *argp1 = 0 ;
26656 int res1 = 0 ;
26657 int val2 ;
26658 int ecode2 = 0 ;
26659 PyObject * obj0 = 0 ;
26660 PyObject * obj1 = 0 ;
26661 char * kwnames[] = {
26662 (char *) "self",(char *) "v", NULL
26663 };
26664
26665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26667 if (!SWIG_IsOK(res1)) {
26668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26669 }
26670 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26671 ecode2 = SWIG_AsVal_int(obj1, &val2);
26672 if (!SWIG_IsOK(ecode2)) {
26673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26674 }
26675 arg2 = static_cast< int >(val2);
26676 {
26677 PyThreadState* __tstate = wxPyBeginAllowThreads();
26678 (arg1)->SetToPage(arg2);
26679 wxPyEndAllowThreads(__tstate);
26680 if (PyErr_Occurred()) SWIG_fail;
26681 }
26682 resultobj = SWIG_Py_Void();
26683 return resultobj;
26684fail:
26685 return NULL;
26686}
26687
26688
26689SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26690 PyObject *resultobj = 0;
26691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26692 int arg2 ;
26693 void *argp1 = 0 ;
26694 int res1 = 0 ;
26695 int val2 ;
26696 int ecode2 = 0 ;
26697 PyObject * obj0 = 0 ;
26698 PyObject * obj1 = 0 ;
26699 char * kwnames[] = {
26700 (char *) "self",(char *) "v", NULL
26701 };
26702
26703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26705 if (!SWIG_IsOK(res1)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26707 }
26708 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26709 ecode2 = SWIG_AsVal_int(obj1, &val2);
26710 if (!SWIG_IsOK(ecode2)) {
26711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26712 }
26713 arg2 = static_cast< int >(val2);
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 (arg1)->SetMinPage(arg2);
26717 wxPyEndAllowThreads(__tstate);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 }
26720 resultobj = SWIG_Py_Void();
26721 return resultobj;
26722fail:
26723 return NULL;
26724}
26725
26726
26727SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26728 PyObject *resultobj = 0;
26729 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26730 int arg2 ;
26731 void *argp1 = 0 ;
26732 int res1 = 0 ;
26733 int val2 ;
26734 int ecode2 = 0 ;
26735 PyObject * obj0 = 0 ;
26736 PyObject * obj1 = 0 ;
26737 char * kwnames[] = {
26738 (char *) "self",(char *) "v", NULL
26739 };
26740
26741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26743 if (!SWIG_IsOK(res1)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26745 }
26746 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26747 ecode2 = SWIG_AsVal_int(obj1, &val2);
26748 if (!SWIG_IsOK(ecode2)) {
26749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26750 }
26751 arg2 = static_cast< int >(val2);
26752 {
26753 PyThreadState* __tstate = wxPyBeginAllowThreads();
26754 (arg1)->SetMaxPage(arg2);
26755 wxPyEndAllowThreads(__tstate);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 }
26758 resultobj = SWIG_Py_Void();
26759 return resultobj;
26760fail:
26761 return NULL;
26762}
26763
26764
26765SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26766 PyObject *resultobj = 0;
26767 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26768 int arg2 ;
26769 void *argp1 = 0 ;
26770 int res1 = 0 ;
26771 int val2 ;
26772 int ecode2 = 0 ;
26773 PyObject * obj0 = 0 ;
26774 PyObject * obj1 = 0 ;
26775 char * kwnames[] = {
26776 (char *) "self",(char *) "v", NULL
26777 };
26778
26779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26781 if (!SWIG_IsOK(res1)) {
26782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26783 }
26784 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26785 ecode2 = SWIG_AsVal_int(obj1, &val2);
26786 if (!SWIG_IsOK(ecode2)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26788 }
26789 arg2 = static_cast< int >(val2);
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 (arg1)->SetNoCopies(arg2);
26793 wxPyEndAllowThreads(__tstate);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 resultobj = SWIG_Py_Void();
26797 return resultobj;
26798fail:
26799 return NULL;
26800}
26801
26802
26803SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26804 PyObject *resultobj = 0;
26805 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26806 bool arg2 ;
26807 void *argp1 = 0 ;
26808 int res1 = 0 ;
26809 bool val2 ;
26810 int ecode2 = 0 ;
26811 PyObject * obj0 = 0 ;
26812 PyObject * obj1 = 0 ;
26813 char * kwnames[] = {
26814 (char *) "self",(char *) "flag", NULL
26815 };
26816
26817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26819 if (!SWIG_IsOK(res1)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26821 }
26822 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26823 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26824 if (!SWIG_IsOK(ecode2)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26826 }
26827 arg2 = static_cast< bool >(val2);
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 (arg1)->SetAllPages(arg2);
26831 wxPyEndAllowThreads(__tstate);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 }
26834 resultobj = SWIG_Py_Void();
26835 return resultobj;
26836fail:
26837 return NULL;
26838}
26839
26840
26841SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26842 PyObject *resultobj = 0;
26843 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26844 bool arg2 ;
26845 void *argp1 = 0 ;
26846 int res1 = 0 ;
26847 bool val2 ;
26848 int ecode2 = 0 ;
26849 PyObject * obj0 = 0 ;
26850 PyObject * obj1 = 0 ;
26851 char * kwnames[] = {
26852 (char *) "self",(char *) "flag", NULL
26853 };
26854
26855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26857 if (!SWIG_IsOK(res1)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26859 }
26860 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26861 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26862 if (!SWIG_IsOK(ecode2)) {
26863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26864 }
26865 arg2 = static_cast< bool >(val2);
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 (arg1)->SetSelection(arg2);
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 resultobj = SWIG_Py_Void();
26873 return resultobj;
26874fail:
26875 return NULL;
26876}
26877
26878
26879SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj = 0;
26881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26882 bool arg2 ;
26883 void *argp1 = 0 ;
26884 int res1 = 0 ;
26885 bool val2 ;
26886 int ecode2 = 0 ;
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char * kwnames[] = {
26890 (char *) "self",(char *) "flag", NULL
26891 };
26892
26893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26895 if (!SWIG_IsOK(res1)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26897 }
26898 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26899 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26900 if (!SWIG_IsOK(ecode2)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26902 }
26903 arg2 = static_cast< bool >(val2);
26904 {
26905 PyThreadState* __tstate = wxPyBeginAllowThreads();
26906 (arg1)->SetCollate(arg2);
26907 wxPyEndAllowThreads(__tstate);
26908 if (PyErr_Occurred()) SWIG_fail;
26909 }
26910 resultobj = SWIG_Py_Void();
26911 return resultobj;
26912fail:
26913 return NULL;
26914}
26915
26916
26917SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26918 PyObject *resultobj = 0;
26919 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26920 bool arg2 ;
26921 void *argp1 = 0 ;
26922 int res1 = 0 ;
26923 bool val2 ;
26924 int ecode2 = 0 ;
26925 PyObject * obj0 = 0 ;
26926 PyObject * obj1 = 0 ;
26927 char * kwnames[] = {
26928 (char *) "self",(char *) "flag", NULL
26929 };
26930
26931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26933 if (!SWIG_IsOK(res1)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26935 }
26936 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26937 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26938 if (!SWIG_IsOK(ecode2)) {
26939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26940 }
26941 arg2 = static_cast< bool >(val2);
26942 {
26943 PyThreadState* __tstate = wxPyBeginAllowThreads();
26944 (arg1)->SetPrintToFile(arg2);
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
26948 resultobj = SWIG_Py_Void();
26949 return resultobj;
26950fail:
26951 return NULL;
26952}
26953
26954
26955SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26956 PyObject *resultobj = 0;
26957 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26958 bool arg2 ;
26959 void *argp1 = 0 ;
26960 int res1 = 0 ;
26961 bool val2 ;
26962 int ecode2 = 0 ;
26963 PyObject * obj0 = 0 ;
26964 PyObject * obj1 = 0 ;
26965 char * kwnames[] = {
26966 (char *) "self",(char *) "flag", NULL
26967 };
26968
26969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26971 if (!SWIG_IsOK(res1)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26973 }
26974 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26975 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26976 if (!SWIG_IsOK(ecode2)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26978 }
26979 arg2 = static_cast< bool >(val2);
26980 {
26981 PyThreadState* __tstate = wxPyBeginAllowThreads();
26982 (arg1)->EnablePrintToFile(arg2);
26983 wxPyEndAllowThreads(__tstate);
26984 if (PyErr_Occurred()) SWIG_fail;
26985 }
26986 resultobj = SWIG_Py_Void();
26987 return resultobj;
26988fail:
26989 return NULL;
26990}
26991
26992
26993SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26994 PyObject *resultobj = 0;
26995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26996 bool arg2 ;
26997 void *argp1 = 0 ;
26998 int res1 = 0 ;
26999 bool val2 ;
27000 int ecode2 = 0 ;
27001 PyObject * obj0 = 0 ;
27002 PyObject * obj1 = 0 ;
27003 char * kwnames[] = {
27004 (char *) "self",(char *) "flag", NULL
27005 };
27006
27007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27009 if (!SWIG_IsOK(res1)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27011 }
27012 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27013 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27014 if (!SWIG_IsOK(ecode2)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27016 }
27017 arg2 = static_cast< bool >(val2);
27018 {
27019 PyThreadState* __tstate = wxPyBeginAllowThreads();
27020 (arg1)->EnableSelection(arg2);
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 resultobj = SWIG_Py_Void();
27025 return resultobj;
27026fail:
27027 return NULL;
27028}
27029
27030
27031SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27032 PyObject *resultobj = 0;
27033 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27034 bool arg2 ;
27035 void *argp1 = 0 ;
27036 int res1 = 0 ;
27037 bool val2 ;
27038 int ecode2 = 0 ;
27039 PyObject * obj0 = 0 ;
27040 PyObject * obj1 = 0 ;
27041 char * kwnames[] = {
27042 (char *) "self",(char *) "flag", NULL
27043 };
27044
27045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27047 if (!SWIG_IsOK(res1)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27049 }
27050 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27051 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27052 if (!SWIG_IsOK(ecode2)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27054 }
27055 arg2 = static_cast< bool >(val2);
27056 {
27057 PyThreadState* __tstate = wxPyBeginAllowThreads();
27058 (arg1)->EnablePageNumbers(arg2);
27059 wxPyEndAllowThreads(__tstate);
27060 if (PyErr_Occurred()) SWIG_fail;
27061 }
27062 resultobj = SWIG_Py_Void();
27063 return resultobj;
27064fail:
27065 return NULL;
27066}
27067
27068
27069SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27070 PyObject *resultobj = 0;
27071 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27072 bool arg2 ;
27073 void *argp1 = 0 ;
27074 int res1 = 0 ;
27075 bool val2 ;
27076 int ecode2 = 0 ;
27077 PyObject * obj0 = 0 ;
27078 PyObject * obj1 = 0 ;
27079 char * kwnames[] = {
27080 (char *) "self",(char *) "flag", NULL
27081 };
27082
27083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27085 if (!SWIG_IsOK(res1)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27087 }
27088 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27089 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27090 if (!SWIG_IsOK(ecode2)) {
27091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27092 }
27093 arg2 = static_cast< bool >(val2);
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 (arg1)->EnableHelp(arg2);
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 resultobj = SWIG_Py_Void();
27101 return resultobj;
27102fail:
27103 return NULL;
27104}
d55e5bfc 27105
1bd55598
RD
27106
27107SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27108 PyObject *resultobj = 0;
27109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27110 bool result;
27111 void *argp1 = 0 ;
27112 int res1 = 0 ;
27113 PyObject *swig_obj[1] ;
27114
27115 if (!args) SWIG_fail;
27116 swig_obj[0] = args;
27117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27118 if (!SWIG_IsOK(res1)) {
27119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27120 }
27121 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27122 {
27123 PyThreadState* __tstate = wxPyBeginAllowThreads();
27124 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27125 wxPyEndAllowThreads(__tstate);
27126 if (PyErr_Occurred()) SWIG_fail;
27127 }
27128 {
27129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27130 }
27131 return resultobj;
27132fail:
27133 return NULL;
d55e5bfc
RD
27134}
27135
27136
1bd55598
RD
27137SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27138 PyObject *resultobj = 0;
27139 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27140 bool result;
27141 void *argp1 = 0 ;
27142 int res1 = 0 ;
27143 PyObject *swig_obj[1] ;
27144
27145 if (!args) SWIG_fail;
27146 swig_obj[0] = args;
27147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27148 if (!SWIG_IsOK(res1)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27150 }
27151 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27152 {
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
27154 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 {
27159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27160 }
27161 return resultobj;
27162fail:
27163 return NULL;
d55e5bfc
RD
27164}
27165
27166
1bd55598
RD
27167SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27168 PyObject *resultobj = 0;
27169 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27170 bool result;
27171 void *argp1 = 0 ;
27172 int res1 = 0 ;
27173 PyObject *swig_obj[1] ;
27174
27175 if (!args) SWIG_fail;
27176 swig_obj[0] = args;
27177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27178 if (!SWIG_IsOK(res1)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27180 }
27181 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27182 {
27183 PyThreadState* __tstate = wxPyBeginAllowThreads();
27184 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27185 wxPyEndAllowThreads(__tstate);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
27188 {
27189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27190 }
27191 return resultobj;
27192fail:
27193 return NULL;
d55e5bfc
RD
27194}
27195
27196
1bd55598
RD
27197SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27198 PyObject *resultobj = 0;
27199 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27200 bool result;
27201 void *argp1 = 0 ;
27202 int res1 = 0 ;
27203 PyObject *swig_obj[1] ;
27204
27205 if (!args) SWIG_fail;
27206 swig_obj[0] = args;
27207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27208 if (!SWIG_IsOK(res1)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27210 }
27211 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27212 {
27213 PyThreadState* __tstate = wxPyBeginAllowThreads();
27214 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27215 wxPyEndAllowThreads(__tstate);
27216 if (PyErr_Occurred()) SWIG_fail;
27217 }
27218 {
27219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27220 }
27221 return resultobj;
27222fail:
27223 return NULL;
d55e5bfc
RD
27224}
27225
27226
b39fe951 27227SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
27228 PyObject *resultobj = 0;
27229 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27230 bool result;
27231 void *argp1 = 0 ;
27232 int res1 = 0 ;
27233 PyObject *swig_obj[1] ;
27234
27235 if (!args) SWIG_fail;
27236 swig_obj[0] = args;
27237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27238 if (!SWIG_IsOK(res1)) {
b39fe951 27239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
1bd55598
RD
27240 }
27241 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27242 {
27243 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 27244 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
1bd55598
RD
27245 wxPyEndAllowThreads(__tstate);
27246 if (PyErr_Occurred()) SWIG_fail;
27247 }
27248 {
27249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27250 }
27251 return resultobj;
27252fail:
27253 return NULL;
d55e5bfc
RD
27254}
27255
27256
1bd55598
RD
27257SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27258 PyObject *resultobj = 0;
27259 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27260 wxPrintData *result = 0 ;
27261 void *argp1 = 0 ;
27262 int res1 = 0 ;
27263 PyObject *swig_obj[1] ;
27264
27265 if (!args) SWIG_fail;
27266 swig_obj[0] = args;
27267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27268 if (!SWIG_IsOK(res1)) {
27269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27270 }
27271 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27272 {
27273 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27274 {
1bd55598
RD
27275 wxPrintData &_result_ref = (arg1)->GetPrintData();
27276 result = (wxPrintData *) &_result_ref;
27277 }
27278 wxPyEndAllowThreads(__tstate);
27279 if (PyErr_Occurred()) SWIG_fail;
27280 }
27281 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27282 return resultobj;
27283fail:
27284 return NULL;
27285}
27286
27287
27288SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27289 PyObject *resultobj = 0;
27290 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27291 wxPrintData *arg2 = 0 ;
27292 void *argp1 = 0 ;
27293 int res1 = 0 ;
27294 void *argp2 = 0 ;
27295 int res2 = 0 ;
27296 PyObject * obj0 = 0 ;
27297 PyObject * obj1 = 0 ;
27298 char * kwnames[] = {
27299 (char *) "self",(char *) "printData", NULL
27300 };
27301
27302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27304 if (!SWIG_IsOK(res1)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27306 }
27307 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27308 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27309 if (!SWIG_IsOK(res2)) {
27310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27311 }
27312 if (!argp2) {
27313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27314 }
27315 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27316 {
27317 PyThreadState* __tstate = wxPyBeginAllowThreads();
27318 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27319 wxPyEndAllowThreads(__tstate);
27320 if (PyErr_Occurred()) SWIG_fail;
27321 }
27322 resultobj = SWIG_Py_Void();
27323 return resultobj;
27324fail:
27325 return NULL;
d55e5bfc
RD
27326}
27327
27328
1bd55598
RD
27329SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27330 PyObject *obj;
27331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27332 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27333 return SWIG_Py_Void();
27334}
27335
27336SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27337 return SWIG_Python_InitShadowInstance(args);
27338}
27339
27340SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27341 PyObject *resultobj = 0;
27342 wxWindow *arg1 = (wxWindow *) 0 ;
27343 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27344 wxPrintDialog *result = 0 ;
27345 void *argp1 = 0 ;
27346 int res1 = 0 ;
27347 void *argp2 = 0 ;
27348 int res2 = 0 ;
27349 PyObject * obj0 = 0 ;
27350 PyObject * obj1 = 0 ;
27351 char * kwnames[] = {
27352 (char *) "parent",(char *) "data", NULL
27353 };
27354
27355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27357 if (!SWIG_IsOK(res1)) {
27358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27359 }
27360 arg1 = reinterpret_cast< wxWindow * >(argp1);
27361 if (obj1) {
27362 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27363 if (!SWIG_IsOK(res2)) {
27364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27365 }
1bd55598
RD
27366 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27367 }
27368 {
27369 if (!wxPyCheckForApp()) SWIG_fail;
27370 PyThreadState* __tstate = wxPyBeginAllowThreads();
27371 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27372 wxPyEndAllowThreads(__tstate);
27373 if (PyErr_Occurred()) SWIG_fail;
27374 }
27375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27376 return resultobj;
27377fail:
27378 return NULL;
d55e5bfc
RD
27379}
27380
27381
06810ecf
RD
27382SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27383 PyObject *resultobj = 0;
27384 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27385 void *argp1 = 0 ;
27386 int res1 = 0 ;
27387 PyObject *swig_obj[1] ;
27388
27389 if (!args) SWIG_fail;
27390 swig_obj[0] = args;
27391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27392 if (!SWIG_IsOK(res1)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27394 }
27395 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27396 {
27397 PyThreadState* __tstate = wxPyBeginAllowThreads();
27398 delete arg1;
27399
27400 wxPyEndAllowThreads(__tstate);
27401 if (PyErr_Occurred()) SWIG_fail;
27402 }
27403 resultobj = SWIG_Py_Void();
27404 return resultobj;
27405fail:
27406 return NULL;
27407}
27408
27409
1bd55598
RD
27410SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27411 PyObject *resultobj = 0;
27412 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27413 int result;
27414 void *argp1 = 0 ;
27415 int res1 = 0 ;
27416 PyObject *swig_obj[1] ;
27417
27418 if (!args) SWIG_fail;
27419 swig_obj[0] = args;
27420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27421 if (!SWIG_IsOK(res1)) {
27422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27423 }
27424 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27425 {
27426 PyThreadState* __tstate = wxPyBeginAllowThreads();
27427 result = (int)(arg1)->ShowModal();
27428 wxPyEndAllowThreads(__tstate);
27429 if (PyErr_Occurred()) SWIG_fail;
27430 }
27431 resultobj = SWIG_From_int(static_cast< int >(result));
27432 return resultobj;
27433fail:
27434 return NULL;
d55e5bfc
RD
27435}
27436
27437
1bd55598
RD
27438SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27439 PyObject *resultobj = 0;
27440 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27441 wxPrintDialogData *result = 0 ;
27442 void *argp1 = 0 ;
27443 int res1 = 0 ;
27444 PyObject *swig_obj[1] ;
27445
27446 if (!args) SWIG_fail;
27447 swig_obj[0] = args;
27448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27449 if (!SWIG_IsOK(res1)) {
27450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27451 }
27452 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27453 {
27454 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27455 {
1bd55598
RD
27456 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27457 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27458 }
1bd55598
RD
27459 wxPyEndAllowThreads(__tstate);
27460 if (PyErr_Occurred()) SWIG_fail;
27461 }
27462 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27463 return resultobj;
27464fail:
27465 return NULL;
d55e5bfc
RD
27466}
27467
27468
1bd55598
RD
27469SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27470 PyObject *resultobj = 0;
27471 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27472 wxPrintData *result = 0 ;
27473 void *argp1 = 0 ;
27474 int res1 = 0 ;
27475 PyObject *swig_obj[1] ;
27476
27477 if (!args) SWIG_fail;
27478 swig_obj[0] = args;
27479 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27480 if (!SWIG_IsOK(res1)) {
27481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27482 }
27483 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27484 {
27485 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27486 {
1bd55598
RD
27487 wxPrintData &_result_ref = (arg1)->GetPrintData();
27488 result = (wxPrintData *) &_result_ref;
d55e5bfc 27489 }
1bd55598
RD
27490 wxPyEndAllowThreads(__tstate);
27491 if (PyErr_Occurred()) SWIG_fail;
27492 }
27493 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27494 return resultobj;
27495fail:
27496 return NULL;
d55e5bfc
RD
27497}
27498
27499
1bd55598
RD
27500SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27501 PyObject *resultobj = 0;
27502 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27503 wxDC *result = 0 ;
27504 void *argp1 = 0 ;
27505 int res1 = 0 ;
27506 PyObject *swig_obj[1] ;
27507
27508 if (!args) SWIG_fail;
27509 swig_obj[0] = args;
27510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27511 if (!SWIG_IsOK(res1)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27513 }
27514 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 result = (wxDC *)(arg1)->GetPrintDC();
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 {
27522 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27523 }
27524 return resultobj;
27525fail:
27526 return NULL;
d55e5bfc
RD
27527}
27528
27529
1bd55598
RD
27530SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27531 PyObject *obj;
27532 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27533 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27534 return SWIG_Py_Void();
d55e5bfc
RD
27535}
27536
1bd55598
RD
27537SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27538 return SWIG_Python_InitShadowInstance(args);
27539}
d55e5bfc 27540
1bd55598
RD
27541SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27542 PyObject *resultobj = 0;
27543 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27544 wxPrinter *result = 0 ;
27545 void *argp1 = 0 ;
27546 int res1 = 0 ;
27547 PyObject * obj0 = 0 ;
27548 char * kwnames[] = {
27549 (char *) "data", NULL
27550 };
27551
27552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27553 if (obj0) {
27554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27555 if (!SWIG_IsOK(res1)) {
27556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27557 }
1bd55598
RD
27558 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27559 }
27560 {
27561 if (!wxPyCheckForApp()) SWIG_fail;
27562 PyThreadState* __tstate = wxPyBeginAllowThreads();
27563 result = (wxPrinter *)new wxPrinter(arg1);
27564 wxPyEndAllowThreads(__tstate);
27565 if (PyErr_Occurred()) SWIG_fail;
27566 }
27567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27568 return resultobj;
27569fail:
27570 return NULL;
d55e5bfc
RD
27571}
27572
27573
1bd55598
RD
27574SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27575 PyObject *resultobj = 0;
27576 wxPrinter *arg1 = (wxPrinter *) 0 ;
27577 void *argp1 = 0 ;
27578 int res1 = 0 ;
27579 PyObject *swig_obj[1] ;
27580
27581 if (!args) SWIG_fail;
27582 swig_obj[0] = args;
27583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27584 if (!SWIG_IsOK(res1)) {
27585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27586 }
27587 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27588 {
27589 PyThreadState* __tstate = wxPyBeginAllowThreads();
27590 delete arg1;
d55e5bfc 27591
1bd55598
RD
27592 wxPyEndAllowThreads(__tstate);
27593 if (PyErr_Occurred()) SWIG_fail;
27594 }
27595 resultobj = SWIG_Py_Void();
27596 return resultobj;
27597fail:
27598 return NULL;
27599}
27600
27601
27602SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27603 PyObject *resultobj = 0;
27604 wxPrinter *arg1 = (wxPrinter *) 0 ;
27605 wxWindow *arg2 = (wxWindow *) 0 ;
27606 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27607 wxWindow *result = 0 ;
27608 void *argp1 = 0 ;
27609 int res1 = 0 ;
27610 void *argp2 = 0 ;
27611 int res2 = 0 ;
27612 void *argp3 = 0 ;
27613 int res3 = 0 ;
27614 PyObject * obj0 = 0 ;
27615 PyObject * obj1 = 0 ;
27616 PyObject * obj2 = 0 ;
27617 char * kwnames[] = {
27618 (char *) "self",(char *) "parent",(char *) "printout", NULL
27619 };
27620
27621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27623 if (!SWIG_IsOK(res1)) {
27624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27625 }
27626 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27627 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27628 if (!SWIG_IsOK(res2)) {
27629 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27630 }
27631 arg2 = reinterpret_cast< wxWindow * >(argp2);
27632 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27633 if (!SWIG_IsOK(res3)) {
27634 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27635 }
27636 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27637 {
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27640 wxPyEndAllowThreads(__tstate);
27641 if (PyErr_Occurred()) SWIG_fail;
27642 }
27643 {
27644 resultobj = wxPyMake_wxObject(result, 0);
27645 }
27646 return resultobj;
27647fail:
27648 return NULL;
27649}
27650
27651
27652SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27653 PyObject *resultobj = 0;
27654 wxPrinter *arg1 = (wxPrinter *) 0 ;
27655 wxWindow *arg2 = (wxWindow *) 0 ;
27656 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27657 wxString *arg4 = 0 ;
27658 void *argp1 = 0 ;
27659 int res1 = 0 ;
27660 void *argp2 = 0 ;
27661 int res2 = 0 ;
27662 void *argp3 = 0 ;
27663 int res3 = 0 ;
27664 bool temp4 = false ;
27665 PyObject * obj0 = 0 ;
27666 PyObject * obj1 = 0 ;
27667 PyObject * obj2 = 0 ;
27668 PyObject * obj3 = 0 ;
27669 char * kwnames[] = {
27670 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27671 };
27672
27673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27675 if (!SWIG_IsOK(res1)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27677 }
27678 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27679 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27680 if (!SWIG_IsOK(res2)) {
27681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27682 }
27683 arg2 = reinterpret_cast< wxWindow * >(argp2);
27684 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27685 if (!SWIG_IsOK(res3)) {
27686 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27687 }
27688 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27689 {
27690 arg4 = wxString_in_helper(obj3);
27691 if (arg4 == NULL) SWIG_fail;
27692 temp4 = true;
27693 }
27694 {
27695 PyThreadState* __tstate = wxPyBeginAllowThreads();
27696 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27697 wxPyEndAllowThreads(__tstate);
27698 if (PyErr_Occurred()) SWIG_fail;
27699 }
27700 resultobj = SWIG_Py_Void();
27701 {
27702 if (temp4)
27703 delete arg4;
27704 }
27705 return resultobj;
27706fail:
27707 {
27708 if (temp4)
27709 delete arg4;
27710 }
27711 return NULL;
27712}
27713
27714
27715SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27716 PyObject *resultobj = 0;
27717 wxPrinter *arg1 = (wxPrinter *) 0 ;
27718 wxWindow *arg2 = (wxWindow *) 0 ;
27719 bool result;
27720 void *argp1 = 0 ;
27721 int res1 = 0 ;
27722 void *argp2 = 0 ;
27723 int res2 = 0 ;
27724 PyObject * obj0 = 0 ;
27725 PyObject * obj1 = 0 ;
27726 char * kwnames[] = {
27727 (char *) "self",(char *) "parent", NULL
27728 };
27729
27730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27732 if (!SWIG_IsOK(res1)) {
27733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27734 }
27735 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27736 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27737 if (!SWIG_IsOK(res2)) {
27738 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27739 }
27740 arg2 = reinterpret_cast< wxWindow * >(argp2);
27741 {
27742 PyThreadState* __tstate = wxPyBeginAllowThreads();
27743 result = (bool)(arg1)->Setup(arg2);
27744 wxPyEndAllowThreads(__tstate);
27745 if (PyErr_Occurred()) SWIG_fail;
27746 }
27747 {
27748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27749 }
27750 return resultobj;
27751fail:
27752 return NULL;
27753}
27754
27755
27756SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27757 PyObject *resultobj = 0;
27758 wxPrinter *arg1 = (wxPrinter *) 0 ;
27759 wxWindow *arg2 = (wxWindow *) 0 ;
27760 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27761 bool arg4 = (bool) true ;
27762 bool result;
27763 void *argp1 = 0 ;
27764 int res1 = 0 ;
27765 void *argp2 = 0 ;
27766 int res2 = 0 ;
27767 void *argp3 = 0 ;
27768 int res3 = 0 ;
27769 bool val4 ;
27770 int ecode4 = 0 ;
27771 PyObject * obj0 = 0 ;
27772 PyObject * obj1 = 0 ;
27773 PyObject * obj2 = 0 ;
27774 PyObject * obj3 = 0 ;
27775 char * kwnames[] = {
27776 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27777 };
27778
27779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27781 if (!SWIG_IsOK(res1)) {
27782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27783 }
27784 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27785 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27786 if (!SWIG_IsOK(res2)) {
27787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27788 }
27789 arg2 = reinterpret_cast< wxWindow * >(argp2);
27790 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27791 if (!SWIG_IsOK(res3)) {
27792 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27793 }
27794 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27795 if (obj3) {
27796 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27797 if (!SWIG_IsOK(ecode4)) {
27798 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27799 }
27800 arg4 = static_cast< bool >(val4);
27801 }
27802 {
27803 PyThreadState* __tstate = wxPyBeginAllowThreads();
27804 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27805 wxPyEndAllowThreads(__tstate);
27806 if (PyErr_Occurred()) SWIG_fail;
27807 }
27808 {
27809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27810 }
27811 return resultobj;
27812fail:
27813 return NULL;
27814}
27815
27816
27817SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27818 PyObject *resultobj = 0;
27819 wxPrinter *arg1 = (wxPrinter *) 0 ;
27820 wxWindow *arg2 = (wxWindow *) 0 ;
27821 wxDC *result = 0 ;
27822 void *argp1 = 0 ;
27823 int res1 = 0 ;
27824 void *argp2 = 0 ;
27825 int res2 = 0 ;
27826 PyObject * obj0 = 0 ;
27827 PyObject * obj1 = 0 ;
27828 char * kwnames[] = {
27829 (char *) "self",(char *) "parent", NULL
27830 };
27831
27832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27834 if (!SWIG_IsOK(res1)) {
27835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27836 }
27837 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27838 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27839 if (!SWIG_IsOK(res2)) {
27840 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27841 }
27842 arg2 = reinterpret_cast< wxWindow * >(argp2);
27843 {
27844 PyThreadState* __tstate = wxPyBeginAllowThreads();
27845 result = (wxDC *)(arg1)->PrintDialog(arg2);
27846 wxPyEndAllowThreads(__tstate);
27847 if (PyErr_Occurred()) SWIG_fail;
27848 }
27849 {
27850 resultobj = wxPyMake_wxObject(result, (bool)0);
27851 }
27852 return resultobj;
27853fail:
27854 return NULL;
d55e5bfc
RD
27855}
27856
27857
1bd55598
RD
27858SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27859 PyObject *resultobj = 0;
27860 wxPrinter *arg1 = (wxPrinter *) 0 ;
27861 wxPrintDialogData *result = 0 ;
27862 void *argp1 = 0 ;
27863 int res1 = 0 ;
27864 PyObject *swig_obj[1] ;
27865
27866 if (!args) SWIG_fail;
27867 swig_obj[0] = args;
27868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27869 if (!SWIG_IsOK(res1)) {
27870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27871 }
27872 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27873 {
27874 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 27875 {
1bd55598
RD
27876 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27877 result = (wxPrintDialogData *) &_result_ref;
36ed4f51 27878 }
1bd55598
RD
27879 wxPyEndAllowThreads(__tstate);
27880 if (PyErr_Occurred()) SWIG_fail;
27881 }
27882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27883 return resultobj;
27884fail:
27885 return NULL;
d55e5bfc
RD
27886}
27887
27888
1bd55598
RD
27889SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27890 PyObject *resultobj = 0;
27891 wxPrinter *arg1 = (wxPrinter *) 0 ;
27892 bool result;
27893 void *argp1 = 0 ;
27894 int res1 = 0 ;
27895 PyObject *swig_obj[1] ;
27896
27897 if (!args) SWIG_fail;
27898 swig_obj[0] = args;
27899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27900 if (!SWIG_IsOK(res1)) {
27901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27902 }
27903 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27904 {
27905 PyThreadState* __tstate = wxPyBeginAllowThreads();
27906 result = (bool)(arg1)->GetAbort();
27907 wxPyEndAllowThreads(__tstate);
27908 if (PyErr_Occurred()) SWIG_fail;
27909 }
27910 {
27911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27912 }
27913 return resultobj;
27914fail:
27915 return NULL;
d55e5bfc
RD
27916}
27917
27918
1bd55598
RD
27919SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27920 PyObject *resultobj = 0;
27921 wxPrinterError result;
27922
27923 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27924 {
27925 PyThreadState* __tstate = wxPyBeginAllowThreads();
27926 result = (wxPrinterError)wxPrinter::GetLastError();
27927 wxPyEndAllowThreads(__tstate);
27928 if (PyErr_Occurred()) SWIG_fail;
27929 }
27930 resultobj = SWIG_From_int(static_cast< int >(result));
27931 return resultobj;
27932fail:
27933 return NULL;
d55e5bfc
RD
27934}
27935
27936
1bd55598
RD
27937SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27938 PyObject *obj;
27939 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27940 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27941 return SWIG_Py_Void();
d55e5bfc
RD
27942}
27943
1bd55598
RD
27944SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27945 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27946}
27947
1bd55598
RD
27948SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27949 PyObject *resultobj = 0;
27950 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27951 wxString *arg1 = (wxString *) &arg1_defvalue ;
27952 wxPyPrintout *result = 0 ;
27953 bool temp1 = false ;
27954 PyObject * obj0 = 0 ;
27955 char * kwnames[] = {
27956 (char *) "title", NULL
27957 };
27958
27959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27960 if (obj0) {
d55e5bfc 27961 {
1bd55598
RD
27962 arg1 = wxString_in_helper(obj0);
27963 if (arg1 == NULL) SWIG_fail;
27964 temp1 = true;
d55e5bfc 27965 }
1bd55598
RD
27966 }
27967 {
27968 if (!wxPyCheckForApp()) SWIG_fail;
27969 PyThreadState* __tstate = wxPyBeginAllowThreads();
27970 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27971 wxPyEndAllowThreads(__tstate);
27972 if (PyErr_Occurred()) SWIG_fail;
27973 }
27974 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27975 {
27976 if (temp1)
27977 delete arg1;
27978 }
27979 return resultobj;
27980fail:
27981 {
27982 if (temp1)
27983 delete arg1;
27984 }
27985 return NULL;
d55e5bfc
RD
27986}
27987
27988
1bd55598
RD
27989SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27990 PyObject *resultobj = 0;
27991 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27992 void *argp1 = 0 ;
27993 int res1 = 0 ;
27994 PyObject *swig_obj[1] ;
27995
27996 if (!args) SWIG_fail;
27997 swig_obj[0] = args;
27998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27999 if (!SWIG_IsOK(res1)) {
28000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28001 }
28002 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28003 {
28004 PyThreadState* __tstate = wxPyBeginAllowThreads();
28005 delete arg1;
d55e5bfc 28006
1bd55598
RD
28007 wxPyEndAllowThreads(__tstate);
28008 if (PyErr_Occurred()) SWIG_fail;
28009 }
28010 resultobj = SWIG_Py_Void();
28011 return resultobj;
28012fail:
28013 return NULL;
28014}
28015
28016
28017SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28018 PyObject *resultobj = 0;
28019 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28020 PyObject *arg2 = (PyObject *) 0 ;
28021 PyObject *arg3 = (PyObject *) 0 ;
28022 void *argp1 = 0 ;
28023 int res1 = 0 ;
28024 PyObject * obj0 = 0 ;
28025 PyObject * obj1 = 0 ;
28026 PyObject * obj2 = 0 ;
28027 char * kwnames[] = {
28028 (char *) "self",(char *) "self",(char *) "_class", NULL
28029 };
28030
28031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28033 if (!SWIG_IsOK(res1)) {
28034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28035 }
28036 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28037 arg2 = obj1;
28038 arg3 = obj2;
28039 {
28040 PyThreadState* __tstate = wxPyBeginAllowThreads();
28041 (arg1)->_setCallbackInfo(arg2,arg3);
28042 wxPyEndAllowThreads(__tstate);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 }
28045 resultobj = SWIG_Py_Void();
28046 return resultobj;
28047fail:
28048 return NULL;
d55e5bfc
RD
28049}
28050
28051
1bd55598
RD
28052SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28053 PyObject *resultobj = 0;
28054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28055 wxString result;
28056 void *argp1 = 0 ;
28057 int res1 = 0 ;
28058 PyObject *swig_obj[1] ;
28059
28060 if (!args) SWIG_fail;
28061 swig_obj[0] = args;
28062 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28063 if (!SWIG_IsOK(res1)) {
28064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28065 }
28066 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28067 {
28068 PyThreadState* __tstate = wxPyBeginAllowThreads();
28069 result = ((wxPyPrintout const *)arg1)->GetTitle();
28070 wxPyEndAllowThreads(__tstate);
28071 if (PyErr_Occurred()) SWIG_fail;
28072 }
28073 {
28074#if wxUSE_UNICODE
28075 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28076#else
28077 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28078#endif
28079 }
28080 return resultobj;
28081fail:
28082 return NULL;
d55e5bfc
RD
28083}
28084
28085
1bd55598
RD
28086SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28087 PyObject *resultobj = 0;
28088 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28089 wxDC *result = 0 ;
28090 void *argp1 = 0 ;
28091 int res1 = 0 ;
28092 PyObject *swig_obj[1] ;
28093
28094 if (!args) SWIG_fail;
28095 swig_obj[0] = args;
28096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28097 if (!SWIG_IsOK(res1)) {
28098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28099 }
28100 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28101 {
28102 PyThreadState* __tstate = wxPyBeginAllowThreads();
28103 result = (wxDC *)(arg1)->GetDC();
28104 wxPyEndAllowThreads(__tstate);
28105 if (PyErr_Occurred()) SWIG_fail;
28106 }
28107 {
28108 resultobj = wxPyMake_wxObject(result, (bool)0);
28109 }
28110 return resultobj;
28111fail:
28112 return NULL;
28113}
28114
28115
28116SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28117 PyObject *resultobj = 0;
28118 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28119 wxDC *arg2 = (wxDC *) 0 ;
28120 void *argp1 = 0 ;
28121 int res1 = 0 ;
28122 void *argp2 = 0 ;
28123 int res2 = 0 ;
28124 PyObject * obj0 = 0 ;
28125 PyObject * obj1 = 0 ;
28126 char * kwnames[] = {
28127 (char *) "self",(char *) "dc", NULL
28128 };
28129
28130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28132 if (!SWIG_IsOK(res1)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28134 }
28135 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28136 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28137 if (!SWIG_IsOK(res2)) {
28138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28139 }
28140 arg2 = reinterpret_cast< wxDC * >(argp2);
28141 {
28142 PyThreadState* __tstate = wxPyBeginAllowThreads();
28143 (arg1)->SetDC(arg2);
28144 wxPyEndAllowThreads(__tstate);
28145 if (PyErr_Occurred()) SWIG_fail;
28146 }
28147 resultobj = SWIG_Py_Void();
28148 return resultobj;
28149fail:
28150 return NULL;
28151}
28152
28153
70d7cb34
RD
28154SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28155 PyObject *resultobj = 0;
28156 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28157 wxSize *arg2 = 0 ;
28158 void *argp1 = 0 ;
28159 int res1 = 0 ;
28160 wxSize temp2 ;
28161 PyObject * obj0 = 0 ;
28162 PyObject * obj1 = 0 ;
28163 char * kwnames[] = {
28164 (char *) "self",(char *) "imageSize", NULL
28165 };
28166
28167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28169 if (!SWIG_IsOK(res1)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28171 }
28172 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28173 {
28174 arg2 = &temp2;
28175 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28176 }
28177 {
28178 PyThreadState* __tstate = wxPyBeginAllowThreads();
28179 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28180 wxPyEndAllowThreads(__tstate);
28181 if (PyErr_Occurred()) SWIG_fail;
28182 }
28183 resultobj = SWIG_Py_Void();
28184 return resultobj;
28185fail:
28186 return NULL;
28187}
28188
28189
28190SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28191 PyObject *resultobj = 0;
28192 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28193 wxSize *arg2 = 0 ;
28194 void *argp1 = 0 ;
28195 int res1 = 0 ;
28196 wxSize temp2 ;
28197 PyObject * obj0 = 0 ;
28198 PyObject * obj1 = 0 ;
28199 char * kwnames[] = {
28200 (char *) "self",(char *) "imageSize", NULL
28201 };
28202
28203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28205 if (!SWIG_IsOK(res1)) {
28206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28207 }
28208 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28209 {
28210 arg2 = &temp2;
28211 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28212 }
28213 {
28214 PyThreadState* __tstate = wxPyBeginAllowThreads();
28215 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28216 wxPyEndAllowThreads(__tstate);
28217 if (PyErr_Occurred()) SWIG_fail;
28218 }
28219 resultobj = SWIG_Py_Void();
28220 return resultobj;
28221fail:
28222 return NULL;
28223}
28224
28225
28226SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28227 PyObject *resultobj = 0;
28228 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28229 wxSize *arg2 = 0 ;
28230 wxPageSetupDialogData *arg3 = 0 ;
28231 void *argp1 = 0 ;
28232 int res1 = 0 ;
28233 wxSize temp2 ;
28234 void *argp3 = 0 ;
28235 int res3 = 0 ;
28236 PyObject * obj0 = 0 ;
28237 PyObject * obj1 = 0 ;
28238 PyObject * obj2 = 0 ;
28239 char * kwnames[] = {
28240 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28241 };
28242
28243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28245 if (!SWIG_IsOK(res1)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28247 }
28248 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28249 {
28250 arg2 = &temp2;
28251 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28252 }
28253 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28254 if (!SWIG_IsOK(res3)) {
28255 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28256 }
28257 if (!argp3) {
28258 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28259 }
28260 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28261 {
28262 PyThreadState* __tstate = wxPyBeginAllowThreads();
28263 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28264 wxPyEndAllowThreads(__tstate);
28265 if (PyErr_Occurred()) SWIG_fail;
28266 }
28267 resultobj = SWIG_Py_Void();
28268 return resultobj;
28269fail:
28270 return NULL;
28271}
28272
28273
28274SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28275 PyObject *resultobj = 0;
28276 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28277 void *argp1 = 0 ;
28278 int res1 = 0 ;
28279 PyObject *swig_obj[1] ;
28280
28281 if (!args) SWIG_fail;
28282 swig_obj[0] = args;
28283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28284 if (!SWIG_IsOK(res1)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28286 }
28287 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28288 {
28289 PyThreadState* __tstate = wxPyBeginAllowThreads();
28290 (arg1)->MapScreenSizeToPaper();
28291 wxPyEndAllowThreads(__tstate);
28292 if (PyErr_Occurred()) SWIG_fail;
28293 }
28294 resultobj = SWIG_Py_Void();
28295 return resultobj;
28296fail:
28297 return NULL;
28298}
28299
28300
28301SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28302 PyObject *resultobj = 0;
28303 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28304 void *argp1 = 0 ;
28305 int res1 = 0 ;
28306 PyObject *swig_obj[1] ;
28307
28308 if (!args) SWIG_fail;
28309 swig_obj[0] = args;
28310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28311 if (!SWIG_IsOK(res1)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28313 }
28314 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28315 {
28316 PyThreadState* __tstate = wxPyBeginAllowThreads();
28317 (arg1)->MapScreenSizeToPage();
28318 wxPyEndAllowThreads(__tstate);
28319 if (PyErr_Occurred()) SWIG_fail;
28320 }
28321 resultobj = SWIG_Py_Void();
28322 return resultobj;
28323fail:
28324 return NULL;
28325}
28326
28327
28328SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28329 PyObject *resultobj = 0;
28330 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28331 wxPageSetupDialogData *arg2 = 0 ;
28332 void *argp1 = 0 ;
28333 int res1 = 0 ;
28334 void *argp2 = 0 ;
28335 int res2 = 0 ;
28336 PyObject * obj0 = 0 ;
28337 PyObject * obj1 = 0 ;
28338 char * kwnames[] = {
28339 (char *) "self",(char *) "pageSetupData", NULL
28340 };
28341
28342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28344 if (!SWIG_IsOK(res1)) {
28345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28346 }
28347 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28348 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28349 if (!SWIG_IsOK(res2)) {
28350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28351 }
28352 if (!argp2) {
28353 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28354 }
28355 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28356 {
28357 PyThreadState* __tstate = wxPyBeginAllowThreads();
28358 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28359 wxPyEndAllowThreads(__tstate);
28360 if (PyErr_Occurred()) SWIG_fail;
28361 }
28362 resultobj = SWIG_Py_Void();
28363 return resultobj;
28364fail:
28365 return NULL;
28366}
28367
28368
28369SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28370 PyObject *resultobj = 0;
28371 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28372 void *argp1 = 0 ;
28373 int res1 = 0 ;
28374 PyObject *swig_obj[1] ;
28375
28376 if (!args) SWIG_fail;
28377 swig_obj[0] = args;
28378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28379 if (!SWIG_IsOK(res1)) {
28380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28381 }
28382 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28383 {
28384 PyThreadState* __tstate = wxPyBeginAllowThreads();
28385 (arg1)->MapScreenSizeToDevice();
28386 wxPyEndAllowThreads(__tstate);
28387 if (PyErr_Occurred()) SWIG_fail;
28388 }
28389 resultobj = SWIG_Py_Void();
28390 return resultobj;
28391fail:
28392 return NULL;
28393}
28394
28395
28396SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28397 PyObject *resultobj = 0;
28398 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28399 wxRect result;
28400 void *argp1 = 0 ;
28401 int res1 = 0 ;
28402 PyObject *swig_obj[1] ;
28403
28404 if (!args) SWIG_fail;
28405 swig_obj[0] = args;
28406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28407 if (!SWIG_IsOK(res1)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28409 }
28410 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28411 {
28412 PyThreadState* __tstate = wxPyBeginAllowThreads();
28413 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28414 wxPyEndAllowThreads(__tstate);
28415 if (PyErr_Occurred()) SWIG_fail;
28416 }
28417 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28418 return resultobj;
28419fail:
28420 return NULL;
28421}
28422
28423
28424SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28425 PyObject *resultobj = 0;
28426 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28427 wxRect result;
28428 void *argp1 = 0 ;
28429 int res1 = 0 ;
28430 PyObject *swig_obj[1] ;
28431
28432 if (!args) SWIG_fail;
28433 swig_obj[0] = args;
28434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28435 if (!SWIG_IsOK(res1)) {
28436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28437 }
28438 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28439 {
28440 PyThreadState* __tstate = wxPyBeginAllowThreads();
28441 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28442 wxPyEndAllowThreads(__tstate);
28443 if (PyErr_Occurred()) SWIG_fail;
28444 }
28445 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28446 return resultobj;
28447fail:
28448 return NULL;
28449}
28450
28451
28452SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28453 PyObject *resultobj = 0;
28454 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28455 wxPageSetupDialogData *arg2 = 0 ;
28456 wxRect result;
28457 void *argp1 = 0 ;
28458 int res1 = 0 ;
28459 void *argp2 = 0 ;
28460 int res2 = 0 ;
28461 PyObject * obj0 = 0 ;
28462 PyObject * obj1 = 0 ;
28463 char * kwnames[] = {
28464 (char *) "self",(char *) "pageSetupData", NULL
28465 };
28466
28467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28469 if (!SWIG_IsOK(res1)) {
28470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28471 }
28472 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28473 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28474 if (!SWIG_IsOK(res2)) {
28475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28476 }
28477 if (!argp2) {
28478 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28479 }
28480 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28481 {
28482 PyThreadState* __tstate = wxPyBeginAllowThreads();
28483 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28484 wxPyEndAllowThreads(__tstate);
28485 if (PyErr_Occurred()) SWIG_fail;
28486 }
28487 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28488 return resultobj;
28489fail:
28490 return NULL;
28491}
28492
28493
28494SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28495 PyObject *resultobj = 0;
28496 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28497 int arg2 ;
28498 int arg3 ;
28499 void *argp1 = 0 ;
28500 int res1 = 0 ;
28501 int val2 ;
28502 int ecode2 = 0 ;
28503 int val3 ;
28504 int ecode3 = 0 ;
28505 PyObject * obj0 = 0 ;
28506 PyObject * obj1 = 0 ;
28507 PyObject * obj2 = 0 ;
28508 char * kwnames[] = {
28509 (char *) "self",(char *) "x",(char *) "y", NULL
28510 };
28511
28512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28514 if (!SWIG_IsOK(res1)) {
28515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28516 }
28517 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28518 ecode2 = SWIG_AsVal_int(obj1, &val2);
28519 if (!SWIG_IsOK(ecode2)) {
28520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28521 }
28522 arg2 = static_cast< int >(val2);
28523 ecode3 = SWIG_AsVal_int(obj2, &val3);
28524 if (!SWIG_IsOK(ecode3)) {
28525 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28526 }
28527 arg3 = static_cast< int >(val3);
28528 {
28529 PyThreadState* __tstate = wxPyBeginAllowThreads();
28530 (arg1)->SetLogicalOrigin(arg2,arg3);
28531 wxPyEndAllowThreads(__tstate);
28532 if (PyErr_Occurred()) SWIG_fail;
28533 }
28534 resultobj = SWIG_Py_Void();
28535 return resultobj;
28536fail:
28537 return NULL;
28538}
28539
28540
28541SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28542 PyObject *resultobj = 0;
28543 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28544 int arg2 ;
28545 int arg3 ;
28546 void *argp1 = 0 ;
28547 int res1 = 0 ;
28548 int val2 ;
28549 int ecode2 = 0 ;
28550 int val3 ;
28551 int ecode3 = 0 ;
28552 PyObject * obj0 = 0 ;
28553 PyObject * obj1 = 0 ;
28554 PyObject * obj2 = 0 ;
28555 char * kwnames[] = {
28556 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28557 };
28558
28559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28561 if (!SWIG_IsOK(res1)) {
28562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28563 }
28564 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28565 ecode2 = SWIG_AsVal_int(obj1, &val2);
28566 if (!SWIG_IsOK(ecode2)) {
28567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28568 }
28569 arg2 = static_cast< int >(val2);
28570 ecode3 = SWIG_AsVal_int(obj2, &val3);
28571 if (!SWIG_IsOK(ecode3)) {
28572 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28573 }
28574 arg3 = static_cast< int >(val3);
28575 {
28576 PyThreadState* __tstate = wxPyBeginAllowThreads();
28577 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28578 wxPyEndAllowThreads(__tstate);
28579 if (PyErr_Occurred()) SWIG_fail;
28580 }
28581 resultobj = SWIG_Py_Void();
28582 return resultobj;
28583fail:
28584 return NULL;
28585}
28586
28587
1bd55598
RD
28588SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28589 PyObject *resultobj = 0;
28590 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28591 int arg2 ;
28592 int arg3 ;
28593 void *argp1 = 0 ;
28594 int res1 = 0 ;
28595 int val2 ;
28596 int ecode2 = 0 ;
28597 int val3 ;
28598 int ecode3 = 0 ;
28599 PyObject * obj0 = 0 ;
28600 PyObject * obj1 = 0 ;
28601 PyObject * obj2 = 0 ;
28602 char * kwnames[] = {
28603 (char *) "self",(char *) "w",(char *) "h", NULL
28604 };
28605
28606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28608 if (!SWIG_IsOK(res1)) {
28609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28610 }
28611 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28612 ecode2 = SWIG_AsVal_int(obj1, &val2);
28613 if (!SWIG_IsOK(ecode2)) {
28614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28615 }
28616 arg2 = static_cast< int >(val2);
28617 ecode3 = SWIG_AsVal_int(obj2, &val3);
28618 if (!SWIG_IsOK(ecode3)) {
28619 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28620 }
28621 arg3 = static_cast< int >(val3);
28622 {
28623 PyThreadState* __tstate = wxPyBeginAllowThreads();
28624 (arg1)->SetPageSizePixels(arg2,arg3);
28625 wxPyEndAllowThreads(__tstate);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 resultobj = SWIG_Py_Void();
28629 return resultobj;
28630fail:
28631 return NULL;
28632}
28633
28634
28635SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28636 PyObject *resultobj = 0;
28637 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28638 int *arg2 = (int *) 0 ;
28639 int *arg3 = (int *) 0 ;
28640 void *argp1 = 0 ;
28641 int res1 = 0 ;
28642 int temp2 ;
28643 int res2 = SWIG_TMPOBJ ;
28644 int temp3 ;
28645 int res3 = SWIG_TMPOBJ ;
28646 PyObject *swig_obj[1] ;
28647
28648 arg2 = &temp2;
28649 arg3 = &temp3;
28650 if (!args) SWIG_fail;
28651 swig_obj[0] = args;
28652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28653 if (!SWIG_IsOK(res1)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28655 }
28656 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28657 {
28658 PyThreadState* __tstate = wxPyBeginAllowThreads();
28659 (arg1)->GetPageSizePixels(arg2,arg3);
28660 wxPyEndAllowThreads(__tstate);
28661 if (PyErr_Occurred()) SWIG_fail;
28662 }
28663 resultobj = SWIG_Py_Void();
28664 if (SWIG_IsTmpObj(res2)) {
28665 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28666 } else {
28667 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28668 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28669 }
28670 if (SWIG_IsTmpObj(res3)) {
28671 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28672 } else {
28673 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28675 }
28676 return resultobj;
28677fail:
28678 return NULL;
28679}
28680
28681
28682SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28683 PyObject *resultobj = 0;
28684 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28685 int arg2 ;
28686 int arg3 ;
28687 void *argp1 = 0 ;
28688 int res1 = 0 ;
28689 int val2 ;
28690 int ecode2 = 0 ;
28691 int val3 ;
28692 int ecode3 = 0 ;
28693 PyObject * obj0 = 0 ;
28694 PyObject * obj1 = 0 ;
28695 PyObject * obj2 = 0 ;
28696 char * kwnames[] = {
28697 (char *) "self",(char *) "w",(char *) "h", NULL
28698 };
28699
28700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28702 if (!SWIG_IsOK(res1)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28704 }
28705 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28706 ecode2 = SWIG_AsVal_int(obj1, &val2);
28707 if (!SWIG_IsOK(ecode2)) {
28708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28709 }
28710 arg2 = static_cast< int >(val2);
28711 ecode3 = SWIG_AsVal_int(obj2, &val3);
28712 if (!SWIG_IsOK(ecode3)) {
28713 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28714 }
28715 arg3 = static_cast< int >(val3);
28716 {
28717 PyThreadState* __tstate = wxPyBeginAllowThreads();
28718 (arg1)->SetPageSizeMM(arg2,arg3);
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 resultobj = SWIG_Py_Void();
28723 return resultobj;
28724fail:
28725 return NULL;
28726}
28727
28728
28729SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28730 PyObject *resultobj = 0;
28731 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28732 int *arg2 = (int *) 0 ;
28733 int *arg3 = (int *) 0 ;
28734 void *argp1 = 0 ;
28735 int res1 = 0 ;
28736 int temp2 ;
28737 int res2 = SWIG_TMPOBJ ;
28738 int temp3 ;
28739 int res3 = SWIG_TMPOBJ ;
28740 PyObject *swig_obj[1] ;
28741
28742 arg2 = &temp2;
28743 arg3 = &temp3;
28744 if (!args) SWIG_fail;
28745 swig_obj[0] = args;
28746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28747 if (!SWIG_IsOK(res1)) {
28748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28749 }
28750 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28751 {
28752 PyThreadState* __tstate = wxPyBeginAllowThreads();
28753 (arg1)->GetPageSizeMM(arg2,arg3);
28754 wxPyEndAllowThreads(__tstate);
28755 if (PyErr_Occurred()) SWIG_fail;
28756 }
28757 resultobj = SWIG_Py_Void();
28758 if (SWIG_IsTmpObj(res2)) {
28759 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28760 } else {
28761 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28762 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28763 }
28764 if (SWIG_IsTmpObj(res3)) {
28765 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28766 } else {
28767 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28768 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28769 }
28770 return resultobj;
28771fail:
28772 return NULL;
28773}
28774
28775
28776SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28777 PyObject *resultobj = 0;
28778 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28779 int arg2 ;
28780 int arg3 ;
28781 void *argp1 = 0 ;
28782 int res1 = 0 ;
28783 int val2 ;
28784 int ecode2 = 0 ;
28785 int val3 ;
28786 int ecode3 = 0 ;
28787 PyObject * obj0 = 0 ;
28788 PyObject * obj1 = 0 ;
28789 PyObject * obj2 = 0 ;
28790 char * kwnames[] = {
28791 (char *) "self",(char *) "x",(char *) "y", NULL
28792 };
28793
28794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28796 if (!SWIG_IsOK(res1)) {
28797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28798 }
28799 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28800 ecode2 = SWIG_AsVal_int(obj1, &val2);
28801 if (!SWIG_IsOK(ecode2)) {
28802 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28803 }
28804 arg2 = static_cast< int >(val2);
28805 ecode3 = SWIG_AsVal_int(obj2, &val3);
28806 if (!SWIG_IsOK(ecode3)) {
28807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28808 }
28809 arg3 = static_cast< int >(val3);
28810 {
28811 PyThreadState* __tstate = wxPyBeginAllowThreads();
28812 (arg1)->SetPPIScreen(arg2,arg3);
28813 wxPyEndAllowThreads(__tstate);
28814 if (PyErr_Occurred()) SWIG_fail;
28815 }
28816 resultobj = SWIG_Py_Void();
28817 return resultobj;
28818fail:
28819 return NULL;
28820}
28821
28822
28823SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28824 PyObject *resultobj = 0;
28825 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28826 int *arg2 = (int *) 0 ;
28827 int *arg3 = (int *) 0 ;
28828 void *argp1 = 0 ;
28829 int res1 = 0 ;
28830 int temp2 ;
28831 int res2 = SWIG_TMPOBJ ;
28832 int temp3 ;
28833 int res3 = SWIG_TMPOBJ ;
28834 PyObject *swig_obj[1] ;
28835
28836 arg2 = &temp2;
28837 arg3 = &temp3;
28838 if (!args) SWIG_fail;
28839 swig_obj[0] = args;
28840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28841 if (!SWIG_IsOK(res1)) {
28842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28843 }
28844 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28845 {
28846 PyThreadState* __tstate = wxPyBeginAllowThreads();
28847 (arg1)->GetPPIScreen(arg2,arg3);
28848 wxPyEndAllowThreads(__tstate);
28849 if (PyErr_Occurred()) SWIG_fail;
28850 }
28851 resultobj = SWIG_Py_Void();
28852 if (SWIG_IsTmpObj(res2)) {
28853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28854 } else {
28855 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28856 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28857 }
28858 if (SWIG_IsTmpObj(res3)) {
28859 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28860 } else {
28861 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28863 }
28864 return resultobj;
28865fail:
28866 return NULL;
28867}
28868
28869
28870SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28871 PyObject *resultobj = 0;
28872 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28873 int arg2 ;
28874 int arg3 ;
28875 void *argp1 = 0 ;
28876 int res1 = 0 ;
28877 int val2 ;
28878 int ecode2 = 0 ;
28879 int val3 ;
28880 int ecode3 = 0 ;
28881 PyObject * obj0 = 0 ;
28882 PyObject * obj1 = 0 ;
28883 PyObject * obj2 = 0 ;
28884 char * kwnames[] = {
28885 (char *) "self",(char *) "x",(char *) "y", NULL
28886 };
28887
28888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28890 if (!SWIG_IsOK(res1)) {
28891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28892 }
28893 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28894 ecode2 = SWIG_AsVal_int(obj1, &val2);
28895 if (!SWIG_IsOK(ecode2)) {
28896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28897 }
28898 arg2 = static_cast< int >(val2);
28899 ecode3 = SWIG_AsVal_int(obj2, &val3);
28900 if (!SWIG_IsOK(ecode3)) {
28901 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28902 }
28903 arg3 = static_cast< int >(val3);
28904 {
28905 PyThreadState* __tstate = wxPyBeginAllowThreads();
28906 (arg1)->SetPPIPrinter(arg2,arg3);
28907 wxPyEndAllowThreads(__tstate);
28908 if (PyErr_Occurred()) SWIG_fail;
28909 }
28910 resultobj = SWIG_Py_Void();
28911 return resultobj;
28912fail:
28913 return NULL;
28914}
28915
28916
28917SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28918 PyObject *resultobj = 0;
28919 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28920 int *arg2 = (int *) 0 ;
28921 int *arg3 = (int *) 0 ;
28922 void *argp1 = 0 ;
28923 int res1 = 0 ;
28924 int temp2 ;
28925 int res2 = SWIG_TMPOBJ ;
28926 int temp3 ;
28927 int res3 = SWIG_TMPOBJ ;
28928 PyObject *swig_obj[1] ;
28929
28930 arg2 = &temp2;
28931 arg3 = &temp3;
28932 if (!args) SWIG_fail;
28933 swig_obj[0] = args;
28934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28935 if (!SWIG_IsOK(res1)) {
28936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28937 }
28938 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28939 {
28940 PyThreadState* __tstate = wxPyBeginAllowThreads();
28941 (arg1)->GetPPIPrinter(arg2,arg3);
28942 wxPyEndAllowThreads(__tstate);
28943 if (PyErr_Occurred()) SWIG_fail;
28944 }
28945 resultobj = SWIG_Py_Void();
28946 if (SWIG_IsTmpObj(res2)) {
28947 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28948 } else {
28949 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28950 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28951 }
28952 if (SWIG_IsTmpObj(res3)) {
28953 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28954 } else {
28955 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28957 }
28958 return resultobj;
28959fail:
28960 return NULL;
d55e5bfc
RD
28961}
28962
28963
70d7cb34
RD
28964SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28965 PyObject *resultobj = 0;
28966 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28967 wxRect *arg2 = 0 ;
28968 void *argp1 = 0 ;
28969 int res1 = 0 ;
28970 wxRect temp2 ;
28971 PyObject * obj0 = 0 ;
28972 PyObject * obj1 = 0 ;
28973 char * kwnames[] = {
28974 (char *) "self",(char *) "paperRectPixels", NULL
28975 };
28976
28977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28979 if (!SWIG_IsOK(res1)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28981 }
28982 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28983 {
28984 arg2 = &temp2;
28985 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28986 }
28987 {
28988 PyThreadState* __tstate = wxPyBeginAllowThreads();
28989 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28990 wxPyEndAllowThreads(__tstate);
28991 if (PyErr_Occurred()) SWIG_fail;
28992 }
28993 resultobj = SWIG_Py_Void();
28994 return resultobj;
28995fail:
28996 return NULL;
28997}
28998
28999
29000SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29001 PyObject *resultobj = 0;
29002 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29003 wxRect result;
29004 void *argp1 = 0 ;
29005 int res1 = 0 ;
29006 PyObject *swig_obj[1] ;
29007
29008 if (!args) SWIG_fail;
29009 swig_obj[0] = args;
29010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29011 if (!SWIG_IsOK(res1)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29013 }
29014 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29015 {
29016 PyThreadState* __tstate = wxPyBeginAllowThreads();
29017 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
29018 wxPyEndAllowThreads(__tstate);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29022 return resultobj;
29023fail:
29024 return NULL;
29025}
29026
29027
1bd55598
RD
29028SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29029 PyObject *resultobj = 0;
29030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29031 bool result;
29032 void *argp1 = 0 ;
29033 int res1 = 0 ;
29034 PyObject *swig_obj[1] ;
29035
29036 if (!args) SWIG_fail;
29037 swig_obj[0] = args;
29038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29039 if (!SWIG_IsOK(res1)) {
29040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29041 }
29042 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29043 {
29044 PyThreadState* __tstate = wxPyBeginAllowThreads();
29045 result = (bool)(arg1)->IsPreview();
29046 wxPyEndAllowThreads(__tstate);
29047 if (PyErr_Occurred()) SWIG_fail;
29048 }
29049 {
29050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29051 }
29052 return resultobj;
29053fail:
29054 return NULL;
29055}
29056
29057
29058SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29059 PyObject *resultobj = 0;
29060 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29061 bool arg2 ;
29062 void *argp1 = 0 ;
29063 int res1 = 0 ;
29064 bool val2 ;
29065 int ecode2 = 0 ;
29066 PyObject * obj0 = 0 ;
29067 PyObject * obj1 = 0 ;
29068 char * kwnames[] = {
29069 (char *) "self",(char *) "p", NULL
29070 };
29071
29072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29074 if (!SWIG_IsOK(res1)) {
29075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29076 }
29077 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29078 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29079 if (!SWIG_IsOK(ecode2)) {
29080 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29081 }
29082 arg2 = static_cast< bool >(val2);
29083 {
29084 PyThreadState* __tstate = wxPyBeginAllowThreads();
29085 (arg1)->SetIsPreview(arg2);
29086 wxPyEndAllowThreads(__tstate);
29087 if (PyErr_Occurred()) SWIG_fail;
29088 }
29089 resultobj = SWIG_Py_Void();
29090 return resultobj;
29091fail:
29092 return NULL;
29093}
29094
29095
29096SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29097 PyObject *resultobj = 0;
29098 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29099 int arg2 ;
29100 int arg3 ;
29101 bool result;
29102 void *argp1 = 0 ;
29103 int res1 = 0 ;
29104 int val2 ;
29105 int ecode2 = 0 ;
29106 int val3 ;
29107 int ecode3 = 0 ;
29108 PyObject * obj0 = 0 ;
29109 PyObject * obj1 = 0 ;
29110 PyObject * obj2 = 0 ;
29111 char * kwnames[] = {
29112 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29113 };
29114
29115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29117 if (!SWIG_IsOK(res1)) {
29118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29119 }
29120 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29121 ecode2 = SWIG_AsVal_int(obj1, &val2);
29122 if (!SWIG_IsOK(ecode2)) {
29123 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29124 }
29125 arg2 = static_cast< int >(val2);
29126 ecode3 = SWIG_AsVal_int(obj2, &val3);
29127 if (!SWIG_IsOK(ecode3)) {
29128 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29129 }
29130 arg3 = static_cast< int >(val3);
29131 {
29132 PyThreadState* __tstate = wxPyBeginAllowThreads();
29133 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29134 wxPyEndAllowThreads(__tstate);
29135 if (PyErr_Occurred()) SWIG_fail;
29136 }
29137 {
29138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29139 }
29140 return resultobj;
29141fail:
29142 return NULL;
d55e5bfc
RD
29143}
29144
29145
1bd55598
RD
29146SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29147 PyObject *resultobj = 0;
29148 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29149 void *argp1 = 0 ;
29150 int res1 = 0 ;
29151 PyObject *swig_obj[1] ;
29152
29153 if (!args) SWIG_fail;
29154 swig_obj[0] = args;
29155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29156 if (!SWIG_IsOK(res1)) {
29157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29158 }
29159 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29160 {
29161 PyThreadState* __tstate = wxPyBeginAllowThreads();
29162 (arg1)->OnEndDocument();
29163 wxPyEndAllowThreads(__tstate);
29164 if (PyErr_Occurred()) SWIG_fail;
29165 }
29166 resultobj = SWIG_Py_Void();
29167 return resultobj;
29168fail:
29169 return NULL;
29170}
29171
29172
29173SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29174 PyObject *resultobj = 0;
29175 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29176 void *argp1 = 0 ;
29177 int res1 = 0 ;
29178 PyObject *swig_obj[1] ;
29179
29180 if (!args) SWIG_fail;
29181 swig_obj[0] = args;
29182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29183 if (!SWIG_IsOK(res1)) {
29184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29185 }
29186 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29187 {
29188 PyThreadState* __tstate = wxPyBeginAllowThreads();
29189 (arg1)->OnBeginPrinting();
29190 wxPyEndAllowThreads(__tstate);
29191 if (PyErr_Occurred()) SWIG_fail;
29192 }
29193 resultobj = SWIG_Py_Void();
29194 return resultobj;
29195fail:
29196 return NULL;
29197}
29198
29199
29200SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29201 PyObject *resultobj = 0;
29202 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29203 void *argp1 = 0 ;
29204 int res1 = 0 ;
29205 PyObject *swig_obj[1] ;
29206
29207 if (!args) SWIG_fail;
29208 swig_obj[0] = args;
29209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29210 if (!SWIG_IsOK(res1)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29212 }
29213 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29214 {
29215 PyThreadState* __tstate = wxPyBeginAllowThreads();
29216 (arg1)->OnEndPrinting();
29217 wxPyEndAllowThreads(__tstate);
29218 if (PyErr_Occurred()) SWIG_fail;
29219 }
29220 resultobj = SWIG_Py_Void();
29221 return resultobj;
29222fail:
29223 return NULL;
29224}
29225
29226
29227SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29228 PyObject *resultobj = 0;
29229 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29230 void *argp1 = 0 ;
29231 int res1 = 0 ;
29232 PyObject *swig_obj[1] ;
29233
29234 if (!args) SWIG_fail;
29235 swig_obj[0] = args;
29236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29237 if (!SWIG_IsOK(res1)) {
29238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29239 }
29240 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29241 {
29242 PyThreadState* __tstate = wxPyBeginAllowThreads();
29243 (arg1)->OnPreparePrinting();
29244 wxPyEndAllowThreads(__tstate);
29245 if (PyErr_Occurred()) SWIG_fail;
29246 }
29247 resultobj = SWIG_Py_Void();
29248 return resultobj;
29249fail:
29250 return NULL;
29251}
29252
29253
29254SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29255 PyObject *resultobj = 0;
29256 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29257 int arg2 ;
29258 bool result;
29259 void *argp1 = 0 ;
29260 int res1 = 0 ;
29261 int val2 ;
29262 int ecode2 = 0 ;
29263 PyObject * obj0 = 0 ;
29264 PyObject * obj1 = 0 ;
29265 char * kwnames[] = {
29266 (char *) "self",(char *) "page", NULL
29267 };
29268
29269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29271 if (!SWIG_IsOK(res1)) {
29272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29273 }
29274 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29275 ecode2 = SWIG_AsVal_int(obj1, &val2);
29276 if (!SWIG_IsOK(ecode2)) {
29277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29278 }
29279 arg2 = static_cast< int >(val2);
29280 {
29281 PyThreadState* __tstate = wxPyBeginAllowThreads();
29282 result = (bool)(arg1)->HasPage(arg2);
29283 wxPyEndAllowThreads(__tstate);
29284 if (PyErr_Occurred()) SWIG_fail;
29285 }
29286 {
29287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29288 }
29289 return resultobj;
29290fail:
29291 return NULL;
29292}
29293
29294
29295SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29296 PyObject *resultobj = 0;
29297 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29298 int *arg2 = (int *) 0 ;
29299 int *arg3 = (int *) 0 ;
29300 int *arg4 = (int *) 0 ;
29301 int *arg5 = (int *) 0 ;
29302 void *argp1 = 0 ;
29303 int res1 = 0 ;
29304 int temp2 ;
29305 int res2 = SWIG_TMPOBJ ;
29306 int temp3 ;
29307 int res3 = SWIG_TMPOBJ ;
29308 int temp4 ;
29309 int res4 = SWIG_TMPOBJ ;
29310 int temp5 ;
29311 int res5 = SWIG_TMPOBJ ;
29312 PyObject *swig_obj[1] ;
29313
29314 arg2 = &temp2;
29315 arg3 = &temp3;
29316 arg4 = &temp4;
29317 arg5 = &temp5;
29318 if (!args) SWIG_fail;
29319 swig_obj[0] = args;
29320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29321 if (!SWIG_IsOK(res1)) {
29322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29323 }
29324 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29325 {
29326 PyThreadState* __tstate = wxPyBeginAllowThreads();
29327 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29328 wxPyEndAllowThreads(__tstate);
29329 if (PyErr_Occurred()) SWIG_fail;
29330 }
29331 resultobj = SWIG_Py_Void();
29332 if (SWIG_IsTmpObj(res2)) {
29333 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29334 } else {
29335 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29336 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29337 }
29338 if (SWIG_IsTmpObj(res3)) {
29339 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29340 } else {
29341 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29342 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29343 }
29344 if (SWIG_IsTmpObj(res4)) {
29345 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29346 } else {
29347 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29348 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29349 }
29350 if (SWIG_IsTmpObj(res5)) {
29351 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29352 } else {
29353 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29354 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29355 }
29356 return resultobj;
29357fail:
29358 return NULL;
29359}
29360
29361
29362SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29363 PyObject *obj;
29364 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29365 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29366 return SWIG_Py_Void();
29367}
29368
29369SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29370 return SWIG_Python_InitShadowInstance(args);
29371}
29372
29373SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29374 PyObject *resultobj = 0;
29375 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29376 wxWindow *arg2 = (wxWindow *) 0 ;
29377 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29378 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29379 wxSize const &arg4_defvalue = wxDefaultSize ;
29380 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29381 long arg5 = (long) 0 ;
29382 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29383 wxString *arg6 = (wxString *) &arg6_defvalue ;
29384 wxPreviewCanvas *result = 0 ;
29385 void *argp1 = 0 ;
29386 int res1 = 0 ;
29387 void *argp2 = 0 ;
29388 int res2 = 0 ;
29389 wxPoint temp3 ;
29390 wxSize temp4 ;
29391 long val5 ;
29392 int ecode5 = 0 ;
29393 bool temp6 = false ;
29394 PyObject * obj0 = 0 ;
29395 PyObject * obj1 = 0 ;
29396 PyObject * obj2 = 0 ;
29397 PyObject * obj3 = 0 ;
29398 PyObject * obj4 = 0 ;
29399 PyObject * obj5 = 0 ;
29400 char * kwnames[] = {
29401 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29402 };
29403
29404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29406 if (!SWIG_IsOK(res1)) {
29407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29408 }
29409 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29410 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29411 if (!SWIG_IsOK(res2)) {
29412 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29413 }
29414 arg2 = reinterpret_cast< wxWindow * >(argp2);
29415 if (obj2) {
d55e5bfc 29416 {
1bd55598
RD
29417 arg3 = &temp3;
29418 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 29419 }
1bd55598
RD
29420 }
29421 if (obj3) {
d55e5bfc 29422 {
1bd55598
RD
29423 arg4 = &temp4;
29424 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29425 }
1bd55598
RD
29426 }
29427 if (obj4) {
29428 ecode5 = SWIG_AsVal_long(obj4, &val5);
29429 if (!SWIG_IsOK(ecode5)) {
29430 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29431 }
29432 arg5 = static_cast< long >(val5);
29433 }
29434 if (obj5) {
d55e5bfc 29435 {
1bd55598
RD
29436 arg6 = wxString_in_helper(obj5);
29437 if (arg6 == NULL) SWIG_fail;
29438 temp6 = true;
d55e5bfc 29439 }
1bd55598
RD
29440 }
29441 {
29442 if (!wxPyCheckForApp()) SWIG_fail;
29443 PyThreadState* __tstate = wxPyBeginAllowThreads();
29444 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29445 wxPyEndAllowThreads(__tstate);
29446 if (PyErr_Occurred()) SWIG_fail;
29447 }
29448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29449 {
29450 if (temp6)
29451 delete arg6;
29452 }
29453 return resultobj;
29454fail:
29455 {
29456 if (temp6)
29457 delete arg6;
29458 }
29459 return NULL;
29460}
29461
29462
29463SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29464 PyObject *obj;
29465 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29466 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29467 return SWIG_Py_Void();
29468}
29469
29470SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29471 return SWIG_Python_InitShadowInstance(args);
29472}
29473
29474SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29475 PyObject *resultobj = 0;
29476 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29477 wxFrame *arg2 = (wxFrame *) 0 ;
29478 wxString *arg3 = 0 ;
29479 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29480 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29481 wxSize const &arg5_defvalue = wxDefaultSize ;
29482 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29483 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29484 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29485 wxString *arg7 = (wxString *) &arg7_defvalue ;
29486 wxPreviewFrame *result = 0 ;
29487 int res1 = 0 ;
29488 void *argp2 = 0 ;
29489 int res2 = 0 ;
29490 bool temp3 = false ;
29491 wxPoint temp4 ;
29492 wxSize temp5 ;
29493 long val6 ;
29494 int ecode6 = 0 ;
29495 bool temp7 = false ;
29496 PyObject * obj0 = 0 ;
29497 PyObject * obj1 = 0 ;
29498 PyObject * obj2 = 0 ;
29499 PyObject * obj3 = 0 ;
29500 PyObject * obj4 = 0 ;
29501 PyObject * obj5 = 0 ;
29502 PyObject * obj6 = 0 ;
29503 char * kwnames[] = {
29504 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29505 };
29506
29507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29508 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29509 if (!SWIG_IsOK(res1)) {
29510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29511 }
29512 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29513 if (!SWIG_IsOK(res2)) {
29514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29515 }
29516 arg2 = reinterpret_cast< wxFrame * >(argp2);
29517 {
29518 arg3 = wxString_in_helper(obj2);
29519 if (arg3 == NULL) SWIG_fail;
29520 temp3 = true;
29521 }
29522 if (obj3) {
d55e5bfc 29523 {
1bd55598
RD
29524 arg4 = &temp4;
29525 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 29526 }
1bd55598
RD
29527 }
29528 if (obj4) {
d55e5bfc 29529 {
1bd55598
RD
29530 arg5 = &temp5;
29531 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 29532 }
1bd55598
RD
29533 }
29534 if (obj5) {
29535 ecode6 = SWIG_AsVal_long(obj5, &val6);
29536 if (!SWIG_IsOK(ecode6)) {
29537 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29538 }
29539 arg6 = static_cast< long >(val6);
29540 }
29541 if (obj6) {
d55e5bfc 29542 {
1bd55598
RD
29543 arg7 = wxString_in_helper(obj6);
29544 if (arg7 == NULL) SWIG_fail;
29545 temp7 = true;
d55e5bfc 29546 }
1bd55598
RD
29547 }
29548 {
29549 if (!wxPyCheckForApp()) SWIG_fail;
29550 PyThreadState* __tstate = wxPyBeginAllowThreads();
29551 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29552 wxPyEndAllowThreads(__tstate);
29553 if (PyErr_Occurred()) SWIG_fail;
29554 }
29555 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29556 {
29557 if (temp3)
29558 delete arg3;
29559 }
29560 {
29561 if (temp7)
29562 delete arg7;
29563 }
29564 return resultobj;
29565fail:
29566 {
29567 if (temp3)
29568 delete arg3;
29569 }
29570 {
29571 if (temp7)
29572 delete arg7;
29573 }
29574 return NULL;
d55e5bfc
RD
29575}
29576
29577
1bd55598
RD
29578SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29579 PyObject *resultobj = 0;
29580 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29581 void *argp1 = 0 ;
29582 int res1 = 0 ;
29583 PyObject *swig_obj[1] ;
29584
29585 if (!args) SWIG_fail;
29586 swig_obj[0] = args;
29587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29588 if (!SWIG_IsOK(res1)) {
29589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29590 }
29591 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29592 {
29593 PyThreadState* __tstate = wxPyBeginAllowThreads();
29594 (arg1)->Initialize();
29595 wxPyEndAllowThreads(__tstate);
29596 if (PyErr_Occurred()) SWIG_fail;
29597 }
29598 resultobj = SWIG_Py_Void();
29599 return resultobj;
29600fail:
29601 return NULL;
d55e5bfc
RD
29602}
29603
29604
1bd55598
RD
29605SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29606 PyObject *resultobj = 0;
29607 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29608 void *argp1 = 0 ;
29609 int res1 = 0 ;
29610 PyObject *swig_obj[1] ;
29611
29612 if (!args) SWIG_fail;
29613 swig_obj[0] = args;
29614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29615 if (!SWIG_IsOK(res1)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29617 }
29618 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29619 {
29620 PyThreadState* __tstate = wxPyBeginAllowThreads();
29621 (arg1)->CreateControlBar();
29622 wxPyEndAllowThreads(__tstate);
29623 if (PyErr_Occurred()) SWIG_fail;
29624 }
29625 resultobj = SWIG_Py_Void();
29626 return resultobj;
29627fail:
29628 return NULL;
d55e5bfc
RD
29629}
29630
29631
1bd55598
RD
29632SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29633 PyObject *resultobj = 0;
29634 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29635 void *argp1 = 0 ;
29636 int res1 = 0 ;
29637 PyObject *swig_obj[1] ;
29638
29639 if (!args) SWIG_fail;
29640 swig_obj[0] = args;
29641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29642 if (!SWIG_IsOK(res1)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29644 }
29645 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29646 {
29647 PyThreadState* __tstate = wxPyBeginAllowThreads();
29648 (arg1)->CreateCanvas();
29649 wxPyEndAllowThreads(__tstate);
29650 if (PyErr_Occurred()) SWIG_fail;
29651 }
29652 resultobj = SWIG_Py_Void();
29653 return resultobj;
29654fail:
29655 return NULL;
d55e5bfc
RD
29656}
29657
29658
1bd55598
RD
29659SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29660 PyObject *resultobj = 0;
29661 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29662 wxPreviewControlBar *result = 0 ;
29663 void *argp1 = 0 ;
29664 int res1 = 0 ;
29665 PyObject *swig_obj[1] ;
29666
29667 if (!args) SWIG_fail;
29668 swig_obj[0] = args;
29669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29670 if (!SWIG_IsOK(res1)) {
29671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29672 }
29673 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29674 {
29675 PyThreadState* __tstate = wxPyBeginAllowThreads();
29676 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29677 wxPyEndAllowThreads(__tstate);
29678 if (PyErr_Occurred()) SWIG_fail;
29679 }
29680 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29681 return resultobj;
29682fail:
29683 return NULL;
29684}
29685
29686
29687SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29688 PyObject *obj;
29689 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29690 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29691 return SWIG_Py_Void();
29692}
29693
29694SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29695 return SWIG_Python_InitShadowInstance(args);
29696}
29697
29698SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29699 PyObject *resultobj = 0;
29700 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29701 long arg2 ;
29702 wxWindow *arg3 = (wxWindow *) 0 ;
29703 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29704 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29705 wxSize const &arg5_defvalue = wxDefaultSize ;
29706 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29707 long arg6 = (long) wxTAB_TRAVERSAL ;
29708 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29709 wxString *arg7 = (wxString *) &arg7_defvalue ;
29710 wxPreviewControlBar *result = 0 ;
29711 void *argp1 = 0 ;
29712 int res1 = 0 ;
29713 long val2 ;
29714 int ecode2 = 0 ;
29715 void *argp3 = 0 ;
29716 int res3 = 0 ;
29717 wxPoint temp4 ;
29718 wxSize temp5 ;
29719 long val6 ;
29720 int ecode6 = 0 ;
29721 bool temp7 = false ;
29722 PyObject * obj0 = 0 ;
29723 PyObject * obj1 = 0 ;
29724 PyObject * obj2 = 0 ;
29725 PyObject * obj3 = 0 ;
29726 PyObject * obj4 = 0 ;
29727 PyObject * obj5 = 0 ;
29728 PyObject * obj6 = 0 ;
29729 char * kwnames[] = {
29730 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29731 };
29732
29733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29735 if (!SWIG_IsOK(res1)) {
29736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29737 }
29738 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29739 ecode2 = SWIG_AsVal_long(obj1, &val2);
29740 if (!SWIG_IsOK(ecode2)) {
29741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29742 }
29743 arg2 = static_cast< long >(val2);
29744 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29745 if (!SWIG_IsOK(res3)) {
29746 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29747 }
29748 arg3 = reinterpret_cast< wxWindow * >(argp3);
29749 if (obj3) {
29750 {
29751 arg4 = &temp4;
29752 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29753 }
29754 }
29755 if (obj4) {
a5ee0656 29756 {
1bd55598
RD
29757 arg5 = &temp5;
29758 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
a5ee0656 29759 }
1bd55598
RD
29760 }
29761 if (obj5) {
29762 ecode6 = SWIG_AsVal_long(obj5, &val6);
29763 if (!SWIG_IsOK(ecode6)) {
29764 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29765 }
29766 arg6 = static_cast< long >(val6);
29767 }
29768 if (obj6) {
a5ee0656 29769 {
1bd55598
RD
29770 arg7 = wxString_in_helper(obj6);
29771 if (arg7 == NULL) SWIG_fail;
29772 temp7 = true;
a5ee0656 29773 }
1bd55598
RD
29774 }
29775 {
29776 if (!wxPyCheckForApp()) SWIG_fail;
29777 PyThreadState* __tstate = wxPyBeginAllowThreads();
29778 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29779 wxPyEndAllowThreads(__tstate);
29780 if (PyErr_Occurred()) SWIG_fail;
29781 }
29782 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29783 {
29784 if (temp7)
29785 delete arg7;
29786 }
29787 return resultobj;
29788fail:
29789 {
29790 if (temp7)
29791 delete arg7;
29792 }
29793 return NULL;
a5ee0656
RD
29794}
29795
29796
1bd55598
RD
29797SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29798 PyObject *resultobj = 0;
29799 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29800 int result;
29801 void *argp1 = 0 ;
29802 int res1 = 0 ;
29803 PyObject *swig_obj[1] ;
29804
29805 if (!args) SWIG_fail;
29806 swig_obj[0] = args;
29807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29808 if (!SWIG_IsOK(res1)) {
29809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29810 }
29811 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29812 {
29813 PyThreadState* __tstate = wxPyBeginAllowThreads();
29814 result = (int)(arg1)->GetZoomControl();
29815 wxPyEndAllowThreads(__tstate);
29816 if (PyErr_Occurred()) SWIG_fail;
29817 }
29818 resultobj = SWIG_From_int(static_cast< int >(result));
29819 return resultobj;
29820fail:
29821 return NULL;
29822}
29823
29824
29825SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29826 PyObject *resultobj = 0;
29827 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29828 int arg2 ;
29829 void *argp1 = 0 ;
29830 int res1 = 0 ;
29831 int val2 ;
29832 int ecode2 = 0 ;
29833 PyObject * obj0 = 0 ;
29834 PyObject * obj1 = 0 ;
29835 char * kwnames[] = {
29836 (char *) "self",(char *) "zoom", NULL
29837 };
29838
29839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29841 if (!SWIG_IsOK(res1)) {
29842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29843 }
29844 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29845 ecode2 = SWIG_AsVal_int(obj1, &val2);
29846 if (!SWIG_IsOK(ecode2)) {
29847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29848 }
29849 arg2 = static_cast< int >(val2);
29850 {
29851 PyThreadState* __tstate = wxPyBeginAllowThreads();
29852 (arg1)->SetZoomControl(arg2);
29853 wxPyEndAllowThreads(__tstate);
29854 if (PyErr_Occurred()) SWIG_fail;
29855 }
29856 resultobj = SWIG_Py_Void();
29857 return resultobj;
29858fail:
29859 return NULL;
8d38bd1d
RD
29860}
29861
29862
1bd55598
RD
29863SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29864 PyObject *resultobj = 0;
29865 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29866 wxPrintPreview *result = 0 ;
29867 void *argp1 = 0 ;
29868 int res1 = 0 ;
29869 PyObject *swig_obj[1] ;
29870
29871 if (!args) SWIG_fail;
29872 swig_obj[0] = args;
29873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29874 if (!SWIG_IsOK(res1)) {
29875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29876 }
29877 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29878 {
29879 PyThreadState* __tstate = wxPyBeginAllowThreads();
29880 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29881 wxPyEndAllowThreads(__tstate);
29882 if (PyErr_Occurred()) SWIG_fail;
29883 }
29884 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29885 return resultobj;
29886fail:
29887 return NULL;
d55e5bfc
RD
29888}
29889
29890
1bd55598
RD
29891SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29892 PyObject *resultobj = 0;
29893 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29894 void *argp1 = 0 ;
29895 int res1 = 0 ;
29896 PyObject *swig_obj[1] ;
29897
29898 if (!args) SWIG_fail;
29899 swig_obj[0] = args;
29900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29901 if (!SWIG_IsOK(res1)) {
29902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29903 }
29904 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29905 {
29906 PyThreadState* __tstate = wxPyBeginAllowThreads();
29907 (arg1)->OnNext();
29908 wxPyEndAllowThreads(__tstate);
29909 if (PyErr_Occurred()) SWIG_fail;
29910 }
29911 resultobj = SWIG_Py_Void();
29912 return resultobj;
29913fail:
29914 return NULL;
d55e5bfc
RD
29915}
29916
29917
1bd55598
RD
29918SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29919 PyObject *resultobj = 0;
29920 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29921 void *argp1 = 0 ;
29922 int res1 = 0 ;
29923 PyObject *swig_obj[1] ;
29924
29925 if (!args) SWIG_fail;
29926 swig_obj[0] = args;
29927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29928 if (!SWIG_IsOK(res1)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29930 }
29931 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29932 {
29933 PyThreadState* __tstate = wxPyBeginAllowThreads();
29934 (arg1)->OnPrevious();
29935 wxPyEndAllowThreads(__tstate);
29936 if (PyErr_Occurred()) SWIG_fail;
29937 }
29938 resultobj = SWIG_Py_Void();
29939 return resultobj;
29940fail:
29941 return NULL;
d55e5bfc
RD
29942}
29943
29944
1bd55598
RD
29945SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29946 PyObject *resultobj = 0;
29947 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29948 void *argp1 = 0 ;
29949 int res1 = 0 ;
29950 PyObject *swig_obj[1] ;
29951
29952 if (!args) SWIG_fail;
29953 swig_obj[0] = args;
29954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29955 if (!SWIG_IsOK(res1)) {
29956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29957 }
29958 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29959 {
29960 PyThreadState* __tstate = wxPyBeginAllowThreads();
29961 (arg1)->OnFirst();
29962 wxPyEndAllowThreads(__tstate);
29963 if (PyErr_Occurred()) SWIG_fail;
29964 }
29965 resultobj = SWIG_Py_Void();
29966 return resultobj;
29967fail:
29968 return NULL;
a5ee0656
RD
29969}
29970
29971
1bd55598
RD
29972SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29973 PyObject *resultobj = 0;
29974 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29975 void *argp1 = 0 ;
29976 int res1 = 0 ;
29977 PyObject *swig_obj[1] ;
29978
29979 if (!args) SWIG_fail;
29980 swig_obj[0] = args;
29981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29982 if (!SWIG_IsOK(res1)) {
29983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29984 }
29985 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29986 {
29987 PyThreadState* __tstate = wxPyBeginAllowThreads();
29988 (arg1)->OnLast();
29989 wxPyEndAllowThreads(__tstate);
29990 if (PyErr_Occurred()) SWIG_fail;
29991 }
29992 resultobj = SWIG_Py_Void();
29993 return resultobj;
29994fail:
29995 return NULL;
976dbff5
RD
29996}
29997
29998
1bd55598
RD
29999SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30000 PyObject *resultobj = 0;
30001 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30002 void *argp1 = 0 ;
30003 int res1 = 0 ;
30004 PyObject *swig_obj[1] ;
30005
30006 if (!args) SWIG_fail;
30007 swig_obj[0] = args;
30008 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30009 if (!SWIG_IsOK(res1)) {
30010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30011 }
30012 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30013 {
30014 PyThreadState* __tstate = wxPyBeginAllowThreads();
30015 (arg1)->OnGoto();
30016 wxPyEndAllowThreads(__tstate);
30017 if (PyErr_Occurred()) SWIG_fail;
30018 }
30019 resultobj = SWIG_Py_Void();
30020 return resultobj;
30021fail:
30022 return NULL;
d55e5bfc
RD
30023}
30024
30025
1bd55598
RD
30026SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30027 PyObject *obj;
30028 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
30030 return SWIG_Py_Void();
30031}
30032
30033SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30034 return SWIG_Python_InitShadowInstance(args);
30035}
30036
30037SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30038 PyObject *resultobj = 0;
30039 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30040 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30041 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30042 wxPrintPreview *result = 0 ;
30043 int res1 = 0 ;
30044 int res2 = 0 ;
30045 void *argp3 = 0 ;
30046 int res3 = 0 ;
30047
30048 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30049 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30050 if (!SWIG_IsOK(res1)) {
30051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30052 }
30053 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30054 if (!SWIG_IsOK(res2)) {
30055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30056 }
30057 if (swig_obj[2]) {
30058 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30059 if (!SWIG_IsOK(res3)) {
30060 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
36ed4f51 30061 }
1bd55598
RD
30062 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30063 }
30064 {
30065 if (!wxPyCheckForApp()) SWIG_fail;
30066 PyThreadState* __tstate = wxPyBeginAllowThreads();
30067 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30068 wxPyEndAllowThreads(__tstate);
30069 if (PyErr_Occurred()) SWIG_fail;
30070 }
30071 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30072 return resultobj;
30073fail:
30074 return NULL;
30075}
30076
30077
30078SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30079 PyObject *resultobj = 0;
30080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30081 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30082 wxPrintData *arg3 = (wxPrintData *) 0 ;
30083 wxPrintPreview *result = 0 ;
30084 int res1 = 0 ;
30085 int res2 = 0 ;
30086 void *argp3 = 0 ;
30087 int res3 = 0 ;
30088
30089 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30090 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30091 if (!SWIG_IsOK(res1)) {
30092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30093 }
30094 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30095 if (!SWIG_IsOK(res2)) {
30096 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30097 }
30098 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30099 if (!SWIG_IsOK(res3)) {
30100 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30101 }
30102 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30103 {
30104 if (!wxPyCheckForApp()) SWIG_fail;
30105 PyThreadState* __tstate = wxPyBeginAllowThreads();
30106 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30107 wxPyEndAllowThreads(__tstate);
30108 if (PyErr_Occurred()) SWIG_fail;
30109 }
30110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30111 return resultobj;
30112fail:
30113 return NULL;
d55e5bfc
RD
30114}
30115
30116
1bd55598
RD
30117SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30118 int argc;
30119 PyObject *argv[4];
30120
30121 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30122 --argc;
30123 if ((argc >= 2) && (argc <= 3)) {
30124 int _v = 0;
30125 if (argc > 2) {
30126 {
30127 void *vptr = 0;
30128 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30129 _v = SWIG_CheckState(res);
30130 }
30131 if (!_v) goto check_1;
36ed4f51 30132 }
1bd55598
RD
30133 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30134 }
30135check_1:
30136
30137 if (argc == 3) {
30138 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30139 }
30140
30141fail:
30142 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30143 return NULL;
d55e5bfc
RD
30144}
30145
30146
1bd55598
RD
30147SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30148 PyObject *resultobj = 0;
30149 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30150 void *argp1 = 0 ;
30151 int res1 = 0 ;
30152 PyObject *swig_obj[1] ;
30153
30154 if (!args) SWIG_fail;
30155 swig_obj[0] = args;
30156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30157 if (!SWIG_IsOK(res1)) {
30158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30159 }
30160 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30161 {
30162 PyThreadState* __tstate = wxPyBeginAllowThreads();
30163 delete arg1;
d55e5bfc 30164
1bd55598
RD
30165 wxPyEndAllowThreads(__tstate);
30166 if (PyErr_Occurred()) SWIG_fail;
30167 }
30168 resultobj = SWIG_Py_Void();
30169 return resultobj;
30170fail:
30171 return NULL;
30172}
30173
30174
30175SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30176 PyObject *resultobj = 0;
30177 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30178 int arg2 ;
30179 bool result;
30180 void *argp1 = 0 ;
30181 int res1 = 0 ;
30182 int val2 ;
30183 int ecode2 = 0 ;
30184 PyObject * obj0 = 0 ;
30185 PyObject * obj1 = 0 ;
30186 char * kwnames[] = {
30187 (char *) "self",(char *) "pageNum", NULL
30188 };
30189
30190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30192 if (!SWIG_IsOK(res1)) {
30193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30194 }
30195 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30196 ecode2 = SWIG_AsVal_int(obj1, &val2);
30197 if (!SWIG_IsOK(ecode2)) {
30198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30199 }
30200 arg2 = static_cast< int >(val2);
30201 {
30202 PyThreadState* __tstate = wxPyBeginAllowThreads();
30203 result = (bool)(arg1)->SetCurrentPage(arg2);
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 {
30208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30209 }
30210 return resultobj;
30211fail:
30212 return NULL;
d55e5bfc
RD
30213}
30214
30215
1bd55598
RD
30216SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30217 PyObject *resultobj = 0;
30218 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30219 int result;
30220 void *argp1 = 0 ;
30221 int res1 = 0 ;
30222 PyObject *swig_obj[1] ;
30223
30224 if (!args) SWIG_fail;
30225 swig_obj[0] = args;
30226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30227 if (!SWIG_IsOK(res1)) {
30228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30229 }
30230 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30231 {
30232 PyThreadState* __tstate = wxPyBeginAllowThreads();
30233 result = (int)(arg1)->GetCurrentPage();
30234 wxPyEndAllowThreads(__tstate);
30235 if (PyErr_Occurred()) SWIG_fail;
30236 }
30237 resultobj = SWIG_From_int(static_cast< int >(result));
30238 return resultobj;
30239fail:
30240 return NULL;
30241}
30242
30243
30244SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30245 PyObject *resultobj = 0;
30246 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30247 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30248 void *argp1 = 0 ;
30249 int res1 = 0 ;
30250 int res2 = 0 ;
30251 PyObject * obj0 = 0 ;
30252 PyObject * obj1 = 0 ;
30253 char * kwnames[] = {
30254 (char *) "self",(char *) "printout", NULL
30255 };
30256
30257 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30258 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30259 if (!SWIG_IsOK(res1)) {
30260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30261 }
30262 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30263 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30264 if (!SWIG_IsOK(res2)) {
30265 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30266 }
30267 {
30268 PyThreadState* __tstate = wxPyBeginAllowThreads();
30269 (arg1)->SetPrintout(arg2);
30270 wxPyEndAllowThreads(__tstate);
30271 if (PyErr_Occurred()) SWIG_fail;
30272 }
30273 resultobj = SWIG_Py_Void();
30274 return resultobj;
30275fail:
30276 return NULL;
d55e5bfc
RD
30277}
30278
30279
1bd55598
RD
30280SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30281 PyObject *resultobj = 0;
30282 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30283 wxPyPrintout *result = 0 ;
30284 void *argp1 = 0 ;
30285 int res1 = 0 ;
30286 PyObject *swig_obj[1] ;
30287
30288 if (!args) SWIG_fail;
30289 swig_obj[0] = args;
30290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30291 if (!SWIG_IsOK(res1)) {
30292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30293 }
30294 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30295 {
30296 PyThreadState* __tstate = wxPyBeginAllowThreads();
30297 result = (wxPyPrintout *)(arg1)->GetPrintout();
30298 wxPyEndAllowThreads(__tstate);
30299 if (PyErr_Occurred()) SWIG_fail;
30300 }
30301 {
30302 resultobj = wxPyMake_wxObject(result, 0);
30303 }
30304 return resultobj;
30305fail:
30306 return NULL;
d55e5bfc
RD
30307}
30308
30309
1bd55598
RD
30310SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30311 PyObject *resultobj = 0;
30312 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30313 wxPyPrintout *result = 0 ;
30314 void *argp1 = 0 ;
30315 int res1 = 0 ;
30316 PyObject *swig_obj[1] ;
30317
30318 if (!args) SWIG_fail;
30319 swig_obj[0] = args;
30320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30321 if (!SWIG_IsOK(res1)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30323 }
30324 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30325 {
30326 PyThreadState* __tstate = wxPyBeginAllowThreads();
30327 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30328 wxPyEndAllowThreads(__tstate);
30329 if (PyErr_Occurred()) SWIG_fail;
30330 }
30331 {
30332 resultobj = wxPyMake_wxObject(result, 0);
30333 }
30334 return resultobj;
30335fail:
30336 return NULL;
30337}
30338
30339
30340SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30341 PyObject *resultobj = 0;
30342 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30343 wxFrame *arg2 = (wxFrame *) 0 ;
30344 void *argp1 = 0 ;
30345 int res1 = 0 ;
30346 void *argp2 = 0 ;
30347 int res2 = 0 ;
30348 PyObject * obj0 = 0 ;
30349 PyObject * obj1 = 0 ;
30350 char * kwnames[] = {
30351 (char *) "self",(char *) "frame", NULL
30352 };
30353
30354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30356 if (!SWIG_IsOK(res1)) {
30357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30358 }
30359 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30360 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30361 if (!SWIG_IsOK(res2)) {
30362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30363 }
30364 arg2 = reinterpret_cast< wxFrame * >(argp2);
30365 {
30366 PyThreadState* __tstate = wxPyBeginAllowThreads();
30367 (arg1)->SetFrame(arg2);
30368 wxPyEndAllowThreads(__tstate);
30369 if (PyErr_Occurred()) SWIG_fail;
30370 }
30371 resultobj = SWIG_Py_Void();
30372 return resultobj;
30373fail:
30374 return NULL;
30375}
30376
30377
30378SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30379 PyObject *resultobj = 0;
30380 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30381 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30382 void *argp1 = 0 ;
30383 int res1 = 0 ;
30384 void *argp2 = 0 ;
30385 int res2 = 0 ;
30386 PyObject * obj0 = 0 ;
30387 PyObject * obj1 = 0 ;
30388 char * kwnames[] = {
30389 (char *) "self",(char *) "canvas", NULL
30390 };
30391
30392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30394 if (!SWIG_IsOK(res1)) {
30395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30396 }
30397 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30398 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30399 if (!SWIG_IsOK(res2)) {
30400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30401 }
30402 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30403 {
30404 PyThreadState* __tstate = wxPyBeginAllowThreads();
30405 (arg1)->SetCanvas(arg2);
30406 wxPyEndAllowThreads(__tstate);
30407 if (PyErr_Occurred()) SWIG_fail;
30408 }
30409 resultobj = SWIG_Py_Void();
30410 return resultobj;
30411fail:
30412 return NULL;
d55e5bfc
RD
30413}
30414
30415
1bd55598
RD
30416SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30417 PyObject *resultobj = 0;
30418 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30419 wxFrame *result = 0 ;
30420 void *argp1 = 0 ;
30421 int res1 = 0 ;
30422 PyObject *swig_obj[1] ;
30423
30424 if (!args) SWIG_fail;
30425 swig_obj[0] = args;
30426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30427 if (!SWIG_IsOK(res1)) {
30428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30429 }
30430 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30431 {
30432 PyThreadState* __tstate = wxPyBeginAllowThreads();
30433 result = (wxFrame *)(arg1)->GetFrame();
30434 wxPyEndAllowThreads(__tstate);
30435 if (PyErr_Occurred()) SWIG_fail;
30436 }
30437 {
30438 resultobj = wxPyMake_wxObject(result, 0);
30439 }
30440 return resultobj;
30441fail:
30442 return NULL;
d55e5bfc
RD
30443}
30444
30445
1bd55598
RD
30446SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30447 PyObject *resultobj = 0;
30448 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30449 wxPreviewCanvas *result = 0 ;
30450 void *argp1 = 0 ;
30451 int res1 = 0 ;
30452 PyObject *swig_obj[1] ;
30453
30454 if (!args) SWIG_fail;
30455 swig_obj[0] = args;
30456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30457 if (!SWIG_IsOK(res1)) {
30458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30459 }
30460 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30461 {
30462 PyThreadState* __tstate = wxPyBeginAllowThreads();
30463 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30464 wxPyEndAllowThreads(__tstate);
30465 if (PyErr_Occurred()) SWIG_fail;
30466 }
30467 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30468 return resultobj;
30469fail:
30470 return NULL;
30471}
30472
30473
30474SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30475 PyObject *resultobj = 0;
30476 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30477 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30478 wxDC *arg3 = 0 ;
30479 bool result;
30480 void *argp1 = 0 ;
30481 int res1 = 0 ;
30482 void *argp2 = 0 ;
30483 int res2 = 0 ;
30484 void *argp3 = 0 ;
30485 int res3 = 0 ;
30486 PyObject * obj0 = 0 ;
30487 PyObject * obj1 = 0 ;
30488 PyObject * obj2 = 0 ;
30489 char * kwnames[] = {
30490 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30491 };
30492
30493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30495 if (!SWIG_IsOK(res1)) {
30496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30497 }
30498 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30499 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30500 if (!SWIG_IsOK(res2)) {
30501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30502 }
30503 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30504 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30505 if (!SWIG_IsOK(res3)) {
30506 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30507 }
30508 if (!argp3) {
30509 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30510 }
30511 arg3 = reinterpret_cast< wxDC * >(argp3);
30512 {
30513 PyThreadState* __tstate = wxPyBeginAllowThreads();
30514 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30515 wxPyEndAllowThreads(__tstate);
30516 if (PyErr_Occurred()) SWIG_fail;
30517 }
30518 {
30519 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30520 }
30521 return resultobj;
30522fail:
30523 return NULL;
30524}
30525
30526
30527SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30528 PyObject *resultobj = 0;
30529 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30530 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30531 wxDC *arg3 = 0 ;
30532 bool result;
30533 void *argp1 = 0 ;
30534 int res1 = 0 ;
30535 void *argp2 = 0 ;
30536 int res2 = 0 ;
30537 void *argp3 = 0 ;
30538 int res3 = 0 ;
30539 PyObject * obj0 = 0 ;
30540 PyObject * obj1 = 0 ;
30541 PyObject * obj2 = 0 ;
30542 char * kwnames[] = {
30543 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30544 };
30545
30546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30548 if (!SWIG_IsOK(res1)) {
30549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30550 }
30551 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30552 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30553 if (!SWIG_IsOK(res2)) {
30554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30555 }
30556 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30557 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30558 if (!SWIG_IsOK(res3)) {
30559 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30560 }
30561 if (!argp3) {
30562 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30563 }
30564 arg3 = reinterpret_cast< wxDC * >(argp3);
30565 {
30566 PyThreadState* __tstate = wxPyBeginAllowThreads();
30567 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30568 wxPyEndAllowThreads(__tstate);
30569 if (PyErr_Occurred()) SWIG_fail;
30570 }
30571 {
30572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30573 }
30574 return resultobj;
30575fail:
30576 return NULL;
30577}
30578
30579
30580SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30581 PyObject *resultobj = 0;
30582 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30583 int arg2 ;
30584 bool result;
30585 void *argp1 = 0 ;
30586 int res1 = 0 ;
30587 int val2 ;
30588 int ecode2 = 0 ;
30589 PyObject * obj0 = 0 ;
30590 PyObject * obj1 = 0 ;
30591 char * kwnames[] = {
30592 (char *) "self",(char *) "pageNum", NULL
30593 };
30594
30595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30597 if (!SWIG_IsOK(res1)) {
30598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30599 }
30600 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30601 ecode2 = SWIG_AsVal_int(obj1, &val2);
30602 if (!SWIG_IsOK(ecode2)) {
30603 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30604 }
30605 arg2 = static_cast< int >(val2);
30606 {
30607 PyThreadState* __tstate = wxPyBeginAllowThreads();
30608 result = (bool)(arg1)->RenderPage(arg2);
30609 wxPyEndAllowThreads(__tstate);
30610 if (PyErr_Occurred()) SWIG_fail;
30611 }
30612 {
30613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30614 }
30615 return resultobj;
30616fail:
30617 return NULL;
30618}
30619
30620
30621SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30622 PyObject *resultobj = 0;
30623 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30624 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30625 void *argp1 = 0 ;
30626 int res1 = 0 ;
30627 void *argp2 = 0 ;
30628 int res2 = 0 ;
30629 PyObject * obj0 = 0 ;
30630 PyObject * obj1 = 0 ;
30631 char * kwnames[] = {
30632 (char *) "self",(char *) "canvas", NULL
30633 };
30634
30635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30637 if (!SWIG_IsOK(res1)) {
30638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30639 }
30640 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30641 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30642 if (!SWIG_IsOK(res2)) {
30643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30644 }
30645 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30646 {
30647 PyThreadState* __tstate = wxPyBeginAllowThreads();
30648 (arg1)->AdjustScrollbars(arg2);
30649 wxPyEndAllowThreads(__tstate);
30650 if (PyErr_Occurred()) SWIG_fail;
30651 }
30652 resultobj = SWIG_Py_Void();
30653 return resultobj;
30654fail:
30655 return NULL;
d55e5bfc
RD
30656}
30657
30658
1bd55598
RD
30659SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30660 PyObject *resultobj = 0;
30661 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30662 wxPrintDialogData *result = 0 ;
30663 void *argp1 = 0 ;
30664 int res1 = 0 ;
30665 PyObject *swig_obj[1] ;
30666
30667 if (!args) SWIG_fail;
30668 swig_obj[0] = args;
30669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30670 if (!SWIG_IsOK(res1)) {
30671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30672 }
30673 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30674 {
30675 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 30676 {
1bd55598
RD
30677 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30678 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 30679 }
1bd55598
RD
30680 wxPyEndAllowThreads(__tstate);
30681 if (PyErr_Occurred()) SWIG_fail;
30682 }
30683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30684 return resultobj;
30685fail:
30686 return NULL;
30687}
30688
30689
30690SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30691 PyObject *resultobj = 0;
30692 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30693 int arg2 ;
30694 void *argp1 = 0 ;
30695 int res1 = 0 ;
30696 int val2 ;
30697 int ecode2 = 0 ;
30698 PyObject * obj0 = 0 ;
30699 PyObject * obj1 = 0 ;
30700 char * kwnames[] = {
30701 (char *) "self",(char *) "percent", NULL
30702 };
30703
30704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30706 if (!SWIG_IsOK(res1)) {
30707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30708 }
30709 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30710 ecode2 = SWIG_AsVal_int(obj1, &val2);
30711 if (!SWIG_IsOK(ecode2)) {
30712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30713 }
30714 arg2 = static_cast< int >(val2);
30715 {
30716 PyThreadState* __tstate = wxPyBeginAllowThreads();
30717 (arg1)->SetZoom(arg2);
30718 wxPyEndAllowThreads(__tstate);
30719 if (PyErr_Occurred()) SWIG_fail;
30720 }
30721 resultobj = SWIG_Py_Void();
30722 return resultobj;
30723fail:
30724 return NULL;
d55e5bfc
RD
30725}
30726
30727
1bd55598
RD
30728SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30729 PyObject *resultobj = 0;
30730 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30731 int result;
30732 void *argp1 = 0 ;
30733 int res1 = 0 ;
30734 PyObject *swig_obj[1] ;
30735
30736 if (!args) SWIG_fail;
30737 swig_obj[0] = args;
30738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30739 if (!SWIG_IsOK(res1)) {
30740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30741 }
30742 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30743 {
30744 PyThreadState* __tstate = wxPyBeginAllowThreads();
30745 result = (int)(arg1)->GetZoom();
30746 wxPyEndAllowThreads(__tstate);
30747 if (PyErr_Occurred()) SWIG_fail;
30748 }
30749 resultobj = SWIG_From_int(static_cast< int >(result));
30750 return resultobj;
30751fail:
30752 return NULL;
d55e5bfc
RD
30753}
30754
30755
1bd55598
RD
30756SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30757 PyObject *resultobj = 0;
30758 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30759 int result;
30760 void *argp1 = 0 ;
30761 int res1 = 0 ;
30762 PyObject *swig_obj[1] ;
30763
30764 if (!args) SWIG_fail;
30765 swig_obj[0] = args;
30766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30767 if (!SWIG_IsOK(res1)) {
30768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30769 }
30770 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30771 {
30772 PyThreadState* __tstate = wxPyBeginAllowThreads();
30773 result = (int)(arg1)->GetMaxPage();
30774 wxPyEndAllowThreads(__tstate);
30775 if (PyErr_Occurred()) SWIG_fail;
30776 }
30777 resultobj = SWIG_From_int(static_cast< int >(result));
30778 return resultobj;
30779fail:
30780 return NULL;
d55e5bfc
RD
30781}
30782
30783
1bd55598
RD
30784SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30785 PyObject *resultobj = 0;
30786 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30787 int result;
30788 void *argp1 = 0 ;
30789 int res1 = 0 ;
30790 PyObject *swig_obj[1] ;
30791
30792 if (!args) SWIG_fail;
30793 swig_obj[0] = args;
30794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30795 if (!SWIG_IsOK(res1)) {
30796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30797 }
30798 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30799 {
30800 PyThreadState* __tstate = wxPyBeginAllowThreads();
30801 result = (int)(arg1)->GetMinPage();
30802 wxPyEndAllowThreads(__tstate);
30803 if (PyErr_Occurred()) SWIG_fail;
30804 }
30805 resultobj = SWIG_From_int(static_cast< int >(result));
30806 return resultobj;
30807fail:
30808 return NULL;
d55e5bfc
RD
30809}
30810
30811
b39fe951 30812SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
1bd55598
RD
30813 PyObject *resultobj = 0;
30814 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30815 bool result;
30816 void *argp1 = 0 ;
30817 int res1 = 0 ;
30818 PyObject *swig_obj[1] ;
30819
30820 if (!args) SWIG_fail;
30821 swig_obj[0] = args;
30822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30823 if (!SWIG_IsOK(res1)) {
b39fe951 30824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598
RD
30825 }
30826 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30827 {
30828 PyThreadState* __tstate = wxPyBeginAllowThreads();
b39fe951 30829 result = (bool)(arg1)->IsOk();
1bd55598
RD
30830 wxPyEndAllowThreads(__tstate);
30831 if (PyErr_Occurred()) SWIG_fail;
30832 }
30833 {
30834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30835 }
30836 return resultobj;
30837fail:
30838 return NULL;
30839}
30840
30841
30842SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30843 PyObject *resultobj = 0;
30844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30845 bool arg2 ;
30846 void *argp1 = 0 ;
30847 int res1 = 0 ;
30848 bool val2 ;
30849 int ecode2 = 0 ;
30850 PyObject * obj0 = 0 ;
30851 PyObject * obj1 = 0 ;
30852 char * kwnames[] = {
30853 (char *) "self",(char *) "ok", NULL
30854 };
30855
30856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30858 if (!SWIG_IsOK(res1)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30860 }
30861 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30862 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30863 if (!SWIG_IsOK(ecode2)) {
30864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30865 }
30866 arg2 = static_cast< bool >(val2);
30867 {
30868 PyThreadState* __tstate = wxPyBeginAllowThreads();
30869 (arg1)->SetOk(arg2);
30870 wxPyEndAllowThreads(__tstate);
30871 if (PyErr_Occurred()) SWIG_fail;
30872 }
30873 resultobj = SWIG_Py_Void();
30874 return resultobj;
30875fail:
30876 return NULL;
30877}
30878
30879
30880SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30881 PyObject *resultobj = 0;
30882 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30883 bool arg2 ;
30884 bool result;
30885 void *argp1 = 0 ;
30886 int res1 = 0 ;
30887 bool val2 ;
30888 int ecode2 = 0 ;
30889 PyObject * obj0 = 0 ;
30890 PyObject * obj1 = 0 ;
30891 char * kwnames[] = {
30892 (char *) "self",(char *) "interactive", NULL
30893 };
30894
30895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30897 if (!SWIG_IsOK(res1)) {
30898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30899 }
30900 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30901 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30902 if (!SWIG_IsOK(ecode2)) {
30903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30904 }
30905 arg2 = static_cast< bool >(val2);
30906 {
30907 PyThreadState* __tstate = wxPyBeginAllowThreads();
30908 result = (bool)(arg1)->Print(arg2);
30909 wxPyEndAllowThreads(__tstate);
30910 if (PyErr_Occurred()) SWIG_fail;
30911 }
30912 {
30913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30914 }
30915 return resultobj;
30916fail:
30917 return NULL;
d55e5bfc
RD
30918}
30919
30920
1bd55598
RD
30921SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30922 PyObject *resultobj = 0;
30923 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30924 void *argp1 = 0 ;
30925 int res1 = 0 ;
30926 PyObject *swig_obj[1] ;
30927
30928 if (!args) SWIG_fail;
30929 swig_obj[0] = args;
30930 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30931 if (!SWIG_IsOK(res1)) {
30932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30933 }
30934 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30935 {
30936 PyThreadState* __tstate = wxPyBeginAllowThreads();
30937 (arg1)->DetermineScaling();
30938 wxPyEndAllowThreads(__tstate);
30939 if (PyErr_Occurred()) SWIG_fail;
30940 }
30941 resultobj = SWIG_Py_Void();
30942 return resultobj;
30943fail:
30944 return NULL;
d55e5bfc
RD
30945}
30946
30947
1bd55598
RD
30948SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30949 PyObject *obj;
30950 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30951 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30952 return SWIG_Py_Void();
d55e5bfc
RD
30953}
30954
1bd55598
RD
30955SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30956 return SWIG_Python_InitShadowInstance(args);
30957}
d55e5bfc 30958
1bd55598
RD
30959SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30960 PyObject *resultobj = 0;
30961 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30962 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30963 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30964 wxPyPrintPreview *result = 0 ;
30965 int res1 = 0 ;
30966 int res2 = 0 ;
30967 void *argp3 = 0 ;
30968 int res3 = 0 ;
30969
30970 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30971 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30972 if (!SWIG_IsOK(res1)) {
30973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30974 }
30975 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30976 if (!SWIG_IsOK(res2)) {
30977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30978 }
30979 if (swig_obj[2]) {
30980 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30981 if (!SWIG_IsOK(res3)) {
30982 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30983 }
30984 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30985 }
30986 {
30987 if (!wxPyCheckForApp()) SWIG_fail;
30988 PyThreadState* __tstate = wxPyBeginAllowThreads();
30989 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30990 wxPyEndAllowThreads(__tstate);
30991 if (PyErr_Occurred()) SWIG_fail;
30992 }
30993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30994 return resultobj;
30995fail:
30996 return NULL;
30997}
30998
30999
31000SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31001 PyObject *resultobj = 0;
31002 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31003 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31004 wxPrintData *arg3 = (wxPrintData *) 0 ;
31005 wxPyPrintPreview *result = 0 ;
31006 int res1 = 0 ;
31007 int res2 = 0 ;
31008 void *argp3 = 0 ;
31009 int res3 = 0 ;
31010
31011 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
31012 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31013 if (!SWIG_IsOK(res1)) {
31014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31015 }
31016 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31017 if (!SWIG_IsOK(res2)) {
31018 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31019 }
31020 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
31021 if (!SWIG_IsOK(res3)) {
31022 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31023 }
31024 arg3 = reinterpret_cast< wxPrintData * >(argp3);
31025 {
31026 if (!wxPyCheckForApp()) SWIG_fail;
31027 PyThreadState* __tstate = wxPyBeginAllowThreads();
31028 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31029 wxPyEndAllowThreads(__tstate);
31030 if (PyErr_Occurred()) SWIG_fail;
31031 }
31032 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31033 return resultobj;
31034fail:
31035 return NULL;
d55e5bfc
RD
31036}
31037
31038
1bd55598
RD
31039SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31040 int argc;
31041 PyObject *argv[4];
31042
31043 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31044 --argc;
31045 if ((argc >= 2) && (argc <= 3)) {
31046 int _v = 0;
31047 if (argc > 2) {
31048 {
31049 void *vptr = 0;
31050 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31051 _v = SWIG_CheckState(res);
31052 }
31053 if (!_v) goto check_1;
36ed4f51 31054 }
1bd55598
RD
31055 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31056 }
31057check_1:
31058
31059 if (argc == 3) {
31060 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31061 }
31062
31063fail:
31064 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31065 return NULL;
31066}
31067
31068
31069SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31070 PyObject *resultobj = 0;
31071 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31072 PyObject *arg2 = (PyObject *) 0 ;
31073 PyObject *arg3 = (PyObject *) 0 ;
31074 void *argp1 = 0 ;
31075 int res1 = 0 ;
31076 PyObject * obj0 = 0 ;
31077 PyObject * obj1 = 0 ;
31078 PyObject * obj2 = 0 ;
31079 char * kwnames[] = {
31080 (char *) "self",(char *) "self",(char *) "_class", NULL
31081 };
31082
31083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31085 if (!SWIG_IsOK(res1)) {
31086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31087 }
31088 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31089 arg2 = obj1;
31090 arg3 = obj2;
31091 {
31092 PyThreadState* __tstate = wxPyBeginAllowThreads();
31093 (arg1)->_setCallbackInfo(arg2,arg3);
31094 wxPyEndAllowThreads(__tstate);
31095 if (PyErr_Occurred()) SWIG_fail;
31096 }
31097 resultobj = SWIG_Py_Void();
31098 return resultobj;
31099fail:
31100 return NULL;
31101}
31102
31103
31104SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31105 PyObject *obj;
31106 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31108 return SWIG_Py_Void();
31109}
31110
31111SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31112 return SWIG_Python_InitShadowInstance(args);
31113}
31114
31115SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31116 PyObject *resultobj = 0;
31117 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31118 wxFrame *arg2 = (wxFrame *) 0 ;
31119 wxString *arg3 = 0 ;
31120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31122 wxSize const &arg5_defvalue = wxDefaultSize ;
31123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31124 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31125 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31126 wxString *arg7 = (wxString *) &arg7_defvalue ;
31127 wxPyPreviewFrame *result = 0 ;
1bd55598
RD
31128 int res1 = 0 ;
31129 void *argp2 = 0 ;
31130 int res2 = 0 ;
31131 bool temp3 = false ;
31132 wxPoint temp4 ;
31133 wxSize temp5 ;
31134 long val6 ;
31135 int ecode6 = 0 ;
31136 bool temp7 = false ;
31137 PyObject * obj0 = 0 ;
31138 PyObject * obj1 = 0 ;
31139 PyObject * obj2 = 0 ;
31140 PyObject * obj3 = 0 ;
31141 PyObject * obj4 = 0 ;
31142 PyObject * obj5 = 0 ;
31143 PyObject * obj6 = 0 ;
31144 char * kwnames[] = {
31145 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31146 };
31147
31148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 31149 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 31150 if (!SWIG_IsOK(res1)) {
9057d6d4 31151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598 31152 }
1bd55598
RD
31153 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31154 if (!SWIG_IsOK(res2)) {
31155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31156 }
31157 arg2 = reinterpret_cast< wxFrame * >(argp2);
31158 {
31159 arg3 = wxString_in_helper(obj2);
31160 if (arg3 == NULL) SWIG_fail;
31161 temp3 = true;
31162 }
31163 if (obj3) {
36ed4f51 31164 {
1bd55598
RD
31165 arg4 = &temp4;
31166 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 31167 }
1bd55598
RD
31168 }
31169 if (obj4) {
d55e5bfc 31170 {
1bd55598
RD
31171 arg5 = &temp5;
31172 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 31173 }
1bd55598
RD
31174 }
31175 if (obj5) {
31176 ecode6 = SWIG_AsVal_long(obj5, &val6);
31177 if (!SWIG_IsOK(ecode6)) {
31178 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31179 }
31180 arg6 = static_cast< long >(val6);
31181 }
31182 if (obj6) {
36ed4f51 31183 {
1bd55598
RD
31184 arg7 = wxString_in_helper(obj6);
31185 if (arg7 == NULL) SWIG_fail;
31186 temp7 = true;
36ed4f51 31187 }
1bd55598
RD
31188 }
31189 {
31190 if (!wxPyCheckForApp()) SWIG_fail;
31191 PyThreadState* __tstate = wxPyBeginAllowThreads();
31192 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31193 wxPyEndAllowThreads(__tstate);
31194 if (PyErr_Occurred()) SWIG_fail;
31195 }
31196 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31197 {
31198 if (temp3)
31199 delete arg3;
31200 }
31201 {
31202 if (temp7)
31203 delete arg7;
31204 }
31205 return resultobj;
31206fail:
31207 {
31208 if (temp3)
31209 delete arg3;
31210 }
31211 {
31212 if (temp7)
31213 delete arg7;
31214 }
31215 return NULL;
31216}
31217
31218
31219SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31220 PyObject *resultobj = 0;
31221 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31222 PyObject *arg2 = (PyObject *) 0 ;
31223 PyObject *arg3 = (PyObject *) 0 ;
31224 void *argp1 = 0 ;
31225 int res1 = 0 ;
31226 PyObject * obj0 = 0 ;
31227 PyObject * obj1 = 0 ;
31228 PyObject * obj2 = 0 ;
31229 char * kwnames[] = {
31230 (char *) "self",(char *) "self",(char *) "_class", NULL
31231 };
31232
31233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31235 if (!SWIG_IsOK(res1)) {
31236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31237 }
31238 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31239 arg2 = obj1;
31240 arg3 = obj2;
31241 {
31242 PyThreadState* __tstate = wxPyBeginAllowThreads();
31243 (arg1)->_setCallbackInfo(arg2,arg3);
31244 wxPyEndAllowThreads(__tstate);
31245 if (PyErr_Occurred()) SWIG_fail;
31246 }
31247 resultobj = SWIG_Py_Void();
31248 return resultobj;
31249fail:
31250 return NULL;
31251}
31252
31253
31254SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31255 PyObject *resultobj = 0;
31256 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31257 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31258 void *argp1 = 0 ;
31259 int res1 = 0 ;
31260 void *argp2 = 0 ;
31261 int res2 = 0 ;
31262 PyObject * obj0 = 0 ;
31263 PyObject * obj1 = 0 ;
31264 char * kwnames[] = {
31265 (char *) "self",(char *) "canvas", NULL
31266 };
31267
31268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31270 if (!SWIG_IsOK(res1)) {
31271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31272 }
31273 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31275 if (!SWIG_IsOK(res2)) {
31276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31277 }
31278 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31279 {
31280 PyThreadState* __tstate = wxPyBeginAllowThreads();
31281 (arg1)->SetPreviewCanvas(arg2);
31282 wxPyEndAllowThreads(__tstate);
31283 if (PyErr_Occurred()) SWIG_fail;
31284 }
31285 resultobj = SWIG_Py_Void();
31286 return resultobj;
31287fail:
31288 return NULL;
31289}
31290
31291
31292SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31293 PyObject *resultobj = 0;
31294 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31295 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31296 void *argp1 = 0 ;
31297 int res1 = 0 ;
31298 void *argp2 = 0 ;
31299 int res2 = 0 ;
31300 PyObject * obj0 = 0 ;
31301 PyObject * obj1 = 0 ;
31302 char * kwnames[] = {
31303 (char *) "self",(char *) "bar", NULL
31304 };
31305
31306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31308 if (!SWIG_IsOK(res1)) {
31309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31310 }
31311 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31312 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31313 if (!SWIG_IsOK(res2)) {
31314 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31315 }
31316 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31317 {
31318 PyThreadState* __tstate = wxPyBeginAllowThreads();
31319 (arg1)->SetControlBar(arg2);
31320 wxPyEndAllowThreads(__tstate);
31321 if (PyErr_Occurred()) SWIG_fail;
31322 }
31323 resultobj = SWIG_Py_Void();
31324 return resultobj;
31325fail:
31326 return NULL;
d55e5bfc
RD
31327}
31328
31329
1bd55598
RD
31330SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31331 PyObject *resultobj = 0;
31332 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31333 void *argp1 = 0 ;
31334 int res1 = 0 ;
31335 PyObject *swig_obj[1] ;
31336
31337 if (!args) SWIG_fail;
31338 swig_obj[0] = args;
31339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31340 if (!SWIG_IsOK(res1)) {
31341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31342 }
31343 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31344 {
31345 PyThreadState* __tstate = wxPyBeginAllowThreads();
31346 (arg1)->Initialize();
31347 wxPyEndAllowThreads(__tstate);
31348 if (PyErr_Occurred()) SWIG_fail;
31349 }
31350 resultobj = SWIG_Py_Void();
31351 return resultobj;
31352fail:
31353 return NULL;
d55e5bfc
RD
31354}
31355
31356
1bd55598
RD
31357SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31358 PyObject *resultobj = 0;
31359 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31360 void *argp1 = 0 ;
31361 int res1 = 0 ;
31362 PyObject *swig_obj[1] ;
31363
31364 if (!args) SWIG_fail;
31365 swig_obj[0] = args;
31366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31367 if (!SWIG_IsOK(res1)) {
31368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31369 }
31370 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31371 {
31372 PyThreadState* __tstate = wxPyBeginAllowThreads();
31373 (arg1)->CreateCanvas();
31374 wxPyEndAllowThreads(__tstate);
31375 if (PyErr_Occurred()) SWIG_fail;
31376 }
31377 resultobj = SWIG_Py_Void();
31378 return resultobj;
31379fail:
31380 return NULL;
d55e5bfc
RD
31381}
31382
31383
1bd55598
RD
31384SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31385 PyObject *resultobj = 0;
31386 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31387 void *argp1 = 0 ;
31388 int res1 = 0 ;
31389 PyObject *swig_obj[1] ;
31390
31391 if (!args) SWIG_fail;
31392 swig_obj[0] = args;
31393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31394 if (!SWIG_IsOK(res1)) {
31395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31396 }
31397 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31398 {
31399 PyThreadState* __tstate = wxPyBeginAllowThreads();
31400 (arg1)->CreateControlBar();
31401 wxPyEndAllowThreads(__tstate);
31402 if (PyErr_Occurred()) SWIG_fail;
31403 }
31404 resultobj = SWIG_Py_Void();
31405 return resultobj;
31406fail:
31407 return NULL;
31408}
31409
31410
31411SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31412 PyObject *obj;
31413 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31414 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31415 return SWIG_Py_Void();
31416}
31417
31418SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31419 return SWIG_Python_InitShadowInstance(args);
31420}
31421
31422SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31423 PyObject *resultobj = 0;
31424 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31425 long arg2 ;
31426 wxWindow *arg3 = (wxWindow *) 0 ;
31427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31429 wxSize const &arg5_defvalue = wxDefaultSize ;
31430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31431 long arg6 = (long) 0 ;
31432 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31433 wxString *arg7 = (wxString *) &arg7_defvalue ;
31434 wxPyPreviewControlBar *result = 0 ;
1bd55598
RD
31435 int res1 = 0 ;
31436 long val2 ;
31437 int ecode2 = 0 ;
31438 void *argp3 = 0 ;
31439 int res3 = 0 ;
31440 wxPoint temp4 ;
31441 wxSize temp5 ;
31442 long val6 ;
31443 int ecode6 = 0 ;
31444 bool temp7 = false ;
31445 PyObject * obj0 = 0 ;
31446 PyObject * obj1 = 0 ;
31447 PyObject * obj2 = 0 ;
31448 PyObject * obj3 = 0 ;
31449 PyObject * obj4 = 0 ;
31450 PyObject * obj5 = 0 ;
31451 PyObject * obj6 = 0 ;
31452 char * kwnames[] = {
31453 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31454 };
31455
31456 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9057d6d4 31457 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 31458 if (!SWIG_IsOK(res1)) {
9057d6d4 31459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
1bd55598 31460 }
1bd55598
RD
31461 ecode2 = SWIG_AsVal_long(obj1, &val2);
31462 if (!SWIG_IsOK(ecode2)) {
31463 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31464 }
31465 arg2 = static_cast< long >(val2);
31466 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31467 if (!SWIG_IsOK(res3)) {
31468 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31469 }
31470 arg3 = reinterpret_cast< wxWindow * >(argp3);
31471 if (obj3) {
d55e5bfc 31472 {
1bd55598
RD
31473 arg4 = &temp4;
31474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 31475 }
1bd55598
RD
31476 }
31477 if (obj4) {
d55e5bfc 31478 {
1bd55598
RD
31479 arg5 = &temp5;
31480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 31481 }
1bd55598
RD
31482 }
31483 if (obj5) {
31484 ecode6 = SWIG_AsVal_long(obj5, &val6);
31485 if (!SWIG_IsOK(ecode6)) {
31486 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31487 }
31488 arg6 = static_cast< long >(val6);
31489 }
31490 if (obj6) {
d55e5bfc 31491 {
1bd55598
RD
31492 arg7 = wxString_in_helper(obj6);
31493 if (arg7 == NULL) SWIG_fail;
31494 temp7 = true;
d55e5bfc 31495 }
1bd55598
RD
31496 }
31497 {
31498 if (!wxPyCheckForApp()) SWIG_fail;
31499 PyThreadState* __tstate = wxPyBeginAllowThreads();
31500 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31501 wxPyEndAllowThreads(__tstate);
31502 if (PyErr_Occurred()) SWIG_fail;
31503 }
31504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31505 {
31506 if (temp7)
31507 delete arg7;
31508 }
31509 return resultobj;
31510fail:
31511 {
31512 if (temp7)
31513 delete arg7;
31514 }
31515 return NULL;
31516}
31517
31518
31519SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31520 PyObject *resultobj = 0;
31521 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31522 PyObject *arg2 = (PyObject *) 0 ;
31523 PyObject *arg3 = (PyObject *) 0 ;
31524 void *argp1 = 0 ;
31525 int res1 = 0 ;
31526 PyObject * obj0 = 0 ;
31527 PyObject * obj1 = 0 ;
31528 PyObject * obj2 = 0 ;
31529 char * kwnames[] = {
31530 (char *) "self",(char *) "self",(char *) "_class", NULL
31531 };
31532
31533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31535 if (!SWIG_IsOK(res1)) {
31536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31537 }
31538 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31539 arg2 = obj1;
31540 arg3 = obj2;
31541 {
31542 PyThreadState* __tstate = wxPyBeginAllowThreads();
31543 (arg1)->_setCallbackInfo(arg2,arg3);
31544 wxPyEndAllowThreads(__tstate);
31545 if (PyErr_Occurred()) SWIG_fail;
31546 }
31547 resultobj = SWIG_Py_Void();
31548 return resultobj;
31549fail:
31550 return NULL;
31551}
31552
31553
31554SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31555 PyObject *resultobj = 0;
31556 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31557 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31558 void *argp1 = 0 ;
31559 int res1 = 0 ;
1bd55598
RD
31560 int res2 = 0 ;
31561 PyObject * obj0 = 0 ;
31562 PyObject * obj1 = 0 ;
31563 char * kwnames[] = {
31564 (char *) "self",(char *) "preview", NULL
31565 };
31566
31567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31569 if (!SWIG_IsOK(res1)) {
31570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31571 }
31572 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
9057d6d4 31573 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
1bd55598 31574 if (!SWIG_IsOK(res2)) {
9057d6d4 31575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
1bd55598 31576 }
1bd55598
RD
31577 {
31578 PyThreadState* __tstate = wxPyBeginAllowThreads();
31579 (arg1)->SetPrintPreview(arg2);
31580 wxPyEndAllowThreads(__tstate);
31581 if (PyErr_Occurred()) SWIG_fail;
31582 }
31583 resultobj = SWIG_Py_Void();
31584 return resultobj;
31585fail:
31586 return NULL;
d55e5bfc
RD
31587}
31588
31589
1bd55598
RD
31590SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31591 PyObject *resultobj = 0;
31592 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31593 void *argp1 = 0 ;
31594 int res1 = 0 ;
31595 PyObject *swig_obj[1] ;
31596
31597 if (!args) SWIG_fail;
31598 swig_obj[0] = args;
31599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31600 if (!SWIG_IsOK(res1)) {
31601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31602 }
31603 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31604 {
31605 PyThreadState* __tstate = wxPyBeginAllowThreads();
31606 (arg1)->CreateButtons();
31607 wxPyEndAllowThreads(__tstate);
31608 if (PyErr_Occurred()) SWIG_fail;
31609 }
31610 resultobj = SWIG_Py_Void();
31611 return resultobj;
31612fail:
31613 return NULL;
31614}
31615
31616
31617SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31618 PyObject *resultobj = 0;
31619 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31620 int arg2 ;
31621 void *argp1 = 0 ;
31622 int res1 = 0 ;
31623 int val2 ;
31624 int ecode2 = 0 ;
31625 PyObject * obj0 = 0 ;
31626 PyObject * obj1 = 0 ;
31627 char * kwnames[] = {
31628 (char *) "self",(char *) "zoom", NULL
31629 };
31630
31631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31633 if (!SWIG_IsOK(res1)) {
31634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31635 }
31636 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31637 ecode2 = SWIG_AsVal_int(obj1, &val2);
31638 if (!SWIG_IsOK(ecode2)) {
31639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31640 }
31641 arg2 = static_cast< int >(val2);
31642 {
31643 PyThreadState* __tstate = wxPyBeginAllowThreads();
31644 (arg1)->SetZoomControl(arg2);
31645 wxPyEndAllowThreads(__tstate);
31646 if (PyErr_Occurred()) SWIG_fail;
31647 }
31648 resultobj = SWIG_Py_Void();
31649 return resultobj;
31650fail:
31651 return NULL;
d55e5bfc
RD
31652}
31653
31654
1bd55598
RD
31655SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31656 PyObject *obj;
31657 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31658 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31659 return SWIG_Py_Void();
d55e5bfc
RD
31660}
31661
1bd55598
RD
31662SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31663 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
31664}
31665
d55e5bfc 31666static PyMethodDef SwigMethods[] = {
36ed4f51 31667 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31668 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
36ed4f51 31669 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31670 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
36ed4f51
RD
31671 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
1bd55598 31673 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
36ed4f51 31674 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31675 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31676 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31677 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31680 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31681 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31682 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
36ed4f51 31683 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31684 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
36ed4f51 31685 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31686 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31687 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
36ed4f51
RD
31688 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31689 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
1bd55598 31690 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
36ed4f51
RD
31691 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31693 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
36ed4f51 31694 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31695 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
36ed4f51
RD
31696 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31699 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31700 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31701 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
36ed4f51 31702 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31703 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
2131d850 31704 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
1bd55598
RD
31705 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31706 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
36ed4f51
RD
31707 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31710 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
36ed4f51 31711 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31712 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
70d7cb34 31713 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31714 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31715 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31716 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
36ed4f51 31717 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31718 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 31719 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1eeb270e
RD
31720 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31721 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31723 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
36ed4f51
RD
31724 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31725 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31726 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
36ed4f51 31727 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31728 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
36ed4f51 31729 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31730 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
36ed4f51
RD
31731 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31733 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
36ed4f51
RD
31734 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31737 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31740 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
36ed4f51 31741 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31742 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
36ed4f51
RD
31743 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31745 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
1bd55598 31748 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
36ed4f51 31749 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31750 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
36ed4f51
RD
31751 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31753 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 31754 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31755 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 31756 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31757 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
36ed4f51 31758 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
b39fe951
RD
31759 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 31761 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31762 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31763 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
36ed4f51
RD
31764 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31765 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31766 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
1bd55598 31767 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31768 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31769 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
36ed4f51
RD
31770 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31772 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31773 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31774 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31775 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
36ed4f51 31776 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31777 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31778 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31779 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31780 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31781 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
36ed4f51 31782 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
1bd55598 31783 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
36ed4f51 31784 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31785 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
36ed4f51
RD
31786 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31787 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31788 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
36ed4f51
RD
31789 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31790 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31795 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31797 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31798 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
36ed4f51
RD
31799 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
1bd55598 31801 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
36ed4f51 31802 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31803 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
36ed4f51 31804 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31805 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31806 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
36ed4f51 31807 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31808 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
36ed4f51
RD
31809 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31814 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31815 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
36ed4f51
RD
31816 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31818 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31819 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
36ed4f51 31820 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31821 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
36ed4f51 31822 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31823 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
36ed4f51 31824 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31825 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
36ed4f51 31826 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31827 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
36ed4f51 31828 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31829 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
36ed4f51
RD
31830 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31832 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31833 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31835 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31836 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31837 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31838 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
36ed4f51 31839 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31840 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31841 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31842 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
36ed4f51
RD
31843 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31844 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31846 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31847 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31850 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
36ed4f51 31851 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31852 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
36ed4f51
RD
31853 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31854 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31855 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31856 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
36ed4f51
RD
31857 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31858 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31859 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31860 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
36ed4f51 31861 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31862 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
36ed4f51 31863 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31864 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31865 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31867 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
36ed4f51 31868 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31869 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
36ed4f51 31870 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31871 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
36ed4f51 31872 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31873 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31874 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31876 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
36ed4f51 31877 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31878 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
36ed4f51 31879 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31880 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
36ed4f51 31881 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31882 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
36ed4f51 31883 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31884 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
36ed4f51 31885 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31886 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31887 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31889 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
36ed4f51 31890 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31891 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
36ed4f51 31892 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31893 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31894 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31895 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
36ed4f51 31896 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31897 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31898 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
36ed4f51
RD
31899 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31900 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31902 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31903 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31904 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31905 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
36ed4f51
RD
31906 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
1bd55598 31910 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
36ed4f51 31911 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31912 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
36ed4f51 31913 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31914 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31915 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31916 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
36ed4f51 31917 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31918 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31919 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31921 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
36ed4f51 31922 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31923 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31924 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31925 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31926 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31928 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31929 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31930 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31932 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31933 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31934 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31935 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31936 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31937 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
7993762b 31938 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31939 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31940 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31941 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31943 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31944 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31945 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31946 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
36ed4f51
RD
31947 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31949 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31950 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31951 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
36ed4f51
RD
31952 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31953 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31954 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31955 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
36ed4f51 31956 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31957 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31958 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
36ed4f51 31959 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31960 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
36ed4f51
RD
31961 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31962 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31964 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31965 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31966 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
36ed4f51
RD
31967 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31968 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
31970 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31971 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31972 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
1bd55598 31973 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
36ed4f51 31974 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31975 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
36ed4f51
RD
31976 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31978 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31979 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31980 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31981 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
1bd55598 31982 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
f9bf356b
RD
31983 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
31985 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
31987 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
1bd55598
RD
31988 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31989 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
36ed4f51 31990 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31991 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31992 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31993 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
36ed4f51 31994 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31995 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
36ed4f51
RD
31996 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
1bd55598 31998 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31999 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32000 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
1bd55598
RD
32001 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
32002 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
32003 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
32004 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
32005 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
36ed4f51
RD
32006 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
1bd55598 32011 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
36ed4f51 32012 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32013 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
36ed4f51 32014 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32015 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 32016 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32017 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32018 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
32019 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
36ed4f51
RD
32020 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32021 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32022 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32023 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32024 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
32028 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32029 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32030 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32031 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32032 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32033 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32034 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32035 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
1bd55598
RD
32036 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32037 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32038 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
36ed4f51 32039 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32040 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32041 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32043 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
36ed4f51 32044 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32045 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32046 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32047 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32048 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
36ed4f51
RD
32049 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32051 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32052 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32053 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
36ed4f51
RD
32054 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32056 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32057 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32059 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
32060 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32062 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32063 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
1bd55598
RD
32064 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32065 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
36ed4f51 32066 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32067 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32068 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32069 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32070 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32071 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32072 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
36ed4f51
RD
32073 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32077 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
1bd55598 32080 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
36ed4f51 32081 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32082 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
36ed4f51 32083 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32084 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 32085 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32086 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32088 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32089 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32090 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
6b449b19 32091 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32092 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
36ed4f51 32093 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32094 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32095 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32096 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32097 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32098 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32099 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
36ed4f51
RD
32100 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32102 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
1bd55598 32104 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 32105 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32106 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32107 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32108 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32109 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
36ed4f51
RD
32110 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32111 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32113 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
1bd55598 32114 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
36ed4f51 32115 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32116 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
36ed4f51 32117 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32118 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
36ed4f51
RD
32119 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32121 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32122 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32123 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
36ed4f51 32124 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32125 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32126 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32127 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32128 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32129 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32130 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
36ed4f51
RD
32131 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32133 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 32134 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32135 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
36ed4f51 32136 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32137 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
36ed4f51 32138 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32139 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 32140 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32141 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
36ed4f51
RD
32142 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 32144 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 32145 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32146 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
36ed4f51 32147 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 32148 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
32149 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32153 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32154 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32155 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32156 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32157 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32158 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32159 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 32160 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
1bd55598 32161 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 32162 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32163 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
36ed4f51 32164 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 32165 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
32166 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32167 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32170 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32171 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32172 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32173 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32174 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32175 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32176 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
36ed4f51 32177 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
1bd55598 32178 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
36ed4f51 32179 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32180 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
36ed4f51 32181 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 32182 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
32183 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32185 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32186 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32187 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32188 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32189 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32190 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32191 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32192 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32193 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 32194 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 32195 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 32196 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
1bd55598
RD
32197 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32198 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32199 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32200 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
5172800e 32201 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
b39fe951 32202 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
1bd55598
RD
32203 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32204 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32205 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32206 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32207 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32208 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32209 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32210 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
8f514ab4 32211 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
36ed4f51
RD
32212 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32213 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32214 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
5172800e 32215 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
32216 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32217 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32218 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32220 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32222 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32223 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
8f514ab4 32224 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32225 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
36ed4f51 32226 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32227 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
7fbf8399 32228 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32229 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
1bd55598 32230 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
36ed4f51 32231 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
1bd55598 32232 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
36ed4f51
RD
32233 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32234 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32235 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32236 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32237 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32238 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32239 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32240 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32241 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32242 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32243 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32244 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32245 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32246 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32247 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32248 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32249 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32250 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32251 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
b39fe951 32252 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
36ed4f51
RD
32253 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32254 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32255 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32256 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32257 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32259 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32261 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32262 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32263 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
36ed4f51 32264 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 32265 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 32266 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 32267 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
1bd55598
RD
32268 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32269 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32270 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
36ed4f51 32271 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32272 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32273 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
1bd55598
RD
32274 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32275 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32276 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32277 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32278 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32279 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32280 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32281 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32282 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32283 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
36ed4f51
RD
32284 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32285 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32286 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32287 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32288 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32289 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32290 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32293 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32294 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32295 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32296 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32297 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32298 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32299 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32300 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
b39fe951 32301 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
1bd55598 32302 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
36ed4f51
RD
32303 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32304 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 32305 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 32306 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 32307 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
1bd55598
RD
32308 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32309 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32310 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32311 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
36ed4f51 32312 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
1bd55598 32313 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 32314 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32315 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
36ed4f51
RD
32316 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32317 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32318 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32319 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32320 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32321 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32322 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32323 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
36ed4f51 32324 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
1bd55598 32325 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
36ed4f51 32326 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32327 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
36ed4f51 32328 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32329 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32330 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
36ed4f51 32331 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
70d7cb34
RD
32332 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32333 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32334 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32335 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32336 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32337 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32338 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32339 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32340 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32341 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32342 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32343 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32344 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32345 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
36ed4f51 32346 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32347 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
36ed4f51 32348 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32349 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
36ed4f51 32350 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32351 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
70d7cb34
RD
32352 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32353 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
1bd55598 32354 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
36ed4f51 32355 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 32356 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32357 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32358 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32359 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32360 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
7f7aa166 32361 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32362 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
36ed4f51 32363 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
1bd55598 32364 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32365 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32366 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
1bd55598 32367 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
36ed4f51 32368 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32369 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32370 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32371 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32372 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
36ed4f51 32373 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32374 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 32375 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32376 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
36ed4f51 32377 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32378 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32379 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32380 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32381 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32382 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32383 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
36ed4f51 32384 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 32385 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
36ed4f51 32386 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
1bd55598 32387 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
36ed4f51 32388 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32389 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
36ed4f51 32390 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32391 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32392 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
36ed4f51
RD
32393 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32394 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32395 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32396 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
36ed4f51
RD
32397 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32398 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32400 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32401 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
36ed4f51 32402 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32403 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32404 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32405 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
b39fe951 32406 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
36ed4f51
RD
32407 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32408 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32409 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
36ed4f51 32410 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 32411 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32412 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32413 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32414 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 32415 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32416 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32417 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32418 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32419 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
32420 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32421 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32422 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
36ed4f51 32423 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 32424 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
32425 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32426 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32427 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 32428 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
7f7aa166 32429 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 32430 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 32431 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c370783e 32432 { NULL, NULL, 0, NULL }
d55e5bfc
RD
32433};
32434
32435
32436/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32437
32438static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32439 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32440}
32441static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32442 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32443}
32444static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32445 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32446}
32447static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32448 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32449}
32450static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32451 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32452}
32453static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32454 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32455}
32456static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32457 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32458}
32459static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32460 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32461}
32462static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32463 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32464}
32465static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32466 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32467}
32468static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32469 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32470}
d55e5bfc
RD
32471static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32472 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32473}
34e0a3bb
RD
32474static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32475 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32476}
2131d850
RD
32477static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32478 return (void *)((wxEvent *) ((wxPyEvent *) x));
32479}
d55e5bfc
RD
32480static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32481 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32482}
32483static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32484 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32485}
32486static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32487 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32488}
32489static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32490 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32491}
32492static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32493 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32494}
32495static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32496 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32497}
32498static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32499 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32500}
32501static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32502 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32503}
32504static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32505 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32506}
53aa7709
RD
32507static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32508 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32509}
d55e5bfc
RD
32510static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32511 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32512}
32513static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32514 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32515}
34e0a3bb
RD
32516static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32517 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32518}
d55e5bfc
RD
32519static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32520 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32521}
32522static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32523 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32524}
32525static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32526 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32527}
32528static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32529 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32530}
32531static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32532 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32533}
32534static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32535 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32536}
32537static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32538 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32539}
32540static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32541 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32542}
32543static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32544 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32545}
32546static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32547 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32548}
32549static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32550 return (void *)((wxEvent *) ((wxShowEvent *) x));
32551}
32552static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32553 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32554}
32555static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32556 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32557}
32558static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32559 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32560}
32561static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32562 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32563}
32564static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32565 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32566}
32567static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32568 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32569}
32570static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32571 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32572}
f9bf356b
RD
32573static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32574 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32575}
32576static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32577 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32578}
d55e5bfc
RD
32579static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32580 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32581}
070c48b4
RD
32582static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32583 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32584}
d55e5bfc
RD
32585static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32587}
32588static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32589 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32590}
32591static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32592 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32593}
32594static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32595 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32596}
32597static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32598 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32599}
32600static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32601 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32602}
32603static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32604 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32605}
32606static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32607 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32608}
32609static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32610 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32611}
32612static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32613 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32614}
32615static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32616 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32617}
f9bf356b
RD
32618static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32619 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32620}
27e45892
RD
32621static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32622 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32623}
d55e5bfc
RD
32624static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32625 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32626}
32627static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32628 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32629}
32630static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32631 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32632}
32633static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32634 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32635}
32636static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32637 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32638}
32639static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32640 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32641}
32642static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32643 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32644}
32645static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32646 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32647}
32648static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32649 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32650}
32651static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32652 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32653}
32654static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32655 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32656}
32657static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32658 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32659}
32660static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32661 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32662}
32663static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32664 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32665}
32666static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32667 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32668}
32669static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32670 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32671}
32672static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32673 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32674}
32675static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32676 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32677}
32678static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32679 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32680}
32681static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32682 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32683}
32684static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32685 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32686}
32687static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32688 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32689}
32690static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32691 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32692}
32693static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32694 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32695}
32696static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32697 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32698}
32699static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32700 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32701}
f9bf356b
RD
32702static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32703 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32704}
d55e5bfc
RD
32705static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32706 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32707}
32708static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32709 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32710}
32711static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32712 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32713}
32714static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32715 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32716}
5e483524
RD
32717static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32718 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32719}
32720static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32721 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32722}
d55e5bfc
RD
32723static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32724 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32725}
32726static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32727 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32728}
32729static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32730 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32731}
070c48b4
RD
32732static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32733 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32734}
d55e5bfc
RD
32735static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32736 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32737}
f9bf356b
RD
32738static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
32739 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32740}
d55e5bfc
RD
32741static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32742 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32743}
f9bf356b
RD
32744static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
32745 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32746}
d55e5bfc
RD
32747static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32748 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32749}
32750static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32751 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32752}
32753static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
32754 return (void *)((wxFrame *) ((wxTipWindow *) x));
32755}
32756static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32757 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32758}
32759static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32760 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32761}
32762static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32763 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32764}
32765static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32766 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32767}
32768static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32769 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32770}
32771static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32772 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32773}
32774static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32775 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32776}
32777static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32779}
32780static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32782}
d55e5bfc
RD
32783static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32784 return (void *)((wxObject *) ((wxSizerItem *) x));
32785}
34e0a3bb
RD
32786static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32787 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32788}
d55e5bfc
RD
32789static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32790 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32791}
32792static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32793 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32794}
32795static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32796 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32797}
32798static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32799 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32800}
32801static void *_p_wxSizerTo_p_wxObject(void *x) {
32802 return (void *)((wxObject *) ((wxSizer *) x));
32803}
32804static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32805 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32806}
32807static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32808 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32809}
32810static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32812}
32813static void *_p_wxEventTo_p_wxObject(void *x) {
32814 return (void *)((wxObject *) ((wxEvent *) x));
32815}
32816static void *_p_wxFontDataTo_p_wxObject(void *x) {
32817 return (void *)((wxObject *) ((wxFontData *) x));
32818}
32819static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32820 return (void *)((wxObject *) ((wxPrintData *) x));
32821}
32822static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32823 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32824}
32825static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32826 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32827}
32828static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32829 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32830}
32831static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32832 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32833}
5e483524
RD
32834static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32835 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
32836}
32837static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32838 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32839}
2131d850
RD
32840static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32841 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32842}
d55e5bfc
RD
32843static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32844 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32845}
32846static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32847 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32848}
32849static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32850 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32851}
32852static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32853 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32854}
32855static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32856 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32857}
32858static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32859 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32860}
32861static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32863}
32864static void *_p_wxControlTo_p_wxObject(void *x) {
32865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32866}
32867static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32868 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32869}
32870static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32872}
32873static void *_p_wxFSFileTo_p_wxObject(void *x) {
32874 return (void *)((wxObject *) ((wxFSFile *) x));
32875}
32876static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32877 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32878}
32879static void *_p_wxPySizerTo_p_wxObject(void *x) {
32880 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32881}
32882static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32884}
32885static void *_p_wxColourDataTo_p_wxObject(void *x) {
32886 return (void *)((wxObject *) ((wxColourData *) x));
32887}
32888static void *_p_wxPyEventTo_p_wxObject(void *x) {
32889 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32890}
32891static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32893}
32894static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32896}
32897static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32899}
32900static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32902}
32903static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32905}
32906static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32908}
32909static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32911}
070c48b4
RD
32912static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32914}
27e45892
RD
32915static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32917}
d55e5bfc
RD
32918static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32920}
32921static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32923}
32924static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32926}
32927static void *_p_wxShowEventTo_p_wxObject(void *x) {
32928 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32929}
32930static void *_p_wxPrinterTo_p_wxObject(void *x) {
32931 return (void *)((wxObject *) ((wxPrinter *) x));
32932}
32933static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32934 return (void *)((wxObject *) ((wxMenuItem *) x));
32935}
53aa7709
RD
32936static void *_p_wxDateEventTo_p_wxObject(void *x) {
32937 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32938}
d55e5bfc
RD
32939static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32940 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32941}
32942static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32943 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32944}
32945static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32946 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32947}
32948static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32949 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32950}
32951static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32952 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32953}
32954static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32955 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32956}
32957static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32958 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32959}
32960static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32961 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32962}
d55e5bfc
RD
32963static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32964 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32965}
32966static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32967 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32968}
32969static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32970 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32971}
32972static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32973 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32974}
32975static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32976 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32977}
32978static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32979 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32980}
32981static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32982 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32983}
32984static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32985 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32986}
32987static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32988 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32989}
943e8dfd
RD
32990static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32991 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32992}
d55e5bfc
RD
32993static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32994 return (void *)((wxObject *) ((wxImageHandler *) x));
32995}
943e8dfd
RD
32996static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32997 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32998}
d55e5bfc
RD
32999static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33000 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33001}
580080c5
RD
33002static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
33003 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
33004}
d55e5bfc
RD
33005static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33006 return (void *)((wxObject *) ((wxEvtHandler *) x));
33007}
34e0a3bb
RD
33008static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
33009 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
33010}
d55e5bfc
RD
33011static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33012 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33013}
33014static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33016}
33017static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33019}
f9bf356b
RD
33020static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
33021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33022}
d55e5bfc
RD
33023static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33024 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33025}
580080c5
RD
33026static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33027 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33028}
d55e5bfc
RD
33029static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33031}
33032static void *_p_wxImageTo_p_wxObject(void *x) {
33033 return (void *)((wxObject *) ((wxImage *) x));
33034}
33035static void *_p_wxFrameTo_p_wxObject(void *x) {
33036 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33037}
33038static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33039 return (void *)((wxObject *) ((wxPyPrintout *) x));
33040}
33041static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33042 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33043}
33044static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33045 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33046}
33047static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33049}
33050static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33051 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33052}
33053static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33054 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33055}
33056static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33057 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33058}
33059static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33060 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33061}
33062static void *_p_wxWindowTo_p_wxObject(void *x) {
33063 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33064}
33065static void *_p_wxMenuTo_p_wxObject(void *x) {
33066 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33067}
33068static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33070}
33071static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33073}
33074static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33076}
33077static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33079}
33080static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33082}
33083static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33085}
33086static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33088}
33089static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33091}
33092static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33094}
33095static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33097}
33098static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33100}
33101static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33103}
33104static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33106}
33107static void *_p_wxSashEventTo_p_wxObject(void *x) {
33108 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33109}
33110static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33111 return (void *)((wxObject *) ((wxPrintPreview *) x));
33112}
33113static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33114 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33115}
33116static void *_p_wxPanelTo_p_wxObject(void *x) {
33117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33118}
33119static void *_p_wxDialogTo_p_wxObject(void *x) {
33120 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33121}
33122static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33124}
33125static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33126 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33127}
33128static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33130}
33131static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 33132 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
33133}
33134static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 33135 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
33136}
33137static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33138 return (void *)((wxObject *) ((wxFileSystem *) x));
33139}
33140static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33141 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33142}
33143static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33144 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33145}
33146static void *_p_wxPyAppTo_p_wxObject(void *x) {
33147 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33148}
33149static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33150 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33151}
33152static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33153 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33154}
33155static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33156 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33157}
33158static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33159 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33160}
33161static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33162 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33163}
33164static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33166}
33167static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33169}
33170static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33171 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33172}
33173static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33174 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33175}
33176static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33177 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33178}
33179static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33181}
33182static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33183 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33184}
33185static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33186 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33187}
33188static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33189 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33190}
33191static void *_p_wxValidatorTo_p_wxObject(void *x) {
33192 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33193}
33194static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33195 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33196}
33197static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33198 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33199}
f9bf356b
RD
33200static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33201 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33202}
d55e5bfc
RD
33203static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33204 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33205}
33206static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33207 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33208}
33209static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33210 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33211}
33212static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33213 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33214}
33215static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33216 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33217}
33218static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33219 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33220}
33221static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33222 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33223}
33224static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33225 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33226}
d55e5bfc
RD
33227static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33228 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33229}
33230static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
33231 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
33232}
33233static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33234 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33235}
33236static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33237 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33238}
27e45892
RD
33239static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33240 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
d55e5bfc 33241}
070c48b4
RD
33242static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33243 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33244}
d55e5bfc
RD
33245static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33246 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33247}
33248static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33249 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33250}
33251static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33252 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33253}
33254static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33255 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33256}
27e45892
RD
33257static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33258 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33259}
070c48b4
RD
33260static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33261 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33262}
d55e5bfc
RD
33263static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33264 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33265}
33266static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33267 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33268}
33269static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33270 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33271}
33272static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33273 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33274}
33275static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33276 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33277}
33278static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33279 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33280}
33281static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33282 return (void *)((wxWindow *) ((wxMenuBar *) x));
33283}
33284static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33285 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33286}
33287static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33288 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33289}
33290static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33291 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33292}
27e45892
RD
33293static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33294 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33295}
070c48b4
RD
33296static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33297 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33298}
d55e5bfc
RD
33299static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33300 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33301}
33302static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33303 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33304}
33305static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33306 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33307}
33308static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33309 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33310}
33311static void *_p_wxPanelTo_p_wxWindow(void *x) {
33312 return (void *)((wxWindow *) ((wxPanel *) x));
33313}
33314static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33315 return (void *)((wxWindow *) ((wxStatusBar *) x));
33316}
d55e5bfc
RD
33317static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33318 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33319}
33320static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33321 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
33322}
33323static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33324 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33325}
33326static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33327 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33328}
33329static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33330 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33331}
33332static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33333 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33334}
33335static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33336 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33337}
33338static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33339 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33340}
33341static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33342 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33343}
33344static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33345 return (void *)((wxWindow *) ((wxSashWindow *) x));
33346}
070c48b4
RD
33347static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33348 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33349}
d55e5bfc
RD
33350static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33351 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33352}
33353static void *_p_wxControlTo_p_wxWindow(void *x) {
33354 return (void *)((wxWindow *) ((wxControl *) x));
33355}
33356static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33357 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33358}
33359static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33360 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33361}
33362static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33363 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33364}
33365static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33366 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33367}
33368static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33369 return (void *)((wxWindow *) ((wxPyWindow *) x));
33370}
33371static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33372 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33373}
f9bf356b
RD
33374static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33375 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33376}
d55e5bfc
RD
33377static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33378 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33379}
33380static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33381 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33382}
33383static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33384 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33385}
33386static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33387 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33388}
33389static void *_p_wxFrameTo_p_wxWindow(void *x) {
33390 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33391}
33392static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33393 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33394}
33395static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33396 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33397}
33398static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33399 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33400}
33401static void *_p_wxDialogTo_p_wxWindow(void *x) {
33402 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33403}
d55e5bfc
RD
33404static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33405 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33406}
33407static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33408 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33409}
33410static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33411 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33412}
33413static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33414 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33415}
33416static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33417 return (void *)((wxDialog *) ((wxColourDialog *) x));
33418}
33419static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33420 return (void *)((wxDialog *) ((wxDirDialog *) x));
33421}
33422static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33423 return (void *)((wxDialog *) ((wxFontDialog *) x));
33424}
d55e5bfc
RD
33425static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33426 return (void *)((wxDialog *) ((wxFileDialog *) x));
33427}
33428static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33429 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33430}
33431static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33432 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33433}
33434static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33435 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33436}
070c48b4
RD
33437static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33438 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33439}
27e45892
RD
33440static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33441 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33442}
d55e5bfc
RD
33443static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33444 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33445}
33446static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33447 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33448}
33449static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33450 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33451}
33452static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33453 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33454}
33455static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33456 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33457}
33458static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33459 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33460}
33461static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33462 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33463}
f9bf356b
RD
33464static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33465 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33466}
d55e5bfc
RD
33467static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33468 return (void *)((wxPanel *) ((wxPyPanel *) x));
33469}
33470static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33471 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33472}
33473static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33474 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33475}
33476static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33477 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33478}
33479static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33480 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33481}
33482static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33483 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33484}
33485static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33486 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33487}
53aa7709
RD
33488static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33489 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33490}
d55e5bfc
RD
33491static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33492 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33493}
2131d850
RD
33494static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33495 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33496}
d55e5bfc
RD
33497static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33498 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33499}
33500static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33501 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33502}
33503static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33504 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33505}
33506static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33507 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33508}
33509static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33510 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33511}
33512static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33513 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33514}
33515static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33516 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33517}
33518static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33519 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33520}
f9bf356b
RD
33521static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33522 return (void *)((wxValidator *) ((wxPyValidator *) x));
33523}
2131d850 33524static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
1bd55598
RD
33525static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33526static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
33527static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33528static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33529static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33530static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33531static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
f9bf356b 33532static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
1bd55598
RD
33533static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33534static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33535static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33536static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33537static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33538static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
33539static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33540static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598 33541static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
33542static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33543static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33544static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33545static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33546static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33547static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33548static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33549static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33550static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33551static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33552static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33553static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33554static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33555static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33556static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33557static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33558static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33559static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 33560static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
1bd55598
RD
33561static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33562static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33563static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33564static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33565static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33566static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33567static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33568static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33569static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33570static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33571static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33572static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33573static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33574static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33575static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33576static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33577static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33578static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33579static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
1bd55598
RD
33580static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33581static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33582static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33583static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33584static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33585static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33586static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33587static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33588static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33589static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33590static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33591static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33592static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 33593static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
1bd55598
RD
33594static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33595static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
f9bf356b 33596static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
1bd55598
RD
33597static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33598static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33599static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33600static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33601static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33602static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33603static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33604static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33605static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33606static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 33607static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
1bd55598
RD
33608static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33609static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
1bd55598 33610static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 33611static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
1bd55598
RD
33612static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33613static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33614static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33615static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33616static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33617static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33618static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33619static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33620static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33621static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
33622static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33623static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33624static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33625static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33626static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33627static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33628static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33629static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33630static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 33631static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 33632static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
33633static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33634static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 33635static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
1bd55598
RD
33636static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33637static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33638static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33639static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33640static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33641static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33642static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33643static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33644static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33645static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33646static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33647static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33648static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33649static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33650static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33651static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33652static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33653static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33654static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33655static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33656static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33657static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33658static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33659static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33660static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33661static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33662static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33663static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33664static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33665static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33666static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33667static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33668static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33669static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33670static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33671static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33672static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33673static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
f9bf356b 33674static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
1bd55598
RD
33675static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33676static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33677static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33678static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33679static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33680static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33681static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33682static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33683static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33684static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33685static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33686static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33687static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33688static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33689static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
f9bf356b 33690static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
1bd55598
RD
33691static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33692static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
33693
33694static swig_type_info *swig_type_initial[] = {
2131d850 33695 &_swigt__p_bool,
32fe5131
RD
33696 &_swigt__p_char,
33697 &_swigt__p_form_ops_t,
33698 &_swigt__p_int,
33699 &_swigt__p_unsigned_char,
33700 &_swigt__p_unsigned_int,
33701 &_swigt__p_unsigned_long,
33702 &_swigt__p_wxANIHandler,
33703 &_swigt__p_wxAcceleratorTable,
33704 &_swigt__p_wxActivateEvent,
33705 &_swigt__p_wxArrayInt,
f9bf356b 33706 &_swigt__p_wxArrayString,
32fe5131
RD
33707 &_swigt__p_wxBMPHandler,
33708 &_swigt__p_wxBitmap,
33709 &_swigt__p_wxBoxSizer,
33710 &_swigt__p_wxCURHandler,
33711 &_swigt__p_wxCalculateLayoutEvent,
33712 &_swigt__p_wxChildFocusEvent,
2131d850 33713 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
33714 &_swigt__p_wxCloseEvent,
33715 &_swigt__p_wxColour,
33716 &_swigt__p_wxColourData,
33717 &_swigt__p_wxColourDialog,
33718 &_swigt__p_wxCommandEvent,
33719 &_swigt__p_wxContextMenuEvent,
33720 &_swigt__p_wxControl,
33721 &_swigt__p_wxControlWithItems,
33722 &_swigt__p_wxDC,
33723 &_swigt__p_wxDateEvent,
33724 &_swigt__p_wxDialog,
33725 &_swigt__p_wxDirDialog,
33726 &_swigt__p_wxDisplayChangedEvent,
33727 &_swigt__p_wxDropFilesEvent,
33728 &_swigt__p_wxDuplexMode,
33729 &_swigt__p_wxEraseEvent,
33730 &_swigt__p_wxEvent,
33731 &_swigt__p_wxEvtHandler,
33732 &_swigt__p_wxFSFile,
33733 &_swigt__p_wxFileDialog,
33734 &_swigt__p_wxFileSystem,
33735 &_swigt__p_wxFindDialogEvent,
33736 &_swigt__p_wxFindReplaceData,
33737 &_swigt__p_wxFindReplaceDialog,
33738 &_swigt__p_wxFlexGridSizer,
33739 &_swigt__p_wxFocusEvent,
33740 &_swigt__p_wxFont,
33741 &_swigt__p_wxFontData,
33742 &_swigt__p_wxFontDialog,
33743 &_swigt__p_wxFrame,
33744 &_swigt__p_wxGBSizerItem,
33745 &_swigt__p_wxGIFHandler,
33746 &_swigt__p_wxGridBagSizer,
33747 &_swigt__p_wxGridSizer,
e9d6f3a4 33748 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
33749 &_swigt__p_wxICOHandler,
33750 &_swigt__p_wxIcon,
33751 &_swigt__p_wxIconBundle,
33752 &_swigt__p_wxIconizeEvent,
33753 &_swigt__p_wxIdleEvent,
33754 &_swigt__p_wxImage,
33755 &_swigt__p_wxImageHandler,
33756 &_swigt__p_wxIndividualLayoutConstraint,
33757 &_swigt__p_wxInitDialogEvent,
f9bf356b 33758 &_swigt__p_wxItemContainer,
32fe5131
RD
33759 &_swigt__p_wxJPEGHandler,
33760 &_swigt__p_wxKeyEvent,
33761 &_swigt__p_wxLayoutAlgorithm,
33762 &_swigt__p_wxLayoutConstraints,
33763 &_swigt__p_wxMDIChildFrame,
33764 &_swigt__p_wxMDIClientWindow,
33765 &_swigt__p_wxMDIParentFrame,
33766 &_swigt__p_wxMaximizeEvent,
33767 &_swigt__p_wxMenu,
33768 &_swigt__p_wxMenuBar,
33769 &_swigt__p_wxMenuEvent,
33770 &_swigt__p_wxMenuItem,
33771 &_swigt__p_wxMessageDialog,
33772 &_swigt__p_wxMiniFrame,
33773 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 33774 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
33775 &_swigt__p_wxMouseEvent,
33776 &_swigt__p_wxMoveEvent,
33777 &_swigt__p_wxMultiChoiceDialog,
33778 &_swigt__p_wxNavigationKeyEvent,
33779 &_swigt__p_wxNcPaintEvent,
33780 &_swigt__p_wxNotifyEvent,
27e45892 33781 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
33782 &_swigt__p_wxObject,
33783 &_swigt__p_wxPCXHandler,
33784 &_swigt__p_wxPNGHandler,
33785 &_swigt__p_wxPNMHandler,
33786 &_swigt__p_wxPageSetupDialog,
33787 &_swigt__p_wxPageSetupDialogData,
33788 &_swigt__p_wxPaintEvent,
33789 &_swigt__p_wxPaletteChangedEvent,
33790 &_swigt__p_wxPanel,
33791 &_swigt__p_wxPaperSize,
33792 &_swigt__p_wxPasswordEntryDialog,
33793 &_swigt__p_wxPoint,
33794 &_swigt__p_wxPopupWindow,
33795 &_swigt__p_wxPreviewCanvas,
33796 &_swigt__p_wxPreviewControlBar,
33797 &_swigt__p_wxPreviewFrame,
33798 &_swigt__p_wxPrintData,
33799 &_swigt__p_wxPrintDialog,
33800 &_swigt__p_wxPrintDialogData,
33801 &_swigt__p_wxPrintPreview,
33802 &_swigt__p_wxPrinter,
33803 &_swigt__p_wxProgressDialog,
33804 &_swigt__p_wxPyApp,
33805 &_swigt__p_wxPyCommandEvent,
33806 &_swigt__p_wxPyEvent,
33807 &_swigt__p_wxPyHtmlListBox,
33808 &_swigt__p_wxPyImageHandler,
33809 &_swigt__p_wxPyPanel,
33810 &_swigt__p_wxPyPopupTransientWindow,
33811 &_swigt__p_wxPyPreviewControlBar,
33812 &_swigt__p_wxPyPreviewFrame,
33813 &_swigt__p_wxPyPrintPreview,
33814 &_swigt__p_wxPyPrintout,
33815 &_swigt__p_wxPyScrolledWindow,
33816 &_swigt__p_wxPySizer,
33817 &_swigt__p_wxPyTaskBarIcon,
33818 &_swigt__p_wxPyVListBox,
33819 &_swigt__p_wxPyVScrolledWindow,
33820 &_swigt__p_wxPyValidator,
33821 &_swigt__p_wxPyWindow,
33822 &_swigt__p_wxQueryLayoutInfoEvent,
33823 &_swigt__p_wxQueryNewPaletteEvent,
33824 &_swigt__p_wxRect,
33825 &_swigt__p_wxRegion,
33826 &_swigt__p_wxSashEvent,
33827 &_swigt__p_wxSashLayoutWindow,
33828 &_swigt__p_wxSashWindow,
33829 &_swigt__p_wxScrollEvent,
33830 &_swigt__p_wxScrollWinEvent,
33831 &_swigt__p_wxScrolledWindow,
33832 &_swigt__p_wxSetCursorEvent,
33833 &_swigt__p_wxShowEvent,
f9bf356b 33834 &_swigt__p_wxSimpleHtmlListBox,
32fe5131
RD
33835 &_swigt__p_wxSingleChoiceDialog,
33836 &_swigt__p_wxSize,
33837 &_swigt__p_wxSizeEvent,
33838 &_swigt__p_wxSizer,
33839 &_swigt__p_wxSizerItem,
33840 &_swigt__p_wxSplashScreen,
33841 &_swigt__p_wxSplashScreenWindow,
33842 &_swigt__p_wxSplitterEvent,
33843 &_swigt__p_wxSplitterWindow,
33844 &_swigt__p_wxStaticBoxSizer,
33845 &_swigt__p_wxStatusBar,
33846 &_swigt__p_wxStdDialogButtonSizer,
33847 &_swigt__p_wxString,
33848 &_swigt__p_wxSysColourChangedEvent,
580080c5 33849 &_swigt__p_wxTGAHandler,
32fe5131
RD
33850 &_swigt__p_wxTIFFHandler,
33851 &_swigt__p_wxTaskBarIcon,
33852 &_swigt__p_wxTaskBarIconEvent,
33853 &_swigt__p_wxTextEntryDialog,
33854 &_swigt__p_wxTipWindow,
33855 &_swigt__p_wxToolBar,
33856 &_swigt__p_wxTopLevelWindow,
33857 &_swigt__p_wxUpdateUIEvent,
33858 &_swigt__p_wxValidator,
33859 &_swigt__p_wxVisualAttributes,
33860 &_swigt__p_wxWindow,
33861 &_swigt__p_wxWindowCreateEvent,
33862 &_swigt__p_wxWindowDestroyEvent,
33863 &_swigt__p_wxXPMHandler,
32fe5131
RD
33864};
33865
2131d850 33866static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33867static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33868static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33869static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33870static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33871static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33872static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33873static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33874static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33875static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33876static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33877static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33878static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33879static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33880static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33881static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33882static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
33883static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33884static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33885static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33886static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33887static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33888static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33889static 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 33890static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33891static 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
33892static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33893static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33894static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33895static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33896static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33897static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33898static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33899static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33900static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33901static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33902static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33903static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33904static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33905static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33906static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33907static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33908static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33909static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33910static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33911static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33912static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33913static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33914static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33915static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33916static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33917static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33918static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33919static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33920static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33921static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33922static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33923static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33924static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33925static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33926static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33927static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33928static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33929static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33930static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33931static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33932static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33933static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33934static 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 33935static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33936static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33937static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33938static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33939static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33940static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33941static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33942static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33943static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33944static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33945static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33946static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33947static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33948static 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 33949static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33950static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33951static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33952static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33953static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33954static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33955static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33956static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33957static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33958static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33959static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33960static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33961static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33962static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33963static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33964static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33965static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33966static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33967static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33968static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33969static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33970static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33971static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33972static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33973static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33974static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33975static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 33976static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33977static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33978static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33979static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33980static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33981static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33982static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33983static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33984static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33985static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33986static 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}};
33987static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33988static 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}};
33989static 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}};
33990static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33991static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33992static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33993static 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}};
33994static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33995static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 33996static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33997static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33998static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33999static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
34000static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
34001static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
34002static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
34003static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
34004static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b
RD
34005static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
34006static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
34007static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
34008static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
34009static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34010static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
34011static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
34012static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
34013static 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}};
34014static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34015static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
f9bf356b 34016static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
34017static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34018static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34019static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
34020static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
34021static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
34022static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
34023static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
34024static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34025static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34026static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34027static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34028static 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}};
34029static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
34030static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 34031static 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}};
f9bf356b 34032static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
32fe5131 34033static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
f9bf356b 34034static 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
34035
34036static swig_cast_info *swig_cast_initial[] = {
2131d850 34037 _swigc__p_bool,
32fe5131
RD
34038 _swigc__p_char,
34039 _swigc__p_form_ops_t,
34040 _swigc__p_int,
34041 _swigc__p_unsigned_char,
34042 _swigc__p_unsigned_int,
34043 _swigc__p_unsigned_long,
34044 _swigc__p_wxANIHandler,
34045 _swigc__p_wxAcceleratorTable,
34046 _swigc__p_wxActivateEvent,
34047 _swigc__p_wxArrayInt,
f9bf356b 34048 _swigc__p_wxArrayString,
32fe5131
RD
34049 _swigc__p_wxBMPHandler,
34050 _swigc__p_wxBitmap,
34051 _swigc__p_wxBoxSizer,
34052 _swigc__p_wxCURHandler,
34053 _swigc__p_wxCalculateLayoutEvent,
34054 _swigc__p_wxChildFocusEvent,
2131d850 34055 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
34056 _swigc__p_wxCloseEvent,
34057 _swigc__p_wxColour,
34058 _swigc__p_wxColourData,
34059 _swigc__p_wxColourDialog,
34060 _swigc__p_wxCommandEvent,
34061 _swigc__p_wxContextMenuEvent,
34062 _swigc__p_wxControl,
34063 _swigc__p_wxControlWithItems,
34064 _swigc__p_wxDC,
34065 _swigc__p_wxDateEvent,
34066 _swigc__p_wxDialog,
34067 _swigc__p_wxDirDialog,
34068 _swigc__p_wxDisplayChangedEvent,
34069 _swigc__p_wxDropFilesEvent,
34070 _swigc__p_wxDuplexMode,
34071 _swigc__p_wxEraseEvent,
34072 _swigc__p_wxEvent,
34073 _swigc__p_wxEvtHandler,
34074 _swigc__p_wxFSFile,
34075 _swigc__p_wxFileDialog,
34076 _swigc__p_wxFileSystem,
34077 _swigc__p_wxFindDialogEvent,
34078 _swigc__p_wxFindReplaceData,
34079 _swigc__p_wxFindReplaceDialog,
34080 _swigc__p_wxFlexGridSizer,
34081 _swigc__p_wxFocusEvent,
34082 _swigc__p_wxFont,
34083 _swigc__p_wxFontData,
34084 _swigc__p_wxFontDialog,
34085 _swigc__p_wxFrame,
34086 _swigc__p_wxGBSizerItem,
34087 _swigc__p_wxGIFHandler,
34088 _swigc__p_wxGridBagSizer,
34089 _swigc__p_wxGridSizer,
e9d6f3a4 34090 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
34091 _swigc__p_wxICOHandler,
34092 _swigc__p_wxIcon,
34093 _swigc__p_wxIconBundle,
34094 _swigc__p_wxIconizeEvent,
34095 _swigc__p_wxIdleEvent,
34096 _swigc__p_wxImage,
34097 _swigc__p_wxImageHandler,
34098 _swigc__p_wxIndividualLayoutConstraint,
34099 _swigc__p_wxInitDialogEvent,
f9bf356b 34100 _swigc__p_wxItemContainer,
32fe5131
RD
34101 _swigc__p_wxJPEGHandler,
34102 _swigc__p_wxKeyEvent,
34103 _swigc__p_wxLayoutAlgorithm,
34104 _swigc__p_wxLayoutConstraints,
34105 _swigc__p_wxMDIChildFrame,
34106 _swigc__p_wxMDIClientWindow,
34107 _swigc__p_wxMDIParentFrame,
34108 _swigc__p_wxMaximizeEvent,
34109 _swigc__p_wxMenu,
34110 _swigc__p_wxMenuBar,
34111 _swigc__p_wxMenuEvent,
34112 _swigc__p_wxMenuItem,
34113 _swigc__p_wxMessageDialog,
34114 _swigc__p_wxMiniFrame,
34115 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 34116 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
34117 _swigc__p_wxMouseEvent,
34118 _swigc__p_wxMoveEvent,
34119 _swigc__p_wxMultiChoiceDialog,
34120 _swigc__p_wxNavigationKeyEvent,
34121 _swigc__p_wxNcPaintEvent,
34122 _swigc__p_wxNotifyEvent,
27e45892 34123 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
34124 _swigc__p_wxObject,
34125 _swigc__p_wxPCXHandler,
34126 _swigc__p_wxPNGHandler,
34127 _swigc__p_wxPNMHandler,
34128 _swigc__p_wxPageSetupDialog,
34129 _swigc__p_wxPageSetupDialogData,
34130 _swigc__p_wxPaintEvent,
34131 _swigc__p_wxPaletteChangedEvent,
34132 _swigc__p_wxPanel,
34133 _swigc__p_wxPaperSize,
34134 _swigc__p_wxPasswordEntryDialog,
34135 _swigc__p_wxPoint,
34136 _swigc__p_wxPopupWindow,
34137 _swigc__p_wxPreviewCanvas,
34138 _swigc__p_wxPreviewControlBar,
34139 _swigc__p_wxPreviewFrame,
34140 _swigc__p_wxPrintData,
34141 _swigc__p_wxPrintDialog,
34142 _swigc__p_wxPrintDialogData,
34143 _swigc__p_wxPrintPreview,
34144 _swigc__p_wxPrinter,
34145 _swigc__p_wxProgressDialog,
34146 _swigc__p_wxPyApp,
34147 _swigc__p_wxPyCommandEvent,
34148 _swigc__p_wxPyEvent,
34149 _swigc__p_wxPyHtmlListBox,
34150 _swigc__p_wxPyImageHandler,
34151 _swigc__p_wxPyPanel,
34152 _swigc__p_wxPyPopupTransientWindow,
34153 _swigc__p_wxPyPreviewControlBar,
34154 _swigc__p_wxPyPreviewFrame,
34155 _swigc__p_wxPyPrintPreview,
34156 _swigc__p_wxPyPrintout,
34157 _swigc__p_wxPyScrolledWindow,
34158 _swigc__p_wxPySizer,
34159 _swigc__p_wxPyTaskBarIcon,
34160 _swigc__p_wxPyVListBox,
34161 _swigc__p_wxPyVScrolledWindow,
34162 _swigc__p_wxPyValidator,
34163 _swigc__p_wxPyWindow,
34164 _swigc__p_wxQueryLayoutInfoEvent,
34165 _swigc__p_wxQueryNewPaletteEvent,
34166 _swigc__p_wxRect,
34167 _swigc__p_wxRegion,
34168 _swigc__p_wxSashEvent,
34169 _swigc__p_wxSashLayoutWindow,
34170 _swigc__p_wxSashWindow,
34171 _swigc__p_wxScrollEvent,
34172 _swigc__p_wxScrollWinEvent,
34173 _swigc__p_wxScrolledWindow,
34174 _swigc__p_wxSetCursorEvent,
34175 _swigc__p_wxShowEvent,
f9bf356b 34176 _swigc__p_wxSimpleHtmlListBox,
32fe5131
RD
34177 _swigc__p_wxSingleChoiceDialog,
34178 _swigc__p_wxSize,
1bd55598
RD
34179 _swigc__p_wxSizeEvent,
34180 _swigc__p_wxSizer,
34181 _swigc__p_wxSizerItem,
34182 _swigc__p_wxSplashScreen,
34183 _swigc__p_wxSplashScreenWindow,
34184 _swigc__p_wxSplitterEvent,
34185 _swigc__p_wxSplitterWindow,
34186 _swigc__p_wxStaticBoxSizer,
34187 _swigc__p_wxStatusBar,
34188 _swigc__p_wxStdDialogButtonSizer,
34189 _swigc__p_wxString,
34190 _swigc__p_wxSysColourChangedEvent,
580080c5 34191 _swigc__p_wxTGAHandler,
1bd55598
RD
34192 _swigc__p_wxTIFFHandler,
34193 _swigc__p_wxTaskBarIcon,
34194 _swigc__p_wxTaskBarIconEvent,
34195 _swigc__p_wxTextEntryDialog,
34196 _swigc__p_wxTipWindow,
34197 _swigc__p_wxToolBar,
34198 _swigc__p_wxTopLevelWindow,
34199 _swigc__p_wxUpdateUIEvent,
34200 _swigc__p_wxValidator,
34201 _swigc__p_wxVisualAttributes,
34202 _swigc__p_wxWindow,
34203 _swigc__p_wxWindowCreateEvent,
34204 _swigc__p_wxWindowDestroyEvent,
34205 _swigc__p_wxXPMHandler,
34206};
34207
34208
34209/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34210
34211static swig_const_info swig_const_table[] = {
34212{0, 0, 0, 0.0, 0, 0}};
34213
36ed4f51
RD
34214#ifdef __cplusplus
34215}
34216#endif
1bd55598
RD
34217/* -----------------------------------------------------------------------------
34218 * Type initialization:
34219 * This problem is tough by the requirement that no dynamic
34220 * memory is used. Also, since swig_type_info structures store pointers to
34221 * swig_cast_info structures and swig_cast_info structures store pointers back
34222 * to swig_type_info structures, we need some lookup code at initialization.
34223 * The idea is that swig generates all the structures that are needed.
34224 * The runtime then collects these partially filled structures.
34225 * The SWIG_InitializeModule function takes these initial arrays out of
34226 * swig_module, and does all the lookup, filling in the swig_module.types
34227 * array with the correct data and linking the correct swig_cast_info
34228 * structures together.
34229 *
34230 * The generated swig_type_info structures are assigned staticly to an initial
34231 * array. We just loop though that array, and handle each type individually.
34232 * First we lookup if this type has been already loaded, and if so, use the
34233 * loaded structure instead of the generated one. Then we have to fill in the
34234 * cast linked list. The cast data is initially stored in something like a
34235 * two-dimensional array. Each row corresponds to a type (there are the same
34236 * number of rows as there are in the swig_type_initial array). Each entry in
34237 * a column is one of the swig_cast_info structures for that type.
34238 * The cast_initial array is actually an array of arrays, because each row has
34239 * a variable number of columns. So to actually build the cast linked list,
34240 * we find the array of casts associated with the type, and loop through it
34241 * adding the casts to the list. The one last trick we need to do is making
34242 * sure the type pointer in the swig_cast_info struct is correct.
34243 *
34244 * First off, we lookup the cast->type name to see if it is already loaded.
34245 * There are three cases to handle:
34246 * 1) If the cast->type has already been loaded AND the type we are adding
34247 * casting info to has not been loaded (it is in this module), THEN we
34248 * replace the cast->type pointer with the type pointer that has already
34249 * been loaded.
34250 * 2) If BOTH types (the one we are adding casting info to, and the
34251 * cast->type) are loaded, THEN the cast info has already been loaded by
34252 * the previous module so we just ignore it.
34253 * 3) Finally, if cast->type has not already been loaded, then we add that
34254 * swig_cast_info to the linked list (because the cast->type) pointer will
34255 * be correct.
34256 * ----------------------------------------------------------------------------- */
36ed4f51 34257
d55e5bfc 34258#ifdef __cplusplus
1bd55598
RD
34259extern "C" {
34260#if 0
34261} /* c-mode */
34262#endif
34263#endif
34264
34265#if 0
34266#define SWIGRUNTIME_DEBUG
34267#endif
34268
34269SWIGRUNTIME void
34270SWIG_InitializeModule(void *clientdata) {
34271 size_t i;
34272 swig_module_info *module_head;
34273 static int init_run = 0;
34274
34275 clientdata = clientdata;
34276
34277 if (init_run) return;
34278 init_run = 1;
34279
34280 /* Initialize the swig_module */
34281 swig_module.type_initial = swig_type_initial;
34282 swig_module.cast_initial = swig_cast_initial;
34283
34284 /* Try and load any already created modules */
34285 module_head = SWIG_GetModule(clientdata);
34286 if (module_head) {
34287 swig_module.next = module_head->next;
34288 module_head->next = &swig_module;
34289 } else {
34290 /* This is the first module loaded */
34291 swig_module.next = &swig_module;
34292 SWIG_SetModule(clientdata, &swig_module);
34293 }
34294
34295 /* Now work on filling in swig_module.types */
34296#ifdef SWIGRUNTIME_DEBUG
34297 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34298#endif
34299 for (i = 0; i < swig_module.size; ++i) {
34300 swig_type_info *type = 0;
34301 swig_type_info *ret;
34302 swig_cast_info *cast;
d55e5bfc 34303
1bd55598
RD
34304#ifdef SWIGRUNTIME_DEBUG
34305 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34306#endif
d55e5bfc 34307
1bd55598
RD
34308 /* if there is another module already loaded */
34309 if (swig_module.next != &swig_module) {
34310 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 34311 }
1bd55598
RD
34312 if (type) {
34313 /* Overwrite clientdata field */
34314#ifdef SWIGRUNTIME_DEBUG
34315 printf("SWIG_InitializeModule: found type %s\n", type->name);
34316#endif
34317 if (swig_module.type_initial[i]->clientdata) {
34318 type->clientdata = swig_module.type_initial[i]->clientdata;
34319#ifdef SWIGRUNTIME_DEBUG
34320 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34321#endif
34322 }
34323 } else {
34324 type = swig_module.type_initial[i];
36ed4f51 34325 }
1bd55598
RD
34326
34327 /* Insert casting types */
34328 cast = swig_module.cast_initial[i];
34329 while (cast->type) {
34330 /* Don't need to add information already in the list */
34331 ret = 0;
34332#ifdef SWIGRUNTIME_DEBUG
34333 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34334#endif
34335 if (swig_module.next != &swig_module) {
34336 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34337#ifdef SWIGRUNTIME_DEBUG
34338 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34339#endif
34340 }
34341 if (ret) {
34342 if (type == swig_module.type_initial[i]) {
34343#ifdef SWIGRUNTIME_DEBUG
34344 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34345#endif
34346 cast->type = ret;
34347 ret = 0;
34348 } else {
34349 /* Check for casting already in the list */
34350 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34351#ifdef SWIGRUNTIME_DEBUG
34352 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34353#endif
34354 if (!ocast) ret = 0;
34355 }
34356 }
34357
34358 if (!ret) {
34359#ifdef SWIGRUNTIME_DEBUG
34360 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34361#endif
34362 if (type->cast) {
34363 type->cast->prev = cast;
34364 cast->next = type->cast;
34365 }
34366 type->cast = cast;
34367 }
34368 cast++;
36ed4f51 34369 }
1bd55598
RD
34370 /* Set entry in modules->types array equal to the type */
34371 swig_module.types[i] = type;
34372 }
34373 swig_module.types[i] = 0;
34374
34375#ifdef SWIGRUNTIME_DEBUG
34376 printf("**** SWIG_InitializeModule: Cast List ******\n");
34377 for (i = 0; i < swig_module.size; ++i) {
34378 int j = 0;
34379 swig_cast_info *cast = swig_module.cast_initial[i];
34380 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34381 while (cast->type) {
34382 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34383 cast++;
34384 ++j;
34385 }
34386 printf("---- Total casts: %d\n",j);
34387 }
34388 printf("**** SWIG_InitializeModule: Cast List ******\n");
34389#endif
34390}
34391
34392/* This function will propagate the clientdata field of type to
34393* any new swig_type_info structures that have been added into the list
34394* of equivalent types. It is like calling
34395* SWIG_TypeClientData(type, clientdata) a second time.
34396*/
34397SWIGRUNTIME void
34398SWIG_PropagateClientData(void) {
34399 size_t i;
34400 swig_cast_info *equiv;
34401 static int init_run = 0;
34402
34403 if (init_run) return;
34404 init_run = 1;
34405
34406 for (i = 0; i < swig_module.size; i++) {
34407 if (swig_module.types[i]->clientdata) {
34408 equiv = swig_module.types[i]->cast;
34409 while (equiv) {
34410 if (!equiv->converter) {
34411 if (equiv->type && !equiv->type->clientdata)
34412 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34413 }
34414 equiv = equiv->next;
34415 }
36ed4f51 34416 }
1bd55598
RD
34417 }
34418}
34419
34420#ifdef __cplusplus
34421#if 0
34422{
34423 /* c-mode */
34424#endif
34425}
34426#endif
34427
34428
34429
34430#ifdef __cplusplus
34431extern "C" {
34432#endif
34433
34434 /* Python-specific SWIG API */
34435#define SWIG_newvarlink() SWIG_Python_newvarlink()
34436#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34437#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34438
34439 /* -----------------------------------------------------------------------------
34440 * global variable support code.
34441 * ----------------------------------------------------------------------------- */
34442
34443 typedef struct swig_globalvar {
34444 char *name; /* Name of global variable */
34445 PyObject *(*get_attr)(void); /* Return the current value */
34446 int (*set_attr)(PyObject *); /* Set the value */
34447 struct swig_globalvar *next;
34448 } swig_globalvar;
34449
34450 typedef struct swig_varlinkobject {
34451 PyObject_HEAD
34452 swig_globalvar *vars;
34453 } swig_varlinkobject;
34454
34455 SWIGINTERN PyObject *
34456 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34457 return PyString_FromString("<Swig global variables>");
34458 }
34459
34460 SWIGINTERN PyObject *
34461 swig_varlink_str(swig_varlinkobject *v) {
34462 PyObject *str = PyString_FromString("(");
34463 swig_globalvar *var;
34464 for (var = v->vars; var; var=var->next) {
34465 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34466 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34467 }
34468 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34469 return str;
34470 }
34471
34472 SWIGINTERN int
34473 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34474 PyObject *str = swig_varlink_str(v);
34475 fprintf(fp,"Swig global variables ");
34476 fprintf(fp,"%s\n", PyString_AsString(str));
34477 Py_DECREF(str);
34478 return 0;
34479 }
34480
34481 SWIGINTERN void
34482 swig_varlink_dealloc(swig_varlinkobject *v) {
34483 swig_globalvar *var = v->vars;
34484 while (var) {
34485 swig_globalvar *n = var->next;
34486 free(var->name);
34487 free(var);
34488 var = n;
36ed4f51 34489 }
1bd55598
RD
34490 }
34491
34492 SWIGINTERN PyObject *
34493 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34494 PyObject *res = NULL;
34495 swig_globalvar *var = v->vars;
34496 while (var) {
34497 if (strcmp(var->name,n) == 0) {
34498 res = (*var->get_attr)();
34499 break;
34500 }
34501 var = var->next;
36ed4f51 34502 }
1bd55598
RD
34503 if (res == NULL && !PyErr_Occurred()) {
34504 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 34505 }
1bd55598
RD
34506 return res;
34507 }
34508
34509 SWIGINTERN int
34510 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34511 int res = 1;
34512 swig_globalvar *var = v->vars;
34513 while (var) {
34514 if (strcmp(var->name,n) == 0) {
34515 res = (*var->set_attr)(p);
34516 break;
34517 }
34518 var = var->next;
36ed4f51 34519 }
1bd55598
RD
34520 if (res == 1 && !PyErr_Occurred()) {
34521 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 34522 }
1bd55598
RD
34523 return res;
34524 }
34525
34526 SWIGINTERN PyTypeObject*
34527 swig_varlink_type(void) {
34528 static char varlink__doc__[] = "Swig var link object";
34529 static PyTypeObject varlink_type;
34530 static int type_init = 0;
34531 if (!type_init) {
34532 const PyTypeObject tmp
34533 = {
34534 PyObject_HEAD_INIT(NULL)
34535 0, /* Number of items in variable part (ob_size) */
34536 (char *)"swigvarlink", /* Type name (tp_name) */
34537 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34538 0, /* Itemsize (tp_itemsize) */
34539 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34540 (printfunc) swig_varlink_print, /* Print (tp_print) */
34541 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34542 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34543 0, /* tp_compare */
34544 (reprfunc) swig_varlink_repr, /* tp_repr */
34545 0, /* tp_as_number */
34546 0, /* tp_as_sequence */
34547 0, /* tp_as_mapping */
34548 0, /* tp_hash */
34549 0, /* tp_call */
34550 (reprfunc)swig_varlink_str, /* tp_str */
34551 0, /* tp_getattro */
34552 0, /* tp_setattro */
34553 0, /* tp_as_buffer */
34554 0, /* tp_flags */
34555 varlink__doc__, /* tp_doc */
34556 0, /* tp_traverse */
34557 0, /* tp_clear */
34558 0, /* tp_richcompare */
34559 0, /* tp_weaklistoffset */
34560#if PY_VERSION_HEX >= 0x02020000
34561 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34562#endif
34563#if PY_VERSION_HEX >= 0x02030000
34564 0, /* tp_del */
34565#endif
34566#ifdef COUNT_ALLOCS
34567 0,0,0,0 /* tp_alloc -> tp_next */
34568#endif
34569 };
34570 varlink_type = tmp;
34571 varlink_type.ob_type = &PyType_Type;
34572 type_init = 1;
36ed4f51 34573 }
1bd55598
RD
34574 return &varlink_type;
34575 }
34576
34577 /* Create a variable linking object for use later */
34578 SWIGINTERN PyObject *
34579 SWIG_Python_newvarlink(void) {
34580 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34581 if (result) {
34582 result->vars = 0;
34583 }
34584 return ((PyObject*) result);
34585 }
34586
34587 SWIGINTERN void
34588 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34589 swig_varlinkobject *v = (swig_varlinkobject *) p;
34590 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34591 if (gv) {
34592 size_t size = strlen(name)+1;
34593 gv->name = (char *)malloc(size);
34594 if (gv->name) {
34595 strncpy(gv->name,name,size);
34596 gv->get_attr = get_attr;
34597 gv->set_attr = set_attr;
34598 gv->next = v->vars;
34599 }
36ed4f51 34600 }
1bd55598
RD
34601 v->vars = gv;
34602 }
34603
34604 SWIGINTERN PyObject *
34605 SWIG_globals() {
34606 static PyObject *_SWIG_globals = 0;
34607 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34608 return _SWIG_globals;
34609 }
34610
34611 /* -----------------------------------------------------------------------------
34612 * constants/methods manipulation
34613 * ----------------------------------------------------------------------------- */
34614
34615 /* Install Constants */
34616 SWIGINTERN void
34617 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34618 PyObject *obj = 0;
34619 size_t i;
34620 for (i = 0; constants[i].type; ++i) {
34621 switch(constants[i].type) {
34622 case SWIG_PY_POINTER:
34623 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34624 break;
34625 case SWIG_PY_BINARY:
34626 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34627 break;
34628 default:
34629 obj = 0;
34630 break;
34631 }
34632 if (obj) {
34633 PyDict_SetItemString(d, constants[i].name, obj);
34634 Py_DECREF(obj);
34635 }
36ed4f51 34636 }
1bd55598
RD
34637 }
34638
34639 /* -----------------------------------------------------------------------------*/
34640 /* Fix SwigMethods to carry the callback ptrs when needed */
34641 /* -----------------------------------------------------------------------------*/
34642
34643 SWIGINTERN void
34644 SWIG_Python_FixMethods(PyMethodDef *methods,
34645 swig_const_info *const_table,
34646 swig_type_info **types,
34647 swig_type_info **types_initial) {
34648 size_t i;
34649 for (i = 0; methods[i].ml_name; ++i) {
3d6c9062 34650 const char *c = methods[i].ml_doc;
1bd55598
RD
34651 if (c && (c = strstr(c, "swig_ptr: "))) {
34652 int j;
34653 swig_const_info *ci = 0;
3d6c9062 34654 const char *name = c + 10;
1bd55598
RD
34655 for (j = 0; const_table[j].type; ++j) {
34656 if (strncmp(const_table[j].name, name,
34657 strlen(const_table[j].name)) == 0) {
34658 ci = &(const_table[j]);
34659 break;
34660 }
34661 }
34662 if (ci) {
34663 size_t shift = (ci->ptype) - types;
34664 swig_type_info *ty = types_initial[shift];
34665 size_t ldoc = (c - methods[i].ml_doc);
34666 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34667 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34668 if (ndoc) {
34669 char *buff = ndoc;
34670 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34671 if (ptr) {
34672 strncpy(buff, methods[i].ml_doc, ldoc);
34673 buff += ldoc;
34674 strncpy(buff, "swig_ptr: ", 10);
34675 buff += 10;
34676 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34677 methods[i].ml_doc = ndoc;
34678 }
34679 }
34680 }
34681 }
36ed4f51 34682 }
1bd55598
RD
34683 }
34684
34685#ifdef __cplusplus
34686}
34687#endif
34688
34689/* -----------------------------------------------------------------------------*
34690 * Partial Init method
34691 * -----------------------------------------------------------------------------*/
34692
34693#ifdef __cplusplus
34694extern "C"
34695#endif
34696SWIGEXPORT void SWIG_init(void) {
34697 PyObject *m, *d;
34698
34699 /* Fix SwigMethods to carry the callback ptrs when needed */
34700 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34701
34702 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34703 d = PyModule_GetDict(m);
34704
34705 SWIG_InitializeModule(0);
34706 SWIG_InstallConstants(d,swig_const_table);
34707
34708
34709 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34710 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34711 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34712 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34713 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34714 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34715 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34716 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34717 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34718 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34719 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34720 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34721 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34722 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34723 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34724 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34725 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34726 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34727 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34728 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34729 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34730 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34731 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34732 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34733 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34734 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34735 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34736 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34737 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
fc46b7f3 34738 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
1bd55598
RD
34739 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34740 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34741 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34742 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
fc46b7f3
RD
34743 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34744 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
1bd55598
RD
34745 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34746 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34747 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34748 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34749 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34750 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34751 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34752 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34753 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34754 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
5eb8189c 34755 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
1bd55598
RD
34756 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34757 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34758 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34759 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34760 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34761 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34762 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34763 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34764 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34765 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34766 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34767 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34768 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34769 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34770 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34771 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34772 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34773 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34774 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34775 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34776 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34777 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34778 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34779 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34780 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34781 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34782 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34783 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34784 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34785 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34786 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34787 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34788 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34789 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34790 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34791 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34792 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34793 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34794 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34795 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34796 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34797 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34798 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34799 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34800 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34801 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34802 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34803 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34804 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34805 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34806 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34807 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34808 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34809 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34810 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34811 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34812 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34813 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34814 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
f9bf356b
RD
34815 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
34816 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
34817 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
1bd55598
RD
34818
34819 // Map renamed classes back to their common name for OOR
34820 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34821 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34822 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34823
34824 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34825 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34826 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34827 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34828 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34829 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34830 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34831 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34832 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34833 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34834 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34835 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34836 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
34837 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34838 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34839 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34840 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34841 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34842 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34843 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34844 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34845 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 34846 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
34847 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34848 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34849 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34850 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34851 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34852 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
1eeb270e 34853 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 34854 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
1bd55598
RD
34855 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34856 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34857 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
0d2c9713
RD
34858 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34859 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34860 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34861 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34862 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34863 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34864 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34865 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
1bd55598
RD
34866 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34867 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34868 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34869 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34870 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34871 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34872 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34873 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34874 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34875 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34876 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34877 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34878 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34879 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34880 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34881 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34882 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34883 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34884 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34885 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34886 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34887 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34888 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34889 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34890 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34891 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34892 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34893 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34894 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34895 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34896 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34897 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34898 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34899 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34900 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34901 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34902 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34903 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34904 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34905 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34906 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34907 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34908 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34909 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34910 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34911 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34912 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34913 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34914 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34915 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34916 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34917 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34918 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34919 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34920 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34921 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34922 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34923 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34924 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34925 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34926 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34927 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34928
34929 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34930
d55e5bfc
RD
34931}
34932