]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/_windows_wrap.cpp
removed wxCB_FILENAME (manually, just to fix the build)
[wxWidgets.git] / wxPython / src / mac / _windows_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
1bd55598 3 * Version 1.3.29
d55e5bfc
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
1bd55598 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
d55e5bfc
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 27};
d55e5bfc
RD
28#endif
29
1bd55598 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
1bd55598 33 * ----------------------------------------------------------------------------- */
d55e5bfc 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
1bd55598
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
36ed4f51 46#endif
d55e5bfc 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
1bd55598
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
1bd55598
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
1bd55598
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
1bd55598
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
1bd55598
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
d55e5bfc 127
1bd55598 128/* Python.h has to appear first */
36ed4f51 129#include <Python.h>
d55e5bfc 130
1bd55598 131/* -----------------------------------------------------------------------------
36ed4f51 132 * swigrun.swg
d55e5bfc 133 *
1bd55598
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
d55e5bfc 137
36ed4f51
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
d55e5bfc 141
36ed4f51
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
d55e5bfc 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
36ed4f51
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
32fe5131 159
36ed4f51 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
36ed4f51 162#endif
32fe5131 163
36ed4f51 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
d55e5bfc
RD
166#endif
167
1bd55598
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
d55e5bfc
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
d55e5bfc 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
1bd55598 325 int owndata; /* flag if the structure owns the clientdata */
d55e5bfc
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
36ed4f51
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
1bd55598 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
36ed4f51
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
36ed4f51
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
36ed4f51
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
36ed4f51 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
36ed4f51 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
36ed4f51 400 }
32fe5131 401 return equiv;
36ed4f51
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
36ed4f51
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
36ed4f51 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
36ed4f51
RD
439}
440
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
36ed4f51
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
1bd55598 481 if (!type) return NULL;
36ed4f51
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
36ed4f51
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
36ed4f51
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
36ed4f51 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
1bd55598
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
36ed4f51 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
36ed4f51 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
36ed4f51
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
36ed4f51 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
36ed4f51
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
36ed4f51 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
1bd55598 622 register unsigned char uu;
36ed4f51
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
36ed4f51
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
d55e5bfc 682
36ed4f51
RD
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
d55e5bfc
RD
695
696#ifdef __cplusplus
697}
698#endif
699
1bd55598
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
d55e5bfc 714
1bd55598
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
36ed4f51 764#endif
1bd55598
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
c370783e 799
36ed4f51 800/* -----------------------------------------------------------------------------
1bd55598 801 * error manipulation
36ed4f51 802 * ----------------------------------------------------------------------------- */
d55e5bfc 803
1bd55598
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
d55e5bfc 846
1bd55598
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
36ed4f51 935#endif
d55e5bfc 936
1bd55598
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
36ed4f51 940
1bd55598
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
36ed4f51
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
d55e5bfc 951
36ed4f51 952/* Constant Types */
36ed4f51
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
956/* Constant information structure */
957typedef struct swig_const_info {
1bd55598
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
36ed4f51 964} swig_const_info;
d55e5bfc 965
d55e5bfc 966#ifdef __cplusplus
1bd55598
RD
967#if 0
968{ /* cc-mode */
969#endif
36ed4f51
RD
970}
971#endif
d55e5bfc 972
d55e5bfc 973
1bd55598
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
36ed4f51
RD
978 * pyrun.swg
979 *
1bd55598
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
36ed4f51 983 *
1bd55598 984 * ----------------------------------------------------------------------------- */
d55e5bfc 985
36ed4f51 986/* Common SWIG API */
d55e5bfc 987
4f89b6b7
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
1bd55598
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
d55e5bfc 1000
1bd55598
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
d55e5bfc 1004
1bd55598
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
d55e5bfc 1008
1bd55598
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
d55e5bfc 1012
1bd55598
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
d55e5bfc 1017
1bd55598 1018/* Runtime API */
d55e5bfc 1019
1bd55598
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
1bd55598
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
d55e5bfc 1030
1bd55598 1031/* Runtime API implementation */
d55e5bfc 1032
1bd55598 1033/* Error manipulation */
d55e5bfc 1034
1bd55598
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
c370783e 1041}
d55e5bfc 1042
1bd55598
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
d55e5bfc
RD
1048}
1049
1bd55598 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
1bd55598 1052/* Set a constant value */
d55e5bfc 1053
1bd55598
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
c370783e 1058}
d55e5bfc 1059
1bd55598 1060/* Append a value to the result obj */
d55e5bfc 1061
1bd55598
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
36ed4f51 1088 } else {
1bd55598
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
c370783e 1100 }
1bd55598
RD
1101 return result;
1102#endif
c370783e
RD
1103}
1104
1bd55598 1105/* Unpack the argument tuple */
d55e5bfc 1106
1bd55598
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
36ed4f51
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
36ed4f51 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
36ed4f51
RD
1613#endif
1614 };
1615
1bd55598 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
36ed4f51 1618 if (!type_init) {
1bd55598
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
36ed4f51 1632#endif
1bd55598
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
36ed4f51 1651#if PY_VERSION_HEX >= 0x02020000
1bd55598
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
36ed4f51
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
1bd55598 1674 0, /* tp_del */
36ed4f51
RD
1675#endif
1676#ifdef COUNT_ALLOCS
1bd55598 1677 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1678#endif
1bd55598 1679 };
32fe5131 1680 pyswigobject_type = tmp;
1bd55598 1681 pyswigobject_type.ob_type = &PyType_Type;
36ed4f51
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
36ed4f51
RD
1685}
1686
1687SWIGRUNTIME PyObject *
1bd55598 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
c370783e 1689{
1bd55598
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
1bd55598 1697 return (PyObject *)sobj;
36ed4f51 1698}
d55e5bfc 1699
36ed4f51
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
d55e5bfc 1703
36ed4f51
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1bd55598 1707 swig_type_info *ty;
36ed4f51
RD
1708 size_t size;
1709} PySwigPacked;
c370783e 1710
36ed4f51 1711SWIGRUNTIME int
1bd55598 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
d55e5bfc 1713{
36ed4f51
RD
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1bd55598 1720 fputs(v->ty->name,fp);
36ed4f51
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1bd55598 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
36ed4f51 1731 } else {
1bd55598 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
36ed4f51 1733 }
d55e5bfc
RD
1734}
1735
36ed4f51
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1bd55598 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
36ed4f51 1742 } else {
1bd55598 1743 return PyString_FromString(v->ty->name);
36ed4f51
RD
1744 }
1745}
d55e5bfc 1746
36ed4f51
RD
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
d55e5bfc 1749{
1bd55598
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
c370783e
RD
1754}
1755
1bd55598 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
d55e5bfc 1757
36ed4f51 1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
1bd55598
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
36ed4f51
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
1bd55598 1837 0, /* tp_del */
36ed4f51
RD
1838#endif
1839#ifdef COUNT_ALLOCS
1bd55598 1840 0,0,0,0 /* tp_alloc -> tp_next */
36ed4f51 1841#endif
1bd55598 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
1bd55598 1844 pyswigpacked_type.ob_type = &PyType_Type;
36ed4f51
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
36ed4f51 1848}
d55e5bfc 1849
36ed4f51 1850SWIGRUNTIME PyObject *
1bd55598 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
36ed4f51 1852{
1bd55598
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
36ed4f51 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1bd55598
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
36ed4f51 1865 }
1bd55598 1866 return (PyObject *) sobj;
36ed4f51 1867}
d55e5bfc 1868
1bd55598 1869SWIGRUNTIME swig_type_info *
36ed4f51
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
1bd55598
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
36ed4f51 1880}
d55e5bfc 1881
36ed4f51 1882/* -----------------------------------------------------------------------------
1bd55598 1883 * pointers/data manipulation
36ed4f51 1884 * ----------------------------------------------------------------------------- */
d55e5bfc 1885
1bd55598
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
d55e5bfc 1891
1bd55598
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
d55e5bfc 1898
1bd55598 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
d55e5bfc 1900
1bd55598
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
36ed4f51 1903{
1bd55598
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
36ed4f51 1926 } else {
1bd55598
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
36ed4f51 1929 }
36ed4f51 1930 }
1bd55598
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
36ed4f51
RD
1947 }
1948}
d55e5bfc 1949
1bd55598
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
36ed4f51 1961 }
1bd55598 1962 return 0;
36ed4f51 1963}
d55e5bfc 1964
1bd55598
RD
1965/* Convert a pointer value */
1966
36ed4f51 1967SWIGRUNTIME int
1bd55598
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
36ed4f51 1992 } else {
1bd55598
RD
1993 if (ptr) *ptr = vptr;
1994 break;
36ed4f51 1995 }
36ed4f51 1996 }
1bd55598
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
36ed4f51
RD
2042 }
2043}
d55e5bfc 2044
1bd55598
RD
2045/* Convert a function ptr value */
2046
36ed4f51 2047SWIGRUNTIME int
1bd55598
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
36ed4f51 2051 } else {
1bd55598
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
4f89b6b7 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1bd55598
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
36ed4f51
RD
2069 }
2070}
d55e5bfc 2071
1bd55598 2072/* Convert a packed value value */
d55e5bfc 2073
36ed4f51 2074SWIGRUNTIME int
1bd55598
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
36ed4f51 2084 }
1bd55598
RD
2085 return SWIG_OK;
2086}
d55e5bfc 2087
1bd55598
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
d55e5bfc 2091
1bd55598
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
d55e5bfc 2096
1bd55598
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
36ed4f51 2115 }
1bd55598
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
36ed4f51 2120 }
1bd55598
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
36ed4f51 2126 }
1bd55598
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
36ed4f51 2140 }
1bd55598
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
36ed4f51 2147 }
1bd55598
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
36ed4f51 2158}
d55e5bfc 2159
1bd55598
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
36ed4f51 2175#endif
1bd55598
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
d55e5bfc 2180
1bd55598
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
36ed4f51 2191 } else {
1bd55598 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
36ed4f51 2193 }
1bd55598 2194 return SWIG_Py_Void();
36ed4f51 2195 }
1bd55598
RD
2196}
2197
2198/* Create a new pointer object */
36ed4f51 2199
36ed4f51 2200SWIGRUNTIME PyObject *
1bd55598 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
36ed4f51 2202 if (!ptr) {
1bd55598
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
36ed4f51 2213 }
36ed4f51 2214 }
1bd55598 2215 return robj;
36ed4f51 2216 }
36ed4f51
RD
2217}
2218
1bd55598
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
36ed4f51 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1bd55598 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
36ed4f51
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
36ed4f51
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
36ed4f51 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
36ed4f51
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
1bd55598 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
1bd55598 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
1bd55598 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
1bd55598 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
1bd55598 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
1bd55598 2281 return SWIG_OK;
36ed4f51 2282}
32fe5131 2283#endif
36ed4f51 2284
1bd55598
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
1bd55598 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
1bd55598
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
36ed4f51 2314
1bd55598
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
36ed4f51 2320}
36ed4f51 2321
1bd55598
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2131d850
RD
2466#define SWIGTYPE_p_bool swig_types[0]
2467#define SWIGTYPE_p_char swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayInt swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480#define SWIGTYPE_p_wxCURHandler swig_types[14]
2481#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482#define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483#define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484#define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485#define SWIGTYPE_p_wxColour swig_types[19]
2486#define SWIGTYPE_p_wxColourData swig_types[20]
2487#define SWIGTYPE_p_wxColourDialog swig_types[21]
2488#define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489#define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490#define SWIGTYPE_p_wxControl swig_types[24]
2491#define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492#define SWIGTYPE_p_wxDC swig_types[26]
2493#define SWIGTYPE_p_wxDateEvent swig_types[27]
2494#define SWIGTYPE_p_wxDialog swig_types[28]
2495#define SWIGTYPE_p_wxDirDialog swig_types[29]
2496#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497#define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498#define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499#define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500#define SWIGTYPE_p_wxEvent swig_types[34]
2501#define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502#define SWIGTYPE_p_wxFSFile swig_types[36]
2503#define SWIGTYPE_p_wxFileDialog swig_types[37]
2504#define SWIGTYPE_p_wxFileSystem swig_types[38]
2505#define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506#define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507#define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508#define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509#define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510#define SWIGTYPE_p_wxFont swig_types[44]
2511#define SWIGTYPE_p_wxFontData swig_types[45]
2512#define SWIGTYPE_p_wxFontDialog swig_types[46]
2513#define SWIGTYPE_p_wxFrame swig_types[47]
2514#define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515#define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516#define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517#define SWIGTYPE_p_wxGridSizer swig_types[51]
2518#define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519#define SWIGTYPE_p_wxICOHandler swig_types[53]
2520#define SWIGTYPE_p_wxIcon swig_types[54]
2521#define SWIGTYPE_p_wxIconBundle swig_types[55]
2522#define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523#define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524#define SWIGTYPE_p_wxImage swig_types[58]
2525#define SWIGTYPE_p_wxImageHandler swig_types[59]
2526#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527#define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528#define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529#define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531#define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532#define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533#define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534#define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535#define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536#define SWIGTYPE_p_wxMenu swig_types[70]
2537#define SWIGTYPE_p_wxMenuBar swig_types[71]
2538#define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539#define SWIGTYPE_p_wxMenuItem swig_types[73]
2540#define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541#define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
34e0a3bb
RD
2543#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544#define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545#define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548#define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549#define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550#define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551#define SWIGTYPE_p_wxObject swig_types[85]
2552#define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553#define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554#define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555#define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556#define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557#define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559#define SWIGTYPE_p_wxPanel swig_types[93]
2560#define SWIGTYPE_p_wxPaperSize swig_types[94]
2561#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562#define SWIGTYPE_p_wxPoint swig_types[96]
2563#define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564#define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565#define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566#define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567#define SWIGTYPE_p_wxPrintData swig_types[101]
2568#define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569#define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570#define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571#define SWIGTYPE_p_wxPrinter swig_types[105]
2572#define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573#define SWIGTYPE_p_wxPyApp swig_types[107]
2574#define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575#define SWIGTYPE_p_wxPyEvent swig_types[109]
2576#define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577#define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578#define SWIGTYPE_p_wxPyPanel swig_types[112]
2579#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581#define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582#define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583#define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584#define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585#define SWIGTYPE_p_wxPySizer swig_types[119]
2586#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587#define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589#define SWIGTYPE_p_wxPyValidator swig_types[123]
2590#define SWIGTYPE_p_wxPyWindow swig_types[124]
2591#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593#define SWIGTYPE_p_wxRect swig_types[127]
2594#define SWIGTYPE_p_wxRegion swig_types[128]
2595#define SWIGTYPE_p_wxSashEvent swig_types[129]
2596#define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597#define SWIGTYPE_p_wxSashWindow swig_types[131]
2598#define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599#define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600#define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601#define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602#define SWIGTYPE_p_wxShowEvent swig_types[136]
2603#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604#define SWIGTYPE_p_wxSize swig_types[138]
2605#define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606#define SWIGTYPE_p_wxSizer swig_types[140]
2607#define SWIGTYPE_p_wxSizerItem swig_types[141]
2608#define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609#define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610#define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611#define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612#define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613#define SWIGTYPE_p_wxStatusBar swig_types[147]
2614#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615#define SWIGTYPE_p_wxString swig_types[149]
2616#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617#define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618#define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620#define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621#define SWIGTYPE_p_wxTipWindow swig_types[155]
2622#define SWIGTYPE_p_wxToolBar swig_types[156]
2623#define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624#define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625#define SWIGTYPE_p_wxValidator swig_types[159]
2626#define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627#define SWIGTYPE_p_wxWindow swig_types[161]
2628#define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630#define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631static swig_type_info *swig_types[166];
2632static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
32fe5131
RD
2633#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
36ed4f51
RD
2635
2636/* -------- TYPES TABLE (END) -------- */
2637
1bd55598
RD
2638#if (PY_VERSION_HEX <= 0x02000000)
2639# if !defined(SWIG_PYTHON_CLASSIC)
2640# error "This python version requires to use swig with the '-classic' option"
2641# endif
2642#endif
2643#if (PY_VERSION_HEX <= 0x02020000)
2644# error "This python version requires to use swig with the '-nomodern' option"
2645#endif
2646#if (PY_VERSION_HEX <= 0x02020000)
2647# error "This python version requires to use swig with the '-nomodernargs' option"
2648#endif
2649#ifndef METH_O
2650# error "This python version requires to use swig with the '-nofastunpack' option"
2651#endif
36ed4f51
RD
2652
2653/*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656#define SWIG_init init_windows_
2657
2658#define SWIG_name "_windows_"
2659
1bd55598 2660#define SWIGVERSION 0x010329
36ed4f51 2661
36ed4f51 2662
1bd55598
RD
2663#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
36ed4f51
RD
2665
2666
1bd55598 2667#include <stdexcept>
36ed4f51
RD
2668
2669
1bd55598
RD
2670namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
36ed4f51 2674
1bd55598
RD
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
36ed4f51 2679
1bd55598
RD
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
36ed4f51 2683 }
1bd55598
RD
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
36ed4f51 2688 }
1bd55598
RD
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
36ed4f51
RD
2713}
2714
2715
1bd55598
RD
2716namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
36ed4f51 2725 }
1bd55598 2726 };
36ed4f51 2727}
36ed4f51
RD
2728
2729
1bd55598
RD
2730#include "wx/wxPython/wxPython.h"
2731#include "wx/wxPython/pyclasses.h"
2732
36ed4f51 2733
1bd55598
RD
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
36ed4f51 2736
36ed4f51 2737
1bd55598
RD
2738
2739#include <limits.h>
2740#ifndef LLONG_MIN
2741# define LLONG_MIN LONG_LONG_MIN
2742#endif
2743#ifndef LLONG_MAX
2744# define LLONG_MAX LONG_LONG_MAX
2745#endif
2746#ifndef ULLONG_MAX
2747# define ULLONG_MAX ULONG_LONG_MAX
2748#endif
2749
2750
2751SWIGINTERN int
2752SWIG_AsVal_long (PyObject* obj, long* val)
36ed4f51 2753{
1bd55598
RD
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
36ed4f51
RD
2759}
2760
1bd55598
RD
2761
2762SWIGINTERN int
2763SWIG_AsVal_int (PyObject * obj, int *val)
36ed4f51 2764{
1bd55598
RD
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
36ed4f51
RD
2775}
2776
2777
2778SWIGINTERN int
1bd55598 2779SWIG_AsVal_bool (PyObject *obj, bool *val)
36ed4f51
RD
2780{
2781 if (obj == Py_True) {
2782 if (val) *val = true;
1bd55598
RD
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
36ed4f51 2785 if (val) *val = false;
1bd55598 2786 return SWIG_OK;
36ed4f51 2787 } else {
1bd55598
RD
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
36ed4f51 2792 }
36ed4f51
RD
2793}
2794
2795
1bd55598 2796 #define SWIG_From_long PyInt_FromLong
36ed4f51
RD
2797
2798
1bd55598
RD
2799SWIGINTERNINLINE PyObject *
2800SWIG_From_int (int value)
2801{
2802 return SWIG_From_long (value);
2803}
36ed4f51
RD
2804
2805
2806SWIGINTERN int
1bd55598 2807SWIG_AsVal_double (PyObject *obj, double* val)
36ed4f51
RD
2808{
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
1bd55598 2811 return SWIG_OK;
36ed4f51 2812 }
1bd55598 2813 return SWIG_TypeError;
36ed4f51
RD
2814}
2815
2816
1bd55598 2817 #define SWIG_From_double PyFloat_FromDouble
36ed4f51
RD
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
1bd55598
RD
2823SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){
2824 int style = self->GetExtraStyle();
2825 if ( on )
2826 style |= wxFRAME_EX_METAL;
2827 else
2828 style &= ~wxFRAME_EX_METAL;
2829 self->SetExtraStyle(style);
2830 }
10044bf1
RD
2831SWIGINTERN bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow *self,bool enable=true){ return false; }
2832
2833SWIGINTERN int
2834SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2835{
2836 long v = 0;
2837 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2838 return SWIG_TypeError;
2839 }
2840 else if (val)
2841 *val = (unsigned long)v;
2842 return SWIG_OK;
2843}
2844
2845
2846SWIGINTERN int
2847SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val)
2848{
2849 unsigned long v;
2850 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2851 if (SWIG_IsOK(res)) {
2852 if ((v > UCHAR_MAX)) {
2853 return SWIG_OverflowError;
2854 } else {
2855 if (val) *val = static_cast< unsigned char >(v);
2856 }
2857 }
2858 return res;
2859}
2860
36ed4f51 2861
36ed4f51 2862
1bd55598 2863SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
36ed4f51
RD
2864 wxRect r;
2865 self->GetFieldRect(i, r);
2866 return r;
2867 }
2868 static const wxString wxPySplitterNameStr(wxT("splitter"));
2869 static const wxString wxPySashNameStr(wxT("sashWindow"));
2870 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2871
2872#include <wx/popupwin.h>
2873
2874
2875class wxPopupWindow : public wxWindow {
2876public:
2877 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2878 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2879};
2880
2881class wxPyPopupTransientWindow : public wxPopupWindow
2882{
2883public:
2884 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
2885 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2886};
2887
2888
2889#include <wx/tipwin.h>
2890
1bd55598 2891SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
36ed4f51
RD
2892 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2893 }
2894
2895#include <wx/tipwin.h>
2896
2897
2898#include <wx/vscroll.h>
2899
2900
2901class wxPyVScrolledWindow : public wxVScrolledWindow
2902{
32fe5131 2903 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
36ed4f51
RD
2904public:
2905 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2906
2907 wxPyVScrolledWindow(wxWindow *parent,
2908 wxWindowID id = wxID_ANY,
2909 const wxPoint& pos = wxDefaultPosition,
2910 const wxSize& size = wxDefaultSize,
2911 long style = 0,
2912 const wxString& name = wxPyPanelNameStr)
2913 : wxVScrolledWindow(parent, id, pos, size, style, name)
2914 {}
2915
2916 // Overridable virtuals
2917
2918 // this function must be overridden in the derived class and it should
2919 // return the height of the given line in pixels
2920 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2921
2922
2923 // this function doesn't have to be overridden but it may be useful to do
2924 // it if calculating the lines heights is a relatively expensive operation
2925 // as it gives the user code a possibility to calculate several of them at
2926 // once
2927 //
2928 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2929 // shouldn't rely on the latter being called for all lines in the interval
2930 // specified here. It is also possible that OnGetLineHeight() will be
2931 // called for the lines outside of this interval, so this is really just a
2932 // hint, not a promise.
2933 //
2934 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2935 // usual
2936 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2937
2938
2939 // when the number of lines changes, we try to estimate the total height
2940 // of all lines which is a rather expensive operation in terms of lines
2941 // access, so if the user code may estimate the average height
2942 // better/faster than we do, it should override this function to implement
2943 // its own logic
2944 //
2945 // this function should return the best guess for the total height it may
2946 // make
2947 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2948
2949
2950 // Also expose some other interesting protected methods
2951
2952
2953 // find the index of the line we need to show at the top of the window such
2954 // that the last (fully or partially) visible line is the given one
2955 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2956 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2957
2958 // get the total height of the lines between lineMin (inclusive) and
2959 // lineMax (exclusive)
2960 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2961 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2962
2131d850
RD
2963 // update the thumb size shown by the scrollbar
2964 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2965
2966 // remove the scrollbar completely because we don't need it
2967 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
36ed4f51
RD
2968
2969 PYPRIVATE;
2970};
2971
2972IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
d55e5bfc
RD
2973
2974IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2975IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2976IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2977
2978
32fe5131 2979SWIGINTERNINLINE int
1bd55598 2980SWIG_AsVal_size_t (PyObject * obj, size_t *val)
c370783e 2981{
1bd55598
RD
2982 unsigned long v;
2983 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2984 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2985 return res;
d55e5bfc
RD
2986}
2987
2988
32fe5131 2989SWIGINTERNINLINE PyObject*
1bd55598 2990SWIG_From_unsigned_SS_long (unsigned long value)
d55e5bfc
RD
2991{
2992 return (value > LONG_MAX) ?
1bd55598
RD
2993 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2994}
2995
2996
2997SWIGINTERNINLINE PyObject *
2998SWIG_From_size_t (size_t value)
2999{
3000 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
d55e5bfc
RD
3001}
3002
3003
3004#include <wx/vlbox.h>
3005
3006 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3007
3008class wxPyVListBox : public wxVListBox
3009{
32fe5131 3010 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
d55e5bfc
RD
3011public:
3012 wxPyVListBox() : wxVListBox() {}
3013
3014 wxPyVListBox(wxWindow *parent,
3015 wxWindowID id = wxID_ANY,
3016 const wxPoint& pos = wxDefaultPosition,
3017 const wxSize& size = wxDefaultSize,
3018 long style = 0,
3019 const wxString& name = wxPyVListBoxNameStr)
3020 : wxVListBox(parent, id, pos, size, style, name)
3021 {}
3022
3023 // Overridable virtuals
3024
3025 // the derived class must implement this function to actually draw the item
3026 // with the given index on the provided DC
3027 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3028 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3029
3030
3031 // the derived class must implement this method to return the height of the
3032 // specified item
3033 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3034 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3035
3036
3037 // this method may be used to draw separators between the lines; note that
3038 // the rectangle may be modified, typically to deflate it a bit before
3039 // passing to OnDrawItem()
3040 //
3041 // the base class version doesn't do anything
3042 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1c71765a 3043 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
d55e5bfc
RD
3044
3045
3046 // this method is used to draw the items background and, maybe, a border
3047 // around it
3048 //
3049 // the base class version implements a reasonable default behaviour which
3050 // consists in drawing the selected item with the standard background
3051 // colour and drawing a border around the item if it is either selected or
3052 // current
3053 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3054 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3055
3056
3057 PYPRIVATE;
3058};
3059
3060IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3061
3062IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3063IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
1c71765a 3064IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
d55e5bfc
RD
3065IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3066
3067
1bd55598 3068SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
09c21d3b
RD
3069 unsigned long cookie = 0;
3070 int selected = self->GetFirstSelected(cookie);
5a446332 3071 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3072 PyObject* tup = PyTuple_New(2);
3073 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3074 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3075 wxPyEndBlockThreads(blocked);
3076 return tup;
3077 }
1bd55598 3078SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
09c21d3b 3079 int selected = self->GetNextSelected(cookie);
5a446332 3080 wxPyBlock_t blocked = wxPyBeginBlockThreads();
09c21d3b
RD
3081 PyObject* tup = PyTuple_New(2);
3082 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3083 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3084 wxPyEndBlockThreads(blocked);
3085 return tup;
3086 }
d55e5bfc
RD
3087
3088#include <wx/htmllbox.h>
3089
3090
3091class wxPyHtmlListBox : public wxHtmlListBox
3092{
32fe5131 3093 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
d55e5bfc
RD
3094public:
3095 wxPyHtmlListBox() : wxHtmlListBox() {}
3096
3097 wxPyHtmlListBox(wxWindow *parent,
3098 wxWindowID id = wxID_ANY,
3099 const wxPoint& pos = wxDefaultPosition,
3100 const wxSize& size = wxDefaultSize,
3101 long style = 0,
3102 const wxString& name = wxPyVListBoxNameStr)
3103 : wxHtmlListBox(parent, id, pos, size, style, name)
3104 {}
3105
3106 // Overridable virtuals
3107
3108 // this method must be implemented in the derived class and should return
3109 // the body (i.e. without <html>) of the HTML for the given item
3110 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3111
3112 // this function may be overridden to decorate HTML returned by OnGetItem()
3113 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3114
1c71765a
RD
3115 // These are from wxVListBox
3116 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3117 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3118
d55e5bfc
RD
3119// TODO:
3120// // this method allows to customize the selection appearance: it may be used
3121// // to specify the colour of the text which normally has the given colour
3122// // colFg when it is inside the selection
3123// //
3124// // by default, the original colour is not used at all and all text has the
3125// // same (default for this system) colour inside selection
3126// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3127
3128// // this is the same as GetSelectedTextColour() but allows to customize the
3129// // background colour -- this is even more rarely used as you can change it
3130// // globally using SetSelectionBackground()
3131// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3132
e9d6f3a4
RD
3133
3134 // This method may be overriden to handle clicking on a link in
3135 // the listbox. By default, clicking links is ignored.
3136 virtual void OnLinkClicked(size_t n,
3137 const wxHtmlLinkInfo& link);
d55e5bfc
RD
3138
3139 PYPRIVATE;
3140};
3141
3142
3143IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3144
3145IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3146IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
1c71765a
RD
3147IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3148IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
d55e5bfc
RD
3149
3150
e9d6f3a4
RD
3151void wxPyHtmlListBox::OnLinkClicked(size_t n,
3152 const wxHtmlLinkInfo& link) {
3153 bool found;
3154 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3155 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3156 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3157 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3158 Py_DECREF(obj);
3159 }
3160 wxPyEndBlockThreads(blocked);
3161 if (! found)
3162 wxPyHtmlListBox::OnLinkClicked(n, link);
3163}
3164
3165
d55e5bfc
RD
3166
3167
3168
b411df4a
RD
3169#ifndef wxHAS_TASK_BAR_ICON
3170// implement dummy classes for platforms that don't have it
d55e5bfc
RD
3171
3172class wxTaskBarIcon : public wxEvtHandler
3173{
3174public:
3175 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3176};
09c21d3b 3177
d55e5bfc
RD
3178
3179class wxTaskBarIconEvent : public wxEvent
3180{
3181public:
3182 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3183 { wxPyRaiseNotImplemented(); }
3184 virtual wxEvent* Clone() const { return NULL; }
b411df4a
RD
3185 bool IsOk() const { return false; }
3186 bool IsIconInstalled() const { return false; }
3187 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3188 bool RemoveIcon() { return false; }
3189 bool PopupMenu(wxMenu *menu) { return false; }
d55e5bfc
RD
3190};
3191
3192enum {
3193 wxEVT_TASKBAR_MOVE = 0,
3194 wxEVT_TASKBAR_LEFT_DOWN = 0,
3195 wxEVT_TASKBAR_LEFT_UP = 0,
3196 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3197 wxEVT_TASKBAR_RIGHT_UP = 0,
3198 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3199 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3200};
09c21d3b
RD
3201
3202
3203#else
5e483524
RD
3204// Otherwise make a class that can virtualize CreatePopupMenu
3205class wxPyTaskBarIcon : public wxTaskBarIcon
3206{
32fe5131 3207 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
5e483524
RD
3208public:
3209 wxPyTaskBarIcon() : wxTaskBarIcon()
3210 {}
09c21d3b 3211
5e483524
RD
3212 wxMenu* CreatePopupMenu() {
3213 wxMenu *rval = NULL;
3214 bool found;
5a446332 3215 wxPyBlock_t blocked = wxPyBeginBlockThreads();
5e483524
RD
3216 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3217 PyObject* ro;
3218 wxMenu* ptr;
3219 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3220 if (ro) {
3221 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3222 rval = ptr;
3223 Py_DECREF(ro);
3224 }
3225 }
3226 wxPyEndBlockThreads(blocked);
3227 if (! found)
3228 rval = wxTaskBarIcon::CreatePopupMenu();
3229 return rval;
3230 }
d55e5bfc 3231
5e483524
RD
3232 PYPRIVATE;
3233};
d55e5bfc 3234
5e483524 3235IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
d55e5bfc 3236
5e483524
RD
3237#endif
3238
1bd55598 3239SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
5e483524
RD
3240 self->RemoveIcon();
3241 delete self;
d55e5bfc
RD
3242 }
3243 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3244 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3245 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3246 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3247 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3248 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
b02396e8
RD
3249
3250// for compatibility only
3251#define wxHIDE_READONLY 0
3252
1bd55598 3253SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
d55e5bfc
RD
3254 wxArrayString arr;
3255 self->GetFilenames(arr);
3256 return wxArrayString2PyList_helper(arr);
3257 }
1bd55598 3258SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
d55e5bfc
RD
3259 wxArrayString arr;
3260 self->GetPaths(arr);
3261 return wxArrayString2PyList_helper(arr);
3262 }
1bd55598 3263SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
d55e5bfc
RD
3264 return wxArrayInt2PyList_helper(self->GetSelections());
3265 }
1bd55598 3266SWIGINTERN 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
3267 return new wxSingleChoiceDialog(parent, message, caption,
3268 choices, choices_array, NULL, style, pos);
3269 }
070c48b4 3270 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
d55e5bfc 3271
2131d850
RD
3272SWIGINTERNINLINE PyObject*
3273 SWIG_From_bool (bool value)
3274{
3275 return PyBool_FromLong(value ? 1 : 0);
3276}
3277
3278
d55e5bfc
RD
3279#include <wx/mdi.h>
3280
3281 // C++ version of Python aware wxWindow
3282class wxPyWindow : public wxWindow
3283{
3284 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3285public:
3286 wxPyWindow() : wxWindow() {}
3287 wxPyWindow(wxWindow* parent, const wxWindowID id,
3288 const wxPoint& pos = wxDefaultPosition,
3289 const wxSize& size = wxDefaultSize,
3290 long style = 0,
3291 const wxString& name = wxPyPanelNameStr)
3292 : wxWindow(parent, id, pos, size, style, name) {}
3293
a5ee0656 3294 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
d55e5bfc 3295
976dbff5
RD
3296 bool DoEraseBackground(wxDC* dc) {
3297#ifdef __WXMSW__
3298 return wxWindow::DoEraseBackground(dc->GetHDC());
3299#else
3300 dc->SetBackground(wxBrush(GetBackgroundColour()));
3301 dc->Clear();
3302 return true;
3303#endif
3304 }
3305
d55e5bfc
RD
3306 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3307 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3308 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3309 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3310
3311 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3312 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3313 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3314
3315 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3316 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3317
3318 DEC_PYCALLBACK__(InitDialog);
3319 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3320 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3321 DEC_PYCALLBACK_BOOL_(Validate);
3322
3323 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3324 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3325 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3326
3327 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3328 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3329
a5ee0656 3330 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3331 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3332
51b83b37
RD
3333 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3334
8d38bd1d
RD
3335 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3336
d55e5bfc
RD
3337 PYPRIVATE;
3338};
3339
3340IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3341
3342IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3343IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3344IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3345IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3346
3347IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3348IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3349IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3350
3351IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3352IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3353
3354IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3355IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3356IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3357IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3358
3359IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3360IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3361IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3362
3363IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3364IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3365
a5ee0656 3366IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
a5ee0656 3367IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
51b83b37
RD
3368
3369IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
d55e5bfc 3370
8d38bd1d
RD
3371IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3372
d55e5bfc
RD
3373 // C++ version of Python aware wxPanel
3374class wxPyPanel : public wxPanel
3375{
3376 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3377public:
3378 wxPyPanel() : wxPanel() {}
3379 wxPyPanel(wxWindow* parent, const wxWindowID id,
3380 const wxPoint& pos = wxDefaultPosition,
3381 const wxSize& size = wxDefaultSize,
3382 long style = 0,
3383 const wxString& name = wxPyPanelNameStr)
3384 : wxPanel(parent, id, pos, size, style, name) {}
3385
a5ee0656 3386 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
976dbff5
RD
3387 bool DoEraseBackground(wxDC* dc) {
3388#ifdef __WXMSW__
3389 return wxWindow::DoEraseBackground(dc->GetHDC());
3390#else
3391 dc->SetBackground(wxBrush(GetBackgroundColour()));
3392 dc->Clear();
3393 return true;
3394#endif
3395 }
a5ee0656 3396
d55e5bfc
RD
3397
3398 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3399 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3400 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3401 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3402
3403 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3404 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3405 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3406
3407 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3408 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3409
3410 DEC_PYCALLBACK__(InitDialog);
3411 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3412 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3413 DEC_PYCALLBACK_BOOL_(Validate);
3414
3415 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3416 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3417 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3418
3419 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3420 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3421
a5ee0656 3422 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3423 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3424
51b83b37
RD
3425 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3426
8d38bd1d
RD
3427 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3428
d55e5bfc
RD
3429 PYPRIVATE;
3430};
3431
3432IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3433
3434IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3435IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3436IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3437IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3438
3439IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3440IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3441IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3442
3443IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3444IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3445
3446IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3447IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3448IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3449IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3450
3451IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3452IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3453IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3454
3455IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3456IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3457
a5ee0656 3458IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
a5ee0656 3459IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
d55e5bfc 3460
51b83b37
RD
3461IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3462
8d38bd1d
RD
3463IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3464
d55e5bfc
RD
3465 // C++ version of Python aware wxScrolledWindow
3466class wxPyScrolledWindow : public wxScrolledWindow
3467{
3468 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3469public:
3470 wxPyScrolledWindow() : wxScrolledWindow() {}
3471 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3472 const wxPoint& pos = wxDefaultPosition,
3473 const wxSize& size = wxDefaultSize,
3474 long style = 0,
3475 const wxString& name = wxPyPanelNameStr)
3476 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3477
a5ee0656 3478 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
976dbff5
RD
3479 bool DoEraseBackground(wxDC* dc) {
3480#ifdef __WXMSW__
3481 return wxWindow::DoEraseBackground(dc->GetHDC());
3482#else
3483 dc->SetBackground(wxBrush(GetBackgroundColour()));
3484 dc->Clear();
3485 return true;
3486#endif
3487 }
d55e5bfc
RD
3488
3489 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3490 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3491 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3492 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3493
3494 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3495 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3496 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3497
3498 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3499 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3500
3501 DEC_PYCALLBACK__(InitDialog);
3502 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3503 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3504 DEC_PYCALLBACK_BOOL_(Validate);
3505
3506 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3507 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3508 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3509
3510 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3511 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3512
a5ee0656 3513 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
a5ee0656 3514 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc 3515
51b83b37
RD
3516 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3517
8d38bd1d
RD
3518 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3519
d55e5bfc
RD
3520 PYPRIVATE;
3521};
3522
3523IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3524
3525IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3526IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3527IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3528IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3529
3530IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3531IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3532IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3533
3534IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3535IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3536
3537IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3538IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3539IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3540IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3541
3542IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3543IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3544IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3545
3546IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3547IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3548
a5ee0656 3549IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
a5ee0656
RD
3550IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3551
51b83b37 3552IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
d55e5bfc 3553
8d38bd1d
RD
3554IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3555
d55e5bfc
RD
3556
3557#include "wx/wxPython/printfw.h"
3558
3559
3560 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3561 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
1bd55598 3562SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
7fbf8399 3563 PyObject* data;
5a446332 3564 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3565 data = PyString_FromStringAndSize(self->GetPrivData(),
3566 self->GetPrivDataLen());
3567 wxPyEndBlockThreads(blocked);
3568 return data;
3569 }
1bd55598 3570SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
7fbf8399
RD
3571 if (! PyString_Check(data)) {
3572 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3573 "Expected string object"));
3574 return /* NULL */ ;
3575 }
3576
5a446332 3577 wxPyBlock_t blocked = wxPyBeginBlockThreads();
7fbf8399
RD
3578 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3579 wxPyEndBlockThreads(blocked);
3580 }
d55e5bfc
RD
3581
3582
070c48b4 3583IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
d55e5bfc
RD
3584
3585// Since this one would be tough and ugly to do with the Macros...
3586void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
b411df4a 3587 bool hadErr = false;
d55e5bfc
RD
3588 bool found;
3589
5a446332 3590 wxPyBlock_t blocked = wxPyBeginBlockThreads();
d55e5bfc
RD
3591 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3592 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3593 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3594 PyObject* val;
3595
3596 val = PyTuple_GetItem(result, 0);
3597 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
b411df4a 3598 else hadErr = true;
d55e5bfc
RD
3599
3600 val = PyTuple_GetItem(result, 1);
3601 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
b411df4a 3602 else hadErr = true;
d55e5bfc
RD
3603
3604 val = PyTuple_GetItem(result, 2);
3605 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
b411df4a 3606 else hadErr = true;
d55e5bfc
RD
3607
3608 val = PyTuple_GetItem(result, 3);
3609 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
b411df4a 3610 else hadErr = true;
d55e5bfc
RD
3611 }
3612 else
b411df4a 3613 hadErr = true;
d55e5bfc
RD
3614
3615 if (hadErr) {
3616 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3617 PyErr_Print();
3618 }
3619 Py_DECREF(result);
3620 }
3621 wxPyEndBlockThreads(blocked);
3622 if (! found)
3623 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3624}
3625
d55e5bfc
RD
3626
3627
3628IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3629IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3630IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3631IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3632IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3633IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3634IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3635
3636
3637
3638
3639
b411df4a 3640#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
7f7aa166 3641 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
d55e5bfc
RD
3642
3643
b411df4a
RD
3644#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3645 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3646 bool rval=false; \
3647 bool found; \
32fe5131 3648 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
b411df4a
RD
3649 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3650 PyObject* win = wxPyMake_wxObject(a,false); \
3651 PyObject* dc = wxPyMake_wxObject(&b,false); \
3652 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3653 Py_DECREF(win); \
3654 Py_DECREF(dc); \
3655 } \
3656 wxPyEndBlockThreads(blocked); \
3657 if (! found) \
3658 rval = PCLASS::CBNAME(a, b); \
3659 return rval; \
7f7aa166 3660 }
d55e5bfc
RD
3661
3662
3663
3664
3665class wxPyPrintPreview : public wxPrintPreview
3666{
3667 DECLARE_CLASS(wxPyPrintPreview)
3668public:
3669 wxPyPrintPreview(wxPyPrintout* printout,
3670 wxPyPrintout* printoutForPrinting,
3671 wxPrintDialogData* data=NULL)
3672 : wxPrintPreview(printout, printoutForPrinting, data)
3673 {}
3674 wxPyPrintPreview(wxPyPrintout* printout,
3675 wxPyPrintout* printoutForPrinting,
32fe5131 3676 wxPrintData* data)
d55e5bfc
RD
3677 : wxPrintPreview(printout, printoutForPrinting, data)
3678 {}
3679
3680 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3681 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3682 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3683 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3684 DEC_PYCALLBACK_VOID_INT(SetZoom);
3685 DEC_PYCALLBACK_BOOL_BOOL(Print);
3686 DEC_PYCALLBACK_VOID_(DetermineScaling);
3687
3688 PYPRIVATE;
3689};
3690
3691// Stupid renamed classes... Fix this in 2.5...
3692#if defined(__WXMSW__)
3693IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3694#elif defined(__WXMAC__)
3695IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3696#else
3697IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3698#endif
3699
3700IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3701IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3702IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3703IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3704IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3705IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3706IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3707
3708
3709class wxPyPreviewFrame : public wxPreviewFrame
3710{
32fe5131 3711 DECLARE_CLASS(wxPyPreviewFrame)
d55e5bfc
RD
3712public:
3713 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3714 const wxString& title,
3715 const wxPoint& pos = wxDefaultPosition,
3716 const wxSize& size = wxDefaultSize,
3717 long style = wxDEFAULT_FRAME_STYLE,
3718 const wxString& name = wxPyFrameNameStr)
3719 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3720 {}
3721
3722 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3723 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3724
3725 DEC_PYCALLBACK_VOID_(Initialize);
3726 DEC_PYCALLBACK_VOID_(CreateCanvas);
3727 DEC_PYCALLBACK_VOID_(CreateControlBar);
3728
3729 PYPRIVATE;
3730};
3731
3732IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3733
3734IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3735IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3736IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3737
3738
3739class wxPyPreviewControlBar : public wxPreviewControlBar
3740{
32fe5131 3741 DECLARE_CLASS(wxPyPreviewControlBar)
d55e5bfc
RD
3742public:
3743 wxPyPreviewControlBar(wxPrintPreview *preview,
3744 long buttons,
3745 wxWindow *parent,
3746 const wxPoint& pos = wxDefaultPosition,
3747 const wxSize& size = wxDefaultSize,
3748 long style = 0,
3749 const wxString& name = wxPyPanelNameStr)
3750 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3751 {}
3752
3753 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3754
3755 DEC_PYCALLBACK_VOID_(CreateButtons);
3756 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3757
3758 PYPRIVATE;
3759};
3760
3761IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3762IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3763IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3764
3765#ifdef __cplusplus
3766extern "C" {
3767#endif
1bd55598
RD
3768SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj = 0;
3770 wxWindow *arg1 = (wxWindow *) 0 ;
3771 int arg2 = (int) (int)-1 ;
3772 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3773 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3774 wxSize const &arg4_defvalue = wxDefaultSize ;
3775 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3776 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3777 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3778 wxString *arg6 = (wxString *) &arg6_defvalue ;
3779 wxPanel *result = 0 ;
3780 void *argp1 = 0 ;
3781 int res1 = 0 ;
3782 int val2 ;
3783 int ecode2 = 0 ;
3784 wxPoint temp3 ;
3785 wxSize temp4 ;
3786 long val5 ;
3787 int ecode5 = 0 ;
3788 bool temp6 = false ;
3789 PyObject * obj0 = 0 ;
3790 PyObject * obj1 = 0 ;
3791 PyObject * obj2 = 0 ;
3792 PyObject * obj3 = 0 ;
3793 PyObject * obj4 = 0 ;
3794 PyObject * obj5 = 0 ;
3795 char * kwnames[] = {
3796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3797 };
3798
3799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3801 if (!SWIG_IsOK(res1)) {
3802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3803 }
3804 arg1 = reinterpret_cast< wxWindow * >(argp1);
3805 if (obj1) {
3806 ecode2 = SWIG_AsVal_int(obj1, &val2);
3807 if (!SWIG_IsOK(ecode2)) {
3808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3809 }
3810 arg2 = static_cast< int >(val2);
3811 }
3812 if (obj2) {
d55e5bfc 3813 {
1bd55598
RD
3814 arg3 = &temp3;
3815 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 3816 }
1bd55598
RD
3817 }
3818 if (obj3) {
d55e5bfc 3819 {
1bd55598
RD
3820 arg4 = &temp4;
3821 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3822 }
1bd55598
RD
3823 }
3824 if (obj4) {
3825 ecode5 = SWIG_AsVal_long(obj4, &val5);
3826 if (!SWIG_IsOK(ecode5)) {
3827 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3828 }
3829 arg5 = static_cast< long >(val5);
3830 }
3831 if (obj5) {
d55e5bfc 3832 {
1bd55598
RD
3833 arg6 = wxString_in_helper(obj5);
3834 if (arg6 == NULL) SWIG_fail;
3835 temp6 = true;
3836 }
3837 }
3838 {
3839 if (!wxPyCheckForApp()) SWIG_fail;
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3846 {
3847 if (temp6)
3848 delete arg6;
3849 }
3850 return resultobj;
3851fail:
3852 {
3853 if (temp6)
3854 delete arg6;
3855 }
3856 return NULL;
d55e5bfc
RD
3857}
3858
3859
1bd55598
RD
3860SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3861 PyObject *resultobj = 0;
3862 wxPanel *result = 0 ;
3863
3864 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3865 {
3866 if (!wxPyCheckForApp()) SWIG_fail;
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = (wxPanel *)new wxPanel();
3869 wxPyEndAllowThreads(__tstate);
3870 if (PyErr_Occurred()) SWIG_fail;
3871 }
3872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3873 return resultobj;
3874fail:
3875 return NULL;
3876}
3877
3878
3879SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3880 PyObject *resultobj = 0;
3881 wxPanel *arg1 = (wxPanel *) 0 ;
3882 wxWindow *arg2 = (wxWindow *) 0 ;
3883 int arg3 = (int) (int)-1 ;
3884 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3885 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3886 wxSize const &arg5_defvalue = wxDefaultSize ;
3887 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3888 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3889 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3890 wxString *arg7 = (wxString *) &arg7_defvalue ;
3891 bool result;
3892 void *argp1 = 0 ;
3893 int res1 = 0 ;
3894 void *argp2 = 0 ;
3895 int res2 = 0 ;
3896 int val3 ;
3897 int ecode3 = 0 ;
3898 wxPoint temp4 ;
3899 wxSize temp5 ;
3900 long val6 ;
3901 int ecode6 = 0 ;
3902 bool temp7 = false ;
3903 PyObject * obj0 = 0 ;
3904 PyObject * obj1 = 0 ;
3905 PyObject * obj2 = 0 ;
3906 PyObject * obj3 = 0 ;
3907 PyObject * obj4 = 0 ;
3908 PyObject * obj5 = 0 ;
3909 PyObject * obj6 = 0 ;
3910 char * kwnames[] = {
3911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3912 };
3913
3914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3916 if (!SWIG_IsOK(res1)) {
3917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3918 }
3919 arg1 = reinterpret_cast< wxPanel * >(argp1);
3920 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3921 if (!SWIG_IsOK(res2)) {
3922 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3923 }
3924 arg2 = reinterpret_cast< wxWindow * >(argp2);
3925 if (obj2) {
3926 ecode3 = SWIG_AsVal_int(obj2, &val3);
3927 if (!SWIG_IsOK(ecode3)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3929 }
3930 arg3 = static_cast< int >(val3);
3931 }
3932 if (obj3) {
d55e5bfc 3933 {
1bd55598
RD
3934 arg4 = &temp4;
3935 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 3936 }
1bd55598
RD
3937 }
3938 if (obj4) {
d55e5bfc 3939 {
1bd55598
RD
3940 arg5 = &temp5;
3941 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 3942 }
1bd55598
RD
3943 }
3944 if (obj5) {
3945 ecode6 = SWIG_AsVal_long(obj5, &val6);
3946 if (!SWIG_IsOK(ecode6)) {
3947 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3948 }
3949 arg6 = static_cast< long >(val6);
3950 }
3951 if (obj6) {
d55e5bfc 3952 {
1bd55598
RD
3953 arg7 = wxString_in_helper(obj6);
3954 if (arg7 == NULL) SWIG_fail;
3955 temp7 = true;
d55e5bfc 3956 }
1bd55598
RD
3957 }
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3961 wxPyEndAllowThreads(__tstate);
3962 if (PyErr_Occurred()) SWIG_fail;
3963 }
3964 {
3965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3966 }
3967 {
3968 if (temp7)
3969 delete arg7;
3970 }
3971 return resultobj;
3972fail:
3973 {
3974 if (temp7)
3975 delete arg7;
3976 }
3977 return NULL;
5cbf236d
RD
3978}
3979
3980
1bd55598
RD
3981SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3982 PyObject *resultobj = 0;
3983 wxPanel *arg1 = (wxPanel *) 0 ;
3984 void *argp1 = 0 ;
3985 int res1 = 0 ;
3986 PyObject *swig_obj[1] ;
3987
3988 if (!args) SWIG_fail;
3989 swig_obj[0] = args;
3990 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3991 if (!SWIG_IsOK(res1)) {
3992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3993 }
3994 arg1 = reinterpret_cast< wxPanel * >(argp1);
3995 {
3996 PyThreadState* __tstate = wxPyBeginAllowThreads();
3997 (arg1)->SetFocusIgnoringChildren();
3998 wxPyEndAllowThreads(__tstate);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
4001 resultobj = SWIG_Py_Void();
4002 return resultobj;
4003fail:
4004 return NULL;
4005}
4006
4007
4008SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4009 PyObject *resultobj = 0;
4010 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4011 SwigValueWrapper<wxVisualAttributes > result;
4012 int val1 ;
4013 int ecode1 = 0 ;
4014 PyObject * obj0 = 0 ;
4015 char * kwnames[] = {
4016 (char *) "variant", NULL
4017 };
4018
4019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4020 if (obj0) {
4021 ecode1 = SWIG_AsVal_int(obj0, &val1);
4022 if (!SWIG_IsOK(ecode1)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4024 }
4025 arg1 = static_cast< wxWindowVariant >(val1);
4026 }
4027 {
4028 if (!wxPyCheckForApp()) SWIG_fail;
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 result = wxPanel::GetClassDefaultAttributes(arg1);
4031 wxPyEndAllowThreads(__tstate);
4032 if (PyErr_Occurred()) SWIG_fail;
4033 }
4034 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4035 return resultobj;
4036fail:
4037 return NULL;
4038}
4039
4040
4041SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4042 PyObject *obj;
4043 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4044 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4045 return SWIG_Py_Void();
4046}
4047
4048SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4049 return SWIG_Python_InitShadowInstance(args);
4050}
4051
4052SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4053 PyObject *resultobj = 0;
4054 wxWindow *arg1 = (wxWindow *) 0 ;
4055 int arg2 = (int) (int)-1 ;
4056 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4057 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4058 wxSize const &arg4_defvalue = wxDefaultSize ;
4059 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4060 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4061 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4062 wxString *arg6 = (wxString *) &arg6_defvalue ;
4063 wxScrolledWindow *result = 0 ;
4064 void *argp1 = 0 ;
4065 int res1 = 0 ;
4066 int val2 ;
4067 int ecode2 = 0 ;
4068 wxPoint temp3 ;
4069 wxSize temp4 ;
4070 long val5 ;
4071 int ecode5 = 0 ;
4072 bool temp6 = false ;
4073 PyObject * obj0 = 0 ;
4074 PyObject * obj1 = 0 ;
4075 PyObject * obj2 = 0 ;
4076 PyObject * obj3 = 0 ;
4077 PyObject * obj4 = 0 ;
4078 PyObject * obj5 = 0 ;
4079 char * kwnames[] = {
4080 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4081 };
4082
4083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4085 if (!SWIG_IsOK(res1)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4087 }
4088 arg1 = reinterpret_cast< wxWindow * >(argp1);
4089 if (obj1) {
4090 ecode2 = SWIG_AsVal_int(obj1, &val2);
4091 if (!SWIG_IsOK(ecode2)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4093 }
4094 arg2 = static_cast< int >(val2);
4095 }
4096 if (obj2) {
5cbf236d 4097 {
1bd55598
RD
4098 arg3 = &temp3;
4099 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 4100 }
1bd55598
RD
4101 }
4102 if (obj3) {
f20a2e1f 4103 {
1bd55598
RD
4104 arg4 = &temp4;
4105 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
f20a2e1f 4106 }
1bd55598
RD
4107 }
4108 if (obj4) {
4109 ecode5 = SWIG_AsVal_long(obj4, &val5);
4110 if (!SWIG_IsOK(ecode5)) {
4111 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4112 }
4113 arg5 = static_cast< long >(val5);
4114 }
4115 if (obj5) {
f20a2e1f 4116 {
1bd55598
RD
4117 arg6 = wxString_in_helper(obj5);
4118 if (arg6 == NULL) SWIG_fail;
4119 temp6 = true;
f20a2e1f 4120 }
1bd55598
RD
4121 }
4122 {
4123 if (!wxPyCheckForApp()) SWIG_fail;
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4130 {
4131 if (temp6)
4132 delete arg6;
4133 }
4134 return resultobj;
4135fail:
4136 {
4137 if (temp6)
4138 delete arg6;
4139 }
4140 return NULL;
f20a2e1f
RD
4141}
4142
4143
1bd55598
RD
4144SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4145 PyObject *resultobj = 0;
4146 wxScrolledWindow *result = 0 ;
4147
4148 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4149 {
4150 if (!wxPyCheckForApp()) SWIG_fail;
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (wxScrolledWindow *)new wxScrolledWindow();
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4157 return resultobj;
4158fail:
4159 return NULL;
4160}
4161
4162
4163SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4164 PyObject *resultobj = 0;
4165 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4166 wxWindow *arg2 = (wxWindow *) 0 ;
4167 int arg3 = (int) (int)-1 ;
4168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4170 wxSize const &arg5_defvalue = wxDefaultSize ;
4171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4172 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4173 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4174 wxString *arg7 = (wxString *) &arg7_defvalue ;
4175 bool result;
4176 void *argp1 = 0 ;
4177 int res1 = 0 ;
4178 void *argp2 = 0 ;
4179 int res2 = 0 ;
4180 int val3 ;
4181 int ecode3 = 0 ;
4182 wxPoint temp4 ;
4183 wxSize temp5 ;
4184 long val6 ;
4185 int ecode6 = 0 ;
4186 bool temp7 = false ;
4187 PyObject * obj0 = 0 ;
4188 PyObject * obj1 = 0 ;
4189 PyObject * obj2 = 0 ;
4190 PyObject * obj3 = 0 ;
4191 PyObject * obj4 = 0 ;
4192 PyObject * obj5 = 0 ;
4193 PyObject * obj6 = 0 ;
4194 char * kwnames[] = {
4195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4196 };
4197
4198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4200 if (!SWIG_IsOK(res1)) {
4201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4202 }
4203 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4204 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4205 if (!SWIG_IsOK(res2)) {
4206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4207 }
4208 arg2 = reinterpret_cast< wxWindow * >(argp2);
4209 if (obj2) {
4210 ecode3 = SWIG_AsVal_int(obj2, &val3);
4211 if (!SWIG_IsOK(ecode3)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4213 }
4214 arg3 = static_cast< int >(val3);
4215 }
4216 if (obj3) {
d55e5bfc 4217 {
1bd55598
RD
4218 arg4 = &temp4;
4219 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 4220 }
1bd55598
RD
4221 }
4222 if (obj4) {
d55e5bfc 4223 {
1bd55598
RD
4224 arg5 = &temp5;
4225 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 4226 }
1bd55598
RD
4227 }
4228 if (obj5) {
4229 ecode6 = SWIG_AsVal_long(obj5, &val6);
4230 if (!SWIG_IsOK(ecode6)) {
4231 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4232 }
4233 arg6 = static_cast< long >(val6);
4234 }
4235 if (obj6) {
d55e5bfc 4236 {
1bd55598
RD
4237 arg7 = wxString_in_helper(obj6);
4238 if (arg7 == NULL) SWIG_fail;
4239 temp7 = true;
4240 }
4241 }
4242 {
4243 PyThreadState* __tstate = wxPyBeginAllowThreads();
4244 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4245 wxPyEndAllowThreads(__tstate);
4246 if (PyErr_Occurred()) SWIG_fail;
4247 }
4248 {
4249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4250 }
4251 {
4252 if (temp7)
4253 delete arg7;
4254 }
4255 return resultobj;
4256fail:
4257 {
4258 if (temp7)
4259 delete arg7;
4260 }
4261 return NULL;
4262}
4263
4264
4265SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4266 PyObject *resultobj = 0;
4267 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4268 int arg2 ;
4269 int arg3 ;
4270 int arg4 ;
4271 int arg5 ;
4272 int arg6 = (int) 0 ;
4273 int arg7 = (int) 0 ;
4274 bool arg8 = (bool) false ;
4275 void *argp1 = 0 ;
4276 int res1 = 0 ;
4277 int val2 ;
4278 int ecode2 = 0 ;
4279 int val3 ;
4280 int ecode3 = 0 ;
4281 int val4 ;
4282 int ecode4 = 0 ;
4283 int val5 ;
4284 int ecode5 = 0 ;
4285 int val6 ;
4286 int ecode6 = 0 ;
4287 int val7 ;
4288 int ecode7 = 0 ;
4289 bool val8 ;
4290 int ecode8 = 0 ;
4291 PyObject * obj0 = 0 ;
4292 PyObject * obj1 = 0 ;
4293 PyObject * obj2 = 0 ;
4294 PyObject * obj3 = 0 ;
4295 PyObject * obj4 = 0 ;
4296 PyObject * obj5 = 0 ;
4297 PyObject * obj6 = 0 ;
4298 PyObject * obj7 = 0 ;
4299 char * kwnames[] = {
4300 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4301 };
4302
4303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4305 if (!SWIG_IsOK(res1)) {
4306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4307 }
4308 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4309 ecode2 = SWIG_AsVal_int(obj1, &val2);
4310 if (!SWIG_IsOK(ecode2)) {
4311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4312 }
4313 arg2 = static_cast< int >(val2);
4314 ecode3 = SWIG_AsVal_int(obj2, &val3);
4315 if (!SWIG_IsOK(ecode3)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4317 }
4318 arg3 = static_cast< int >(val3);
4319 ecode4 = SWIG_AsVal_int(obj3, &val4);
4320 if (!SWIG_IsOK(ecode4)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4322 }
4323 arg4 = static_cast< int >(val4);
4324 ecode5 = SWIG_AsVal_int(obj4, &val5);
4325 if (!SWIG_IsOK(ecode5)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4327 }
4328 arg5 = static_cast< int >(val5);
4329 if (obj5) {
4330 ecode6 = SWIG_AsVal_int(obj5, &val6);
4331 if (!SWIG_IsOK(ecode6)) {
4332 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4333 }
4334 arg6 = static_cast< int >(val6);
4335 }
4336 if (obj6) {
4337 ecode7 = SWIG_AsVal_int(obj6, &val7);
4338 if (!SWIG_IsOK(ecode7)) {
4339 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4340 }
4341 arg7 = static_cast< int >(val7);
4342 }
4343 if (obj7) {
4344 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4345 if (!SWIG_IsOK(ecode8)) {
4346 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4347 }
4348 arg8 = static_cast< bool >(val8);
4349 }
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 resultobj = SWIG_Py_Void();
4357 return resultobj;
4358fail:
4359 return NULL;
4360}
4361
4362
4363SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4364 PyObject *resultobj = 0;
4365 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4366 int arg2 ;
4367 int arg3 ;
4368 void *argp1 = 0 ;
4369 int res1 = 0 ;
4370 int val2 ;
4371 int ecode2 = 0 ;
4372 int val3 ;
4373 int ecode3 = 0 ;
4374 PyObject * obj0 = 0 ;
4375 PyObject * obj1 = 0 ;
4376 PyObject * obj2 = 0 ;
4377 char * kwnames[] = {
4378 (char *) "self",(char *) "x",(char *) "y", NULL
4379 };
4380
4381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4383 if (!SWIG_IsOK(res1)) {
4384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4385 }
4386 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4387 ecode2 = SWIG_AsVal_int(obj1, &val2);
4388 if (!SWIG_IsOK(ecode2)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4390 }
4391 arg2 = static_cast< int >(val2);
4392 ecode3 = SWIG_AsVal_int(obj2, &val3);
4393 if (!SWIG_IsOK(ecode3)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4395 }
4396 arg3 = static_cast< int >(val3);
4397 {
4398 PyThreadState* __tstate = wxPyBeginAllowThreads();
4399 (arg1)->Scroll(arg2,arg3);
4400 wxPyEndAllowThreads(__tstate);
4401 if (PyErr_Occurred()) SWIG_fail;
4402 }
4403 resultobj = SWIG_Py_Void();
4404 return resultobj;
4405fail:
4406 return NULL;
4407}
4408
4409
4410SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4411 PyObject *resultobj = 0;
4412 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4413 int arg2 ;
4414 int result;
4415 void *argp1 = 0 ;
4416 int res1 = 0 ;
4417 int val2 ;
4418 int ecode2 = 0 ;
4419 PyObject * obj0 = 0 ;
4420 PyObject * obj1 = 0 ;
4421 char * kwnames[] = {
4422 (char *) "self",(char *) "orient", NULL
4423 };
4424
4425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4427 if (!SWIG_IsOK(res1)) {
4428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4429 }
4430 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4431 ecode2 = SWIG_AsVal_int(obj1, &val2);
4432 if (!SWIG_IsOK(ecode2)) {
4433 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4434 }
4435 arg2 = static_cast< int >(val2);
4436 {
4437 PyThreadState* __tstate = wxPyBeginAllowThreads();
4438 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 resultobj = SWIG_From_int(static_cast< int >(result));
4443 return resultobj;
4444fail:
4445 return NULL;
4446}
4447
4448
4449SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj = 0;
4451 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4452 int arg2 ;
4453 int arg3 ;
4454 void *argp1 = 0 ;
4455 int res1 = 0 ;
4456 int val2 ;
4457 int ecode2 = 0 ;
4458 int val3 ;
4459 int ecode3 = 0 ;
4460 PyObject * obj0 = 0 ;
4461 PyObject * obj1 = 0 ;
4462 PyObject * obj2 = 0 ;
4463 char * kwnames[] = {
4464 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4465 };
4466
4467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4469 if (!SWIG_IsOK(res1)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4471 }
4472 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4473 ecode2 = SWIG_AsVal_int(obj1, &val2);
4474 if (!SWIG_IsOK(ecode2)) {
4475 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4476 }
4477 arg2 = static_cast< int >(val2);
4478 ecode3 = SWIG_AsVal_int(obj2, &val3);
4479 if (!SWIG_IsOK(ecode3)) {
4480 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4481 }
4482 arg3 = static_cast< int >(val3);
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 (arg1)->SetScrollPageSize(arg2,arg3);
4486 wxPyEndAllowThreads(__tstate);
4487 if (PyErr_Occurred()) SWIG_fail;
4488 }
4489 resultobj = SWIG_Py_Void();
4490 return resultobj;
4491fail:
4492 return NULL;
4493}
4494
4495
4496SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4497 PyObject *resultobj = 0;
4498 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4499 int arg2 ;
4500 int arg3 ;
4501 void *argp1 = 0 ;
4502 int res1 = 0 ;
4503 int val2 ;
4504 int ecode2 = 0 ;
4505 int val3 ;
4506 int ecode3 = 0 ;
4507 PyObject * obj0 = 0 ;
4508 PyObject * obj1 = 0 ;
4509 PyObject * obj2 = 0 ;
4510 char * kwnames[] = {
4511 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4512 };
4513
4514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4516 if (!SWIG_IsOK(res1)) {
4517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4518 }
4519 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4520 ecode2 = SWIG_AsVal_int(obj1, &val2);
4521 if (!SWIG_IsOK(ecode2)) {
4522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4523 }
4524 arg2 = static_cast< int >(val2);
4525 ecode3 = SWIG_AsVal_int(obj2, &val3);
4526 if (!SWIG_IsOK(ecode3)) {
4527 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4528 }
4529 arg3 = static_cast< int >(val3);
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 (arg1)->SetScrollRate(arg2,arg3);
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
4536 resultobj = SWIG_Py_Void();
4537 return resultobj;
4538fail:
4539 return NULL;
4540}
4541
4542
4543SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4544 PyObject *resultobj = 0;
4545 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4546 int *arg2 = (int *) 0 ;
4547 int *arg3 = (int *) 0 ;
4548 void *argp1 = 0 ;
4549 int res1 = 0 ;
4550 int temp2 ;
4551 int res2 = SWIG_TMPOBJ ;
4552 int temp3 ;
4553 int res3 = SWIG_TMPOBJ ;
4554 PyObject *swig_obj[1] ;
4555
4556 arg2 = &temp2;
4557 arg3 = &temp3;
4558 if (!args) SWIG_fail;
4559 swig_obj[0] = args;
4560 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4561 if (!SWIG_IsOK(res1)) {
4562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4563 }
4564 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4565 {
4566 PyThreadState* __tstate = wxPyBeginAllowThreads();
4567 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4568 wxPyEndAllowThreads(__tstate);
4569 if (PyErr_Occurred()) SWIG_fail;
4570 }
4571 resultobj = SWIG_Py_Void();
4572 if (SWIG_IsTmpObj(res2)) {
4573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4574 } else {
4575 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4577 }
4578 if (SWIG_IsTmpObj(res3)) {
4579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4580 } else {
4581 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4582 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4583 }
4584 return resultobj;
4585fail:
4586 return NULL;
4587}
4588
4589
4590SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4591 PyObject *resultobj = 0;
4592 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4593 bool arg2 ;
4594 bool arg3 ;
4595 void *argp1 = 0 ;
4596 int res1 = 0 ;
4597 bool val2 ;
4598 int ecode2 = 0 ;
4599 bool val3 ;
4600 int ecode3 = 0 ;
4601 PyObject * obj0 = 0 ;
4602 PyObject * obj1 = 0 ;
4603 PyObject * obj2 = 0 ;
4604 char * kwnames[] = {
4605 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4606 };
4607
4608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4610 if (!SWIG_IsOK(res1)) {
4611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4612 }
4613 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4614 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4615 if (!SWIG_IsOK(ecode2)) {
4616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4617 }
4618 arg2 = static_cast< bool >(val2);
4619 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4620 if (!SWIG_IsOK(ecode3)) {
4621 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4622 }
4623 arg3 = static_cast< bool >(val3);
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 (arg1)->EnableScrolling(arg2,arg3);
4627 wxPyEndAllowThreads(__tstate);
4628 if (PyErr_Occurred()) SWIG_fail;
4629 }
4630 resultobj = SWIG_Py_Void();
4631 return resultobj;
4632fail:
4633 return NULL;
4634}
4635
4636
4637SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4638 PyObject *resultobj = 0;
4639 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4640 int *arg2 = (int *) 0 ;
4641 int *arg3 = (int *) 0 ;
4642 void *argp1 = 0 ;
4643 int res1 = 0 ;
4644 int temp2 ;
4645 int res2 = SWIG_TMPOBJ ;
4646 int temp3 ;
4647 int res3 = SWIG_TMPOBJ ;
4648 PyObject *swig_obj[1] ;
4649
4650 arg2 = &temp2;
4651 arg3 = &temp3;
4652 if (!args) SWIG_fail;
4653 swig_obj[0] = args;
4654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4655 if (!SWIG_IsOK(res1)) {
4656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4657 }
4658 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4659 {
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
4661 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 resultobj = SWIG_Py_Void();
4666 if (SWIG_IsTmpObj(res2)) {
4667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4668 } else {
4669 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4670 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4671 }
4672 if (SWIG_IsTmpObj(res3)) {
4673 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4674 } else {
4675 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4676 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4677 }
4678 return resultobj;
4679fail:
4680 return NULL;
4681}
4682
4683
4684SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4685 PyObject *resultobj = 0;
4686 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4687 double arg2 ;
4688 double arg3 ;
4689 void *argp1 = 0 ;
4690 int res1 = 0 ;
4691 double val2 ;
4692 int ecode2 = 0 ;
4693 double val3 ;
4694 int ecode3 = 0 ;
4695 PyObject * obj0 = 0 ;
4696 PyObject * obj1 = 0 ;
4697 PyObject * obj2 = 0 ;
4698 char * kwnames[] = {
4699 (char *) "self",(char *) "xs",(char *) "ys", NULL
4700 };
4701
4702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4703 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4704 if (!SWIG_IsOK(res1)) {
4705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4706 }
4707 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4708 ecode2 = SWIG_AsVal_double(obj1, &val2);
4709 if (!SWIG_IsOK(ecode2)) {
4710 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4711 }
4712 arg2 = static_cast< double >(val2);
4713 ecode3 = SWIG_AsVal_double(obj2, &val3);
4714 if (!SWIG_IsOK(ecode3)) {
4715 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4716 }
4717 arg3 = static_cast< double >(val3);
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 (arg1)->SetScale(arg2,arg3);
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 resultobj = SWIG_Py_Void();
4725 return resultobj;
4726fail:
4727 return NULL;
d55e5bfc
RD
4728}
4729
4730
1bd55598
RD
4731SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4732 PyObject *resultobj = 0;
4733 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4734 double result;
4735 void *argp1 = 0 ;
4736 int res1 = 0 ;
4737 PyObject *swig_obj[1] ;
4738
4739 if (!args) SWIG_fail;
4740 swig_obj[0] = args;
4741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4742 if (!SWIG_IsOK(res1)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4744 }
4745 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 resultobj = SWIG_From_double(static_cast< double >(result));
4753 return resultobj;
4754fail:
4755 return NULL;
d55e5bfc
RD
4756}
4757
4758
1bd55598
RD
4759SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4760 PyObject *resultobj = 0;
4761 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4762 double result;
4763 void *argp1 = 0 ;
4764 int res1 = 0 ;
4765 PyObject *swig_obj[1] ;
4766
4767 if (!args) SWIG_fail;
4768 swig_obj[0] = args;
4769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4770 if (!SWIG_IsOK(res1)) {
4771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4772 }
4773 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4774 {
4775 PyThreadState* __tstate = wxPyBeginAllowThreads();
4776 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4777 wxPyEndAllowThreads(__tstate);
4778 if (PyErr_Occurred()) SWIG_fail;
4779 }
4780 resultobj = SWIG_From_double(static_cast< double >(result));
4781 return resultobj;
4782fail:
4783 return NULL;
d55e5bfc
RD
4784}
4785
4786
1bd55598
RD
4787SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4788 PyObject *resultobj = 0;
4789 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4790 wxPoint *arg2 = 0 ;
4791 wxPoint result;
4792 void *argp1 = 0 ;
4793 int res1 = 0 ;
4794 wxPoint temp2 ;
4795
4796 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4798 if (!SWIG_IsOK(res1)) {
4799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4800 }
4801 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4802 {
4803 arg2 = &temp2;
4804 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4805 }
4806 {
4807 PyThreadState* __tstate = wxPyBeginAllowThreads();
4808 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4813 return resultobj;
4814fail:
4815 return NULL;
4816}
4817
4818
4819SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4820 PyObject *resultobj = 0;
4821 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4822 int arg2 ;
4823 int arg3 ;
4824 int *arg4 = (int *) 0 ;
4825 int *arg5 = (int *) 0 ;
4826 void *argp1 = 0 ;
4827 int res1 = 0 ;
4828 int val2 ;
4829 int ecode2 = 0 ;
4830 int val3 ;
4831 int ecode3 = 0 ;
4832 int temp4 ;
4833 int res4 = SWIG_TMPOBJ ;
4834 int temp5 ;
4835 int res5 = SWIG_TMPOBJ ;
4836
4837 arg4 = &temp4;
4838 arg5 = &temp5;
4839 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4841 if (!SWIG_IsOK(res1)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4843 }
4844 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4845 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4846 if (!SWIG_IsOK(ecode2)) {
4847 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4848 }
4849 arg2 = static_cast< int >(val2);
4850 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4851 if (!SWIG_IsOK(ecode3)) {
4852 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4853 }
4854 arg3 = static_cast< int >(val3);
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 resultobj = SWIG_Py_Void();
4862 if (SWIG_IsTmpObj(res4)) {
4863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4864 } else {
4865 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4866 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4867 }
4868 if (SWIG_IsTmpObj(res5)) {
4869 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4870 } else {
4871 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4872 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4873 }
4874 return resultobj;
4875fail:
4876 return NULL;
d55e5bfc
RD
4877}
4878
4879
1bd55598
RD
4880SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4881 int argc;
4882 PyObject *argv[4];
4883
4884 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4885 --argc;
4886 if (argc == 2) {
4887 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4888 }
4889 if (argc == 3) {
4890 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4891 }
4892
4893fail:
4894 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4895 return NULL;
d55e5bfc
RD
4896}
4897
4898
1bd55598
RD
4899SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4900 PyObject *resultobj = 0;
4901 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4902 wxPoint *arg2 = 0 ;
4903 wxPoint result;
4904 void *argp1 = 0 ;
4905 int res1 = 0 ;
4906 wxPoint temp2 ;
4907
4908 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4910 if (!SWIG_IsOK(res1)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4912 }
4913 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4914 {
4915 arg2 = &temp2;
4916 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4917 }
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4925 return resultobj;
4926fail:
4927 return NULL;
4928}
4929
4930
4931SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4932 PyObject *resultobj = 0;
4933 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4934 int arg2 ;
4935 int arg3 ;
4936 int *arg4 = (int *) 0 ;
4937 int *arg5 = (int *) 0 ;
4938 void *argp1 = 0 ;
4939 int res1 = 0 ;
4940 int val2 ;
4941 int ecode2 = 0 ;
4942 int val3 ;
4943 int ecode3 = 0 ;
4944 int temp4 ;
4945 int res4 = SWIG_TMPOBJ ;
4946 int temp5 ;
4947 int res5 = SWIG_TMPOBJ ;
4948
4949 arg4 = &temp4;
4950 arg5 = &temp5;
4951 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4953 if (!SWIG_IsOK(res1)) {
4954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4955 }
4956 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4957 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4958 if (!SWIG_IsOK(ecode2)) {
4959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4960 }
4961 arg2 = static_cast< int >(val2);
4962 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4963 if (!SWIG_IsOK(ecode3)) {
4964 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4965 }
4966 arg3 = static_cast< int >(val3);
4967 {
4968 PyThreadState* __tstate = wxPyBeginAllowThreads();
4969 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4970 wxPyEndAllowThreads(__tstate);
4971 if (PyErr_Occurred()) SWIG_fail;
4972 }
4973 resultobj = SWIG_Py_Void();
4974 if (SWIG_IsTmpObj(res4)) {
4975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4976 } else {
4977 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4978 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4979 }
4980 if (SWIG_IsTmpObj(res5)) {
4981 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4982 } else {
4983 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4984 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4985 }
4986 return resultobj;
4987fail:
4988 return NULL;
d55e5bfc
RD
4989}
4990
4991
1bd55598
RD
4992SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4993 int argc;
4994 PyObject *argv[4];
4995
4996 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4997 --argc;
4998 if (argc == 2) {
4999 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
5000 }
5001 if (argc == 3) {
5002 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5003 }
5004
5005fail:
5006 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5007 return NULL;
d55e5bfc
RD
5008}
5009
5010
1bd55598
RD
5011SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5012 PyObject *resultobj = 0;
5013 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5014 void *argp1 = 0 ;
5015 int res1 = 0 ;
5016 PyObject *swig_obj[1] ;
5017
5018 if (!args) SWIG_fail;
5019 swig_obj[0] = args;
5020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5021 if (!SWIG_IsOK(res1)) {
5022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5023 }
5024 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->AdjustScrollbars();
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 resultobj = SWIG_Py_Void();
5032 return resultobj;
5033fail:
5034 return NULL;
5035}
5036
5037
5038SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5039 PyObject *resultobj = 0;
5040 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5041 wxScrollWinEvent *arg2 = 0 ;
5042 int result;
5043 void *argp1 = 0 ;
5044 int res1 = 0 ;
5045 void *argp2 = 0 ;
5046 int res2 = 0 ;
5047 PyObject * obj0 = 0 ;
5048 PyObject * obj1 = 0 ;
5049 char * kwnames[] = {
5050 (char *) "self",(char *) "event", NULL
5051 };
5052
5053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5055 if (!SWIG_IsOK(res1)) {
5056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5057 }
5058 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5059 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5060 if (!SWIG_IsOK(res2)) {
5061 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5062 }
5063 if (!argp2) {
5064 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5065 }
5066 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 result = (int)(arg1)->CalcScrollInc(*arg2);
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 resultobj = SWIG_From_int(static_cast< int >(result));
5074 return resultobj;
5075fail:
5076 return NULL;
5077}
5078
5079
5080SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5081 PyObject *resultobj = 0;
5082 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5083 wxWindow *arg2 = (wxWindow *) 0 ;
5084 void *argp1 = 0 ;
5085 int res1 = 0 ;
5086 void *argp2 = 0 ;
5087 int res2 = 0 ;
5088 PyObject * obj0 = 0 ;
5089 PyObject * obj1 = 0 ;
5090 char * kwnames[] = {
5091 (char *) "self",(char *) "target", NULL
5092 };
5093
5094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5096 if (!SWIG_IsOK(res1)) {
5097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5098 }
5099 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5100 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5101 if (!SWIG_IsOK(res2)) {
5102 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5103 }
5104 arg2 = reinterpret_cast< wxWindow * >(argp2);
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 (arg1)->SetTargetWindow(arg2);
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 resultobj = SWIG_Py_Void();
5112 return resultobj;
5113fail:
5114 return NULL;
d55e5bfc
RD
5115}
5116
5117
1bd55598
RD
5118SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5119 PyObject *resultobj = 0;
5120 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5121 wxWindow *result = 0 ;
5122 void *argp1 = 0 ;
5123 int res1 = 0 ;
5124 PyObject *swig_obj[1] ;
5125
5126 if (!args) SWIG_fail;
5127 swig_obj[0] = args;
5128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5129 if (!SWIG_IsOK(res1)) {
5130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5131 }
5132 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5136 wxPyEndAllowThreads(__tstate);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
5139 {
5140 resultobj = wxPyMake_wxObject(result, 0);
5141 }
5142 return resultobj;
5143fail:
5144 return NULL;
5145}
5146
5147
5148SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj = 0;
5150 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5151 wxRect *arg2 = 0 ;
5152 void *argp1 = 0 ;
5153 int res1 = 0 ;
5154 wxRect temp2 ;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj1 = 0 ;
5157 char * kwnames[] = {
5158 (char *) "self",(char *) "rect", NULL
5159 };
5160
5161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5163 if (!SWIG_IsOK(res1)) {
5164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5165 }
5166 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5167 {
5168 arg2 = &temp2;
5169 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5170 }
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 (arg1)->SetTargetRect((wxRect const &)*arg2);
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = SWIG_Py_Void();
5178 return resultobj;
5179fail:
5180 return NULL;
d55e5bfc
RD
5181}
5182
5183
1bd55598
RD
5184SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5185 PyObject *resultobj = 0;
5186 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5187 wxRect result;
5188 void *argp1 = 0 ;
5189 int res1 = 0 ;
5190 PyObject *swig_obj[1] ;
5191
5192 if (!args) SWIG_fail;
5193 swig_obj[0] = args;
5194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5195 if (!SWIG_IsOK(res1)) {
5196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5197 }
5198 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5206 return resultobj;
5207fail:
5208 return NULL;
5209}
5210
5211
5212SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj = 0;
5214 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5215 wxDC *arg2 = 0 ;
5216 void *argp1 = 0 ;
5217 int res1 = 0 ;
5218 void *argp2 = 0 ;
5219 int res2 = 0 ;
5220 PyObject * obj0 = 0 ;
5221 PyObject * obj1 = 0 ;
5222 char * kwnames[] = {
5223 (char *) "self",(char *) "dc", NULL
5224 };
5225
5226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5228 if (!SWIG_IsOK(res1)) {
5229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5230 }
5231 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5232 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5233 if (!SWIG_IsOK(res2)) {
5234 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5235 }
5236 if (!argp2) {
5237 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5238 }
5239 arg2 = reinterpret_cast< wxDC * >(argp2);
5240 {
5241 PyThreadState* __tstate = wxPyBeginAllowThreads();
5242 (arg1)->DoPrepareDC(*arg2);
5243 wxPyEndAllowThreads(__tstate);
5244 if (PyErr_Occurred()) SWIG_fail;
5245 }
5246 resultobj = SWIG_Py_Void();
5247 return resultobj;
5248fail:
5249 return NULL;
5250}
5251
5252
5253SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5254 PyObject *resultobj = 0;
5255 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5256 SwigValueWrapper<wxVisualAttributes > result;
5257 int val1 ;
5258 int ecode1 = 0 ;
5259 PyObject * obj0 = 0 ;
5260 char * kwnames[] = {
5261 (char *) "variant", NULL
5262 };
5263
5264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5265 if (obj0) {
5266 ecode1 = SWIG_AsVal_int(obj0, &val1);
5267 if (!SWIG_IsOK(ecode1)) {
5268 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5269 }
5270 arg1 = static_cast< wxWindowVariant >(val1);
5271 }
5272 {
5273 if (!wxPyCheckForApp()) SWIG_fail;
5274 PyThreadState* __tstate = wxPyBeginAllowThreads();
5275 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5276 wxPyEndAllowThreads(__tstate);
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5280 return resultobj;
5281fail:
5282 return NULL;
d55e5bfc
RD
5283}
5284
5285
1bd55598
RD
5286SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5287 PyObject *obj;
5288 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5289 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5290 return SWIG_Py_Void();
d55e5bfc
RD
5291}
5292
1bd55598
RD
5293SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5294 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
5295}
5296
1bd55598
RD
5297SWIGINTERN int FrameNameStr_set(PyObject *) {
5298 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5299 return 1;
d55e5bfc
RD
5300}
5301
5302
1bd55598
RD
5303SWIGINTERN PyObject *FrameNameStr_get(void) {
5304 PyObject *pyobj = 0;
5305
5306 {
5307#if wxUSE_UNICODE
5308 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5309#else
5310 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5311#endif
5312 }
5313 return pyobj;
d55e5bfc
RD
5314}
5315
5316
1bd55598
RD
5317SWIGINTERN int DialogNameStr_set(PyObject *) {
5318 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5319 return 1;
d55e5bfc
RD
5320}
5321
5322
1bd55598
RD
5323SWIGINTERN PyObject *DialogNameStr_get(void) {
5324 PyObject *pyobj = 0;
5325
5326 {
5327#if wxUSE_UNICODE
5328 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5329#else
5330 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5331#endif
5332 }
5333 return pyobj;
d55e5bfc
RD
5334}
5335
5336
1bd55598
RD
5337SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5338 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5339 return 1;
d55e5bfc
RD
5340}
5341
5342
1bd55598
RD
5343SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5344 PyObject *pyobj = 0;
5345
5346 {
5347#if wxUSE_UNICODE
5348 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5349#else
5350 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5351#endif
5352 }
5353 return pyobj;
d55e5bfc
RD
5354}
5355
5356
1bd55598
RD
5357SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5358 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5359 return 1;
d55e5bfc
RD
5360}
5361
5362
1bd55598
RD
5363SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5364 PyObject *pyobj = 0;
5365
5366 {
5367#if wxUSE_UNICODE
5368 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5369#else
5370 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5371#endif
5372 }
5373 return pyobj;
5374}
5375
5376
5377SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5378 PyObject *resultobj = 0;
5379 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5380 bool arg2 = (bool) true ;
5381 void *argp1 = 0 ;
5382 int res1 = 0 ;
5383 bool val2 ;
5384 int ecode2 = 0 ;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 char * kwnames[] = {
5388 (char *) "self",(char *) "maximize", NULL
5389 };
5390
5391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5393 if (!SWIG_IsOK(res1)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5395 }
5396 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5397 if (obj1) {
5398 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5399 if (!SWIG_IsOK(ecode2)) {
5400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5401 }
5402 arg2 = static_cast< bool >(val2);
5403 }
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 (arg1)->Maximize(arg2);
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 resultobj = SWIG_Py_Void();
5411 return resultobj;
5412fail:
5413 return NULL;
d55e5bfc
RD
5414}
5415
5416
1bd55598
RD
5417SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5418 PyObject *resultobj = 0;
5419 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5420 void *argp1 = 0 ;
5421 int res1 = 0 ;
5422 PyObject *swig_obj[1] ;
5423
5424 if (!args) SWIG_fail;
5425 swig_obj[0] = args;
5426 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5427 if (!SWIG_IsOK(res1)) {
5428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5429 }
5430 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 (arg1)->Restore();
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 resultobj = SWIG_Py_Void();
5438 return resultobj;
5439fail:
5440 return NULL;
5441}
5442
5443
5444SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5445 PyObject *resultobj = 0;
5446 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5447 bool arg2 = (bool) true ;
5448 void *argp1 = 0 ;
5449 int res1 = 0 ;
5450 bool val2 ;
5451 int ecode2 = 0 ;
5452 PyObject * obj0 = 0 ;
5453 PyObject * obj1 = 0 ;
5454 char * kwnames[] = {
5455 (char *) "self",(char *) "iconize", NULL
5456 };
5457
5458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5460 if (!SWIG_IsOK(res1)) {
5461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5462 }
5463 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5464 if (obj1) {
5465 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5466 if (!SWIG_IsOK(ecode2)) {
5467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5468 }
5469 arg2 = static_cast< bool >(val2);
5470 }
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 (arg1)->Iconize(arg2);
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 resultobj = SWIG_Py_Void();
5478 return resultobj;
5479fail:
5480 return NULL;
d55e5bfc
RD
5481}
5482
5483
1bd55598
RD
5484SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5485 PyObject *resultobj = 0;
5486 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5487 bool result;
5488 void *argp1 = 0 ;
5489 int res1 = 0 ;
5490 PyObject *swig_obj[1] ;
5491
5492 if (!args) SWIG_fail;
5493 swig_obj[0] = args;
5494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5495 if (!SWIG_IsOK(res1)) {
5496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5497 }
5498 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 {
5506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5507 }
5508 return resultobj;
5509fail:
5510 return NULL;
d55e5bfc
RD
5511}
5512
5513
2131d850
RD
5514SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5515 PyObject *resultobj = 0;
5516 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5517 bool result;
5518 void *argp1 = 0 ;
5519 int res1 = 0 ;
5520 PyObject *swig_obj[1] ;
5521
5522 if (!args) SWIG_fail;
5523 swig_obj[0] = args;
5524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5525 if (!SWIG_IsOK(res1)) {
5526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5527 }
5528 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
5535 {
5536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5537 }
5538 return resultobj;
5539fail:
5540 return NULL;
5541}
5542
5543
1bd55598
RD
5544SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5545 PyObject *resultobj = 0;
5546 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5547 bool result;
5548 void *argp1 = 0 ;
5549 int res1 = 0 ;
5550 PyObject *swig_obj[1] ;
5551
5552 if (!args) SWIG_fail;
5553 swig_obj[0] = args;
5554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5555 if (!SWIG_IsOK(res1)) {
5556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5557 }
5558 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 {
5566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5567 }
5568 return resultobj;
5569fail:
5570 return NULL;
f5b96ee1
RD
5571}
5572
5573
1bd55598
RD
5574SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5575 PyObject *resultobj = 0;
5576 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5577 wxIcon result;
5578 void *argp1 = 0 ;
5579 int res1 = 0 ;
5580 PyObject *swig_obj[1] ;
5581
5582 if (!args) SWIG_fail;
5583 swig_obj[0] = args;
5584 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5585 if (!SWIG_IsOK(res1)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5587 }
5588 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
5591 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5596 return resultobj;
5597fail:
5598 return NULL;
5599}
5600
5601
5602SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj = 0;
5604 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5605 wxIcon *arg2 = 0 ;
5606 void *argp1 = 0 ;
5607 int res1 = 0 ;
5608 void *argp2 = 0 ;
5609 int res2 = 0 ;
5610 PyObject * obj0 = 0 ;
5611 PyObject * obj1 = 0 ;
5612 char * kwnames[] = {
5613 (char *) "self",(char *) "icon", NULL
5614 };
5615
5616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5618 if (!SWIG_IsOK(res1)) {
5619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5620 }
5621 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5622 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5623 if (!SWIG_IsOK(res2)) {
5624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5625 }
5626 if (!argp2) {
5627 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5628 }
5629 arg2 = reinterpret_cast< wxIcon * >(argp2);
5630 {
5631 PyThreadState* __tstate = wxPyBeginAllowThreads();
5632 (arg1)->SetIcon((wxIcon const &)*arg2);
5633 wxPyEndAllowThreads(__tstate);
5634 if (PyErr_Occurred()) SWIG_fail;
5635 }
5636 resultobj = SWIG_Py_Void();
5637 return resultobj;
5638fail:
5639 return NULL;
5640}
5641
5642
5643SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5644 PyObject *resultobj = 0;
5645 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5646 wxIconBundle *arg2 = 0 ;
5647 void *argp1 = 0 ;
5648 int res1 = 0 ;
5649 void *argp2 = 0 ;
5650 int res2 = 0 ;
5651 PyObject * obj0 = 0 ;
5652 PyObject * obj1 = 0 ;
5653 char * kwnames[] = {
5654 (char *) "self",(char *) "icons", NULL
5655 };
5656
5657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5659 if (!SWIG_IsOK(res1)) {
5660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5661 }
5662 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5663 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5664 if (!SWIG_IsOK(res2)) {
5665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5666 }
5667 if (!argp2) {
5668 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5669 }
5670 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5671 {
5672 PyThreadState* __tstate = wxPyBeginAllowThreads();
5673 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 resultobj = SWIG_Py_Void();
5678 return resultobj;
5679fail:
5680 return NULL;
5681}
5682
5683
5684SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj = 0;
5686 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5687 bool arg2 ;
5688 long arg3 = (long) wxFULLSCREEN_ALL ;
5689 bool result;
5690 void *argp1 = 0 ;
5691 int res1 = 0 ;
5692 bool val2 ;
5693 int ecode2 = 0 ;
5694 long val3 ;
5695 int ecode3 = 0 ;
5696 PyObject * obj0 = 0 ;
5697 PyObject * obj1 = 0 ;
5698 PyObject * obj2 = 0 ;
5699 char * kwnames[] = {
5700 (char *) "self",(char *) "show",(char *) "style", NULL
5701 };
5702
5703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5705 if (!SWIG_IsOK(res1)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5707 }
5708 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5709 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5710 if (!SWIG_IsOK(ecode2)) {
5711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5712 }
5713 arg2 = static_cast< bool >(val2);
5714 if (obj2) {
5715 ecode3 = SWIG_AsVal_long(obj2, &val3);
5716 if (!SWIG_IsOK(ecode3)) {
5717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5718 }
5719 arg3 = static_cast< long >(val3);
5720 }
5721 {
5722 PyThreadState* __tstate = wxPyBeginAllowThreads();
5723 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 {
5728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5729 }
5730 return resultobj;
5731fail:
5732 return NULL;
f20a2e1f
RD
5733}
5734
5735
1bd55598
RD
5736SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5737 PyObject *resultobj = 0;
5738 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5739 bool result;
5740 void *argp1 = 0 ;
5741 int res1 = 0 ;
5742 PyObject *swig_obj[1] ;
5743
5744 if (!args) SWIG_fail;
5745 swig_obj[0] = args;
5746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5747 if (!SWIG_IsOK(res1)) {
5748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5749 }
5750 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5751 {
5752 PyThreadState* __tstate = wxPyBeginAllowThreads();
5753 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5754 wxPyEndAllowThreads(__tstate);
5755 if (PyErr_Occurred()) SWIG_fail;
5756 }
5757 {
5758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5759 }
5760 return resultobj;
5761fail:
5762 return NULL;
5763}
5764
5765
5766SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5767 PyObject *resultobj = 0;
5768 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5769 wxString *arg2 = 0 ;
5770 void *argp1 = 0 ;
5771 int res1 = 0 ;
5772 bool temp2 = false ;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 char * kwnames[] = {
5776 (char *) "self",(char *) "title", NULL
5777 };
5778
5779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5781 if (!SWIG_IsOK(res1)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5783 }
5784 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5785 {
5786 arg2 = wxString_in_helper(obj1);
5787 if (arg2 == NULL) SWIG_fail;
5788 temp2 = true;
5789 }
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 (arg1)->SetTitle((wxString const &)*arg2);
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 resultobj = SWIG_Py_Void();
5797 {
5798 if (temp2)
5799 delete arg2;
5800 }
5801 return resultobj;
5802fail:
5803 {
5804 if (temp2)
5805 delete arg2;
5806 }
5807 return NULL;
d55e5bfc
RD
5808}
5809
5810
1bd55598
RD
5811SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5812 PyObject *resultobj = 0;
5813 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5814 wxString result;
5815 void *argp1 = 0 ;
5816 int res1 = 0 ;
5817 PyObject *swig_obj[1] ;
5818
5819 if (!args) SWIG_fail;
5820 swig_obj[0] = args;
5821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5822 if (!SWIG_IsOK(res1)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5824 }
5825 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5826 {
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5829 wxPyEndAllowThreads(__tstate);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 {
d55e5bfc 5833#if wxUSE_UNICODE
1bd55598 5834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
d55e5bfc 5835#else
1bd55598 5836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
d55e5bfc 5837#endif
1bd55598
RD
5838 }
5839 return resultobj;
5840fail:
5841 return NULL;
5842}
5843
5844
5845SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5846 PyObject *resultobj = 0;
5847 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5848 wxRegion *arg2 = 0 ;
5849 bool result;
5850 void *argp1 = 0 ;
5851 int res1 = 0 ;
5852 void *argp2 = 0 ;
5853 int res2 = 0 ;
5854 PyObject * obj0 = 0 ;
5855 PyObject * obj1 = 0 ;
5856 char * kwnames[] = {
5857 (char *) "self",(char *) "region", NULL
5858 };
5859
5860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5862 if (!SWIG_IsOK(res1)) {
5863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5864 }
5865 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5866 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5867 if (!SWIG_IsOK(res2)) {
5868 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5869 }
5870 if (!argp2) {
5871 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5872 }
5873 arg2 = reinterpret_cast< wxRegion * >(argp2);
5874 {
5875 PyThreadState* __tstate = wxPyBeginAllowThreads();
5876 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 {
5881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5882 }
5883 return resultobj;
5884fail:
5885 return NULL;
5886}
5887
5888
5889SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5890 PyObject *resultobj = 0;
5891 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5892 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5893 void *argp1 = 0 ;
5894 int res1 = 0 ;
5895 int val2 ;
5896 int ecode2 = 0 ;
5897 PyObject * obj0 = 0 ;
5898 PyObject * obj1 = 0 ;
5899 char * kwnames[] = {
5900 (char *) "self",(char *) "flags", NULL
5901 };
5902
5903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5905 if (!SWIG_IsOK(res1)) {
5906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5907 }
5908 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5909 if (obj1) {
5910 ecode2 = SWIG_AsVal_int(obj1, &val2);
5911 if (!SWIG_IsOK(ecode2)) {
5912 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5913 }
5914 arg2 = static_cast< int >(val2);
5915 }
5916 {
5917 PyThreadState* __tstate = wxPyBeginAllowThreads();
5918 (arg1)->RequestUserAttention(arg2);
5919 wxPyEndAllowThreads(__tstate);
5920 if (PyErr_Occurred()) SWIG_fail;
5921 }
5922 resultobj = SWIG_Py_Void();
5923 return resultobj;
5924fail:
5925 return NULL;
d55e5bfc
RD
5926}
5927
5928
1bd55598
RD
5929SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5930 PyObject *resultobj = 0;
5931 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5932 bool result;
5933 void *argp1 = 0 ;
5934 int res1 = 0 ;
5935 PyObject *swig_obj[1] ;
5936
5937 if (!args) SWIG_fail;
5938 swig_obj[0] = args;
5939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5940 if (!SWIG_IsOK(res1)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5942 }
5943 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 result = (bool)(arg1)->IsActive();
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 {
5951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5952 }
5953 return resultobj;
5954fail:
5955 return NULL;
5956}
5957
5958
5959SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj = 0;
5961 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5962 bool arg2 ;
5963 void *argp1 = 0 ;
5964 int res1 = 0 ;
5965 bool val2 ;
5966 int ecode2 = 0 ;
5967 PyObject * obj0 = 0 ;
5968 PyObject * obj1 = 0 ;
5969 char * kwnames[] = {
5970 (char *) "self",(char *) "on", NULL
5971 };
5972
5973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5975 if (!SWIG_IsOK(res1)) {
5976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5977 }
5978 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5979 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5980 if (!SWIG_IsOK(ecode2)) {
5981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5982 }
5983 arg2 = static_cast< bool >(val2);
5984 {
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 resultobj = SWIG_Py_Void();
5991 return resultobj;
5992fail:
5993 return NULL;
d55e5bfc
RD
5994}
5995
5996
1bd55598
RD
5997SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5998 PyObject *resultobj = 0;
5999 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6000 bool result;
6001 void *argp1 = 0 ;
6002 int res1 = 0 ;
6003 PyObject *swig_obj[1] ;
6004
6005 if (!args) SWIG_fail;
6006 swig_obj[0] = args;
6007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6008 if (!SWIG_IsOK(res1)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6010 }
6011 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6012 {
6013 PyThreadState* __tstate = wxPyBeginAllowThreads();
6014 result = (bool)((wxTopLevelWindow const *)arg1)->MacGetMetalAppearance();
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
6018 {
6019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6020 }
6021 return resultobj;
6022fail:
6023 return NULL;
6024}
6025
6026
6027SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj = 0;
6029 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6030 int arg2 = (int) wxBOTH ;
6031 void *argp1 = 0 ;
6032 int res1 = 0 ;
6033 int val2 ;
6034 int ecode2 = 0 ;
6035 PyObject * obj0 = 0 ;
6036 PyObject * obj1 = 0 ;
6037 char * kwnames[] = {
6038 (char *) "self",(char *) "dir", NULL
6039 };
6040
6041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6043 if (!SWIG_IsOK(res1)) {
6044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6045 }
6046 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6047 if (obj1) {
6048 ecode2 = SWIG_AsVal_int(obj1, &val2);
6049 if (!SWIG_IsOK(ecode2)) {
6050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6051 }
6052 arg2 = static_cast< int >(val2);
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 (arg1)->CenterOnScreen(arg2);
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 resultobj = SWIG_Py_Void();
6061 return resultobj;
6062fail:
6063 return NULL;
6064}
6065
6066
10044bf1
RD
6067SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6068 PyObject *resultobj = 0;
6069 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6070 bool arg2 = (bool) true ;
6071 bool result;
6072 void *argp1 = 0 ;
6073 int res1 = 0 ;
6074 bool val2 ;
6075 int ecode2 = 0 ;
6076 PyObject * obj0 = 0 ;
6077 PyObject * obj1 = 0 ;
6078 char * kwnames[] = {
6079 (char *) "self",(char *) "enable", NULL
6080 };
6081
6082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6084 if (!SWIG_IsOK(res1)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6086 }
6087 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6088 if (obj1) {
6089 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6090 if (!SWIG_IsOK(ecode2)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6092 }
6093 arg2 = static_cast< bool >(val2);
6094 }
6095 {
6096 PyThreadState* __tstate = wxPyBeginAllowThreads();
6097 result = (bool)wxTopLevelWindow_EnableCloseButton(arg1,arg2);
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 {
6102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6103 }
6104 return resultobj;
6105fail:
6106 return NULL;
6107}
6108
6109
6110SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6111 PyObject *resultobj = 0;
6112 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6113 byte arg2 ;
6114 bool result;
6115 void *argp1 = 0 ;
6116 int res1 = 0 ;
6117 unsigned char val2 ;
6118 int ecode2 = 0 ;
6119 PyObject * obj0 = 0 ;
6120 PyObject * obj1 = 0 ;
6121 char * kwnames[] = {
6122 (char *) "self",(char *) "alpha", NULL
6123 };
6124
6125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTransparent",kwnames,&obj0,&obj1)) SWIG_fail;
6126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6127 if (!SWIG_IsOK(res1)) {
6128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6129 }
6130 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6131 ecode2 = SWIG_AsVal_unsigned_SS_char(obj1, &val2);
6132 if (!SWIG_IsOK(ecode2)) {
6133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6134 }
6135 arg2 = static_cast< byte >(val2);
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 result = (bool)(arg1)->SetTransparent(arg2);
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 {
6143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6144 }
6145 return resultobj;
6146fail:
6147 return NULL;
6148}
6149
6150
6151SWIGINTERN PyObject *_wrap_TopLevelWindow_CanSetTransparent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6152 PyObject *resultobj = 0;
6153 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6154 bool result;
6155 void *argp1 = 0 ;
6156 int res1 = 0 ;
6157 PyObject *swig_obj[1] ;
6158
6159 if (!args) SWIG_fail;
6160 swig_obj[0] = args;
6161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6162 if (!SWIG_IsOK(res1)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6164 }
6165 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 result = (bool)(arg1)->CanSetTransparent();
6169 wxPyEndAllowThreads(__tstate);
6170 if (PyErr_Occurred()) SWIG_fail;
6171 }
6172 {
6173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6174 }
6175 return resultobj;
6176fail:
6177 return NULL;
6178}
6179
6180
1eeb270e
RD
6181SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6182 PyObject *resultobj = 0;
6183 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6184 wxWindow *result = 0 ;
6185 void *argp1 = 0 ;
6186 int res1 = 0 ;
6187 PyObject *swig_obj[1] ;
6188
6189 if (!args) SWIG_fail;
6190 swig_obj[0] = args;
6191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6192 if (!SWIG_IsOK(res1)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6194 }
6195 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 {
6203 resultobj = wxPyMake_wxObject(result, 0);
6204 }
6205 return resultobj;
6206fail:
6207 return NULL;
6208}
6209
6210
6211SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj = 0;
6213 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6214 wxWindow *arg2 = (wxWindow *) 0 ;
6215 wxWindow *result = 0 ;
6216 void *argp1 = 0 ;
6217 int res1 = 0 ;
6218 void *argp2 = 0 ;
6219 int res2 = 0 ;
6220 PyObject * obj0 = 0 ;
6221 PyObject * obj1 = 0 ;
6222 char * kwnames[] = {
6223 (char *) "self",(char *) "child", NULL
6224 };
6225
6226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6228 if (!SWIG_IsOK(res1)) {
6229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6230 }
6231 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6232 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6233 if (!SWIG_IsOK(res2)) {
6234 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6235 }
6236 arg2 = reinterpret_cast< wxWindow * >(argp2);
6237 {
6238 PyThreadState* __tstate = wxPyBeginAllowThreads();
6239 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 {
6244 resultobj = wxPyMake_wxObject(result, 0);
6245 }
6246 return resultobj;
6247fail:
6248 return NULL;
6249}
6250
6251
6252SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj = 0;
6254 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6255 wxWindow *arg2 = (wxWindow *) 0 ;
6256 void *argp1 = 0 ;
6257 int res1 = 0 ;
6258 void *argp2 = 0 ;
6259 int res2 = 0 ;
6260 PyObject * obj0 = 0 ;
6261 PyObject * obj1 = 0 ;
6262 char * kwnames[] = {
6263 (char *) "self",(char *) "win", NULL
6264 };
6265
6266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6268 if (!SWIG_IsOK(res1)) {
6269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6270 }
6271 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6272 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6273 if (!SWIG_IsOK(res2)) {
6274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6275 }
6276 arg2 = reinterpret_cast< wxWindow * >(argp2);
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 (arg1)->SetTmpDefaultItem(arg2);
6280 wxPyEndAllowThreads(__tstate);
6281 if (PyErr_Occurred()) SWIG_fail;
6282 }
6283 resultobj = SWIG_Py_Void();
6284 return resultobj;
6285fail:
6286 return NULL;
6287}
6288
6289
6290SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6291 PyObject *resultobj = 0;
6292 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6293 wxWindow *result = 0 ;
6294 void *argp1 = 0 ;
6295 int res1 = 0 ;
6296 PyObject *swig_obj[1] ;
6297
6298 if (!args) SWIG_fail;
6299 swig_obj[0] = args;
6300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6301 if (!SWIG_IsOK(res1)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6303 }
6304 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6308 wxPyEndAllowThreads(__tstate);
6309 if (PyErr_Occurred()) SWIG_fail;
6310 }
6311 {
6312 resultobj = wxPyMake_wxObject(result, 0);
6313 }
6314 return resultobj;
6315fail:
6316 return NULL;
6317}
6318
6319
1bd55598
RD
6320SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6321 PyObject *obj;
6322 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6323 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6324 return SWIG_Py_Void();
6325}
6326
6327SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6328 PyObject *resultobj = 0;
6329 wxWindow *arg1 = (wxWindow *) 0 ;
6330 int arg2 = (int) (int)-1 ;
6331 wxString const &arg3_defvalue = wxPyEmptyString ;
6332 wxString *arg3 = (wxString *) &arg3_defvalue ;
6333 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6334 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6335 wxSize const &arg5_defvalue = wxDefaultSize ;
6336 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6337 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6338 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6339 wxString *arg7 = (wxString *) &arg7_defvalue ;
6340 wxFrame *result = 0 ;
6341 void *argp1 = 0 ;
6342 int res1 = 0 ;
6343 int val2 ;
6344 int ecode2 = 0 ;
6345 bool temp3 = false ;
6346 wxPoint temp4 ;
6347 wxSize temp5 ;
6348 long val6 ;
6349 int ecode6 = 0 ;
6350 bool temp7 = false ;
6351 PyObject * obj0 = 0 ;
6352 PyObject * obj1 = 0 ;
6353 PyObject * obj2 = 0 ;
6354 PyObject * obj3 = 0 ;
6355 PyObject * obj4 = 0 ;
6356 PyObject * obj5 = 0 ;
6357 PyObject * obj6 = 0 ;
6358 char * kwnames[] = {
6359 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6360 };
6361
6362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6364 if (!SWIG_IsOK(res1)) {
6365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6366 }
6367 arg1 = reinterpret_cast< wxWindow * >(argp1);
6368 if (obj1) {
6369 ecode2 = SWIG_AsVal_int(obj1, &val2);
6370 if (!SWIG_IsOK(ecode2)) {
6371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6372 }
6373 arg2 = static_cast< int >(val2);
6374 }
6375 if (obj2) {
d55e5bfc 6376 {
1bd55598
RD
6377 arg3 = wxString_in_helper(obj2);
6378 if (arg3 == NULL) SWIG_fail;
6379 temp3 = true;
d55e5bfc 6380 }
1bd55598
RD
6381 }
6382 if (obj3) {
d55e5bfc 6383 {
1bd55598
RD
6384 arg4 = &temp4;
6385 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 6386 }
1bd55598
RD
6387 }
6388 if (obj4) {
d55e5bfc 6389 {
1bd55598
RD
6390 arg5 = &temp5;
6391 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 6392 }
1bd55598
RD
6393 }
6394 if (obj5) {
6395 ecode6 = SWIG_AsVal_long(obj5, &val6);
6396 if (!SWIG_IsOK(ecode6)) {
6397 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6398 }
6399 arg6 = static_cast< long >(val6);
6400 }
6401 if (obj6) {
d55e5bfc 6402 {
1bd55598
RD
6403 arg7 = wxString_in_helper(obj6);
6404 if (arg7 == NULL) SWIG_fail;
6405 temp7 = true;
6406 }
6407 }
6408 {
6409 if (!wxPyCheckForApp()) SWIG_fail;
6410 PyThreadState* __tstate = wxPyBeginAllowThreads();
6411 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
6415 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6416 {
6417 if (temp3)
6418 delete arg3;
6419 }
6420 {
6421 if (temp7)
6422 delete arg7;
6423 }
6424 return resultobj;
6425fail:
6426 {
6427 if (temp3)
6428 delete arg3;
6429 }
6430 {
6431 if (temp7)
6432 delete arg7;
6433 }
6434 return NULL;
d55e5bfc
RD
6435}
6436
6437
1bd55598
RD
6438SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6439 PyObject *resultobj = 0;
6440 wxFrame *result = 0 ;
6441
6442 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6443 {
6444 if (!wxPyCheckForApp()) SWIG_fail;
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 result = (wxFrame *)new wxFrame();
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6451 return resultobj;
6452fail:
6453 return NULL;
6454}
6455
6456
6457SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6458 PyObject *resultobj = 0;
6459 wxFrame *arg1 = (wxFrame *) 0 ;
6460 wxWindow *arg2 = (wxWindow *) 0 ;
6461 int arg3 = (int) (int)-1 ;
6462 wxString const &arg4_defvalue = wxPyEmptyString ;
6463 wxString *arg4 = (wxString *) &arg4_defvalue ;
6464 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6465 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6466 wxSize const &arg6_defvalue = wxDefaultSize ;
6467 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6468 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6469 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6470 wxString *arg8 = (wxString *) &arg8_defvalue ;
6471 bool result;
6472 void *argp1 = 0 ;
6473 int res1 = 0 ;
6474 void *argp2 = 0 ;
6475 int res2 = 0 ;
6476 int val3 ;
6477 int ecode3 = 0 ;
6478 bool temp4 = false ;
6479 wxPoint temp5 ;
6480 wxSize temp6 ;
6481 long val7 ;
6482 int ecode7 = 0 ;
6483 bool temp8 = false ;
6484 PyObject * obj0 = 0 ;
6485 PyObject * obj1 = 0 ;
6486 PyObject * obj2 = 0 ;
6487 PyObject * obj3 = 0 ;
6488 PyObject * obj4 = 0 ;
6489 PyObject * obj5 = 0 ;
6490 PyObject * obj6 = 0 ;
6491 PyObject * obj7 = 0 ;
6492 char * kwnames[] = {
6493 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6494 };
6495
6496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6498 if (!SWIG_IsOK(res1)) {
6499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6500 }
6501 arg1 = reinterpret_cast< wxFrame * >(argp1);
6502 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6503 if (!SWIG_IsOK(res2)) {
6504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6505 }
6506 arg2 = reinterpret_cast< wxWindow * >(argp2);
6507 if (obj2) {
6508 ecode3 = SWIG_AsVal_int(obj2, &val3);
6509 if (!SWIG_IsOK(ecode3)) {
6510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6511 }
6512 arg3 = static_cast< int >(val3);
6513 }
6514 if (obj3) {
d55e5bfc 6515 {
1bd55598
RD
6516 arg4 = wxString_in_helper(obj3);
6517 if (arg4 == NULL) SWIG_fail;
6518 temp4 = true;
d55e5bfc 6519 }
1bd55598
RD
6520 }
6521 if (obj4) {
d55e5bfc 6522 {
1bd55598
RD
6523 arg5 = &temp5;
6524 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6525 }
6526 }
6527 if (obj5) {
d55e5bfc 6528 {
1bd55598
RD
6529 arg6 = &temp6;
6530 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 6531 }
1bd55598
RD
6532 }
6533 if (obj6) {
6534 ecode7 = SWIG_AsVal_long(obj6, &val7);
6535 if (!SWIG_IsOK(ecode7)) {
6536 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6537 }
6538 arg7 = static_cast< long >(val7);
6539 }
6540 if (obj7) {
d55e5bfc 6541 {
1bd55598
RD
6542 arg8 = wxString_in_helper(obj7);
6543 if (arg8 == NULL) SWIG_fail;
6544 temp8 = true;
d55e5bfc 6545 }
1bd55598
RD
6546 }
6547 {
6548 PyThreadState* __tstate = wxPyBeginAllowThreads();
6549 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 {
6554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6555 }
6556 {
6557 if (temp4)
6558 delete arg4;
6559 }
6560 {
6561 if (temp8)
6562 delete arg8;
6563 }
6564 return resultobj;
6565fail:
6566 {
6567 if (temp4)
6568 delete arg4;
6569 }
6570 {
6571 if (temp8)
6572 delete arg8;
6573 }
6574 return NULL;
d55e5bfc
RD
6575}
6576
6577
1bd55598
RD
6578SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6579 PyObject *resultobj = 0;
6580 wxFrame *arg1 = (wxFrame *) 0 ;
6581 void *argp1 = 0 ;
6582 int res1 = 0 ;
6583 PyObject *swig_obj[1] ;
6584
6585 if (!args) SWIG_fail;
6586 swig_obj[0] = args;
6587 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6588 if (!SWIG_IsOK(res1)) {
6589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6590 }
6591 arg1 = reinterpret_cast< wxFrame * >(argp1);
6592 {
6593 PyThreadState* __tstate = wxPyBeginAllowThreads();
6594 (arg1)->SendSizeEvent();
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 resultobj = SWIG_Py_Void();
6599 return resultobj;
6600fail:
6601 return NULL;
6602}
6603
6604
6605SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6606 PyObject *resultobj = 0;
6607 wxFrame *arg1 = (wxFrame *) 0 ;
6608 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6609 void *argp1 = 0 ;
6610 int res1 = 0 ;
6611 void *argp2 = 0 ;
6612 int res2 = 0 ;
6613 PyObject * obj0 = 0 ;
6614 PyObject * obj1 = 0 ;
6615 char * kwnames[] = {
6616 (char *) "self",(char *) "menubar", NULL
6617 };
6618
6619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6621 if (!SWIG_IsOK(res1)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6623 }
6624 arg1 = reinterpret_cast< wxFrame * >(argp1);
6625 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6626 if (!SWIG_IsOK(res2)) {
6627 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6628 }
6629 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 (arg1)->SetMenuBar(arg2);
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 resultobj = SWIG_Py_Void();
6637 return resultobj;
6638fail:
6639 return NULL;
d55e5bfc
RD
6640}
6641
6642
1bd55598
RD
6643SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6644 PyObject *resultobj = 0;
6645 wxFrame *arg1 = (wxFrame *) 0 ;
6646 wxMenuBar *result = 0 ;
6647 void *argp1 = 0 ;
6648 int res1 = 0 ;
6649 PyObject *swig_obj[1] ;
6650
6651 if (!args) SWIG_fail;
6652 swig_obj[0] = args;
6653 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6654 if (!SWIG_IsOK(res1)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6656 }
6657 arg1 = reinterpret_cast< wxFrame * >(argp1);
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6661 wxPyEndAllowThreads(__tstate);
6662 if (PyErr_Occurred()) SWIG_fail;
6663 }
6664 {
6665 resultobj = wxPyMake_wxObject(result, 0);
6666 }
6667 return resultobj;
6668fail:
6669 return NULL;
6670}
6671
6672
6673SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6674 PyObject *resultobj = 0;
6675 wxFrame *arg1 = (wxFrame *) 0 ;
6676 int arg2 ;
6677 bool result;
6678 void *argp1 = 0 ;
6679 int res1 = 0 ;
6680 int val2 ;
6681 int ecode2 = 0 ;
6682 PyObject * obj0 = 0 ;
6683 PyObject * obj1 = 0 ;
6684 char * kwnames[] = {
6685 (char *) "self",(char *) "winid", NULL
6686 };
6687
6688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6690 if (!SWIG_IsOK(res1)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6692 }
6693 arg1 = reinterpret_cast< wxFrame * >(argp1);
6694 ecode2 = SWIG_AsVal_int(obj1, &val2);
6695 if (!SWIG_IsOK(ecode2)) {
6696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6697 }
6698 arg2 = static_cast< int >(val2);
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (bool)(arg1)->ProcessCommand(arg2);
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 {
6706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6707 }
6708 return resultobj;
6709fail:
6710 return NULL;
6711}
6712
6713
6714SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6715 PyObject *resultobj = 0;
6716 wxFrame *arg1 = (wxFrame *) 0 ;
6717 int arg2 = (int) 1 ;
6718 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6719 int arg4 = (int) 0 ;
6720 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6721 wxString *arg5 = (wxString *) &arg5_defvalue ;
6722 wxStatusBar *result = 0 ;
6723 void *argp1 = 0 ;
6724 int res1 = 0 ;
6725 int val2 ;
6726 int ecode2 = 0 ;
6727 long val3 ;
6728 int ecode3 = 0 ;
6729 int val4 ;
6730 int ecode4 = 0 ;
6731 bool temp5 = false ;
6732 PyObject * obj0 = 0 ;
6733 PyObject * obj1 = 0 ;
6734 PyObject * obj2 = 0 ;
6735 PyObject * obj3 = 0 ;
6736 PyObject * obj4 = 0 ;
6737 char * kwnames[] = {
6738 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6739 };
6740
6741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6743 if (!SWIG_IsOK(res1)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6745 }
6746 arg1 = reinterpret_cast< wxFrame * >(argp1);
6747 if (obj1) {
6748 ecode2 = SWIG_AsVal_int(obj1, &val2);
6749 if (!SWIG_IsOK(ecode2)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6751 }
6752 arg2 = static_cast< int >(val2);
6753 }
6754 if (obj2) {
6755 ecode3 = SWIG_AsVal_long(obj2, &val3);
6756 if (!SWIG_IsOK(ecode3)) {
6757 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6758 }
6759 arg3 = static_cast< long >(val3);
6760 }
6761 if (obj3) {
6762 ecode4 = SWIG_AsVal_int(obj3, &val4);
6763 if (!SWIG_IsOK(ecode4)) {
6764 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6765 }
6766 arg4 = static_cast< int >(val4);
6767 }
6768 if (obj4) {
d55e5bfc 6769 {
1bd55598
RD
6770 arg5 = wxString_in_helper(obj4);
6771 if (arg5 == NULL) SWIG_fail;
6772 temp5 = true;
d55e5bfc 6773 }
1bd55598
RD
6774 }
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 {
6782 resultobj = wxPyMake_wxObject(result, (bool)0);
6783 }
6784 {
6785 if (temp5)
6786 delete arg5;
6787 }
6788 return resultobj;
6789fail:
6790 {
6791 if (temp5)
6792 delete arg5;
6793 }
6794 return NULL;
d55e5bfc
RD
6795}
6796
6797
1bd55598
RD
6798SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6799 PyObject *resultobj = 0;
6800 wxFrame *arg1 = (wxFrame *) 0 ;
6801 wxStatusBar *result = 0 ;
6802 void *argp1 = 0 ;
6803 int res1 = 0 ;
6804 PyObject *swig_obj[1] ;
6805
6806 if (!args) SWIG_fail;
6807 swig_obj[0] = args;
6808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6809 if (!SWIG_IsOK(res1)) {
6810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6811 }
6812 arg1 = reinterpret_cast< wxFrame * >(argp1);
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 {
6820 resultobj = wxPyMake_wxObject(result, (bool)0);
6821 }
6822 return resultobj;
6823fail:
6824 return NULL;
6825}
6826
6827
6828SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6829 PyObject *resultobj = 0;
6830 wxFrame *arg1 = (wxFrame *) 0 ;
6831 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6832 void *argp1 = 0 ;
6833 int res1 = 0 ;
6834 void *argp2 = 0 ;
6835 int res2 = 0 ;
6836 PyObject * obj0 = 0 ;
6837 PyObject * obj1 = 0 ;
6838 char * kwnames[] = {
6839 (char *) "self",(char *) "statBar", NULL
6840 };
6841
6842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6844 if (!SWIG_IsOK(res1)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6846 }
6847 arg1 = reinterpret_cast< wxFrame * >(argp1);
6848 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6849 if (!SWIG_IsOK(res2)) {
6850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6851 }
6852 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6853 {
6854 PyThreadState* __tstate = wxPyBeginAllowThreads();
6855 (arg1)->SetStatusBar(arg2);
6856 wxPyEndAllowThreads(__tstate);
6857 if (PyErr_Occurred()) SWIG_fail;
6858 }
6859 resultobj = SWIG_Py_Void();
6860 return resultobj;
6861fail:
6862 return NULL;
6863}
6864
6865
6866SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6867 PyObject *resultobj = 0;
6868 wxFrame *arg1 = (wxFrame *) 0 ;
6869 wxString *arg2 = 0 ;
6870 int arg3 = (int) 0 ;
6871 void *argp1 = 0 ;
6872 int res1 = 0 ;
6873 bool temp2 = false ;
6874 int val3 ;
6875 int ecode3 = 0 ;
6876 PyObject * obj0 = 0 ;
6877 PyObject * obj1 = 0 ;
6878 PyObject * obj2 = 0 ;
6879 char * kwnames[] = {
6880 (char *) "self",(char *) "text",(char *) "number", NULL
6881 };
6882
6883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6885 if (!SWIG_IsOK(res1)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6887 }
6888 arg1 = reinterpret_cast< wxFrame * >(argp1);
6889 {
6890 arg2 = wxString_in_helper(obj1);
6891 if (arg2 == NULL) SWIG_fail;
6892 temp2 = true;
6893 }
6894 if (obj2) {
6895 ecode3 = SWIG_AsVal_int(obj2, &val3);
6896 if (!SWIG_IsOK(ecode3)) {
6897 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6898 }
6899 arg3 = static_cast< int >(val3);
6900 }
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 resultobj = SWIG_Py_Void();
6908 {
6909 if (temp2)
6910 delete arg2;
6911 }
6912 return resultobj;
6913fail:
6914 {
6915 if (temp2)
6916 delete arg2;
6917 }
6918 return NULL;
d55e5bfc
RD
6919}
6920
6921
1bd55598
RD
6922SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6923 PyObject *resultobj = 0;
6924 wxFrame *arg1 = (wxFrame *) 0 ;
6925 int arg2 ;
6926 int *arg3 = (int *) 0 ;
6927 void *argp1 = 0 ;
6928 int res1 = 0 ;
6929 PyObject * obj0 = 0 ;
6930 PyObject * obj1 = 0 ;
6931 char * kwnames[] = {
6932 (char *) "self",(char *) "widths", NULL
6933 };
6934
6935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6937 if (!SWIG_IsOK(res1)) {
6938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6939 }
6940 arg1 = reinterpret_cast< wxFrame * >(argp1);
6941 {
6942 arg2 = PyList_Size(obj1);
6943 arg3 = int_LIST_helper(obj1);
6944 if (arg3 == NULL) SWIG_fail;
6945 }
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 resultobj = SWIG_Py_Void();
6953 {
6954 if (arg3) delete [] arg3;
6955 }
6956 return resultobj;
6957fail:
6958 {
6959 if (arg3) delete [] arg3;
6960 }
6961 return NULL;
6962}
6963
6964
6965SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj = 0;
6967 wxFrame *arg1 = (wxFrame *) 0 ;
6968 wxString *arg2 = 0 ;
6969 int arg3 = (int) 0 ;
6970 void *argp1 = 0 ;
6971 int res1 = 0 ;
6972 bool temp2 = false ;
6973 int val3 ;
6974 int ecode3 = 0 ;
6975 PyObject * obj0 = 0 ;
6976 PyObject * obj1 = 0 ;
6977 PyObject * obj2 = 0 ;
6978 char * kwnames[] = {
6979 (char *) "self",(char *) "text",(char *) "number", NULL
6980 };
6981
6982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6984 if (!SWIG_IsOK(res1)) {
6985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6986 }
6987 arg1 = reinterpret_cast< wxFrame * >(argp1);
6988 {
6989 arg2 = wxString_in_helper(obj1);
6990 if (arg2 == NULL) SWIG_fail;
6991 temp2 = true;
6992 }
6993 if (obj2) {
6994 ecode3 = SWIG_AsVal_int(obj2, &val3);
6995 if (!SWIG_IsOK(ecode3)) {
6996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6997 }
6998 arg3 = static_cast< int >(val3);
6999 }
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 resultobj = SWIG_Py_Void();
7007 {
7008 if (temp2)
7009 delete arg2;
7010 }
7011 return resultobj;
7012fail:
7013 {
7014 if (temp2)
7015 delete arg2;
7016 }
7017 return NULL;
7018}
7019
7020
7021SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj = 0;
7023 wxFrame *arg1 = (wxFrame *) 0 ;
7024 int arg2 = (int) 0 ;
7025 void *argp1 = 0 ;
7026 int res1 = 0 ;
7027 int val2 ;
7028 int ecode2 = 0 ;
7029 PyObject * obj0 = 0 ;
7030 PyObject * obj1 = 0 ;
7031 char * kwnames[] = {
7032 (char *) "self",(char *) "number", NULL
7033 };
7034
7035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
7036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7037 if (!SWIG_IsOK(res1)) {
7038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7039 }
7040 arg1 = reinterpret_cast< wxFrame * >(argp1);
7041 if (obj1) {
7042 ecode2 = SWIG_AsVal_int(obj1, &val2);
7043 if (!SWIG_IsOK(ecode2)) {
7044 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7045 }
7046 arg2 = static_cast< int >(val2);
7047 }
7048 {
7049 PyThreadState* __tstate = wxPyBeginAllowThreads();
7050 (arg1)->PopStatusText(arg2);
7051 wxPyEndAllowThreads(__tstate);
7052 if (PyErr_Occurred()) SWIG_fail;
7053 }
7054 resultobj = SWIG_Py_Void();
7055 return resultobj;
7056fail:
7057 return NULL;
7058}
7059
7060
7061SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7062 PyObject *resultobj = 0;
7063 wxFrame *arg1 = (wxFrame *) 0 ;
7064 int arg2 ;
7065 void *argp1 = 0 ;
7066 int res1 = 0 ;
7067 int val2 ;
7068 int ecode2 = 0 ;
7069 PyObject * obj0 = 0 ;
7070 PyObject * obj1 = 0 ;
7071 char * kwnames[] = {
7072 (char *) "self",(char *) "n", NULL
7073 };
7074
7075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7077 if (!SWIG_IsOK(res1)) {
7078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7079 }
7080 arg1 = reinterpret_cast< wxFrame * >(argp1);
7081 ecode2 = SWIG_AsVal_int(obj1, &val2);
7082 if (!SWIG_IsOK(ecode2)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7084 }
7085 arg2 = static_cast< int >(val2);
7086 {
7087 PyThreadState* __tstate = wxPyBeginAllowThreads();
7088 (arg1)->SetStatusBarPane(arg2);
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 resultobj = SWIG_Py_Void();
7093 return resultobj;
7094fail:
7095 return NULL;
d55e5bfc
RD
7096}
7097
7098
1bd55598
RD
7099SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7100 PyObject *resultobj = 0;
7101 wxFrame *arg1 = (wxFrame *) 0 ;
7102 int result;
7103 void *argp1 = 0 ;
7104 int res1 = 0 ;
7105 PyObject *swig_obj[1] ;
7106
7107 if (!args) SWIG_fail;
7108 swig_obj[0] = args;
7109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7110 if (!SWIG_IsOK(res1)) {
7111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7112 }
7113 arg1 = reinterpret_cast< wxFrame * >(argp1);
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 resultobj = SWIG_From_int(static_cast< int >(result));
7121 return resultobj;
7122fail:
7123 return NULL;
7124}
7125
7126
7127SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj = 0;
7129 wxFrame *arg1 = (wxFrame *) 0 ;
7130 long arg2 = (long) -1 ;
7131 int arg3 = (int) -1 ;
7132 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7133 wxString *arg4 = (wxString *) &arg4_defvalue ;
7134 wxToolBar *result = 0 ;
7135 void *argp1 = 0 ;
7136 int res1 = 0 ;
7137 long val2 ;
7138 int ecode2 = 0 ;
7139 int val3 ;
7140 int ecode3 = 0 ;
7141 bool temp4 = false ;
7142 PyObject * obj0 = 0 ;
7143 PyObject * obj1 = 0 ;
7144 PyObject * obj2 = 0 ;
7145 PyObject * obj3 = 0 ;
7146 char * kwnames[] = {
7147 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7148 };
7149
7150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7152 if (!SWIG_IsOK(res1)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7154 }
7155 arg1 = reinterpret_cast< wxFrame * >(argp1);
7156 if (obj1) {
7157 ecode2 = SWIG_AsVal_long(obj1, &val2);
7158 if (!SWIG_IsOK(ecode2)) {
7159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7160 }
7161 arg2 = static_cast< long >(val2);
7162 }
7163 if (obj2) {
7164 ecode3 = SWIG_AsVal_int(obj2, &val3);
7165 if (!SWIG_IsOK(ecode3)) {
7166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7167 }
7168 arg3 = static_cast< int >(val3);
7169 }
7170 if (obj3) {
d55e5bfc 7171 {
1bd55598
RD
7172 arg4 = wxString_in_helper(obj3);
7173 if (arg4 == NULL) SWIG_fail;
7174 temp4 = true;
d55e5bfc 7175 }
1bd55598
RD
7176 }
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 {
7184 resultobj = wxPyMake_wxObject(result, (bool)0);
7185 }
7186 {
7187 if (temp4)
7188 delete arg4;
7189 }
7190 return resultobj;
7191fail:
7192 {
7193 if (temp4)
7194 delete arg4;
7195 }
7196 return NULL;
d55e5bfc
RD
7197}
7198
7199
1bd55598
RD
7200SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7201 PyObject *resultobj = 0;
7202 wxFrame *arg1 = (wxFrame *) 0 ;
7203 wxToolBar *result = 0 ;
7204 void *argp1 = 0 ;
7205 int res1 = 0 ;
7206 PyObject *swig_obj[1] ;
7207
7208 if (!args) SWIG_fail;
7209 swig_obj[0] = args;
7210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7211 if (!SWIG_IsOK(res1)) {
7212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7213 }
7214 arg1 = reinterpret_cast< wxFrame * >(argp1);
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7218 wxPyEndAllowThreads(__tstate);
7219 if (PyErr_Occurred()) SWIG_fail;
7220 }
7221 {
7222 resultobj = wxPyMake_wxObject(result, (bool)0);
7223 }
7224 return resultobj;
7225fail:
7226 return NULL;
7227}
7228
7229
7230SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7231 PyObject *resultobj = 0;
7232 wxFrame *arg1 = (wxFrame *) 0 ;
7233 wxToolBar *arg2 = (wxToolBar *) 0 ;
7234 void *argp1 = 0 ;
7235 int res1 = 0 ;
7236 void *argp2 = 0 ;
7237 int res2 = 0 ;
7238 PyObject * obj0 = 0 ;
7239 PyObject * obj1 = 0 ;
7240 char * kwnames[] = {
7241 (char *) "self",(char *) "toolbar", NULL
7242 };
7243
7244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7246 if (!SWIG_IsOK(res1)) {
7247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7248 }
7249 arg1 = reinterpret_cast< wxFrame * >(argp1);
7250 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7251 if (!SWIG_IsOK(res2)) {
7252 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7253 }
7254 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7255 {
7256 PyThreadState* __tstate = wxPyBeginAllowThreads();
7257 (arg1)->SetToolBar(arg2);
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 resultobj = SWIG_Py_Void();
7262 return resultobj;
7263fail:
7264 return NULL;
7265}
7266
7267
7268SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7269 PyObject *resultobj = 0;
7270 wxFrame *arg1 = (wxFrame *) 0 ;
7271 wxString *arg2 = 0 ;
7272 bool arg3 ;
7273 void *argp1 = 0 ;
7274 int res1 = 0 ;
7275 bool temp2 = false ;
7276 bool val3 ;
7277 int ecode3 = 0 ;
7278 PyObject * obj0 = 0 ;
7279 PyObject * obj1 = 0 ;
7280 PyObject * obj2 = 0 ;
7281 char * kwnames[] = {
7282 (char *) "self",(char *) "text",(char *) "show", NULL
7283 };
7284
7285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7287 if (!SWIG_IsOK(res1)) {
7288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7289 }
7290 arg1 = reinterpret_cast< wxFrame * >(argp1);
7291 {
7292 arg2 = wxString_in_helper(obj1);
7293 if (arg2 == NULL) SWIG_fail;
7294 temp2 = true;
7295 }
7296 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7297 if (!SWIG_IsOK(ecode3)) {
7298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7299 }
7300 arg3 = static_cast< bool >(val3);
7301 {
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7304 wxPyEndAllowThreads(__tstate);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
7307 resultobj = SWIG_Py_Void();
7308 {
7309 if (temp2)
7310 delete arg2;
7311 }
7312 return resultobj;
7313fail:
7314 {
7315 if (temp2)
7316 delete arg2;
7317 }
7318 return NULL;
7319}
7320
7321
7322SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj = 0;
7324 wxFrame *arg1 = (wxFrame *) 0 ;
7325 wxMenu *arg2 = (wxMenu *) NULL ;
7326 void *argp1 = 0 ;
7327 int res1 = 0 ;
7328 void *argp2 = 0 ;
7329 int res2 = 0 ;
7330 PyObject * obj0 = 0 ;
7331 PyObject * obj1 = 0 ;
7332 char * kwnames[] = {
7333 (char *) "self",(char *) "menu", NULL
7334 };
7335
7336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7338 if (!SWIG_IsOK(res1)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7340 }
7341 arg1 = reinterpret_cast< wxFrame * >(argp1);
7342 if (obj1) {
7343 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7344 if (!SWIG_IsOK(res2)) {
7345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
d55e5bfc 7346 }
1bd55598
RD
7347 arg2 = reinterpret_cast< wxMenu * >(argp2);
7348 }
7349 {
7350 PyThreadState* __tstate = wxPyBeginAllowThreads();
7351 (arg1)->DoMenuUpdates(arg2);
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 resultobj = SWIG_Py_Void();
7356 return resultobj;
7357fail:
7358 return NULL;
7359}
7360
7361
7362SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj = 0;
7364 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7365 SwigValueWrapper<wxVisualAttributes > result;
7366 int val1 ;
7367 int ecode1 = 0 ;
7368 PyObject * obj0 = 0 ;
7369 char * kwnames[] = {
7370 (char *) "variant", NULL
7371 };
7372
7373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7374 if (obj0) {
7375 ecode1 = SWIG_AsVal_int(obj0, &val1);
7376 if (!SWIG_IsOK(ecode1)) {
7377 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7378 }
7379 arg1 = static_cast< wxWindowVariant >(val1);
7380 }
7381 {
7382 if (!wxPyCheckForApp()) SWIG_fail;
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 result = wxFrame::GetClassDefaultAttributes(arg1);
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 }
7388 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7389 return resultobj;
7390fail:
7391 return NULL;
7392}
7393
7394
7395SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7396 PyObject *obj;
7397 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7398 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7399 return SWIG_Py_Void();
7400}
7401
7402SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7403 return SWIG_Python_InitShadowInstance(args);
7404}
7405
7406SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj = 0;
7408 wxWindow *arg1 = (wxWindow *) 0 ;
7409 int arg2 = (int) (int)-1 ;
7410 wxString const &arg3_defvalue = wxPyEmptyString ;
7411 wxString *arg3 = (wxString *) &arg3_defvalue ;
7412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7414 wxSize const &arg5_defvalue = wxDefaultSize ;
7415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7416 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7417 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7418 wxString *arg7 = (wxString *) &arg7_defvalue ;
7419 wxDialog *result = 0 ;
7420 void *argp1 = 0 ;
7421 int res1 = 0 ;
7422 int val2 ;
7423 int ecode2 = 0 ;
7424 bool temp3 = false ;
7425 wxPoint temp4 ;
7426 wxSize temp5 ;
7427 long val6 ;
7428 int ecode6 = 0 ;
7429 bool temp7 = false ;
7430 PyObject * obj0 = 0 ;
7431 PyObject * obj1 = 0 ;
7432 PyObject * obj2 = 0 ;
7433 PyObject * obj3 = 0 ;
7434 PyObject * obj4 = 0 ;
7435 PyObject * obj5 = 0 ;
7436 PyObject * obj6 = 0 ;
7437 char * kwnames[] = {
7438 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7439 };
7440
7441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7443 if (!SWIG_IsOK(res1)) {
7444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7445 }
7446 arg1 = reinterpret_cast< wxWindow * >(argp1);
7447 if (obj1) {
7448 ecode2 = SWIG_AsVal_int(obj1, &val2);
7449 if (!SWIG_IsOK(ecode2)) {
7450 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7451 }
7452 arg2 = static_cast< int >(val2);
7453 }
7454 if (obj2) {
d55e5bfc 7455 {
1bd55598
RD
7456 arg3 = wxString_in_helper(obj2);
7457 if (arg3 == NULL) SWIG_fail;
7458 temp3 = true;
d55e5bfc 7459 }
1bd55598
RD
7460 }
7461 if (obj3) {
d55e5bfc 7462 {
1bd55598
RD
7463 arg4 = &temp4;
7464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 7465 }
1bd55598
RD
7466 }
7467 if (obj4) {
d55e5bfc 7468 {
1bd55598
RD
7469 arg5 = &temp5;
7470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7471 }
1bd55598
RD
7472 }
7473 if (obj5) {
7474 ecode6 = SWIG_AsVal_long(obj5, &val6);
7475 if (!SWIG_IsOK(ecode6)) {
7476 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7477 }
7478 arg6 = static_cast< long >(val6);
7479 }
7480 if (obj6) {
d55e5bfc 7481 {
1bd55598
RD
7482 arg7 = wxString_in_helper(obj6);
7483 if (arg7 == NULL) SWIG_fail;
7484 temp7 = true;
d55e5bfc 7485 }
1bd55598
RD
7486 }
7487 {
7488 if (!wxPyCheckForApp()) SWIG_fail;
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7491 wxPyEndAllowThreads(__tstate);
7492 if (PyErr_Occurred()) SWIG_fail;
7493 }
7494 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7495 {
7496 if (temp3)
7497 delete arg3;
7498 }
7499 {
7500 if (temp7)
7501 delete arg7;
7502 }
7503 return resultobj;
7504fail:
7505 {
7506 if (temp3)
7507 delete arg3;
7508 }
7509 {
7510 if (temp7)
7511 delete arg7;
7512 }
7513 return NULL;
d55e5bfc
RD
7514}
7515
7516
1bd55598
RD
7517SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7518 PyObject *resultobj = 0;
7519 wxDialog *result = 0 ;
7520
7521 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7522 {
7523 if (!wxPyCheckForApp()) SWIG_fail;
7524 PyThreadState* __tstate = wxPyBeginAllowThreads();
7525 result = (wxDialog *)new wxDialog();
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7530 return resultobj;
7531fail:
7532 return NULL;
7533}
7534
7535
7536SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7537 PyObject *resultobj = 0;
7538 wxDialog *arg1 = (wxDialog *) 0 ;
7539 wxWindow *arg2 = (wxWindow *) 0 ;
7540 int arg3 = (int) (int)-1 ;
7541 wxString const &arg4_defvalue = wxPyEmptyString ;
7542 wxString *arg4 = (wxString *) &arg4_defvalue ;
7543 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7544 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7545 wxSize const &arg6_defvalue = wxDefaultSize ;
7546 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7547 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7548 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7549 wxString *arg8 = (wxString *) &arg8_defvalue ;
7550 bool result;
7551 void *argp1 = 0 ;
7552 int res1 = 0 ;
7553 void *argp2 = 0 ;
7554 int res2 = 0 ;
7555 int val3 ;
7556 int ecode3 = 0 ;
7557 bool temp4 = false ;
7558 wxPoint temp5 ;
7559 wxSize temp6 ;
7560 long val7 ;
7561 int ecode7 = 0 ;
7562 bool temp8 = false ;
7563 PyObject * obj0 = 0 ;
7564 PyObject * obj1 = 0 ;
7565 PyObject * obj2 = 0 ;
7566 PyObject * obj3 = 0 ;
7567 PyObject * obj4 = 0 ;
7568 PyObject * obj5 = 0 ;
7569 PyObject * obj6 = 0 ;
7570 PyObject * obj7 = 0 ;
7571 char * kwnames[] = {
7572 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7573 };
7574
7575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7577 if (!SWIG_IsOK(res1)) {
7578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7579 }
7580 arg1 = reinterpret_cast< wxDialog * >(argp1);
7581 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7582 if (!SWIG_IsOK(res2)) {
7583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7584 }
7585 arg2 = reinterpret_cast< wxWindow * >(argp2);
7586 if (obj2) {
7587 ecode3 = SWIG_AsVal_int(obj2, &val3);
7588 if (!SWIG_IsOK(ecode3)) {
7589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7590 }
7591 arg3 = static_cast< int >(val3);
7592 }
7593 if (obj3) {
d55e5bfc 7594 {
1bd55598
RD
7595 arg4 = wxString_in_helper(obj3);
7596 if (arg4 == NULL) SWIG_fail;
7597 temp4 = true;
d55e5bfc 7598 }
1bd55598
RD
7599 }
7600 if (obj4) {
36ed4f51 7601 {
1bd55598
RD
7602 arg5 = &temp5;
7603 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 7604 }
1bd55598
RD
7605 }
7606 if (obj5) {
d55e5bfc 7607 {
1bd55598
RD
7608 arg6 = &temp6;
7609 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 7610 }
1bd55598
RD
7611 }
7612 if (obj6) {
7613 ecode7 = SWIG_AsVal_long(obj6, &val7);
7614 if (!SWIG_IsOK(ecode7)) {
7615 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7616 }
7617 arg7 = static_cast< long >(val7);
7618 }
7619 if (obj7) {
d55e5bfc 7620 {
1bd55598
RD
7621 arg8 = wxString_in_helper(obj7);
7622 if (arg8 == NULL) SWIG_fail;
7623 temp8 = true;
d55e5bfc 7624 }
1bd55598
RD
7625 }
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
7632 {
7633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7634 }
7635 {
7636 if (temp4)
7637 delete arg4;
7638 }
7639 {
7640 if (temp8)
7641 delete arg8;
7642 }
7643 return resultobj;
7644fail:
7645 {
7646 if (temp4)
7647 delete arg4;
7648 }
7649 {
7650 if (temp8)
7651 delete arg8;
7652 }
7653 return NULL;
7654}
7655
7656
7657SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7658 PyObject *resultobj = 0;
7659 wxDialog *arg1 = (wxDialog *) 0 ;
7660 int arg2 ;
7661 void *argp1 = 0 ;
7662 int res1 = 0 ;
7663 int val2 ;
7664 int ecode2 = 0 ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 char * kwnames[] = {
7668 (char *) "self",(char *) "returnCode", NULL
7669 };
7670
7671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7673 if (!SWIG_IsOK(res1)) {
7674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7675 }
7676 arg1 = reinterpret_cast< wxDialog * >(argp1);
7677 ecode2 = SWIG_AsVal_int(obj1, &val2);
7678 if (!SWIG_IsOK(ecode2)) {
7679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7680 }
7681 arg2 = static_cast< int >(val2);
7682 {
7683 PyThreadState* __tstate = wxPyBeginAllowThreads();
7684 (arg1)->SetReturnCode(arg2);
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 resultobj = SWIG_Py_Void();
7689 return resultobj;
7690fail:
7691 return NULL;
c370783e
RD
7692}
7693
7694
1bd55598
RD
7695SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7696 PyObject *resultobj = 0;
7697 wxDialog *arg1 = (wxDialog *) 0 ;
7698 int result;
7699 void *argp1 = 0 ;
7700 int res1 = 0 ;
7701 PyObject *swig_obj[1] ;
7702
7703 if (!args) SWIG_fail;
7704 swig_obj[0] = args;
7705 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7706 if (!SWIG_IsOK(res1)) {
7707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7708 }
7709 arg1 = reinterpret_cast< wxDialog * >(argp1);
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 resultobj = SWIG_From_int(static_cast< int >(result));
7717 return resultobj;
7718fail:
7719 return NULL;
7720}
7721
7722
7723SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj = 0;
7725 wxDialog *arg1 = (wxDialog *) 0 ;
7726 int arg2 ;
7727 void *argp1 = 0 ;
7728 int res1 = 0 ;
7729 int val2 ;
7730 int ecode2 = 0 ;
7731 PyObject * obj0 = 0 ;
7732 PyObject * obj1 = 0 ;
7733 char * kwnames[] = {
7734 (char *) "self",(char *) "affirmativeId", NULL
7735 };
7736
7737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7739 if (!SWIG_IsOK(res1)) {
7740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7741 }
7742 arg1 = reinterpret_cast< wxDialog * >(argp1);
7743 ecode2 = SWIG_AsVal_int(obj1, &val2);
7744 if (!SWIG_IsOK(ecode2)) {
7745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7746 }
7747 arg2 = static_cast< int >(val2);
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 (arg1)->SetAffirmativeId(arg2);
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 resultobj = SWIG_Py_Void();
7755 return resultobj;
7756fail:
7757 return NULL;
5e483524
RD
7758}
7759
7760
1bd55598
RD
7761SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7762 PyObject *resultobj = 0;
7763 wxDialog *arg1 = (wxDialog *) 0 ;
7764 int result;
7765 void *argp1 = 0 ;
7766 int res1 = 0 ;
7767 PyObject *swig_obj[1] ;
7768
7769 if (!args) SWIG_fail;
7770 swig_obj[0] = args;
7771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7772 if (!SWIG_IsOK(res1)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7774 }
7775 arg1 = reinterpret_cast< wxDialog * >(argp1);
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7779 wxPyEndAllowThreads(__tstate);
7780 if (PyErr_Occurred()) SWIG_fail;
7781 }
7782 resultobj = SWIG_From_int(static_cast< int >(result));
7783 return resultobj;
7784fail:
7785 return NULL;
7786}
7787
7788
7789SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7790 PyObject *resultobj = 0;
7791 wxDialog *arg1 = (wxDialog *) 0 ;
7792 int arg2 ;
7793 void *argp1 = 0 ;
7794 int res1 = 0 ;
7795 int val2 ;
7796 int ecode2 = 0 ;
7797 PyObject * obj0 = 0 ;
7798 PyObject * obj1 = 0 ;
7799 char * kwnames[] = {
7800 (char *) "self",(char *) "escapeId", NULL
7801 };
7802
7803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7805 if (!SWIG_IsOK(res1)) {
7806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7807 }
7808 arg1 = reinterpret_cast< wxDialog * >(argp1);
7809 ecode2 = SWIG_AsVal_int(obj1, &val2);
7810 if (!SWIG_IsOK(ecode2)) {
7811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7812 }
7813 arg2 = static_cast< int >(val2);
7814 {
7815 PyThreadState* __tstate = wxPyBeginAllowThreads();
7816 (arg1)->SetEscapeId(arg2);
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 resultobj = SWIG_Py_Void();
7821 return resultobj;
7822fail:
7823 return NULL;
d55e5bfc
RD
7824}
7825
7826
1bd55598
RD
7827SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7828 PyObject *resultobj = 0;
7829 wxDialog *arg1 = (wxDialog *) 0 ;
7830 int result;
7831 void *argp1 = 0 ;
7832 int res1 = 0 ;
7833 PyObject *swig_obj[1] ;
7834
7835 if (!args) SWIG_fail;
7836 swig_obj[0] = args;
7837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7838 if (!SWIG_IsOK(res1)) {
7839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7840 }
7841 arg1 = reinterpret_cast< wxDialog * >(argp1);
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 resultobj = SWIG_From_int(static_cast< int >(result));
7849 return resultobj;
7850fail:
7851 return NULL;
7852}
7853
7854
7855SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj = 0;
7857 wxDialog *arg1 = (wxDialog *) 0 ;
7858 wxString *arg2 = 0 ;
7859 wxSizer *result = 0 ;
7860 void *argp1 = 0 ;
7861 int res1 = 0 ;
7862 bool temp2 = false ;
7863 PyObject * obj0 = 0 ;
7864 PyObject * obj1 = 0 ;
7865 char * kwnames[] = {
7866 (char *) "self",(char *) "message", NULL
7867 };
7868
7869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7871 if (!SWIG_IsOK(res1)) {
7872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7873 }
7874 arg1 = reinterpret_cast< wxDialog * >(argp1);
7875 {
7876 arg2 = wxString_in_helper(obj1);
7877 if (arg2 == NULL) SWIG_fail;
7878 temp2 = true;
7879 }
7880 {
7881 PyThreadState* __tstate = wxPyBeginAllowThreads();
7882 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 {
7887 resultobj = wxPyMake_wxObject(result, (bool)0);
7888 }
7889 {
7890 if (temp2)
7891 delete arg2;
7892 }
7893 return resultobj;
7894fail:
7895 {
7896 if (temp2)
7897 delete arg2;
7898 }
7899 return NULL;
7900}
7901
7902
7903SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj = 0;
7905 wxDialog *arg1 = (wxDialog *) 0 ;
7906 long arg2 ;
7907 bool arg3 = (bool) false ;
7908 int arg4 = (int) 0 ;
7909 wxSizer *result = 0 ;
7910 void *argp1 = 0 ;
7911 int res1 = 0 ;
7912 long val2 ;
7913 int ecode2 = 0 ;
7914 bool val3 ;
7915 int ecode3 = 0 ;
7916 int val4 ;
7917 int ecode4 = 0 ;
7918 PyObject * obj0 = 0 ;
7919 PyObject * obj1 = 0 ;
7920 PyObject * obj2 = 0 ;
7921 PyObject * obj3 = 0 ;
7922 char * kwnames[] = {
7923 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7924 };
7925
7926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7928 if (!SWIG_IsOK(res1)) {
7929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7930 }
7931 arg1 = reinterpret_cast< wxDialog * >(argp1);
7932 ecode2 = SWIG_AsVal_long(obj1, &val2);
7933 if (!SWIG_IsOK(ecode2)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7935 }
7936 arg2 = static_cast< long >(val2);
7937 if (obj2) {
7938 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7939 if (!SWIG_IsOK(ecode3)) {
7940 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7941 }
7942 arg3 = static_cast< bool >(val3);
7943 }
7944 if (obj3) {
7945 ecode4 = SWIG_AsVal_int(obj3, &val4);
7946 if (!SWIG_IsOK(ecode4)) {
7947 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7948 }
7949 arg4 = static_cast< int >(val4);
7950 }
7951 {
7952 PyThreadState* __tstate = wxPyBeginAllowThreads();
7953 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7954 wxPyEndAllowThreads(__tstate);
7955 if (PyErr_Occurred()) SWIG_fail;
7956 }
7957 {
7958 resultobj = wxPyMake_wxObject(result, (bool)0);
7959 }
7960 return resultobj;
7961fail:
7962 return NULL;
7963}
7964
7965
7966SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7967 PyObject *resultobj = 0;
7968 wxDialog *arg1 = (wxDialog *) 0 ;
7969 long arg2 ;
7970 wxStdDialogButtonSizer *result = 0 ;
7971 void *argp1 = 0 ;
7972 int res1 = 0 ;
7973 long val2 ;
7974 int ecode2 = 0 ;
7975 PyObject * obj0 = 0 ;
7976 PyObject * obj1 = 0 ;
7977 char * kwnames[] = {
7978 (char *) "self",(char *) "flags", NULL
7979 };
7980
7981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7983 if (!SWIG_IsOK(res1)) {
7984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7985 }
7986 arg1 = reinterpret_cast< wxDialog * >(argp1);
7987 ecode2 = SWIG_AsVal_long(obj1, &val2);
7988 if (!SWIG_IsOK(ecode2)) {
7989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7990 }
7991 arg2 = static_cast< long >(val2);
7992 {
7993 PyThreadState* __tstate = wxPyBeginAllowThreads();
7994 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7999 return resultobj;
8000fail:
8001 return NULL;
d55e5bfc
RD
8002}
8003
8004
1bd55598
RD
8005SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8006 PyObject *resultobj = 0;
8007 wxDialog *arg1 = (wxDialog *) 0 ;
8008 bool result;
8009 void *argp1 = 0 ;
8010 int res1 = 0 ;
8011 PyObject *swig_obj[1] ;
8012
8013 if (!args) SWIG_fail;
8014 swig_obj[0] = args;
8015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8016 if (!SWIG_IsOK(res1)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8018 }
8019 arg1 = reinterpret_cast< wxDialog * >(argp1);
8020 {
8021 PyThreadState* __tstate = wxPyBeginAllowThreads();
8022 result = (bool)((wxDialog const *)arg1)->IsModal();
8023 wxPyEndAllowThreads(__tstate);
8024 if (PyErr_Occurred()) SWIG_fail;
8025 }
8026 {
8027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8028 }
8029 return resultobj;
8030fail:
8031 return NULL;
b1fcee84
RD
8032}
8033
8034
1bd55598
RD
8035SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8036 PyObject *resultobj = 0;
8037 wxDialog *arg1 = (wxDialog *) 0 ;
8038 int result;
8039 void *argp1 = 0 ;
8040 int res1 = 0 ;
8041 PyObject *swig_obj[1] ;
8042
8043 if (!args) SWIG_fail;
8044 swig_obj[0] = args;
8045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8046 if (!SWIG_IsOK(res1)) {
8047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8048 }
8049 arg1 = reinterpret_cast< wxDialog * >(argp1);
8050 {
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
8052 result = (int)(arg1)->ShowModal();
8053 wxPyEndAllowThreads(__tstate);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 resultobj = SWIG_From_int(static_cast< int >(result));
8057 return resultobj;
8058fail:
8059 return NULL;
8060}
8061
8062
8063SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8064 PyObject *resultobj = 0;
8065 wxDialog *arg1 = (wxDialog *) 0 ;
8066 int arg2 ;
8067 void *argp1 = 0 ;
8068 int res1 = 0 ;
8069 int val2 ;
8070 int ecode2 = 0 ;
8071 PyObject * obj0 = 0 ;
8072 PyObject * obj1 = 0 ;
8073 char * kwnames[] = {
8074 (char *) "self",(char *) "retCode", NULL
8075 };
8076
8077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8079 if (!SWIG_IsOK(res1)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8081 }
8082 arg1 = reinterpret_cast< wxDialog * >(argp1);
8083 ecode2 = SWIG_AsVal_int(obj1, &val2);
8084 if (!SWIG_IsOK(ecode2)) {
8085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8086 }
8087 arg2 = static_cast< int >(val2);
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 (arg1)->EndModal(arg2);
8091 wxPyEndAllowThreads(__tstate);
8092 if (PyErr_Occurred()) SWIG_fail;
8093 }
8094 resultobj = SWIG_Py_Void();
8095 return resultobj;
8096fail:
8097 return NULL;
8098}
8099
8100
8101SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8102 PyObject *resultobj = 0;
8103 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8104 SwigValueWrapper<wxVisualAttributes > result;
8105 int val1 ;
8106 int ecode1 = 0 ;
8107 PyObject * obj0 = 0 ;
8108 char * kwnames[] = {
8109 (char *) "variant", NULL
8110 };
8111
8112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8113 if (obj0) {
8114 ecode1 = SWIG_AsVal_int(obj0, &val1);
8115 if (!SWIG_IsOK(ecode1)) {
8116 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8117 }
8118 arg1 = static_cast< wxWindowVariant >(val1);
8119 }
8120 {
8121 if (!wxPyCheckForApp()) SWIG_fail;
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 result = wxDialog::GetClassDefaultAttributes(arg1);
8124 wxPyEndAllowThreads(__tstate);
8125 if (PyErr_Occurred()) SWIG_fail;
8126 }
8127 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8128 return resultobj;
8129fail:
8130 return NULL;
8131}
8132
8133
8134SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8135 PyObject *obj;
8136 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8137 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8138 return SWIG_Py_Void();
8139}
8140
8141SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8142 return SWIG_Python_InitShadowInstance(args);
8143}
8144
8145SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8146 PyObject *resultobj = 0;
8147 wxWindow *arg1 = (wxWindow *) 0 ;
8148 int arg2 = (int) (int)-1 ;
8149 wxString const &arg3_defvalue = wxPyEmptyString ;
8150 wxString *arg3 = (wxString *) &arg3_defvalue ;
8151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8153 wxSize const &arg5_defvalue = wxDefaultSize ;
8154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8155 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8156 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8157 wxString *arg7 = (wxString *) &arg7_defvalue ;
8158 wxMiniFrame *result = 0 ;
8159 void *argp1 = 0 ;
8160 int res1 = 0 ;
8161 int val2 ;
8162 int ecode2 = 0 ;
8163 bool temp3 = false ;
8164 wxPoint temp4 ;
8165 wxSize temp5 ;
8166 long val6 ;
8167 int ecode6 = 0 ;
8168 bool temp7 = false ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171 PyObject * obj2 = 0 ;
8172 PyObject * obj3 = 0 ;
8173 PyObject * obj4 = 0 ;
8174 PyObject * obj5 = 0 ;
8175 PyObject * obj6 = 0 ;
8176 char * kwnames[] = {
8177 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8178 };
8179
8180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8182 if (!SWIG_IsOK(res1)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8184 }
8185 arg1 = reinterpret_cast< wxWindow * >(argp1);
8186 if (obj1) {
8187 ecode2 = SWIG_AsVal_int(obj1, &val2);
8188 if (!SWIG_IsOK(ecode2)) {
8189 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8190 }
8191 arg2 = static_cast< int >(val2);
8192 }
8193 if (obj2) {
d55e5bfc 8194 {
1bd55598
RD
8195 arg3 = wxString_in_helper(obj2);
8196 if (arg3 == NULL) SWIG_fail;
8197 temp3 = true;
d55e5bfc 8198 }
1bd55598
RD
8199 }
8200 if (obj3) {
d55e5bfc 8201 {
1bd55598
RD
8202 arg4 = &temp4;
8203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8204 }
1bd55598
RD
8205 }
8206 if (obj4) {
d55e5bfc 8207 {
1bd55598
RD
8208 arg5 = &temp5;
8209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8210 }
1bd55598
RD
8211 }
8212 if (obj5) {
8213 ecode6 = SWIG_AsVal_long(obj5, &val6);
8214 if (!SWIG_IsOK(ecode6)) {
8215 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8216 }
8217 arg6 = static_cast< long >(val6);
8218 }
8219 if (obj6) {
d55e5bfc 8220 {
1bd55598
RD
8221 arg7 = wxString_in_helper(obj6);
8222 if (arg7 == NULL) SWIG_fail;
8223 temp7 = true;
d55e5bfc 8224 }
1bd55598
RD
8225 }
8226 {
8227 if (!wxPyCheckForApp()) SWIG_fail;
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8234 {
8235 if (temp3)
8236 delete arg3;
8237 }
8238 {
8239 if (temp7)
8240 delete arg7;
8241 }
8242 return resultobj;
8243fail:
8244 {
8245 if (temp3)
8246 delete arg3;
8247 }
8248 {
8249 if (temp7)
8250 delete arg7;
8251 }
8252 return NULL;
d55e5bfc
RD
8253}
8254
8255
1bd55598
RD
8256SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8257 PyObject *resultobj = 0;
8258 wxMiniFrame *result = 0 ;
8259
8260 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8261 {
8262 if (!wxPyCheckForApp()) SWIG_fail;
8263 PyThreadState* __tstate = wxPyBeginAllowThreads();
8264 result = (wxMiniFrame *)new wxMiniFrame();
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8269 return resultobj;
8270fail:
8271 return NULL;
8272}
8273
8274
8275SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj = 0;
8277 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8278 wxWindow *arg2 = (wxWindow *) 0 ;
8279 int arg3 = (int) (int)-1 ;
8280 wxString const &arg4_defvalue = wxPyEmptyString ;
8281 wxString *arg4 = (wxString *) &arg4_defvalue ;
8282 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8283 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8284 wxSize const &arg6_defvalue = wxDefaultSize ;
8285 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8286 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8287 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8288 wxString *arg8 = (wxString *) &arg8_defvalue ;
8289 bool result;
8290 void *argp1 = 0 ;
8291 int res1 = 0 ;
8292 void *argp2 = 0 ;
8293 int res2 = 0 ;
8294 int val3 ;
8295 int ecode3 = 0 ;
8296 bool temp4 = false ;
8297 wxPoint temp5 ;
8298 wxSize temp6 ;
8299 long val7 ;
8300 int ecode7 = 0 ;
8301 bool temp8 = false ;
8302 PyObject * obj0 = 0 ;
8303 PyObject * obj1 = 0 ;
8304 PyObject * obj2 = 0 ;
8305 PyObject * obj3 = 0 ;
8306 PyObject * obj4 = 0 ;
8307 PyObject * obj5 = 0 ;
8308 PyObject * obj6 = 0 ;
8309 PyObject * obj7 = 0 ;
8310 char * kwnames[] = {
8311 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8312 };
8313
8314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8316 if (!SWIG_IsOK(res1)) {
8317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8318 }
8319 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8320 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8321 if (!SWIG_IsOK(res2)) {
8322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8323 }
8324 arg2 = reinterpret_cast< wxWindow * >(argp2);
8325 if (obj2) {
8326 ecode3 = SWIG_AsVal_int(obj2, &val3);
8327 if (!SWIG_IsOK(ecode3)) {
8328 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8329 }
8330 arg3 = static_cast< int >(val3);
8331 }
8332 if (obj3) {
d55e5bfc 8333 {
1bd55598
RD
8334 arg4 = wxString_in_helper(obj3);
8335 if (arg4 == NULL) SWIG_fail;
8336 temp4 = true;
d55e5bfc 8337 }
1bd55598
RD
8338 }
8339 if (obj4) {
d55e5bfc 8340 {
1bd55598
RD
8341 arg5 = &temp5;
8342 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8343 }
1bd55598
RD
8344 }
8345 if (obj5) {
d55e5bfc 8346 {
1bd55598
RD
8347 arg6 = &temp6;
8348 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8349 }
1bd55598
RD
8350 }
8351 if (obj6) {
8352 ecode7 = SWIG_AsVal_long(obj6, &val7);
8353 if (!SWIG_IsOK(ecode7)) {
8354 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8355 }
8356 arg7 = static_cast< long >(val7);
8357 }
8358 if (obj7) {
d55e5bfc 8359 {
1bd55598
RD
8360 arg8 = wxString_in_helper(obj7);
8361 if (arg8 == NULL) SWIG_fail;
8362 temp8 = true;
d55e5bfc 8363 }
1bd55598
RD
8364 }
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 {
8372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8373 }
8374 {
8375 if (temp4)
8376 delete arg4;
8377 }
8378 {
8379 if (temp8)
8380 delete arg8;
8381 }
8382 return resultobj;
8383fail:
8384 {
8385 if (temp4)
8386 delete arg4;
8387 }
8388 {
8389 if (temp8)
8390 delete arg8;
8391 }
8392 return NULL;
8393}
8394
8395
8396SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8397 PyObject *obj;
8398 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8399 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8400 return SWIG_Py_Void();
8401}
8402
8403SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8404 return SWIG_Python_InitShadowInstance(args);
8405}
8406
8407SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj = 0;
8409 wxBitmap *arg1 = 0 ;
8410 wxWindow *arg2 = (wxWindow *) 0 ;
8411 int arg3 ;
8412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8414 wxSize const &arg5_defvalue = wxDefaultSize ;
8415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8416 long arg6 = (long) wxNO_BORDER ;
8417 wxSplashScreenWindow *result = 0 ;
8418 void *argp1 = 0 ;
8419 int res1 = 0 ;
8420 void *argp2 = 0 ;
8421 int res2 = 0 ;
8422 int val3 ;
8423 int ecode3 = 0 ;
8424 wxPoint temp4 ;
8425 wxSize temp5 ;
8426 long val6 ;
8427 int ecode6 = 0 ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 PyObject * obj2 = 0 ;
8431 PyObject * obj3 = 0 ;
8432 PyObject * obj4 = 0 ;
8433 PyObject * obj5 = 0 ;
8434 char * kwnames[] = {
8435 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8436 };
8437
8438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8439 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8440 if (!SWIG_IsOK(res1)) {
8441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8442 }
8443 if (!argp1) {
8444 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8445 }
8446 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8447 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8448 if (!SWIG_IsOK(res2)) {
8449 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8450 }
8451 arg2 = reinterpret_cast< wxWindow * >(argp2);
8452 ecode3 = SWIG_AsVal_int(obj2, &val3);
8453 if (!SWIG_IsOK(ecode3)) {
8454 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8455 }
8456 arg3 = static_cast< int >(val3);
8457 if (obj3) {
d55e5bfc 8458 {
1bd55598
RD
8459 arg4 = &temp4;
8460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 8461 }
1bd55598
RD
8462 }
8463 if (obj4) {
d55e5bfc 8464 {
1bd55598
RD
8465 arg5 = &temp5;
8466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 8467 }
1bd55598
RD
8468 }
8469 if (obj5) {
8470 ecode6 = SWIG_AsVal_long(obj5, &val6);
8471 if (!SWIG_IsOK(ecode6)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8473 }
8474 arg6 = static_cast< long >(val6);
8475 }
8476 {
8477 if (!wxPyCheckForApp()) SWIG_fail;
8478 PyThreadState* __tstate = wxPyBeginAllowThreads();
8479 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8480 wxPyEndAllowThreads(__tstate);
8481 if (PyErr_Occurred()) SWIG_fail;
8482 }
8483 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8484 return resultobj;
8485fail:
8486 return NULL;
8487}
8488
8489
8490SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8491 PyObject *resultobj = 0;
8492 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8493 wxBitmap *arg2 = 0 ;
8494 void *argp1 = 0 ;
8495 int res1 = 0 ;
8496 void *argp2 = 0 ;
8497 int res2 = 0 ;
8498 PyObject * obj0 = 0 ;
8499 PyObject * obj1 = 0 ;
8500 char * kwnames[] = {
8501 (char *) "self",(char *) "bitmap", NULL
8502 };
8503
8504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8506 if (!SWIG_IsOK(res1)) {
8507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8508 }
8509 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8510 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8511 if (!SWIG_IsOK(res2)) {
8512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8513 }
8514 if (!argp2) {
8515 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8516 }
8517 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 resultobj = SWIG_Py_Void();
8525 return resultobj;
8526fail:
8527 return NULL;
d55e5bfc
RD
8528}
8529
8530
1bd55598
RD
8531SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8532 PyObject *resultobj = 0;
8533 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8534 wxBitmap *result = 0 ;
8535 void *argp1 = 0 ;
8536 int res1 = 0 ;
8537 PyObject *swig_obj[1] ;
8538
8539 if (!args) SWIG_fail;
8540 swig_obj[0] = args;
8541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8542 if (!SWIG_IsOK(res1)) {
8543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8544 }
8545 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8546 {
8547 PyThreadState* __tstate = wxPyBeginAllowThreads();
8548 {
8549 wxBitmap &_result_ref = (arg1)->GetBitmap();
8550 result = (wxBitmap *) &_result_ref;
8551 }
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 {
8556 wxBitmap* resultptr = new wxBitmap(*result);
8557 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8558 }
8559 return resultobj;
8560fail:
8561 return NULL;
8562}
8563
8564
8565SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8566 PyObject *obj;
8567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8568 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8569 return SWIG_Py_Void();
8570}
8571
8572SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8573 return SWIG_Python_InitShadowInstance(args);
8574}
8575
8576SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj = 0;
8578 wxBitmap *arg1 = 0 ;
8579 long arg2 ;
8580 int arg3 ;
8581 wxWindow *arg4 = (wxWindow *) 0 ;
8582 int arg5 = (int) -1 ;
8583 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8584 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8585 wxSize const &arg7_defvalue = wxDefaultSize ;
8586 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8587 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8588 wxSplashScreen *result = 0 ;
8589 void *argp1 = 0 ;
8590 int res1 = 0 ;
8591 long val2 ;
8592 int ecode2 = 0 ;
8593 int val3 ;
8594 int ecode3 = 0 ;
8595 void *argp4 = 0 ;
8596 int res4 = 0 ;
8597 int val5 ;
8598 int ecode5 = 0 ;
8599 wxPoint temp6 ;
8600 wxSize temp7 ;
8601 long val8 ;
8602 int ecode8 = 0 ;
8603 PyObject * obj0 = 0 ;
8604 PyObject * obj1 = 0 ;
8605 PyObject * obj2 = 0 ;
8606 PyObject * obj3 = 0 ;
8607 PyObject * obj4 = 0 ;
8608 PyObject * obj5 = 0 ;
8609 PyObject * obj6 = 0 ;
8610 PyObject * obj7 = 0 ;
8611 char * kwnames[] = {
8612 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8613 };
8614
8615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8616 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8617 if (!SWIG_IsOK(res1)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8619 }
8620 if (!argp1) {
8621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8622 }
8623 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8624 ecode2 = SWIG_AsVal_long(obj1, &val2);
8625 if (!SWIG_IsOK(ecode2)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8627 }
8628 arg2 = static_cast< long >(val2);
8629 ecode3 = SWIG_AsVal_int(obj2, &val3);
8630 if (!SWIG_IsOK(ecode3)) {
8631 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8632 }
8633 arg3 = static_cast< int >(val3);
8634 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8635 if (!SWIG_IsOK(res4)) {
8636 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8637 }
8638 arg4 = reinterpret_cast< wxWindow * >(argp4);
8639 if (obj4) {
8640 ecode5 = SWIG_AsVal_int(obj4, &val5);
8641 if (!SWIG_IsOK(ecode5)) {
8642 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8643 }
8644 arg5 = static_cast< int >(val5);
8645 }
8646 if (obj5) {
d55e5bfc 8647 {
1bd55598
RD
8648 arg6 = &temp6;
8649 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 8650 }
1bd55598
RD
8651 }
8652 if (obj6) {
d55e5bfc 8653 {
1bd55598
RD
8654 arg7 = &temp7;
8655 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 8656 }
1bd55598
RD
8657 }
8658 if (obj7) {
8659 ecode8 = SWIG_AsVal_long(obj7, &val8);
8660 if (!SWIG_IsOK(ecode8)) {
8661 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8662 }
8663 arg8 = static_cast< long >(val8);
8664 }
8665 {
8666 if (!wxPyCheckForApp()) SWIG_fail;
8667 PyThreadState* __tstate = wxPyBeginAllowThreads();
8668 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8669 wxPyEndAllowThreads(__tstate);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8673 return resultobj;
8674fail:
8675 return NULL;
d55e5bfc
RD
8676}
8677
8678
1bd55598
RD
8679SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8680 PyObject *resultobj = 0;
8681 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8682 long result;
8683 void *argp1 = 0 ;
8684 int res1 = 0 ;
8685 PyObject *swig_obj[1] ;
8686
8687 if (!args) SWIG_fail;
8688 swig_obj[0] = args;
8689 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8690 if (!SWIG_IsOK(res1)) {
8691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8692 }
8693 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 resultobj = SWIG_From_long(static_cast< long >(result));
8701 return resultobj;
8702fail:
8703 return NULL;
d55e5bfc
RD
8704}
8705
8706
1bd55598
RD
8707SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8708 PyObject *resultobj = 0;
8709 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8710 wxSplashScreenWindow *result = 0 ;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 PyObject *swig_obj[1] ;
8714
8715 if (!args) SWIG_fail;
8716 swig_obj[0] = args;
8717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8718 if (!SWIG_IsOK(res1)) {
8719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8720 }
8721 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8722 {
8723 PyThreadState* __tstate = wxPyBeginAllowThreads();
8724 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8725 wxPyEndAllowThreads(__tstate);
8726 if (PyErr_Occurred()) SWIG_fail;
8727 }
8728 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8729 return resultobj;
8730fail:
8731 return NULL;
d55e5bfc
RD
8732}
8733
8734
1bd55598
RD
8735SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8736 PyObject *resultobj = 0;
8737 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8738 int result;
8739 void *argp1 = 0 ;
8740 int res1 = 0 ;
8741 PyObject *swig_obj[1] ;
8742
8743 if (!args) SWIG_fail;
8744 swig_obj[0] = args;
8745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8746 if (!SWIG_IsOK(res1)) {
8747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8748 }
8749 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8753 wxPyEndAllowThreads(__tstate);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 resultobj = SWIG_From_int(static_cast< int >(result));
8757 return resultobj;
8758fail:
8759 return NULL;
8760}
8761
8762
8763SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8764 PyObject *obj;
8765 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8766 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8767 return SWIG_Py_Void();
8768}
8769
8770SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8771 return SWIG_Python_InitShadowInstance(args);
8772}
8773
8774SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8775 PyObject *resultobj = 0;
8776 wxWindow *arg1 = (wxWindow *) 0 ;
8777 int arg2 = (int) -1 ;
8778 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8779 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8780 wxString *arg4 = (wxString *) &arg4_defvalue ;
8781 wxStatusBar *result = 0 ;
8782 void *argp1 = 0 ;
8783 int res1 = 0 ;
8784 int val2 ;
8785 int ecode2 = 0 ;
8786 long val3 ;
8787 int ecode3 = 0 ;
8788 bool temp4 = false ;
8789 PyObject * obj0 = 0 ;
8790 PyObject * obj1 = 0 ;
8791 PyObject * obj2 = 0 ;
8792 PyObject * obj3 = 0 ;
8793 char * kwnames[] = {
8794 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8795 };
8796
8797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8799 if (!SWIG_IsOK(res1)) {
8800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8801 }
8802 arg1 = reinterpret_cast< wxWindow * >(argp1);
8803 if (obj1) {
8804 ecode2 = SWIG_AsVal_int(obj1, &val2);
8805 if (!SWIG_IsOK(ecode2)) {
8806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8807 }
8808 arg2 = static_cast< int >(val2);
8809 }
8810 if (obj2) {
8811 ecode3 = SWIG_AsVal_long(obj2, &val3);
8812 if (!SWIG_IsOK(ecode3)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8814 }
8815 arg3 = static_cast< long >(val3);
8816 }
8817 if (obj3) {
d55e5bfc 8818 {
1bd55598
RD
8819 arg4 = wxString_in_helper(obj3);
8820 if (arg4 == NULL) SWIG_fail;
8821 temp4 = true;
d55e5bfc 8822 }
1bd55598
RD
8823 }
8824 {
8825 if (!wxPyCheckForApp()) SWIG_fail;
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8828 wxPyEndAllowThreads(__tstate);
8829 if (PyErr_Occurred()) SWIG_fail;
8830 }
8831 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8832 {
8833 if (temp4)
8834 delete arg4;
8835 }
8836 return resultobj;
8837fail:
8838 {
8839 if (temp4)
8840 delete arg4;
8841 }
8842 return NULL;
d55e5bfc
RD
8843}
8844
8845
1bd55598
RD
8846SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8847 PyObject *resultobj = 0;
8848 wxStatusBar *result = 0 ;
8849
8850 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8851 {
8852 if (!wxPyCheckForApp()) SWIG_fail;
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (wxStatusBar *)new wxStatusBar();
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8859 return resultobj;
8860fail:
8861 return NULL;
8862}
8863
8864
8865SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8866 PyObject *resultobj = 0;
8867 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8868 wxWindow *arg2 = (wxWindow *) 0 ;
8869 int arg3 = (int) -1 ;
8870 long arg4 = (long) wxST_SIZEGRIP ;
8871 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8872 wxString *arg5 = (wxString *) &arg5_defvalue ;
8873 bool result;
8874 void *argp1 = 0 ;
8875 int res1 = 0 ;
8876 void *argp2 = 0 ;
8877 int res2 = 0 ;
8878 int val3 ;
8879 int ecode3 = 0 ;
8880 long val4 ;
8881 int ecode4 = 0 ;
8882 bool temp5 = false ;
8883 PyObject * obj0 = 0 ;
8884 PyObject * obj1 = 0 ;
8885 PyObject * obj2 = 0 ;
8886 PyObject * obj3 = 0 ;
8887 PyObject * obj4 = 0 ;
8888 char * kwnames[] = {
8889 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8890 };
8891
8892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8894 if (!SWIG_IsOK(res1)) {
8895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8896 }
8897 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8898 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8899 if (!SWIG_IsOK(res2)) {
8900 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8901 }
8902 arg2 = reinterpret_cast< wxWindow * >(argp2);
8903 if (obj2) {
8904 ecode3 = SWIG_AsVal_int(obj2, &val3);
8905 if (!SWIG_IsOK(ecode3)) {
8906 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8907 }
8908 arg3 = static_cast< int >(val3);
8909 }
8910 if (obj3) {
8911 ecode4 = SWIG_AsVal_long(obj3, &val4);
8912 if (!SWIG_IsOK(ecode4)) {
8913 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8914 }
8915 arg4 = static_cast< long >(val4);
8916 }
8917 if (obj4) {
d55e5bfc 8918 {
1bd55598
RD
8919 arg5 = wxString_in_helper(obj4);
8920 if (arg5 == NULL) SWIG_fail;
8921 temp5 = true;
d55e5bfc 8922 }
1bd55598
RD
8923 }
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 {
8931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8932 }
8933 {
8934 if (temp5)
8935 delete arg5;
8936 }
8937 return resultobj;
8938fail:
8939 {
8940 if (temp5)
8941 delete arg5;
8942 }
8943 return NULL;
8944}
8945
8946
8947SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj = 0;
8949 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8950 int arg2 = (int) 1 ;
8951 void *argp1 = 0 ;
8952 int res1 = 0 ;
8953 int val2 ;
8954 int ecode2 = 0 ;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 char * kwnames[] = {
8958 (char *) "self",(char *) "number", NULL
8959 };
8960
8961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8963 if (!SWIG_IsOK(res1)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8965 }
8966 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8967 if (obj1) {
8968 ecode2 = SWIG_AsVal_int(obj1, &val2);
8969 if (!SWIG_IsOK(ecode2)) {
8970 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8971 }
8972 arg2 = static_cast< int >(val2);
8973 }
8974 {
8975 PyThreadState* __tstate = wxPyBeginAllowThreads();
8976 (arg1)->SetFieldsCount(arg2);
8977 wxPyEndAllowThreads(__tstate);
8978 if (PyErr_Occurred()) SWIG_fail;
8979 }
8980 resultobj = SWIG_Py_Void();
8981 return resultobj;
8982fail:
8983 return NULL;
d55e5bfc
RD
8984}
8985
8986
1bd55598
RD
8987SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8988 PyObject *resultobj = 0;
8989 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8990 int result;
8991 void *argp1 = 0 ;
8992 int res1 = 0 ;
8993 PyObject *swig_obj[1] ;
8994
8995 if (!args) SWIG_fail;
8996 swig_obj[0] = args;
8997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8998 if (!SWIG_IsOK(res1)) {
8999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9000 }
9001 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
9005 wxPyEndAllowThreads(__tstate);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 resultobj = SWIG_From_int(static_cast< int >(result));
9009 return resultobj;
9010fail:
9011 return NULL;
9012}
9013
9014
9015SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9016 PyObject *resultobj = 0;
9017 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9018 wxString *arg2 = 0 ;
9019 int arg3 = (int) 0 ;
9020 void *argp1 = 0 ;
9021 int res1 = 0 ;
9022 bool temp2 = false ;
9023 int val3 ;
9024 int ecode3 = 0 ;
9025 PyObject * obj0 = 0 ;
9026 PyObject * obj1 = 0 ;
9027 PyObject * obj2 = 0 ;
9028 char * kwnames[] = {
9029 (char *) "self",(char *) "text",(char *) "number", NULL
9030 };
9031
9032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9034 if (!SWIG_IsOK(res1)) {
9035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9036 }
9037 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9038 {
9039 arg2 = wxString_in_helper(obj1);
9040 if (arg2 == NULL) SWIG_fail;
9041 temp2 = true;
9042 }
9043 if (obj2) {
9044 ecode3 = SWIG_AsVal_int(obj2, &val3);
9045 if (!SWIG_IsOK(ecode3)) {
9046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9047 }
9048 arg3 = static_cast< int >(val3);
9049 }
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 }
9056 resultobj = SWIG_Py_Void();
9057 {
9058 if (temp2)
9059 delete arg2;
9060 }
9061 return resultobj;
9062fail:
9063 {
9064 if (temp2)
9065 delete arg2;
9066 }
9067 return NULL;
9068}
9069
9070
9071SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9072 PyObject *resultobj = 0;
9073 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9074 int arg2 = (int) 0 ;
9075 wxString result;
9076 void *argp1 = 0 ;
9077 int res1 = 0 ;
9078 int val2 ;
9079 int ecode2 = 0 ;
9080 PyObject * obj0 = 0 ;
9081 PyObject * obj1 = 0 ;
9082 char * kwnames[] = {
9083 (char *) "self",(char *) "number", NULL
9084 };
9085
9086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9088 if (!SWIG_IsOK(res1)) {
9089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9090 }
9091 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9092 if (obj1) {
9093 ecode2 = SWIG_AsVal_int(obj1, &val2);
9094 if (!SWIG_IsOK(ecode2)) {
9095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9096 }
9097 arg2 = static_cast< int >(val2);
9098 }
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 {
9106#if wxUSE_UNICODE
9107 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9108#else
9109 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9110#endif
9111 }
9112 return resultobj;
9113fail:
9114 return NULL;
9115}
9116
9117
9118SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj = 0;
9120 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9121 wxString *arg2 = 0 ;
9122 int arg3 = (int) 0 ;
9123 void *argp1 = 0 ;
9124 int res1 = 0 ;
9125 bool temp2 = false ;
9126 int val3 ;
9127 int ecode3 = 0 ;
9128 PyObject * obj0 = 0 ;
9129 PyObject * obj1 = 0 ;
9130 PyObject * obj2 = 0 ;
9131 char * kwnames[] = {
9132 (char *) "self",(char *) "text",(char *) "number", NULL
9133 };
9134
9135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9137 if (!SWIG_IsOK(res1)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9139 }
9140 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9141 {
9142 arg2 = wxString_in_helper(obj1);
9143 if (arg2 == NULL) SWIG_fail;
9144 temp2 = true;
9145 }
9146 if (obj2) {
9147 ecode3 = SWIG_AsVal_int(obj2, &val3);
9148 if (!SWIG_IsOK(ecode3)) {
9149 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9150 }
9151 arg3 = static_cast< int >(val3);
9152 }
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9156 wxPyEndAllowThreads(__tstate);
9157 if (PyErr_Occurred()) SWIG_fail;
9158 }
9159 resultobj = SWIG_Py_Void();
9160 {
9161 if (temp2)
9162 delete arg2;
9163 }
9164 return resultobj;
9165fail:
9166 {
9167 if (temp2)
9168 delete arg2;
9169 }
9170 return NULL;
9171}
9172
9173
9174SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9175 PyObject *resultobj = 0;
9176 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9177 int arg2 = (int) 0 ;
9178 void *argp1 = 0 ;
9179 int res1 = 0 ;
9180 int val2 ;
9181 int ecode2 = 0 ;
9182 PyObject * obj0 = 0 ;
9183 PyObject * obj1 = 0 ;
9184 char * kwnames[] = {
9185 (char *) "self",(char *) "number", NULL
9186 };
9187
9188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9190 if (!SWIG_IsOK(res1)) {
9191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9192 }
9193 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9194 if (obj1) {
9195 ecode2 = SWIG_AsVal_int(obj1, &val2);
9196 if (!SWIG_IsOK(ecode2)) {
9197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9198 }
9199 arg2 = static_cast< int >(val2);
9200 }
9201 {
9202 PyThreadState* __tstate = wxPyBeginAllowThreads();
9203 (arg1)->PopStatusText(arg2);
9204 wxPyEndAllowThreads(__tstate);
9205 if (PyErr_Occurred()) SWIG_fail;
9206 }
9207 resultobj = SWIG_Py_Void();
9208 return resultobj;
9209fail:
9210 return NULL;
9211}
9212
9213
9214SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9215 PyObject *resultobj = 0;
9216 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9217 int arg2 ;
9218 int *arg3 = (int *) 0 ;
9219 void *argp1 = 0 ;
9220 int res1 = 0 ;
9221 PyObject * obj0 = 0 ;
9222 PyObject * obj1 = 0 ;
9223 char * kwnames[] = {
9224 (char *) "self",(char *) "widths", NULL
9225 };
9226
9227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9228 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9229 if (!SWIG_IsOK(res1)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9231 }
9232 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9233 {
9234 arg2 = PyList_Size(obj1);
9235 arg3 = int_LIST_helper(obj1);
9236 if (arg3 == NULL) SWIG_fail;
9237 }
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 resultobj = SWIG_Py_Void();
9245 {
9246 if (arg3) delete [] arg3;
9247 }
9248 return resultobj;
9249fail:
9250 {
9251 if (arg3) delete [] arg3;
9252 }
9253 return NULL;
d55e5bfc
RD
9254}
9255
9256
1bd55598
RD
9257SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9258 PyObject *resultobj = 0;
9259 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9260 int arg2 ;
9261 int *arg3 = (int *) 0 ;
9262 void *argp1 = 0 ;
9263 int res1 = 0 ;
9264 PyObject * obj0 = 0 ;
9265 PyObject * obj1 = 0 ;
9266 char * kwnames[] = {
9267 (char *) "self",(char *) "styles", NULL
9268 };
9269
9270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9272 if (!SWIG_IsOK(res1)) {
9273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9274 }
9275 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9276 {
9277 arg2 = PyList_Size(obj1);
9278 arg3 = int_LIST_helper(obj1);
9279 if (arg3 == NULL) SWIG_fail;
9280 }
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9284 wxPyEndAllowThreads(__tstate);
9285 if (PyErr_Occurred()) SWIG_fail;
9286 }
9287 resultobj = SWIG_Py_Void();
9288 {
9289 if (arg3) delete [] arg3;
9290 }
9291 return resultobj;
9292fail:
9293 {
9294 if (arg3) delete [] arg3;
9295 }
9296 return NULL;
9297}
9298
9299
9300SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj = 0;
9302 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9303 int arg2 ;
9304 wxRect result;
9305 void *argp1 = 0 ;
9306 int res1 = 0 ;
9307 int val2 ;
9308 int ecode2 = 0 ;
9309 PyObject * obj0 = 0 ;
9310 PyObject * obj1 = 0 ;
9311 char * kwnames[] = {
9312 (char *) "self",(char *) "i", NULL
9313 };
9314
9315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9317 if (!SWIG_IsOK(res1)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9319 }
9320 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9321 ecode2 = SWIG_AsVal_int(obj1, &val2);
9322 if (!SWIG_IsOK(ecode2)) {
9323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9324 }
9325 arg2 = static_cast< int >(val2);
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = wxStatusBar_GetFieldRect(arg1,arg2);
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9333 return resultobj;
9334fail:
9335 return NULL;
9336}
9337
9338
9339SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj = 0;
9341 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9342 int arg2 ;
9343 void *argp1 = 0 ;
9344 int res1 = 0 ;
9345 int val2 ;
9346 int ecode2 = 0 ;
9347 PyObject * obj0 = 0 ;
9348 PyObject * obj1 = 0 ;
9349 char * kwnames[] = {
9350 (char *) "self",(char *) "height", NULL
9351 };
9352
9353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9355 if (!SWIG_IsOK(res1)) {
9356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9357 }
9358 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9359 ecode2 = SWIG_AsVal_int(obj1, &val2);
9360 if (!SWIG_IsOK(ecode2)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9362 }
9363 arg2 = static_cast< int >(val2);
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 (arg1)->SetMinHeight(arg2);
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 resultobj = SWIG_Py_Void();
9371 return resultobj;
9372fail:
9373 return NULL;
d55e5bfc
RD
9374}
9375
9376
1bd55598
RD
9377SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9378 PyObject *resultobj = 0;
9379 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9380 int result;
9381 void *argp1 = 0 ;
9382 int res1 = 0 ;
9383 PyObject *swig_obj[1] ;
9384
9385 if (!args) SWIG_fail;
9386 swig_obj[0] = args;
9387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9388 if (!SWIG_IsOK(res1)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9390 }
9391 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = SWIG_From_int(static_cast< int >(result));
9399 return resultobj;
9400fail:
9401 return NULL;
d55e5bfc
RD
9402}
9403
9404
1bd55598
RD
9405SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9406 PyObject *resultobj = 0;
9407 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9408 int result;
9409 void *argp1 = 0 ;
9410 int res1 = 0 ;
9411 PyObject *swig_obj[1] ;
9412
9413 if (!args) SWIG_fail;
9414 swig_obj[0] = args;
9415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9416 if (!SWIG_IsOK(res1)) {
9417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9418 }
9419 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9420 {
9421 PyThreadState* __tstate = wxPyBeginAllowThreads();
9422 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9423 wxPyEndAllowThreads(__tstate);
9424 if (PyErr_Occurred()) SWIG_fail;
9425 }
9426 resultobj = SWIG_From_int(static_cast< int >(result));
9427 return resultobj;
9428fail:
9429 return NULL;
9430}
9431
9432
9433SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9434 PyObject *resultobj = 0;
9435 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9436 SwigValueWrapper<wxVisualAttributes > result;
9437 int val1 ;
9438 int ecode1 = 0 ;
9439 PyObject * obj0 = 0 ;
9440 char * kwnames[] = {
9441 (char *) "variant", NULL
9442 };
9443
9444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9445 if (obj0) {
9446 ecode1 = SWIG_AsVal_int(obj0, &val1);
9447 if (!SWIG_IsOK(ecode1)) {
9448 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9449 }
9450 arg1 = static_cast< wxWindowVariant >(val1);
9451 }
9452 {
9453 if (!wxPyCheckForApp()) SWIG_fail;
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9460 return resultobj;
9461fail:
9462 return NULL;
d55e5bfc
RD
9463}
9464
9465
1bd55598
RD
9466SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9467 PyObject *obj;
9468 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9469 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9470 return SWIG_Py_Void();
d55e5bfc
RD
9471}
9472
1bd55598
RD
9473SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9474 return SWIG_Python_InitShadowInstance(args);
9475}
d55e5bfc 9476
1bd55598
RD
9477SWIGINTERN int SplitterNameStr_set(PyObject *) {
9478 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9479 return 1;
d55e5bfc
RD
9480}
9481
9482
1bd55598
RD
9483SWIGINTERN PyObject *SplitterNameStr_get(void) {
9484 PyObject *pyobj = 0;
9485
9486 {
9487#if wxUSE_UNICODE
9488 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9489#else
9490 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9491#endif
9492 }
9493 return pyobj;
9494}
9495
9496
9497SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj = 0;
9499 wxWindow *arg1 = (wxWindow *) 0 ;
9500 int arg2 = (int) -1 ;
9501 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9502 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9503 wxSize const &arg4_defvalue = wxDefaultSize ;
9504 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9505 long arg5 = (long) wxSP_3D ;
9506 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9507 wxString *arg6 = (wxString *) &arg6_defvalue ;
9508 wxSplitterWindow *result = 0 ;
9509 void *argp1 = 0 ;
9510 int res1 = 0 ;
9511 int val2 ;
9512 int ecode2 = 0 ;
9513 wxPoint temp3 ;
9514 wxSize temp4 ;
9515 long val5 ;
9516 int ecode5 = 0 ;
9517 bool temp6 = false ;
9518 PyObject * obj0 = 0 ;
9519 PyObject * obj1 = 0 ;
9520 PyObject * obj2 = 0 ;
9521 PyObject * obj3 = 0 ;
9522 PyObject * obj4 = 0 ;
9523 PyObject * obj5 = 0 ;
9524 char * kwnames[] = {
9525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9526 };
9527
9528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9530 if (!SWIG_IsOK(res1)) {
9531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9532 }
9533 arg1 = reinterpret_cast< wxWindow * >(argp1);
9534 if (obj1) {
9535 ecode2 = SWIG_AsVal_int(obj1, &val2);
9536 if (!SWIG_IsOK(ecode2)) {
9537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9538 }
9539 arg2 = static_cast< int >(val2);
9540 }
9541 if (obj2) {
36ed4f51 9542 {
1bd55598
RD
9543 arg3 = &temp3;
9544 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 9545 }
1bd55598
RD
9546 }
9547 if (obj3) {
d55e5bfc 9548 {
1bd55598
RD
9549 arg4 = &temp4;
9550 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9551 }
1bd55598
RD
9552 }
9553 if (obj4) {
9554 ecode5 = SWIG_AsVal_long(obj4, &val5);
9555 if (!SWIG_IsOK(ecode5)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9557 }
9558 arg5 = static_cast< long >(val5);
9559 }
9560 if (obj5) {
36ed4f51 9561 {
1bd55598
RD
9562 arg6 = wxString_in_helper(obj5);
9563 if (arg6 == NULL) SWIG_fail;
9564 temp6 = true;
36ed4f51 9565 }
1bd55598
RD
9566 }
9567 {
9568 if (!wxPyCheckForApp()) SWIG_fail;
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9571 wxPyEndAllowThreads(__tstate);
9572 if (PyErr_Occurred()) SWIG_fail;
9573 }
9574 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9575 {
9576 if (temp6)
9577 delete arg6;
9578 }
9579 return resultobj;
9580fail:
9581 {
9582 if (temp6)
9583 delete arg6;
9584 }
9585 return NULL;
d55e5bfc
RD
9586}
9587
9588
1bd55598
RD
9589SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9590 PyObject *resultobj = 0;
9591 wxSplitterWindow *result = 0 ;
9592
9593 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9594 {
9595 if (!wxPyCheckForApp()) SWIG_fail;
9596 PyThreadState* __tstate = wxPyBeginAllowThreads();
9597 result = (wxSplitterWindow *)new wxSplitterWindow();
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9602 return resultobj;
9603fail:
9604 return NULL;
9605}
9606
9607
9608SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj = 0;
9610 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9611 wxWindow *arg2 = (wxWindow *) 0 ;
9612 int arg3 = (int) -1 ;
9613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9615 wxSize const &arg5_defvalue = wxDefaultSize ;
9616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9617 long arg6 = (long) wxSP_3D ;
9618 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9619 wxString *arg7 = (wxString *) &arg7_defvalue ;
9620 bool result;
9621 void *argp1 = 0 ;
9622 int res1 = 0 ;
9623 void *argp2 = 0 ;
9624 int res2 = 0 ;
9625 int val3 ;
9626 int ecode3 = 0 ;
9627 wxPoint temp4 ;
9628 wxSize temp5 ;
9629 long val6 ;
9630 int ecode6 = 0 ;
9631 bool temp7 = false ;
9632 PyObject * obj0 = 0 ;
9633 PyObject * obj1 = 0 ;
9634 PyObject * obj2 = 0 ;
9635 PyObject * obj3 = 0 ;
9636 PyObject * obj4 = 0 ;
9637 PyObject * obj5 = 0 ;
9638 PyObject * obj6 = 0 ;
9639 char * kwnames[] = {
9640 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9641 };
9642
9643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9645 if (!SWIG_IsOK(res1)) {
9646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9647 }
9648 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9649 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9650 if (!SWIG_IsOK(res2)) {
9651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9652 }
9653 arg2 = reinterpret_cast< wxWindow * >(argp2);
9654 if (obj2) {
9655 ecode3 = SWIG_AsVal_int(obj2, &val3);
9656 if (!SWIG_IsOK(ecode3)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9658 }
9659 arg3 = static_cast< int >(val3);
9660 }
9661 if (obj3) {
d55e5bfc 9662 {
1bd55598
RD
9663 arg4 = &temp4;
9664 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 9665 }
1bd55598
RD
9666 }
9667 if (obj4) {
d55e5bfc 9668 {
1bd55598
RD
9669 arg5 = &temp5;
9670 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 9671 }
1bd55598
RD
9672 }
9673 if (obj5) {
9674 ecode6 = SWIG_AsVal_long(obj5, &val6);
9675 if (!SWIG_IsOK(ecode6)) {
9676 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9677 }
9678 arg6 = static_cast< long >(val6);
9679 }
9680 if (obj6) {
d55e5bfc 9681 {
1bd55598
RD
9682 arg7 = wxString_in_helper(obj6);
9683 if (arg7 == NULL) SWIG_fail;
9684 temp7 = true;
d55e5bfc 9685 }
1bd55598
RD
9686 }
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9690 wxPyEndAllowThreads(__tstate);
9691 if (PyErr_Occurred()) SWIG_fail;
9692 }
9693 {
9694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9695 }
9696 {
9697 if (temp7)
9698 delete arg7;
9699 }
9700 return resultobj;
9701fail:
9702 {
9703 if (temp7)
9704 delete arg7;
9705 }
9706 return NULL;
d55e5bfc
RD
9707}
9708
9709
1bd55598
RD
9710SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9711 PyObject *resultobj = 0;
9712 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9713 wxWindow *result = 0 ;
9714 void *argp1 = 0 ;
9715 int res1 = 0 ;
9716 PyObject *swig_obj[1] ;
9717
9718 if (!args) SWIG_fail;
9719 swig_obj[0] = args;
9720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9721 if (!SWIG_IsOK(res1)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9723 }
9724 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 {
9732 resultobj = wxPyMake_wxObject(result, 0);
9733 }
9734 return resultobj;
9735fail:
9736 return NULL;
d55e5bfc
RD
9737}
9738
9739
1bd55598
RD
9740SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9741 PyObject *resultobj = 0;
9742 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9743 wxWindow *result = 0 ;
9744 void *argp1 = 0 ;
9745 int res1 = 0 ;
9746 PyObject *swig_obj[1] ;
9747
9748 if (!args) SWIG_fail;
9749 swig_obj[0] = args;
9750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9751 if (!SWIG_IsOK(res1)) {
9752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9753 }
9754 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9755 {
9756 PyThreadState* __tstate = wxPyBeginAllowThreads();
9757 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
9761 {
9762 resultobj = wxPyMake_wxObject(result, 0);
9763 }
9764 return resultobj;
9765fail:
9766 return NULL;
9767}
9768
9769
9770SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj = 0;
9772 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9773 int arg2 ;
9774 void *argp1 = 0 ;
9775 int res1 = 0 ;
9776 int val2 ;
9777 int ecode2 = 0 ;
9778 PyObject * obj0 = 0 ;
9779 PyObject * obj1 = 0 ;
9780 char * kwnames[] = {
9781 (char *) "self",(char *) "mode", NULL
9782 };
9783
9784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9786 if (!SWIG_IsOK(res1)) {
9787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9788 }
9789 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9790 ecode2 = SWIG_AsVal_int(obj1, &val2);
9791 if (!SWIG_IsOK(ecode2)) {
9792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9793 }
9794 arg2 = static_cast< int >(val2);
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 (arg1)->SetSplitMode(arg2);
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 resultobj = SWIG_Py_Void();
9802 return resultobj;
9803fail:
9804 return NULL;
d55e5bfc
RD
9805}
9806
9807
1bd55598
RD
9808SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9809 PyObject *resultobj = 0;
9810 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9811 wxSplitMode result;
9812 void *argp1 = 0 ;
9813 int res1 = 0 ;
9814 PyObject *swig_obj[1] ;
9815
9816 if (!args) SWIG_fail;
9817 swig_obj[0] = args;
9818 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9819 if (!SWIG_IsOK(res1)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9821 }
9822 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9823 {
9824 PyThreadState* __tstate = wxPyBeginAllowThreads();
9825 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9826 wxPyEndAllowThreads(__tstate);
9827 if (PyErr_Occurred()) SWIG_fail;
9828 }
9829 resultobj = SWIG_From_int(static_cast< int >(result));
9830 return resultobj;
9831fail:
9832 return NULL;
9833}
9834
9835
9836SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9837 PyObject *resultobj = 0;
9838 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9839 wxWindow *arg2 = (wxWindow *) 0 ;
9840 void *argp1 = 0 ;
9841 int res1 = 0 ;
9842 void *argp2 = 0 ;
9843 int res2 = 0 ;
9844 PyObject * obj0 = 0 ;
9845 PyObject * obj1 = 0 ;
9846 char * kwnames[] = {
9847 (char *) "self",(char *) "window", NULL
9848 };
9849
9850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9852 if (!SWIG_IsOK(res1)) {
9853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9854 }
9855 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9856 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9857 if (!SWIG_IsOK(res2)) {
9858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9859 }
9860 arg2 = reinterpret_cast< wxWindow * >(argp2);
9861 {
9862 PyThreadState* __tstate = wxPyBeginAllowThreads();
9863 (arg1)->Initialize(arg2);
9864 wxPyEndAllowThreads(__tstate);
9865 if (PyErr_Occurred()) SWIG_fail;
9866 }
9867 resultobj = SWIG_Py_Void();
9868 return resultobj;
9869fail:
9870 return NULL;
9871}
9872
9873
9874SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj = 0;
9876 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9877 wxWindow *arg2 = (wxWindow *) 0 ;
9878 wxWindow *arg3 = (wxWindow *) 0 ;
9879 int arg4 = (int) 0 ;
9880 bool result;
9881 void *argp1 = 0 ;
9882 int res1 = 0 ;
9883 void *argp2 = 0 ;
9884 int res2 = 0 ;
9885 void *argp3 = 0 ;
9886 int res3 = 0 ;
9887 int val4 ;
9888 int ecode4 = 0 ;
9889 PyObject * obj0 = 0 ;
9890 PyObject * obj1 = 0 ;
9891 PyObject * obj2 = 0 ;
9892 PyObject * obj3 = 0 ;
9893 char * kwnames[] = {
9894 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9895 };
9896
9897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9899 if (!SWIG_IsOK(res1)) {
9900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9901 }
9902 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9904 if (!SWIG_IsOK(res2)) {
9905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9906 }
9907 arg2 = reinterpret_cast< wxWindow * >(argp2);
9908 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9909 if (!SWIG_IsOK(res3)) {
9910 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9911 }
9912 arg3 = reinterpret_cast< wxWindow * >(argp3);
9913 if (obj3) {
9914 ecode4 = SWIG_AsVal_int(obj3, &val4);
9915 if (!SWIG_IsOK(ecode4)) {
9916 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9917 }
9918 arg4 = static_cast< int >(val4);
9919 }
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 {
9927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9928 }
9929 return resultobj;
9930fail:
9931 return NULL;
9932}
9933
9934
9935SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9936 PyObject *resultobj = 0;
9937 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9938 wxWindow *arg2 = (wxWindow *) 0 ;
9939 wxWindow *arg3 = (wxWindow *) 0 ;
9940 int arg4 = (int) 0 ;
9941 bool result;
9942 void *argp1 = 0 ;
9943 int res1 = 0 ;
9944 void *argp2 = 0 ;
9945 int res2 = 0 ;
9946 void *argp3 = 0 ;
9947 int res3 = 0 ;
9948 int val4 ;
9949 int ecode4 = 0 ;
9950 PyObject * obj0 = 0 ;
9951 PyObject * obj1 = 0 ;
9952 PyObject * obj2 = 0 ;
9953 PyObject * obj3 = 0 ;
9954 char * kwnames[] = {
9955 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9956 };
9957
9958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9960 if (!SWIG_IsOK(res1)) {
9961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9962 }
9963 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9964 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9965 if (!SWIG_IsOK(res2)) {
9966 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9967 }
9968 arg2 = reinterpret_cast< wxWindow * >(argp2);
9969 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9970 if (!SWIG_IsOK(res3)) {
9971 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9972 }
9973 arg3 = reinterpret_cast< wxWindow * >(argp3);
9974 if (obj3) {
9975 ecode4 = SWIG_AsVal_int(obj3, &val4);
9976 if (!SWIG_IsOK(ecode4)) {
9977 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9978 }
9979 arg4 = static_cast< int >(val4);
9980 }
9981 {
9982 PyThreadState* __tstate = wxPyBeginAllowThreads();
9983 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) SWIG_fail;
9986 }
9987 {
9988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9989 }
9990 return resultobj;
9991fail:
9992 return NULL;
9993}
9994
9995
9996SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9997 PyObject *resultobj = 0;
9998 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9999 wxWindow *arg2 = (wxWindow *) NULL ;
10000 bool result;
10001 void *argp1 = 0 ;
10002 int res1 = 0 ;
10003 void *argp2 = 0 ;
10004 int res2 = 0 ;
10005 PyObject * obj0 = 0 ;
10006 PyObject * obj1 = 0 ;
10007 char * kwnames[] = {
10008 (char *) "self",(char *) "toRemove", NULL
10009 };
10010
10011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10013 if (!SWIG_IsOK(res1)) {
10014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10015 }
10016 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10017 if (obj1) {
10018 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10019 if (!SWIG_IsOK(res2)) {
10020 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
f20a2e1f 10021 }
1bd55598
RD
10022 arg2 = reinterpret_cast< wxWindow * >(argp2);
10023 }
10024 {
10025 PyThreadState* __tstate = wxPyBeginAllowThreads();
10026 result = (bool)(arg1)->Unsplit(arg2);
10027 wxPyEndAllowThreads(__tstate);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 {
10031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10032 }
10033 return resultobj;
10034fail:
10035 return NULL;
10036}
10037
10038
10039SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10040 PyObject *resultobj = 0;
10041 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10042 wxWindow *arg2 = (wxWindow *) 0 ;
10043 wxWindow *arg3 = (wxWindow *) 0 ;
10044 bool result;
10045 void *argp1 = 0 ;
10046 int res1 = 0 ;
10047 void *argp2 = 0 ;
10048 int res2 = 0 ;
10049 void *argp3 = 0 ;
10050 int res3 = 0 ;
10051 PyObject * obj0 = 0 ;
10052 PyObject * obj1 = 0 ;
10053 PyObject * obj2 = 0 ;
10054 char * kwnames[] = {
10055 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10056 };
10057
10058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10060 if (!SWIG_IsOK(res1)) {
10061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10062 }
10063 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10064 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10065 if (!SWIG_IsOK(res2)) {
10066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10067 }
10068 arg2 = reinterpret_cast< wxWindow * >(argp2);
10069 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10070 if (!SWIG_IsOK(res3)) {
10071 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10072 }
10073 arg3 = reinterpret_cast< wxWindow * >(argp3);
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10077 wxPyEndAllowThreads(__tstate);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 }
10080 {
10081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10082 }
10083 return resultobj;
10084fail:
10085 return NULL;
f20a2e1f
RD
10086}
10087
10088
1bd55598
RD
10089SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10090 PyObject *resultobj = 0;
10091 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10092 void *argp1 = 0 ;
10093 int res1 = 0 ;
10094 PyObject *swig_obj[1] ;
10095
10096 if (!args) SWIG_fail;
10097 swig_obj[0] = args;
10098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10099 if (!SWIG_IsOK(res1)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 }
10102 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10103 {
10104 PyThreadState* __tstate = wxPyBeginAllowThreads();
10105 (arg1)->UpdateSize();
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 resultobj = SWIG_Py_Void();
10110 return resultobj;
10111fail:
10112 return NULL;
d55e5bfc
RD
10113}
10114
10115
1bd55598
RD
10116SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10117 PyObject *resultobj = 0;
10118 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10119 bool result;
10120 void *argp1 = 0 ;
10121 int res1 = 0 ;
10122 PyObject *swig_obj[1] ;
10123
10124 if (!args) SWIG_fail;
10125 swig_obj[0] = args;
10126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10127 if (!SWIG_IsOK(res1)) {
10128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10129 }
10130 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 {
10138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10139 }
10140 return resultobj;
10141fail:
10142 return NULL;
10143}
10144
10145
10146SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10147 PyObject *resultobj = 0;
10148 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10149 int arg2 ;
10150 void *argp1 = 0 ;
10151 int res1 = 0 ;
10152 int val2 ;
10153 int ecode2 = 0 ;
10154 PyObject * obj0 = 0 ;
10155 PyObject * obj1 = 0 ;
10156 char * kwnames[] = {
10157 (char *) "self",(char *) "width", NULL
10158 };
10159
10160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10162 if (!SWIG_IsOK(res1)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10164 }
10165 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10166 ecode2 = SWIG_AsVal_int(obj1, &val2);
10167 if (!SWIG_IsOK(ecode2)) {
10168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10169 }
10170 arg2 = static_cast< int >(val2);
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 (arg1)->SetSashSize(arg2);
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 resultobj = SWIG_Py_Void();
10178 return resultobj;
10179fail:
10180 return NULL;
10181}
10182
10183
10184SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10185 PyObject *resultobj = 0;
10186 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10187 int arg2 ;
10188 void *argp1 = 0 ;
10189 int res1 = 0 ;
10190 int val2 ;
10191 int ecode2 = 0 ;
10192 PyObject * obj0 = 0 ;
10193 PyObject * obj1 = 0 ;
10194 char * kwnames[] = {
10195 (char *) "self",(char *) "width", NULL
10196 };
10197
10198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10200 if (!SWIG_IsOK(res1)) {
10201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10202 }
10203 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10204 ecode2 = SWIG_AsVal_int(obj1, &val2);
10205 if (!SWIG_IsOK(ecode2)) {
10206 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10207 }
10208 arg2 = static_cast< int >(val2);
10209 {
10210 PyThreadState* __tstate = wxPyBeginAllowThreads();
10211 (arg1)->SetBorderSize(arg2);
10212 wxPyEndAllowThreads(__tstate);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 }
10215 resultobj = SWIG_Py_Void();
10216 return resultobj;
10217fail:
10218 return NULL;
d55e5bfc
RD
10219}
10220
10221
1bd55598
RD
10222SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10223 PyObject *resultobj = 0;
10224 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10225 int result;
10226 void *argp1 = 0 ;
10227 int res1 = 0 ;
10228 PyObject *swig_obj[1] ;
10229
10230 if (!args) SWIG_fail;
10231 swig_obj[0] = args;
10232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10233 if (!SWIG_IsOK(res1)) {
10234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10235 }
10236 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10240 wxPyEndAllowThreads(__tstate);
10241 if (PyErr_Occurred()) SWIG_fail;
10242 }
10243 resultobj = SWIG_From_int(static_cast< int >(result));
10244 return resultobj;
10245fail:
10246 return NULL;
d55e5bfc
RD
10247}
10248
10249
1bd55598
RD
10250SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10251 PyObject *resultobj = 0;
10252 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10253 int result;
10254 void *argp1 = 0 ;
10255 int res1 = 0 ;
10256 PyObject *swig_obj[1] ;
10257
10258 if (!args) SWIG_fail;
10259 swig_obj[0] = args;
10260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10261 if (!SWIG_IsOK(res1)) {
10262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10263 }
10264 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10268 wxPyEndAllowThreads(__tstate);
10269 if (PyErr_Occurred()) SWIG_fail;
10270 }
10271 resultobj = SWIG_From_int(static_cast< int >(result));
10272 return resultobj;
10273fail:
10274 return NULL;
10275}
10276
10277
10278SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj = 0;
10280 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10281 int arg2 ;
10282 bool arg3 = (bool) true ;
10283 void *argp1 = 0 ;
10284 int res1 = 0 ;
10285 int val2 ;
10286 int ecode2 = 0 ;
10287 bool val3 ;
10288 int ecode3 = 0 ;
10289 PyObject * obj0 = 0 ;
10290 PyObject * obj1 = 0 ;
10291 PyObject * obj2 = 0 ;
10292 char * kwnames[] = {
10293 (char *) "self",(char *) "position",(char *) "redraw", NULL
10294 };
10295
10296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10298 if (!SWIG_IsOK(res1)) {
10299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10300 }
10301 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10302 ecode2 = SWIG_AsVal_int(obj1, &val2);
10303 if (!SWIG_IsOK(ecode2)) {
10304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10305 }
10306 arg2 = static_cast< int >(val2);
10307 if (obj2) {
10308 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10309 if (!SWIG_IsOK(ecode3)) {
10310 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10311 }
10312 arg3 = static_cast< bool >(val3);
10313 }
10314 {
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 (arg1)->SetSashPosition(arg2,arg3);
10317 wxPyEndAllowThreads(__tstate);
10318 if (PyErr_Occurred()) SWIG_fail;
10319 }
10320 resultobj = SWIG_Py_Void();
10321 return resultobj;
10322fail:
10323 return NULL;
d55e5bfc
RD
10324}
10325
10326
1bd55598
RD
10327SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10328 PyObject *resultobj = 0;
10329 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10330 int result;
10331 void *argp1 = 0 ;
10332 int res1 = 0 ;
10333 PyObject *swig_obj[1] ;
10334
10335 if (!args) SWIG_fail;
10336 swig_obj[0] = args;
10337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10338 if (!SWIG_IsOK(res1)) {
10339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10340 }
10341 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10342 {
10343 PyThreadState* __tstate = wxPyBeginAllowThreads();
10344 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10345 wxPyEndAllowThreads(__tstate);
10346 if (PyErr_Occurred()) SWIG_fail;
10347 }
10348 resultobj = SWIG_From_int(static_cast< int >(result));
10349 return resultobj;
10350fail:
10351 return NULL;
10352}
10353
10354
10355SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10356 PyObject *resultobj = 0;
10357 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10358 double arg2 ;
10359 void *argp1 = 0 ;
10360 int res1 = 0 ;
10361 double val2 ;
10362 int ecode2 = 0 ;
10363 PyObject * obj0 = 0 ;
10364 PyObject * obj1 = 0 ;
10365 char * kwnames[] = {
10366 (char *) "self",(char *) "gravity", NULL
10367 };
10368
10369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10371 if (!SWIG_IsOK(res1)) {
10372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10373 }
10374 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10375 ecode2 = SWIG_AsVal_double(obj1, &val2);
10376 if (!SWIG_IsOK(ecode2)) {
10377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10378 }
10379 arg2 = static_cast< double >(val2);
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 (arg1)->SetSashGravity(arg2);
10383 wxPyEndAllowThreads(__tstate);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 }
10386 resultobj = SWIG_Py_Void();
10387 return resultobj;
10388fail:
10389 return NULL;
d55e5bfc
RD
10390}
10391
10392
1bd55598
RD
10393SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10394 PyObject *resultobj = 0;
10395 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10396 double result;
10397 void *argp1 = 0 ;
10398 int res1 = 0 ;
10399 PyObject *swig_obj[1] ;
10400
10401 if (!args) SWIG_fail;
10402 swig_obj[0] = args;
10403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10404 if (!SWIG_IsOK(res1)) {
10405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10406 }
10407 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10408 {
10409 PyThreadState* __tstate = wxPyBeginAllowThreads();
10410 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10411 wxPyEndAllowThreads(__tstate);
10412 if (PyErr_Occurred()) SWIG_fail;
10413 }
10414 resultobj = SWIG_From_double(static_cast< double >(result));
10415 return resultobj;
10416fail:
10417 return NULL;
10418}
10419
10420
10421SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10422 PyObject *resultobj = 0;
10423 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10424 int arg2 ;
10425 void *argp1 = 0 ;
10426 int res1 = 0 ;
10427 int val2 ;
10428 int ecode2 = 0 ;
10429 PyObject * obj0 = 0 ;
10430 PyObject * obj1 = 0 ;
10431 char * kwnames[] = {
10432 (char *) "self",(char *) "min", NULL
10433 };
10434
10435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10437 if (!SWIG_IsOK(res1)) {
10438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10439 }
10440 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10441 ecode2 = SWIG_AsVal_int(obj1, &val2);
10442 if (!SWIG_IsOK(ecode2)) {
10443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10444 }
10445 arg2 = static_cast< int >(val2);
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 (arg1)->SetMinimumPaneSize(arg2);
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 resultobj = SWIG_Py_Void();
10453 return resultobj;
10454fail:
10455 return NULL;
b1fcee84
RD
10456}
10457
10458
1bd55598
RD
10459SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10460 PyObject *resultobj = 0;
10461 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10462 int result;
10463 void *argp1 = 0 ;
10464 int res1 = 0 ;
10465 PyObject *swig_obj[1] ;
10466
10467 if (!args) SWIG_fail;
10468 swig_obj[0] = args;
10469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10470 if (!SWIG_IsOK(res1)) {
10471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10472 }
10473 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10474 {
10475 PyThreadState* __tstate = wxPyBeginAllowThreads();
10476 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 resultobj = SWIG_From_int(static_cast< int >(result));
10481 return resultobj;
10482fail:
10483 return NULL;
10484}
10485
10486
10487SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10488 PyObject *resultobj = 0;
10489 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10490 int arg2 ;
10491 int arg3 ;
10492 int arg4 = (int) 5 ;
10493 bool result;
10494 void *argp1 = 0 ;
10495 int res1 = 0 ;
10496 int val2 ;
10497 int ecode2 = 0 ;
10498 int val3 ;
10499 int ecode3 = 0 ;
10500 int val4 ;
10501 int ecode4 = 0 ;
10502 PyObject * obj0 = 0 ;
10503 PyObject * obj1 = 0 ;
10504 PyObject * obj2 = 0 ;
10505 PyObject * obj3 = 0 ;
10506 char * kwnames[] = {
10507 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10508 };
10509
10510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10512 if (!SWIG_IsOK(res1)) {
10513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10514 }
10515 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10516 ecode2 = SWIG_AsVal_int(obj1, &val2);
10517 if (!SWIG_IsOK(ecode2)) {
10518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10519 }
10520 arg2 = static_cast< int >(val2);
10521 ecode3 = SWIG_AsVal_int(obj2, &val3);
10522 if (!SWIG_IsOK(ecode3)) {
10523 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10524 }
10525 arg3 = static_cast< int >(val3);
10526 if (obj3) {
10527 ecode4 = SWIG_AsVal_int(obj3, &val4);
10528 if (!SWIG_IsOK(ecode4)) {
10529 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10530 }
10531 arg4 = static_cast< int >(val4);
10532 }
10533 {
10534 PyThreadState* __tstate = wxPyBeginAllowThreads();
10535 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 {
10540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10541 }
10542 return resultobj;
10543fail:
10544 return NULL;
b1fcee84
RD
10545}
10546
10547
1bd55598
RD
10548SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10549 PyObject *resultobj = 0;
10550 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10551 void *argp1 = 0 ;
10552 int res1 = 0 ;
10553 PyObject *swig_obj[1] ;
10554
10555 if (!args) SWIG_fail;
10556 swig_obj[0] = args;
10557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10558 if (!SWIG_IsOK(res1)) {
10559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10560 }
10561 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 (arg1)->SizeWindows();
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 resultobj = SWIG_Py_Void();
10569 return resultobj;
10570fail:
10571 return NULL;
10572}
10573
10574
10575SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj = 0;
10577 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10578 bool arg2 ;
10579 void *argp1 = 0 ;
10580 int res1 = 0 ;
10581 bool val2 ;
10582 int ecode2 = 0 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 char * kwnames[] = {
10586 (char *) "self",(char *) "needUpdating", NULL
10587 };
10588
10589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10591 if (!SWIG_IsOK(res1)) {
10592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10593 }
10594 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10595 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10596 if (!SWIG_IsOK(ecode2)) {
10597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10598 }
10599 arg2 = static_cast< bool >(val2);
10600 {
10601 PyThreadState* __tstate = wxPyBeginAllowThreads();
10602 (arg1)->SetNeedUpdating(arg2);
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 resultobj = SWIG_Py_Void();
10607 return resultobj;
10608fail:
10609 return NULL;
b1fcee84
RD
10610}
10611
10612
1bd55598
RD
10613SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10614 PyObject *resultobj = 0;
10615 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10616 bool result;
10617 void *argp1 = 0 ;
10618 int res1 = 0 ;
10619 PyObject *swig_obj[1] ;
10620
10621 if (!args) SWIG_fail;
10622 swig_obj[0] = args;
10623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10624 if (!SWIG_IsOK(res1)) {
10625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10626 }
10627 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10631 wxPyEndAllowThreads(__tstate);
10632 if (PyErr_Occurred()) SWIG_fail;
10633 }
10634 {
10635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10636 }
10637 return resultobj;
10638fail:
10639 return NULL;
b1fcee84
RD
10640}
10641
10642
1bd55598
RD
10643SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10644 PyObject *resultobj = 0;
10645 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10646 SwigValueWrapper<wxVisualAttributes > result;
10647 int val1 ;
10648 int ecode1 = 0 ;
10649 PyObject * obj0 = 0 ;
10650 char * kwnames[] = {
10651 (char *) "variant", NULL
10652 };
10653
10654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10655 if (obj0) {
10656 ecode1 = SWIG_AsVal_int(obj0, &val1);
10657 if (!SWIG_IsOK(ecode1)) {
10658 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10659 }
10660 arg1 = static_cast< wxWindowVariant >(val1);
10661 }
10662 {
10663 if (!wxPyCheckForApp()) SWIG_fail;
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10666 wxPyEndAllowThreads(__tstate);
10667 if (PyErr_Occurred()) SWIG_fail;
10668 }
10669 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10670 return resultobj;
10671fail:
10672 return NULL;
d55e5bfc
RD
10673}
10674
10675
1bd55598
RD
10676SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10677 PyObject *obj;
10678 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10679 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10680 return SWIG_Py_Void();
d55e5bfc
RD
10681}
10682
1bd55598
RD
10683SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10684 return SWIG_Python_InitShadowInstance(args);
62d32a5f
RD
10685}
10686
1bd55598
RD
10687SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj = 0;
10689 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10690 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10691 wxSplitterEvent *result = 0 ;
10692 int val1 ;
10693 int ecode1 = 0 ;
10694 void *argp2 = 0 ;
10695 int res2 = 0 ;
10696 PyObject * obj0 = 0 ;
10697 PyObject * obj1 = 0 ;
10698 char * kwnames[] = {
10699 (char *) "type",(char *) "splitter", NULL
10700 };
10701
10702 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10703 if (obj0) {
10704 ecode1 = SWIG_AsVal_int(obj0, &val1);
10705 if (!SWIG_IsOK(ecode1)) {
10706 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10707 }
10708 arg1 = static_cast< wxEventType >(val1);
10709 }
10710 if (obj1) {
10711 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10712 if (!SWIG_IsOK(res2)) {
10713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
d55e5bfc 10714 }
1bd55598
RD
10715 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10716 }
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10724 return resultobj;
10725fail:
10726 return NULL;
10727}
10728
10729
10730SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10731 PyObject *resultobj = 0;
10732 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10733 int arg2 ;
10734 void *argp1 = 0 ;
10735 int res1 = 0 ;
10736 int val2 ;
10737 int ecode2 = 0 ;
10738 PyObject * obj0 = 0 ;
10739 PyObject * obj1 = 0 ;
10740 char * kwnames[] = {
10741 (char *) "self",(char *) "pos", NULL
10742 };
10743
10744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10746 if (!SWIG_IsOK(res1)) {
10747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10748 }
10749 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10750 ecode2 = SWIG_AsVal_int(obj1, &val2);
10751 if (!SWIG_IsOK(ecode2)) {
10752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10753 }
10754 arg2 = static_cast< int >(val2);
10755 {
10756 PyThreadState* __tstate = wxPyBeginAllowThreads();
10757 (arg1)->SetSashPosition(arg2);
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 resultobj = SWIG_Py_Void();
10762 return resultobj;
10763fail:
10764 return NULL;
d55e5bfc
RD
10765}
10766
10767
1bd55598
RD
10768SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10769 PyObject *resultobj = 0;
10770 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10771 int result;
10772 void *argp1 = 0 ;
10773 int res1 = 0 ;
10774 PyObject *swig_obj[1] ;
10775
10776 if (!args) SWIG_fail;
10777 swig_obj[0] = args;
10778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10779 if (!SWIG_IsOK(res1)) {
10780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10781 }
10782 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10786 wxPyEndAllowThreads(__tstate);
10787 if (PyErr_Occurred()) SWIG_fail;
10788 }
10789 resultobj = SWIG_From_int(static_cast< int >(result));
10790 return resultobj;
10791fail:
10792 return NULL;
d55e5bfc
RD
10793}
10794
10795
1bd55598
RD
10796SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10797 PyObject *resultobj = 0;
10798 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10799 wxWindow *result = 0 ;
10800 void *argp1 = 0 ;
10801 int res1 = 0 ;
10802 PyObject *swig_obj[1] ;
10803
10804 if (!args) SWIG_fail;
10805 swig_obj[0] = args;
10806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10807 if (!SWIG_IsOK(res1)) {
10808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10809 }
10810 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
10817 {
10818 resultobj = wxPyMake_wxObject(result, 0);
10819 }
10820 return resultobj;
10821fail:
10822 return NULL;
d55e5bfc
RD
10823}
10824
10825
1bd55598
RD
10826SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10827 PyObject *resultobj = 0;
10828 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10829 int result;
10830 void *argp1 = 0 ;
10831 int res1 = 0 ;
10832 PyObject *swig_obj[1] ;
10833
10834 if (!args) SWIG_fail;
10835 swig_obj[0] = args;
10836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10837 if (!SWIG_IsOK(res1)) {
10838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10839 }
10840 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10841 {
10842 PyThreadState* __tstate = wxPyBeginAllowThreads();
10843 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10844 wxPyEndAllowThreads(__tstate);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 }
10847 resultobj = SWIG_From_int(static_cast< int >(result));
10848 return resultobj;
10849fail:
10850 return NULL;
f20a2e1f
RD
10851}
10852
10853
1bd55598
RD
10854SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10855 PyObject *resultobj = 0;
10856 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10857 int result;
10858 void *argp1 = 0 ;
10859 int res1 = 0 ;
10860 PyObject *swig_obj[1] ;
10861
10862 if (!args) SWIG_fail;
10863 swig_obj[0] = args;
10864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10865 if (!SWIG_IsOK(res1)) {
10866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10867 }
10868 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10869 {
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 resultobj = SWIG_From_int(static_cast< int >(result));
10876 return resultobj;
10877fail:
10878 return NULL;
d55e5bfc
RD
10879}
10880
10881
1bd55598
RD
10882SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10883 PyObject *obj;
10884 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10885 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10886 return SWIG_Py_Void();
d55e5bfc
RD
10887}
10888
1bd55598
RD
10889SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10890 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
10891}
10892
1bd55598
RD
10893SWIGINTERN int SashNameStr_set(PyObject *) {
10894 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10895 return 1;
d55e5bfc
RD
10896}
10897
10898
1bd55598
RD
10899SWIGINTERN PyObject *SashNameStr_get(void) {
10900 PyObject *pyobj = 0;
10901
10902 {
10903#if wxUSE_UNICODE
10904 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10905#else
10906 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10907#endif
10908 }
10909 return pyobj;
d55e5bfc
RD
10910}
10911
10912
1bd55598
RD
10913SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10914 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10915 return 1;
d55e5bfc
RD
10916}
10917
10918
1bd55598
RD
10919SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10920 PyObject *pyobj = 0;
10921
10922 {
10923#if wxUSE_UNICODE
10924 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10925#else
10926 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10927#endif
10928 }
10929 return pyobj;
10930}
10931
10932
10933SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10934 PyObject *resultobj = 0;
10935 wxWindow *arg1 = (wxWindow *) 0 ;
10936 int arg2 = (int) -1 ;
10937 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10938 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10939 wxSize const &arg4_defvalue = wxDefaultSize ;
10940 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10941 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10942 wxString const &arg6_defvalue = wxPySashNameStr ;
10943 wxString *arg6 = (wxString *) &arg6_defvalue ;
10944 wxSashWindow *result = 0 ;
10945 void *argp1 = 0 ;
10946 int res1 = 0 ;
10947 int val2 ;
10948 int ecode2 = 0 ;
10949 wxPoint temp3 ;
10950 wxSize temp4 ;
10951 long val5 ;
10952 int ecode5 = 0 ;
10953 bool temp6 = false ;
10954 PyObject * obj0 = 0 ;
10955 PyObject * obj1 = 0 ;
10956 PyObject * obj2 = 0 ;
10957 PyObject * obj3 = 0 ;
10958 PyObject * obj4 = 0 ;
10959 PyObject * obj5 = 0 ;
10960 char * kwnames[] = {
10961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10962 };
10963
10964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10966 if (!SWIG_IsOK(res1)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10968 }
10969 arg1 = reinterpret_cast< wxWindow * >(argp1);
10970 if (obj1) {
10971 ecode2 = SWIG_AsVal_int(obj1, &val2);
10972 if (!SWIG_IsOK(ecode2)) {
10973 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10974 }
10975 arg2 = static_cast< int >(val2);
10976 }
10977 if (obj2) {
36ed4f51 10978 {
1bd55598
RD
10979 arg3 = &temp3;
10980 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 10981 }
1bd55598
RD
10982 }
10983 if (obj3) {
36ed4f51 10984 {
1bd55598
RD
10985 arg4 = &temp4;
10986 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 10987 }
1bd55598
RD
10988 }
10989 if (obj4) {
10990 ecode5 = SWIG_AsVal_long(obj4, &val5);
10991 if (!SWIG_IsOK(ecode5)) {
10992 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10993 }
10994 arg5 = static_cast< long >(val5);
10995 }
10996 if (obj5) {
36ed4f51 10997 {
1bd55598
RD
10998 arg6 = wxString_in_helper(obj5);
10999 if (arg6 == NULL) SWIG_fail;
11000 temp6 = true;
d55e5bfc 11001 }
1bd55598
RD
11002 }
11003 {
11004 if (!wxPyCheckForApp()) SWIG_fail;
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11011 {
11012 if (temp6)
11013 delete arg6;
11014 }
11015 return resultobj;
11016fail:
11017 {
11018 if (temp6)
11019 delete arg6;
11020 }
11021 return NULL;
d55e5bfc
RD
11022}
11023
11024
1bd55598
RD
11025SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11026 PyObject *resultobj = 0;
11027 wxSashWindow *result = 0 ;
11028
11029 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11030 {
11031 if (!wxPyCheckForApp()) SWIG_fail;
11032 PyThreadState* __tstate = wxPyBeginAllowThreads();
11033 result = (wxSashWindow *)new wxSashWindow();
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11038 return resultobj;
11039fail:
11040 return NULL;
11041}
11042
11043
11044SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11045 PyObject *resultobj = 0;
11046 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11047 wxWindow *arg2 = (wxWindow *) 0 ;
11048 int arg3 = (int) -1 ;
11049 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11050 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11051 wxSize const &arg5_defvalue = wxDefaultSize ;
11052 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11053 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11054 wxString const &arg7_defvalue = wxPySashNameStr ;
11055 wxString *arg7 = (wxString *) &arg7_defvalue ;
11056 bool result;
11057 void *argp1 = 0 ;
11058 int res1 = 0 ;
11059 void *argp2 = 0 ;
11060 int res2 = 0 ;
11061 int val3 ;
11062 int ecode3 = 0 ;
11063 wxPoint temp4 ;
11064 wxSize temp5 ;
11065 long val6 ;
11066 int ecode6 = 0 ;
11067 bool temp7 = false ;
11068 PyObject * obj0 = 0 ;
11069 PyObject * obj1 = 0 ;
11070 PyObject * obj2 = 0 ;
11071 PyObject * obj3 = 0 ;
11072 PyObject * obj4 = 0 ;
11073 PyObject * obj5 = 0 ;
11074 PyObject * obj6 = 0 ;
11075 char * kwnames[] = {
11076 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11077 };
11078
11079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11081 if (!SWIG_IsOK(res1)) {
11082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11083 }
11084 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11085 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11086 if (!SWIG_IsOK(res2)) {
11087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11088 }
11089 arg2 = reinterpret_cast< wxWindow * >(argp2);
11090 if (obj2) {
11091 ecode3 = SWIG_AsVal_int(obj2, &val3);
11092 if (!SWIG_IsOK(ecode3)) {
11093 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11094 }
11095 arg3 = static_cast< int >(val3);
11096 }
11097 if (obj3) {
d55e5bfc 11098 {
1bd55598
RD
11099 arg4 = &temp4;
11100 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 11101 }
1bd55598
RD
11102 }
11103 if (obj4) {
36ed4f51 11104 {
1bd55598
RD
11105 arg5 = &temp5;
11106 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 11107 }
1bd55598
RD
11108 }
11109 if (obj5) {
11110 ecode6 = SWIG_AsVal_long(obj5, &val6);
11111 if (!SWIG_IsOK(ecode6)) {
11112 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11113 }
11114 arg6 = static_cast< long >(val6);
11115 }
11116 if (obj6) {
d55e5bfc 11117 {
1bd55598
RD
11118 arg7 = wxString_in_helper(obj6);
11119 if (arg7 == NULL) SWIG_fail;
11120 temp7 = true;
36ed4f51 11121 }
1bd55598
RD
11122 }
11123 {
11124 PyThreadState* __tstate = wxPyBeginAllowThreads();
11125 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 {
11130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11131 }
11132 {
11133 if (temp7)
11134 delete arg7;
11135 }
11136 return resultobj;
11137fail:
11138 {
11139 if (temp7)
11140 delete arg7;
11141 }
11142 return NULL;
11143}
11144
11145
11146SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj = 0;
11148 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11149 wxSashEdgePosition arg2 ;
11150 bool arg3 ;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 int val2 ;
11154 int ecode2 = 0 ;
11155 bool val3 ;
11156 int ecode3 = 0 ;
11157 PyObject * obj0 = 0 ;
11158 PyObject * obj1 = 0 ;
11159 PyObject * obj2 = 0 ;
11160 char * kwnames[] = {
11161 (char *) "self",(char *) "edge",(char *) "sash", NULL
11162 };
11163
11164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11166 if (!SWIG_IsOK(res1)) {
11167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11168 }
11169 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11170 ecode2 = SWIG_AsVal_int(obj1, &val2);
11171 if (!SWIG_IsOK(ecode2)) {
11172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11173 }
11174 arg2 = static_cast< wxSashEdgePosition >(val2);
11175 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11176 if (!SWIG_IsOK(ecode3)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11178 }
11179 arg3 = static_cast< bool >(val3);
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 (arg1)->SetSashVisible(arg2,arg3);
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 resultobj = SWIG_Py_Void();
11187 return resultobj;
11188fail:
11189 return NULL;
11190}
11191
11192
11193SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11194 PyObject *resultobj = 0;
11195 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11196 wxSashEdgePosition arg2 ;
11197 bool result;
11198 void *argp1 = 0 ;
11199 int res1 = 0 ;
11200 int val2 ;
11201 int ecode2 = 0 ;
11202 PyObject * obj0 = 0 ;
11203 PyObject * obj1 = 0 ;
11204 char * kwnames[] = {
11205 (char *) "self",(char *) "edge", NULL
11206 };
11207
11208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11210 if (!SWIG_IsOK(res1)) {
11211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11212 }
11213 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11214 ecode2 = SWIG_AsVal_int(obj1, &val2);
11215 if (!SWIG_IsOK(ecode2)) {
11216 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11217 }
11218 arg2 = static_cast< wxSashEdgePosition >(val2);
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11222 wxPyEndAllowThreads(__tstate);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 }
11225 {
11226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11227 }
11228 return resultobj;
11229fail:
11230 return NULL;
11231}
11232
11233
11234SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11235 PyObject *resultobj = 0;
11236 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11237 wxSashEdgePosition arg2 ;
11238 bool arg3 ;
11239 void *argp1 = 0 ;
11240 int res1 = 0 ;
11241 int val2 ;
11242 int ecode2 = 0 ;
11243 bool val3 ;
11244 int ecode3 = 0 ;
11245 PyObject * obj0 = 0 ;
11246 PyObject * obj1 = 0 ;
11247 PyObject * obj2 = 0 ;
11248 char * kwnames[] = {
11249 (char *) "self",(char *) "edge",(char *) "border", NULL
11250 };
11251
11252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11254 if (!SWIG_IsOK(res1)) {
11255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11256 }
11257 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11258 ecode2 = SWIG_AsVal_int(obj1, &val2);
11259 if (!SWIG_IsOK(ecode2)) {
11260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11261 }
11262 arg2 = static_cast< wxSashEdgePosition >(val2);
11263 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11264 if (!SWIG_IsOK(ecode3)) {
11265 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11266 }
11267 arg3 = static_cast< bool >(val3);
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 (arg1)->SetSashBorder(arg2,arg3);
11271 wxPyEndAllowThreads(__tstate);
11272 if (PyErr_Occurred()) SWIG_fail;
11273 }
11274 resultobj = SWIG_Py_Void();
11275 return resultobj;
11276fail:
11277 return NULL;
11278}
11279
11280
11281SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11282 PyObject *resultobj = 0;
11283 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11284 wxSashEdgePosition arg2 ;
11285 bool result;
11286 void *argp1 = 0 ;
11287 int res1 = 0 ;
11288 int val2 ;
11289 int ecode2 = 0 ;
11290 PyObject * obj0 = 0 ;
11291 PyObject * obj1 = 0 ;
11292 char * kwnames[] = {
11293 (char *) "self",(char *) "edge", NULL
11294 };
11295
11296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11298 if (!SWIG_IsOK(res1)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11300 }
11301 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11302 ecode2 = SWIG_AsVal_int(obj1, &val2);
11303 if (!SWIG_IsOK(ecode2)) {
11304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11305 }
11306 arg2 = static_cast< wxSashEdgePosition >(val2);
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 {
11314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11315 }
11316 return resultobj;
11317fail:
11318 return NULL;
11319}
11320
11321
11322SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11323 PyObject *resultobj = 0;
11324 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11325 wxSashEdgePosition arg2 ;
11326 int result;
11327 void *argp1 = 0 ;
11328 int res1 = 0 ;
11329 int val2 ;
11330 int ecode2 = 0 ;
11331 PyObject * obj0 = 0 ;
11332 PyObject * obj1 = 0 ;
11333 char * kwnames[] = {
11334 (char *) "self",(char *) "edge", NULL
11335 };
11336
11337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11339 if (!SWIG_IsOK(res1)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11341 }
11342 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11343 ecode2 = SWIG_AsVal_int(obj1, &val2);
11344 if (!SWIG_IsOK(ecode2)) {
11345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11346 }
11347 arg2 = static_cast< wxSashEdgePosition >(val2);
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 resultobj = SWIG_From_int(static_cast< int >(result));
11355 return resultobj;
11356fail:
11357 return NULL;
11358}
11359
11360
11361SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11362 PyObject *resultobj = 0;
11363 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11364 int arg2 ;
11365 void *argp1 = 0 ;
11366 int res1 = 0 ;
11367 int val2 ;
11368 int ecode2 = 0 ;
11369 PyObject * obj0 = 0 ;
11370 PyObject * obj1 = 0 ;
11371 char * kwnames[] = {
11372 (char *) "self",(char *) "width", NULL
11373 };
11374
11375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11377 if (!SWIG_IsOK(res1)) {
11378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11379 }
11380 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11381 ecode2 = SWIG_AsVal_int(obj1, &val2);
11382 if (!SWIG_IsOK(ecode2)) {
11383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11384 }
11385 arg2 = static_cast< int >(val2);
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 (arg1)->SetDefaultBorderSize(arg2);
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 resultobj = SWIG_Py_Void();
11393 return resultobj;
11394fail:
11395 return NULL;
d55e5bfc
RD
11396}
11397
11398
1bd55598
RD
11399SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11400 PyObject *resultobj = 0;
11401 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11402 int result;
11403 void *argp1 = 0 ;
11404 int res1 = 0 ;
11405 PyObject *swig_obj[1] ;
11406
11407 if (!args) SWIG_fail;
11408 swig_obj[0] = args;
11409 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11410 if (!SWIG_IsOK(res1)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11412 }
11413 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11417 wxPyEndAllowThreads(__tstate);
11418 if (PyErr_Occurred()) SWIG_fail;
11419 }
11420 resultobj = SWIG_From_int(static_cast< int >(result));
11421 return resultobj;
11422fail:
11423 return NULL;
11424}
11425
11426
11427SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11428 PyObject *resultobj = 0;
11429 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11430 int arg2 ;
11431 void *argp1 = 0 ;
11432 int res1 = 0 ;
11433 int val2 ;
11434 int ecode2 = 0 ;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 char * kwnames[] = {
11438 (char *) "self",(char *) "width", NULL
11439 };
11440
11441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11443 if (!SWIG_IsOK(res1)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11445 }
11446 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11447 ecode2 = SWIG_AsVal_int(obj1, &val2);
11448 if (!SWIG_IsOK(ecode2)) {
11449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11450 }
11451 arg2 = static_cast< int >(val2);
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 (arg1)->SetExtraBorderSize(arg2);
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 resultobj = SWIG_Py_Void();
11459 return resultobj;
11460fail:
11461 return NULL;
d55e5bfc
RD
11462}
11463
11464
1bd55598
RD
11465SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11466 PyObject *resultobj = 0;
11467 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11468 int result;
11469 void *argp1 = 0 ;
11470 int res1 = 0 ;
11471 PyObject *swig_obj[1] ;
11472
11473 if (!args) SWIG_fail;
11474 swig_obj[0] = args;
11475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11476 if (!SWIG_IsOK(res1)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11478 }
11479 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
11486 resultobj = SWIG_From_int(static_cast< int >(result));
11487 return resultobj;
11488fail:
11489 return NULL;
11490}
11491
11492
11493SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11494 PyObject *resultobj = 0;
11495 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11496 int arg2 ;
11497 void *argp1 = 0 ;
11498 int res1 = 0 ;
11499 int val2 ;
11500 int ecode2 = 0 ;
11501 PyObject * obj0 = 0 ;
11502 PyObject * obj1 = 0 ;
11503 char * kwnames[] = {
11504 (char *) "self",(char *) "min", NULL
11505 };
11506
11507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11509 if (!SWIG_IsOK(res1)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11511 }
11512 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11513 ecode2 = SWIG_AsVal_int(obj1, &val2);
11514 if (!SWIG_IsOK(ecode2)) {
11515 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11516 }
11517 arg2 = static_cast< int >(val2);
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 (arg1)->SetMinimumSizeX(arg2);
11521 wxPyEndAllowThreads(__tstate);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 }
11524 resultobj = SWIG_Py_Void();
11525 return resultobj;
11526fail:
11527 return NULL;
11528}
11529
11530
11531SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11532 PyObject *resultobj = 0;
11533 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11534 int arg2 ;
11535 void *argp1 = 0 ;
11536 int res1 = 0 ;
11537 int val2 ;
11538 int ecode2 = 0 ;
11539 PyObject * obj0 = 0 ;
11540 PyObject * obj1 = 0 ;
11541 char * kwnames[] = {
11542 (char *) "self",(char *) "min", NULL
11543 };
11544
11545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11547 if (!SWIG_IsOK(res1)) {
11548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11549 }
11550 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11551 ecode2 = SWIG_AsVal_int(obj1, &val2);
11552 if (!SWIG_IsOK(ecode2)) {
11553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11554 }
11555 arg2 = static_cast< int >(val2);
11556 {
11557 PyThreadState* __tstate = wxPyBeginAllowThreads();
11558 (arg1)->SetMinimumSizeY(arg2);
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
11562 resultobj = SWIG_Py_Void();
11563 return resultobj;
11564fail:
11565 return NULL;
d55e5bfc
RD
11566}
11567
11568
1bd55598
RD
11569SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11570 PyObject *resultobj = 0;
11571 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11572 int result;
11573 void *argp1 = 0 ;
11574 int res1 = 0 ;
11575 PyObject *swig_obj[1] ;
11576
11577 if (!args) SWIG_fail;
11578 swig_obj[0] = args;
11579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11580 if (!SWIG_IsOK(res1)) {
11581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11582 }
11583 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11584 {
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 resultobj = SWIG_From_int(static_cast< int >(result));
11591 return resultobj;
11592fail:
11593 return NULL;
d55e5bfc
RD
11594}
11595
11596
1bd55598
RD
11597SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11598 PyObject *resultobj = 0;
11599 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11600 int result;
11601 void *argp1 = 0 ;
11602 int res1 = 0 ;
11603 PyObject *swig_obj[1] ;
11604
11605 if (!args) SWIG_fail;
11606 swig_obj[0] = args;
11607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11608 if (!SWIG_IsOK(res1)) {
11609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11610 }
11611 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 resultobj = SWIG_From_int(static_cast< int >(result));
11619 return resultobj;
11620fail:
11621 return NULL;
11622}
11623
11624
11625SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj = 0;
11627 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11628 int arg2 ;
11629 void *argp1 = 0 ;
11630 int res1 = 0 ;
11631 int val2 ;
11632 int ecode2 = 0 ;
11633 PyObject * obj0 = 0 ;
11634 PyObject * obj1 = 0 ;
11635 char * kwnames[] = {
11636 (char *) "self",(char *) "max", NULL
11637 };
11638
11639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11641 if (!SWIG_IsOK(res1)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11643 }
11644 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11645 ecode2 = SWIG_AsVal_int(obj1, &val2);
11646 if (!SWIG_IsOK(ecode2)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11648 }
11649 arg2 = static_cast< int >(val2);
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 (arg1)->SetMaximumSizeX(arg2);
11653 wxPyEndAllowThreads(__tstate);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 }
11656 resultobj = SWIG_Py_Void();
11657 return resultobj;
11658fail:
11659 return NULL;
11660}
11661
11662
11663SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11664 PyObject *resultobj = 0;
11665 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11666 int arg2 ;
11667 void *argp1 = 0 ;
11668 int res1 = 0 ;
11669 int val2 ;
11670 int ecode2 = 0 ;
11671 PyObject * obj0 = 0 ;
11672 PyObject * obj1 = 0 ;
11673 char * kwnames[] = {
11674 (char *) "self",(char *) "max", NULL
11675 };
11676
11677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11679 if (!SWIG_IsOK(res1)) {
11680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11681 }
11682 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11683 ecode2 = SWIG_AsVal_int(obj1, &val2);
11684 if (!SWIG_IsOK(ecode2)) {
11685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11686 }
11687 arg2 = static_cast< int >(val2);
11688 {
11689 PyThreadState* __tstate = wxPyBeginAllowThreads();
11690 (arg1)->SetMaximumSizeY(arg2);
11691 wxPyEndAllowThreads(__tstate);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 resultobj = SWIG_Py_Void();
11695 return resultobj;
11696fail:
11697 return NULL;
d55e5bfc
RD
11698}
11699
11700
1bd55598
RD
11701SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11702 PyObject *resultobj = 0;
11703 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11704 int result;
11705 void *argp1 = 0 ;
11706 int res1 = 0 ;
11707 PyObject *swig_obj[1] ;
11708
11709 if (!args) SWIG_fail;
11710 swig_obj[0] = args;
11711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11712 if (!SWIG_IsOK(res1)) {
11713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11714 }
11715 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 resultobj = SWIG_From_int(static_cast< int >(result));
11723 return resultobj;
11724fail:
11725 return NULL;
d55e5bfc
RD
11726}
11727
11728
1bd55598
RD
11729SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11730 PyObject *resultobj = 0;
11731 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11732 int result;
11733 void *argp1 = 0 ;
11734 int res1 = 0 ;
11735 PyObject *swig_obj[1] ;
11736
11737 if (!args) SWIG_fail;
11738 swig_obj[0] = args;
11739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11740 if (!SWIG_IsOK(res1)) {
11741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11742 }
11743 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 resultobj = SWIG_From_int(static_cast< int >(result));
11751 return resultobj;
11752fail:
11753 return NULL;
11754}
11755
11756
11757SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj = 0;
11759 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11760 int arg2 ;
11761 int arg3 ;
11762 int arg4 = (int) 2 ;
11763 wxSashEdgePosition result;
11764 void *argp1 = 0 ;
11765 int res1 = 0 ;
11766 int val2 ;
11767 int ecode2 = 0 ;
11768 int val3 ;
11769 int ecode3 = 0 ;
11770 int val4 ;
11771 int ecode4 = 0 ;
11772 PyObject * obj0 = 0 ;
11773 PyObject * obj1 = 0 ;
11774 PyObject * obj2 = 0 ;
11775 PyObject * obj3 = 0 ;
11776 char * kwnames[] = {
11777 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11778 };
11779
11780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11782 if (!SWIG_IsOK(res1)) {
11783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11784 }
11785 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11786 ecode2 = SWIG_AsVal_int(obj1, &val2);
11787 if (!SWIG_IsOK(ecode2)) {
11788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11789 }
11790 arg2 = static_cast< int >(val2);
11791 ecode3 = SWIG_AsVal_int(obj2, &val3);
11792 if (!SWIG_IsOK(ecode3)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11794 }
11795 arg3 = static_cast< int >(val3);
11796 if (obj3) {
11797 ecode4 = SWIG_AsVal_int(obj3, &val4);
11798 if (!SWIG_IsOK(ecode4)) {
11799 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11800 }
11801 arg4 = static_cast< int >(val4);
11802 }
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 resultobj = SWIG_From_int(static_cast< int >(result));
11810 return resultobj;
11811fail:
11812 return NULL;
d55e5bfc
RD
11813}
11814
11815
1bd55598
RD
11816SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11817 PyObject *resultobj = 0;
11818 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11819 void *argp1 = 0 ;
11820 int res1 = 0 ;
11821 PyObject *swig_obj[1] ;
11822
11823 if (!args) SWIG_fail;
11824 swig_obj[0] = args;
11825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11826 if (!SWIG_IsOK(res1)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11828 }
11829 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 (arg1)->SizeWindows();
11833 wxPyEndAllowThreads(__tstate);
11834 if (PyErr_Occurred()) SWIG_fail;
11835 }
11836 resultobj = SWIG_Py_Void();
11837 return resultobj;
11838fail:
11839 return NULL;
d55e5bfc
RD
11840}
11841
11842
1bd55598
RD
11843SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11844 PyObject *obj;
11845 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11846 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11847 return SWIG_Py_Void();
d55e5bfc
RD
11848}
11849
1bd55598
RD
11850SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11851 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
11852}
11853
1bd55598
RD
11854SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11855 PyObject *resultobj = 0;
11856 int arg1 = (int) 0 ;
11857 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11858 wxSashEvent *result = 0 ;
11859 int val1 ;
11860 int ecode1 = 0 ;
11861 int val2 ;
11862 int ecode2 = 0 ;
11863 PyObject * obj0 = 0 ;
11864 PyObject * obj1 = 0 ;
11865 char * kwnames[] = {
11866 (char *) "id",(char *) "edge", NULL
11867 };
11868
11869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11870 if (obj0) {
11871 ecode1 = SWIG_AsVal_int(obj0, &val1);
11872 if (!SWIG_IsOK(ecode1)) {
11873 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11874 }
11875 arg1 = static_cast< int >(val1);
11876 }
11877 if (obj1) {
11878 ecode2 = SWIG_AsVal_int(obj1, &val2);
11879 if (!SWIG_IsOK(ecode2)) {
11880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11881 }
11882 arg2 = static_cast< wxSashEdgePosition >(val2);
11883 }
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11887 wxPyEndAllowThreads(__tstate);
11888 if (PyErr_Occurred()) SWIG_fail;
11889 }
11890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11891 return resultobj;
11892fail:
11893 return NULL;
11894}
11895
11896
11897SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11898 PyObject *resultobj = 0;
11899 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11900 wxSashEdgePosition arg2 ;
11901 void *argp1 = 0 ;
11902 int res1 = 0 ;
11903 int val2 ;
11904 int ecode2 = 0 ;
11905 PyObject * obj0 = 0 ;
11906 PyObject * obj1 = 0 ;
11907 char * kwnames[] = {
11908 (char *) "self",(char *) "edge", NULL
11909 };
11910
11911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11913 if (!SWIG_IsOK(res1)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11915 }
11916 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11917 ecode2 = SWIG_AsVal_int(obj1, &val2);
11918 if (!SWIG_IsOK(ecode2)) {
11919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11920 }
11921 arg2 = static_cast< wxSashEdgePosition >(val2);
11922 {
11923 PyThreadState* __tstate = wxPyBeginAllowThreads();
11924 (arg1)->SetEdge(arg2);
11925 wxPyEndAllowThreads(__tstate);
11926 if (PyErr_Occurred()) SWIG_fail;
11927 }
11928 resultobj = SWIG_Py_Void();
11929 return resultobj;
11930fail:
11931 return NULL;
d55e5bfc
RD
11932}
11933
11934
1bd55598
RD
11935SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11936 PyObject *resultobj = 0;
11937 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11938 wxSashEdgePosition result;
11939 void *argp1 = 0 ;
11940 int res1 = 0 ;
11941 PyObject *swig_obj[1] ;
11942
11943 if (!args) SWIG_fail;
11944 swig_obj[0] = args;
11945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11946 if (!SWIG_IsOK(res1)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11948 }
11949 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = SWIG_From_int(static_cast< int >(result));
11957 return resultobj;
11958fail:
11959 return NULL;
11960}
11961
11962
11963SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj = 0;
11965 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11966 wxRect *arg2 = 0 ;
11967 void *argp1 = 0 ;
11968 int res1 = 0 ;
11969 wxRect temp2 ;
11970 PyObject * obj0 = 0 ;
11971 PyObject * obj1 = 0 ;
11972 char * kwnames[] = {
11973 (char *) "self",(char *) "rect", NULL
11974 };
11975
11976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11978 if (!SWIG_IsOK(res1)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11980 }
11981 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11982 {
11983 arg2 = &temp2;
11984 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11985 }
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 (arg1)->SetDragRect((wxRect const &)*arg2);
11989 wxPyEndAllowThreads(__tstate);
11990 if (PyErr_Occurred()) SWIG_fail;
11991 }
11992 resultobj = SWIG_Py_Void();
11993 return resultobj;
11994fail:
11995 return NULL;
03837c5c
RD
11996}
11997
11998
1bd55598
RD
11999SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12000 PyObject *resultobj = 0;
12001 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12002 wxRect result;
12003 void *argp1 = 0 ;
12004 int res1 = 0 ;
12005 PyObject *swig_obj[1] ;
12006
12007 if (!args) SWIG_fail;
12008 swig_obj[0] = args;
12009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12010 if (!SWIG_IsOK(res1)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12012 }
12013 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 result = ((wxSashEvent const *)arg1)->GetDragRect();
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
12020 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12021 return resultobj;
12022fail:
12023 return NULL;
12024}
12025
12026
12027SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12028 PyObject *resultobj = 0;
12029 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12030 wxSashDragStatus arg2 ;
12031 void *argp1 = 0 ;
12032 int res1 = 0 ;
12033 int val2 ;
12034 int ecode2 = 0 ;
12035 PyObject * obj0 = 0 ;
12036 PyObject * obj1 = 0 ;
12037 char * kwnames[] = {
12038 (char *) "self",(char *) "status", NULL
12039 };
12040
12041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
12042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12043 if (!SWIG_IsOK(res1)) {
12044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12045 }
12046 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12047 ecode2 = SWIG_AsVal_int(obj1, &val2);
12048 if (!SWIG_IsOK(ecode2)) {
12049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12050 }
12051 arg2 = static_cast< wxSashDragStatus >(val2);
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 (arg1)->SetDragStatus(arg2);
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 resultobj = SWIG_Py_Void();
12059 return resultobj;
12060fail:
12061 return NULL;
d55e5bfc
RD
12062}
12063
12064
1bd55598
RD
12065SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12066 PyObject *resultobj = 0;
12067 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12068 wxSashDragStatus result;
12069 void *argp1 = 0 ;
12070 int res1 = 0 ;
12071 PyObject *swig_obj[1] ;
12072
12073 if (!args) SWIG_fail;
12074 swig_obj[0] = args;
12075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12076 if (!SWIG_IsOK(res1)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12078 }
12079 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12083 wxPyEndAllowThreads(__tstate);
12084 if (PyErr_Occurred()) SWIG_fail;
12085 }
12086 resultobj = SWIG_From_int(static_cast< int >(result));
12087 return resultobj;
12088fail:
12089 return NULL;
d55e5bfc
RD
12090}
12091
12092
1bd55598
RD
12093SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12094 PyObject *obj;
12095 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12096 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12097 return SWIG_Py_Void();
d55e5bfc
RD
12098}
12099
1bd55598
RD
12100SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12101 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12102}
12103
1bd55598
RD
12104SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12105 PyObject *resultobj = 0;
12106 int arg1 = (int) 0 ;
12107 wxQueryLayoutInfoEvent *result = 0 ;
12108 int val1 ;
12109 int ecode1 = 0 ;
12110 PyObject * obj0 = 0 ;
12111 char * kwnames[] = {
12112 (char *) "id", NULL
12113 };
12114
12115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12116 if (obj0) {
12117 ecode1 = SWIG_AsVal_int(obj0, &val1);
12118 if (!SWIG_IsOK(ecode1)) {
12119 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12120 }
12121 arg1 = static_cast< int >(val1);
12122 }
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12126 wxPyEndAllowThreads(__tstate);
12127 if (PyErr_Occurred()) SWIG_fail;
12128 }
12129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12130 return resultobj;
12131fail:
12132 return NULL;
12133}
12134
12135
12136SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj = 0;
12138 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12139 int arg2 ;
12140 void *argp1 = 0 ;
12141 int res1 = 0 ;
12142 int val2 ;
12143 int ecode2 = 0 ;
12144 PyObject * obj0 = 0 ;
12145 PyObject * obj1 = 0 ;
12146 char * kwnames[] = {
12147 (char *) "self",(char *) "length", NULL
12148 };
12149
12150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12152 if (!SWIG_IsOK(res1)) {
12153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12154 }
12155 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12156 ecode2 = SWIG_AsVal_int(obj1, &val2);
12157 if (!SWIG_IsOK(ecode2)) {
12158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12159 }
12160 arg2 = static_cast< int >(val2);
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 (arg1)->SetRequestedLength(arg2);
12164 wxPyEndAllowThreads(__tstate);
12165 if (PyErr_Occurred()) SWIG_fail;
12166 }
12167 resultobj = SWIG_Py_Void();
12168 return resultobj;
12169fail:
12170 return NULL;
f20a2e1f
RD
12171}
12172
12173
1bd55598
RD
12174SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12175 PyObject *resultobj = 0;
12176 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12177 int result;
12178 void *argp1 = 0 ;
12179 int res1 = 0 ;
12180 PyObject *swig_obj[1] ;
12181
12182 if (!args) SWIG_fail;
12183 swig_obj[0] = args;
12184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12185 if (!SWIG_IsOK(res1)) {
12186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12187 }
12188 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12192 wxPyEndAllowThreads(__tstate);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
12195 resultobj = SWIG_From_int(static_cast< int >(result));
12196 return resultobj;
12197fail:
12198 return NULL;
12199}
12200
12201
12202SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12203 PyObject *resultobj = 0;
12204 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12205 int arg2 ;
12206 void *argp1 = 0 ;
12207 int res1 = 0 ;
12208 int val2 ;
12209 int ecode2 = 0 ;
12210 PyObject * obj0 = 0 ;
12211 PyObject * obj1 = 0 ;
12212 char * kwnames[] = {
12213 (char *) "self",(char *) "flags", NULL
12214 };
12215
12216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12218 if (!SWIG_IsOK(res1)) {
12219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12220 }
12221 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12222 ecode2 = SWIG_AsVal_int(obj1, &val2);
12223 if (!SWIG_IsOK(ecode2)) {
12224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12225 }
12226 arg2 = static_cast< int >(val2);
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 (arg1)->SetFlags(arg2);
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 resultobj = SWIG_Py_Void();
12234 return resultobj;
12235fail:
12236 return NULL;
d55e5bfc
RD
12237}
12238
12239
1bd55598
RD
12240SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12241 PyObject *resultobj = 0;
12242 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12243 int result;
12244 void *argp1 = 0 ;
12245 int res1 = 0 ;
12246 PyObject *swig_obj[1] ;
12247
12248 if (!args) SWIG_fail;
12249 swig_obj[0] = args;
12250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12251 if (!SWIG_IsOK(res1)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12253 }
12254 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12258 wxPyEndAllowThreads(__tstate);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 }
12261 resultobj = SWIG_From_int(static_cast< int >(result));
12262 return resultobj;
12263fail:
12264 return NULL;
12265}
12266
12267
12268SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12269 PyObject *resultobj = 0;
12270 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12271 wxSize *arg2 = 0 ;
12272 void *argp1 = 0 ;
12273 int res1 = 0 ;
12274 wxSize temp2 ;
12275 PyObject * obj0 = 0 ;
12276 PyObject * obj1 = 0 ;
12277 char * kwnames[] = {
12278 (char *) "self",(char *) "size", NULL
12279 };
12280
12281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12283 if (!SWIG_IsOK(res1)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12285 }
12286 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12287 {
12288 arg2 = &temp2;
12289 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12290 }
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 (arg1)->SetSize((wxSize const &)*arg2);
12294 wxPyEndAllowThreads(__tstate);
12295 if (PyErr_Occurred()) SWIG_fail;
12296 }
12297 resultobj = SWIG_Py_Void();
12298 return resultobj;
12299fail:
12300 return NULL;
d55e5bfc
RD
12301}
12302
12303
1bd55598
RD
12304SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12305 PyObject *resultobj = 0;
12306 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12307 wxSize result;
12308 void *argp1 = 0 ;
12309 int res1 = 0 ;
12310 PyObject *swig_obj[1] ;
12311
12312 if (!args) SWIG_fail;
12313 swig_obj[0] = args;
12314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12315 if (!SWIG_IsOK(res1)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12317 }
12318 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12326 return resultobj;
12327fail:
12328 return NULL;
12329}
12330
12331
12332SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12333 PyObject *resultobj = 0;
12334 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12335 wxLayoutOrientation arg2 ;
12336 void *argp1 = 0 ;
12337 int res1 = 0 ;
12338 int val2 ;
12339 int ecode2 = 0 ;
12340 PyObject * obj0 = 0 ;
12341 PyObject * obj1 = 0 ;
12342 char * kwnames[] = {
12343 (char *) "self",(char *) "orient", NULL
12344 };
12345
12346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12348 if (!SWIG_IsOK(res1)) {
12349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12350 }
12351 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12352 ecode2 = SWIG_AsVal_int(obj1, &val2);
12353 if (!SWIG_IsOK(ecode2)) {
12354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12355 }
12356 arg2 = static_cast< wxLayoutOrientation >(val2);
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 (arg1)->SetOrientation(arg2);
12360 wxPyEndAllowThreads(__tstate);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 resultobj = SWIG_Py_Void();
12364 return resultobj;
12365fail:
12366 return NULL;
d55e5bfc
RD
12367}
12368
12369
1bd55598
RD
12370SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12371 PyObject *resultobj = 0;
12372 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12373 wxLayoutOrientation result;
12374 void *argp1 = 0 ;
12375 int res1 = 0 ;
12376 PyObject *swig_obj[1] ;
12377
12378 if (!args) SWIG_fail;
12379 swig_obj[0] = args;
12380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12381 if (!SWIG_IsOK(res1)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12383 }
12384 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12385 {
12386 PyThreadState* __tstate = wxPyBeginAllowThreads();
12387 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12388 wxPyEndAllowThreads(__tstate);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 }
12391 resultobj = SWIG_From_int(static_cast< int >(result));
12392 return resultobj;
12393fail:
12394 return NULL;
12395}
12396
12397
12398SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12399 PyObject *resultobj = 0;
12400 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12401 wxLayoutAlignment arg2 ;
12402 void *argp1 = 0 ;
12403 int res1 = 0 ;
12404 int val2 ;
12405 int ecode2 = 0 ;
12406 PyObject * obj0 = 0 ;
12407 PyObject * obj1 = 0 ;
12408 char * kwnames[] = {
12409 (char *) "self",(char *) "align", NULL
12410 };
12411
12412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12414 if (!SWIG_IsOK(res1)) {
12415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12416 }
12417 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12418 ecode2 = SWIG_AsVal_int(obj1, &val2);
12419 if (!SWIG_IsOK(ecode2)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12421 }
12422 arg2 = static_cast< wxLayoutAlignment >(val2);
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 (arg1)->SetAlignment(arg2);
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 resultobj = SWIG_Py_Void();
12430 return resultobj;
12431fail:
12432 return NULL;
d55e5bfc
RD
12433}
12434
12435
1bd55598
RD
12436SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12437 PyObject *resultobj = 0;
12438 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12439 wxLayoutAlignment result;
12440 void *argp1 = 0 ;
12441 int res1 = 0 ;
12442 PyObject *swig_obj[1] ;
12443
12444 if (!args) SWIG_fail;
12445 swig_obj[0] = args;
12446 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12447 if (!SWIG_IsOK(res1)) {
12448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12449 }
12450 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12451 {
12452 PyThreadState* __tstate = wxPyBeginAllowThreads();
12453 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 resultobj = SWIG_From_int(static_cast< int >(result));
12458 return resultobj;
12459fail:
12460 return NULL;
d55e5bfc
RD
12461}
12462
12463
1bd55598
RD
12464SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12465 PyObject *obj;
12466 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12467 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12468 return SWIG_Py_Void();
d55e5bfc
RD
12469}
12470
1bd55598
RD
12471SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12472 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
12473}
12474
1bd55598
RD
12475SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj = 0;
12477 int arg1 = (int) 0 ;
12478 wxCalculateLayoutEvent *result = 0 ;
12479 int val1 ;
12480 int ecode1 = 0 ;
12481 PyObject * obj0 = 0 ;
12482 char * kwnames[] = {
12483 (char *) "id", NULL
12484 };
12485
12486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12487 if (obj0) {
12488 ecode1 = SWIG_AsVal_int(obj0, &val1);
12489 if (!SWIG_IsOK(ecode1)) {
12490 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12491 }
12492 arg1 = static_cast< int >(val1);
12493 }
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12501 return resultobj;
12502fail:
12503 return NULL;
12504}
12505
12506
12507SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj = 0;
12509 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12510 int arg2 ;
12511 void *argp1 = 0 ;
12512 int res1 = 0 ;
12513 int val2 ;
12514 int ecode2 = 0 ;
12515 PyObject * obj0 = 0 ;
12516 PyObject * obj1 = 0 ;
12517 char * kwnames[] = {
12518 (char *) "self",(char *) "flags", NULL
12519 };
12520
12521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12523 if (!SWIG_IsOK(res1)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12525 }
12526 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12527 ecode2 = SWIG_AsVal_int(obj1, &val2);
12528 if (!SWIG_IsOK(ecode2)) {
12529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12530 }
12531 arg2 = static_cast< int >(val2);
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 (arg1)->SetFlags(arg2);
12535 wxPyEndAllowThreads(__tstate);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 resultobj = SWIG_Py_Void();
12539 return resultobj;
12540fail:
12541 return NULL;
d55e5bfc
RD
12542}
12543
12544
1bd55598
RD
12545SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12546 PyObject *resultobj = 0;
12547 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12548 int result;
12549 void *argp1 = 0 ;
12550 int res1 = 0 ;
12551 PyObject *swig_obj[1] ;
12552
12553 if (!args) SWIG_fail;
12554 swig_obj[0] = args;
12555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12556 if (!SWIG_IsOK(res1)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12558 }
12559 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12560 {
12561 PyThreadState* __tstate = wxPyBeginAllowThreads();
12562 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12563 wxPyEndAllowThreads(__tstate);
12564 if (PyErr_Occurred()) SWIG_fail;
12565 }
12566 resultobj = SWIG_From_int(static_cast< int >(result));
12567 return resultobj;
12568fail:
12569 return NULL;
12570}
12571
12572
12573SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12574 PyObject *resultobj = 0;
12575 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12576 wxRect *arg2 = 0 ;
12577 void *argp1 = 0 ;
12578 int res1 = 0 ;
12579 wxRect temp2 ;
12580 PyObject * obj0 = 0 ;
12581 PyObject * obj1 = 0 ;
12582 char * kwnames[] = {
12583 (char *) "self",(char *) "rect", NULL
12584 };
12585
12586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12588 if (!SWIG_IsOK(res1)) {
12589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12590 }
12591 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12592 {
12593 arg2 = &temp2;
12594 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12595 }
12596 {
12597 PyThreadState* __tstate = wxPyBeginAllowThreads();
12598 (arg1)->SetRect((wxRect const &)*arg2);
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = SWIG_Py_Void();
12603 return resultobj;
12604fail:
12605 return NULL;
d55e5bfc
RD
12606}
12607
12608
1bd55598
RD
12609SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12610 PyObject *resultobj = 0;
12611 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12612 wxRect result;
12613 void *argp1 = 0 ;
12614 int res1 = 0 ;
12615 PyObject *swig_obj[1] ;
12616
12617 if (!args) SWIG_fail;
12618 swig_obj[0] = args;
12619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12620 if (!SWIG_IsOK(res1)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12622 }
12623 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12631 return resultobj;
12632fail:
12633 return NULL;
12634}
12635
12636
12637SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12638 PyObject *obj;
12639 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12640 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12641 return SWIG_Py_Void();
12642}
12643
12644SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12645 return SWIG_Python_InitShadowInstance(args);
12646}
12647
12648SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12649 PyObject *resultobj = 0;
12650 wxWindow *arg1 = (wxWindow *) 0 ;
12651 int arg2 = (int) -1 ;
12652 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12653 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12654 wxSize const &arg4_defvalue = wxDefaultSize ;
12655 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12656 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12657 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12658 wxString *arg6 = (wxString *) &arg6_defvalue ;
12659 wxSashLayoutWindow *result = 0 ;
12660 void *argp1 = 0 ;
12661 int res1 = 0 ;
12662 int val2 ;
12663 int ecode2 = 0 ;
12664 wxPoint temp3 ;
12665 wxSize temp4 ;
12666 long val5 ;
12667 int ecode5 = 0 ;
12668 bool temp6 = false ;
12669 PyObject * obj0 = 0 ;
12670 PyObject * obj1 = 0 ;
12671 PyObject * obj2 = 0 ;
12672 PyObject * obj3 = 0 ;
12673 PyObject * obj4 = 0 ;
12674 PyObject * obj5 = 0 ;
12675 char * kwnames[] = {
12676 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12677 };
12678
12679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12681 if (!SWIG_IsOK(res1)) {
12682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12683 }
12684 arg1 = reinterpret_cast< wxWindow * >(argp1);
12685 if (obj1) {
12686 ecode2 = SWIG_AsVal_int(obj1, &val2);
12687 if (!SWIG_IsOK(ecode2)) {
12688 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12689 }
12690 arg2 = static_cast< int >(val2);
12691 }
12692 if (obj2) {
12693 {
12694 arg3 = &temp3;
12695 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 12696 }
1bd55598
RD
12697 }
12698 if (obj3) {
d55e5bfc 12699 {
1bd55598
RD
12700 arg4 = &temp4;
12701 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12702 }
1bd55598
RD
12703 }
12704 if (obj4) {
12705 ecode5 = SWIG_AsVal_long(obj4, &val5);
12706 if (!SWIG_IsOK(ecode5)) {
12707 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12708 }
12709 arg5 = static_cast< long >(val5);
12710 }
12711 if (obj5) {
d55e5bfc 12712 {
1bd55598
RD
12713 arg6 = wxString_in_helper(obj5);
12714 if (arg6 == NULL) SWIG_fail;
12715 temp6 = true;
d55e5bfc 12716 }
1bd55598
RD
12717 }
12718 {
12719 if (!wxPyCheckForApp()) SWIG_fail;
12720 PyThreadState* __tstate = wxPyBeginAllowThreads();
12721 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12722 wxPyEndAllowThreads(__tstate);
12723 if (PyErr_Occurred()) SWIG_fail;
12724 }
12725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12726 {
12727 if (temp6)
12728 delete arg6;
12729 }
12730 return resultobj;
12731fail:
12732 {
12733 if (temp6)
12734 delete arg6;
12735 }
12736 return NULL;
d55e5bfc
RD
12737}
12738
12739
1bd55598
RD
12740SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12741 PyObject *resultobj = 0;
12742 wxSashLayoutWindow *result = 0 ;
12743
12744 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12745 {
12746 if (!wxPyCheckForApp()) SWIG_fail;
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12753 return resultobj;
12754fail:
12755 return NULL;
12756}
12757
12758
12759SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12760 PyObject *resultobj = 0;
12761 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12762 wxWindow *arg2 = (wxWindow *) 0 ;
12763 int arg3 = (int) -1 ;
12764 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12765 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12766 wxSize const &arg5_defvalue = wxDefaultSize ;
12767 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12768 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12769 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12770 wxString *arg7 = (wxString *) &arg7_defvalue ;
12771 bool result;
12772 void *argp1 = 0 ;
12773 int res1 = 0 ;
12774 void *argp2 = 0 ;
12775 int res2 = 0 ;
12776 int val3 ;
12777 int ecode3 = 0 ;
12778 wxPoint temp4 ;
12779 wxSize temp5 ;
12780 long val6 ;
12781 int ecode6 = 0 ;
12782 bool temp7 = false ;
12783 PyObject * obj0 = 0 ;
12784 PyObject * obj1 = 0 ;
12785 PyObject * obj2 = 0 ;
12786 PyObject * obj3 = 0 ;
12787 PyObject * obj4 = 0 ;
12788 PyObject * obj5 = 0 ;
12789 PyObject * obj6 = 0 ;
12790 char * kwnames[] = {
12791 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12792 };
12793
12794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12796 if (!SWIG_IsOK(res1)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12798 }
12799 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12800 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12801 if (!SWIG_IsOK(res2)) {
12802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12803 }
12804 arg2 = reinterpret_cast< wxWindow * >(argp2);
12805 if (obj2) {
12806 ecode3 = SWIG_AsVal_int(obj2, &val3);
12807 if (!SWIG_IsOK(ecode3)) {
12808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12809 }
12810 arg3 = static_cast< int >(val3);
12811 }
12812 if (obj3) {
12813 {
12814 arg4 = &temp4;
12815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 12816 }
1bd55598
RD
12817 }
12818 if (obj4) {
d55e5bfc 12819 {
1bd55598
RD
12820 arg5 = &temp5;
12821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 12822 }
1bd55598
RD
12823 }
12824 if (obj5) {
12825 ecode6 = SWIG_AsVal_long(obj5, &val6);
12826 if (!SWIG_IsOK(ecode6)) {
12827 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12828 }
12829 arg6 = static_cast< long >(val6);
12830 }
12831 if (obj6) {
d55e5bfc 12832 {
1bd55598
RD
12833 arg7 = wxString_in_helper(obj6);
12834 if (arg7 == NULL) SWIG_fail;
12835 temp7 = true;
d55e5bfc 12836 }
1bd55598
RD
12837 }
12838 {
12839 PyThreadState* __tstate = wxPyBeginAllowThreads();
12840 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 {
12845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12846 }
12847 {
12848 if (temp7)
12849 delete arg7;
12850 }
12851 return resultobj;
12852fail:
12853 {
12854 if (temp7)
12855 delete arg7;
12856 }
12857 return NULL;
d55e5bfc
RD
12858}
12859
12860
1bd55598
RD
12861SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12862 PyObject *resultobj = 0;
12863 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12864 wxLayoutAlignment result;
12865 void *argp1 = 0 ;
12866 int res1 = 0 ;
12867 PyObject *swig_obj[1] ;
12868
12869 if (!args) SWIG_fail;
12870 swig_obj[0] = args;
12871 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12872 if (!SWIG_IsOK(res1)) {
12873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12874 }
12875 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12876 {
12877 PyThreadState* __tstate = wxPyBeginAllowThreads();
12878 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
12882 resultobj = SWIG_From_int(static_cast< int >(result));
12883 return resultobj;
12884fail:
12885 return NULL;
d55e5bfc
RD
12886}
12887
12888
1bd55598
RD
12889SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12890 PyObject *resultobj = 0;
12891 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12892 wxLayoutOrientation result;
12893 void *argp1 = 0 ;
12894 int res1 = 0 ;
12895 PyObject *swig_obj[1] ;
12896
12897 if (!args) SWIG_fail;
12898 swig_obj[0] = args;
12899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12900 if (!SWIG_IsOK(res1)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12902 }
12903 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 resultobj = SWIG_From_int(static_cast< int >(result));
12911 return resultobj;
12912fail:
12913 return NULL;
12914}
12915
12916
12917SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj = 0;
12919 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12920 wxLayoutAlignment arg2 ;
12921 void *argp1 = 0 ;
12922 int res1 = 0 ;
12923 int val2 ;
12924 int ecode2 = 0 ;
12925 PyObject * obj0 = 0 ;
12926 PyObject * obj1 = 0 ;
12927 char * kwnames[] = {
12928 (char *) "self",(char *) "alignment", NULL
12929 };
12930
12931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12933 if (!SWIG_IsOK(res1)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12935 }
12936 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12937 ecode2 = SWIG_AsVal_int(obj1, &val2);
12938 if (!SWIG_IsOK(ecode2)) {
12939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12940 }
12941 arg2 = static_cast< wxLayoutAlignment >(val2);
12942 {
12943 PyThreadState* __tstate = wxPyBeginAllowThreads();
12944 (arg1)->SetAlignment(arg2);
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 resultobj = SWIG_Py_Void();
12949 return resultobj;
12950fail:
12951 return NULL;
12952}
12953
12954
12955SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12956 PyObject *resultobj = 0;
12957 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12958 wxSize *arg2 = 0 ;
12959 void *argp1 = 0 ;
12960 int res1 = 0 ;
12961 wxSize temp2 ;
12962 PyObject * obj0 = 0 ;
12963 PyObject * obj1 = 0 ;
12964 char * kwnames[] = {
12965 (char *) "self",(char *) "size", NULL
12966 };
12967
12968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12970 if (!SWIG_IsOK(res1)) {
12971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12972 }
12973 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12974 {
12975 arg2 = &temp2;
12976 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12977 }
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 resultobj = SWIG_Py_Void();
12985 return resultobj;
12986fail:
12987 return NULL;
12988}
12989
12990
12991SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj = 0;
12993 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12994 wxLayoutOrientation arg2 ;
12995 void *argp1 = 0 ;
12996 int res1 = 0 ;
12997 int val2 ;
12998 int ecode2 = 0 ;
12999 PyObject * obj0 = 0 ;
13000 PyObject * obj1 = 0 ;
13001 char * kwnames[] = {
13002 (char *) "self",(char *) "orientation", NULL
13003 };
13004
13005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
13006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
13007 if (!SWIG_IsOK(res1)) {
13008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
13009 }
13010 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
13011 ecode2 = SWIG_AsVal_int(obj1, &val2);
13012 if (!SWIG_IsOK(ecode2)) {
13013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
13014 }
13015 arg2 = static_cast< wxLayoutOrientation >(val2);
13016 {
13017 PyThreadState* __tstate = wxPyBeginAllowThreads();
13018 (arg1)->SetOrientation(arg2);
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 resultobj = SWIG_Py_Void();
13023 return resultobj;
13024fail:
13025 return NULL;
d55e5bfc
RD
13026}
13027
13028
1bd55598
RD
13029SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13030 PyObject *obj;
13031 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13032 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
13033 return SWIG_Py_Void();
d55e5bfc
RD
13034}
13035
1bd55598
RD
13036SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13037 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13038}
13039
1bd55598
RD
13040SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13041 PyObject *resultobj = 0;
13042 wxLayoutAlgorithm *result = 0 ;
13043
13044 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
13045 {
13046 PyThreadState* __tstate = wxPyBeginAllowThreads();
13047 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
13048 wxPyEndAllowThreads(__tstate);
13049 if (PyErr_Occurred()) SWIG_fail;
13050 }
13051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
13052 return resultobj;
13053fail:
13054 return NULL;
d55e5bfc
RD
13055}
13056
13057
1bd55598
RD
13058SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13059 PyObject *resultobj = 0;
13060 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13061 void *argp1 = 0 ;
13062 int res1 = 0 ;
13063 PyObject *swig_obj[1] ;
13064
13065 if (!args) SWIG_fail;
13066 swig_obj[0] = args;
13067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13068 if (!SWIG_IsOK(res1)) {
13069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13070 }
13071 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 delete arg1;
d55e5bfc 13075
1bd55598
RD
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 resultobj = SWIG_Py_Void();
13080 return resultobj;
13081fail:
13082 return NULL;
13083}
13084
13085
13086SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj = 0;
13088 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13089 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13090 wxRect *arg3 = (wxRect *) NULL ;
13091 bool result;
13092 void *argp1 = 0 ;
13093 int res1 = 0 ;
13094 void *argp2 = 0 ;
13095 int res2 = 0 ;
13096 void *argp3 = 0 ;
13097 int res3 = 0 ;
13098 PyObject * obj0 = 0 ;
13099 PyObject * obj1 = 0 ;
13100 PyObject * obj2 = 0 ;
13101 char * kwnames[] = {
13102 (char *) "self",(char *) "frame",(char *) "rect", NULL
13103 };
13104
13105 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13106 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13107 if (!SWIG_IsOK(res1)) {
13108 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13109 }
13110 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13111 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13112 if (!SWIG_IsOK(res2)) {
13113 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13114 }
13115 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13116 if (obj2) {
13117 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13118 if (!SWIG_IsOK(res3)) {
13119 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
36ed4f51 13120 }
1bd55598
RD
13121 arg3 = reinterpret_cast< wxRect * >(argp3);
13122 }
13123 {
13124 PyThreadState* __tstate = wxPyBeginAllowThreads();
13125 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 {
13130 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13131 }
13132 return resultobj;
13133fail:
13134 return NULL;
13135}
13136
13137
13138SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13139 PyObject *resultobj = 0;
13140 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13141 wxFrame *arg2 = (wxFrame *) 0 ;
13142 wxWindow *arg3 = (wxWindow *) NULL ;
13143 bool result;
13144 void *argp1 = 0 ;
13145 int res1 = 0 ;
13146 void *argp2 = 0 ;
13147 int res2 = 0 ;
13148 void *argp3 = 0 ;
13149 int res3 = 0 ;
13150 PyObject * obj0 = 0 ;
13151 PyObject * obj1 = 0 ;
13152 PyObject * obj2 = 0 ;
13153 char * kwnames[] = {
13154 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13155 };
13156
13157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13159 if (!SWIG_IsOK(res1)) {
13160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13161 }
13162 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13163 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13164 if (!SWIG_IsOK(res2)) {
13165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13166 }
13167 arg2 = reinterpret_cast< wxFrame * >(argp2);
13168 if (obj2) {
13169 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13170 if (!SWIG_IsOK(res3)) {
13171 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
36ed4f51 13172 }
1bd55598
RD
13173 arg3 = reinterpret_cast< wxWindow * >(argp3);
13174 }
13175 {
13176 PyThreadState* __tstate = wxPyBeginAllowThreads();
13177 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 {
13182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13183 }
13184 return resultobj;
13185fail:
13186 return NULL;
13187}
13188
13189
13190SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13191 PyObject *resultobj = 0;
13192 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13193 wxWindow *arg2 = (wxWindow *) 0 ;
13194 wxWindow *arg3 = (wxWindow *) NULL ;
13195 bool result;
13196 void *argp1 = 0 ;
13197 int res1 = 0 ;
13198 void *argp2 = 0 ;
13199 int res2 = 0 ;
13200 void *argp3 = 0 ;
13201 int res3 = 0 ;
13202 PyObject * obj0 = 0 ;
13203 PyObject * obj1 = 0 ;
13204 PyObject * obj2 = 0 ;
13205 char * kwnames[] = {
13206 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13207 };
13208
13209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13211 if (!SWIG_IsOK(res1)) {
13212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13213 }
13214 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13215 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13216 if (!SWIG_IsOK(res2)) {
13217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13218 }
13219 arg2 = reinterpret_cast< wxWindow * >(argp2);
13220 if (obj2) {
13221 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13222 if (!SWIG_IsOK(res3)) {
13223 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
d55e5bfc 13224 }
1bd55598
RD
13225 arg3 = reinterpret_cast< wxWindow * >(argp3);
13226 }
13227 {
13228 PyThreadState* __tstate = wxPyBeginAllowThreads();
13229 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13230 wxPyEndAllowThreads(__tstate);
13231 if (PyErr_Occurred()) SWIG_fail;
13232 }
13233 {
13234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13235 }
13236 return resultobj;
13237fail:
13238 return NULL;
d55e5bfc
RD
13239}
13240
13241
1bd55598
RD
13242SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13243 PyObject *obj;
13244 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13245 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13246 return SWIG_Py_Void();
d55e5bfc
RD
13247}
13248
1bd55598
RD
13249SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13250 return SWIG_Python_InitShadowInstance(args);
5cbf236d
RD
13251}
13252
1bd55598
RD
13253SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13254 PyObject *resultobj = 0;
13255 wxWindow *arg1 = (wxWindow *) 0 ;
13256 int arg2 = (int) wxBORDER_NONE ;
13257 wxPopupWindow *result = 0 ;
13258 void *argp1 = 0 ;
13259 int res1 = 0 ;
13260 int val2 ;
13261 int ecode2 = 0 ;
13262 PyObject * obj0 = 0 ;
13263 PyObject * obj1 = 0 ;
13264 char * kwnames[] = {
13265 (char *) "parent",(char *) "flags", NULL
13266 };
13267
13268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13270 if (!SWIG_IsOK(res1)) {
13271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13272 }
13273 arg1 = reinterpret_cast< wxWindow * >(argp1);
13274 if (obj1) {
13275 ecode2 = SWIG_AsVal_int(obj1, &val2);
13276 if (!SWIG_IsOK(ecode2)) {
13277 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13278 }
13279 arg2 = static_cast< int >(val2);
13280 }
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13288 return resultobj;
13289fail:
13290 return NULL;
5cbf236d
RD
13291}
13292
13293
1bd55598
RD
13294SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13295 PyObject *resultobj = 0;
13296 wxPopupWindow *result = 0 ;
13297
13298 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13299 {
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
13301 result = (wxPopupWindow *)new wxPopupWindow();
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13306 return resultobj;
13307fail:
13308 return NULL;
d55e5bfc
RD
13309}
13310
13311
1bd55598
RD
13312SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13313 PyObject *obj;
13314 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13316 return SWIG_Py_Void();
d55e5bfc
RD
13317}
13318
1bd55598
RD
13319SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13320 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
13321}
13322
1bd55598
RD
13323SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13324 PyObject *resultobj = 0;
13325 wxWindow *arg1 = (wxWindow *) 0 ;
13326 int arg2 = (int) wxBORDER_NONE ;
13327 wxPyPopupTransientWindow *result = 0 ;
13328 void *argp1 = 0 ;
13329 int res1 = 0 ;
13330 int val2 ;
13331 int ecode2 = 0 ;
13332 PyObject * obj0 = 0 ;
13333 PyObject * obj1 = 0 ;
13334 char * kwnames[] = {
13335 (char *) "parent",(char *) "style", NULL
13336 };
13337
13338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13340 if (!SWIG_IsOK(res1)) {
13341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13342 }
13343 arg1 = reinterpret_cast< wxWindow * >(argp1);
13344 if (obj1) {
13345 ecode2 = SWIG_AsVal_int(obj1, &val2);
13346 if (!SWIG_IsOK(ecode2)) {
13347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13348 }
13349 arg2 = static_cast< int >(val2);
13350 }
13351 {
13352 PyThreadState* __tstate = wxPyBeginAllowThreads();
13353 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13354 wxPyEndAllowThreads(__tstate);
13355 if (PyErr_Occurred()) SWIG_fail;
13356 }
13357 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13358 return resultobj;
13359fail:
13360 return NULL;
d55e5bfc
RD
13361}
13362
13363
1bd55598
RD
13364SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13365 PyObject *resultobj = 0;
13366 wxPyPopupTransientWindow *result = 0 ;
13367
13368 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13376 return resultobj;
13377fail:
13378 return NULL;
13379}
13380
13381
13382SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13383 PyObject *obj;
13384 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13386 return SWIG_Py_Void();
13387}
13388
13389SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13390 return SWIG_Python_InitShadowInstance(args);
13391}
13392
13393SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13394 PyObject *resultobj = 0;
13395 wxWindow *arg1 = (wxWindow *) 0 ;
13396 wxString *arg2 = 0 ;
13397 int arg3 = (int) 100 ;
13398 wxRect *arg4 = (wxRect *) NULL ;
13399 wxTipWindow *result = 0 ;
13400 void *argp1 = 0 ;
13401 int res1 = 0 ;
13402 bool temp2 = false ;
13403 int val3 ;
13404 int ecode3 = 0 ;
13405 void *argp4 = 0 ;
13406 int res4 = 0 ;
13407 PyObject * obj0 = 0 ;
13408 PyObject * obj1 = 0 ;
13409 PyObject * obj2 = 0 ;
13410 PyObject * obj3 = 0 ;
13411 char * kwnames[] = {
13412 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13413 };
13414
13415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13417 if (!SWIG_IsOK(res1)) {
13418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13419 }
13420 arg1 = reinterpret_cast< wxWindow * >(argp1);
13421 {
13422 arg2 = wxString_in_helper(obj1);
13423 if (arg2 == NULL) SWIG_fail;
13424 temp2 = true;
13425 }
13426 if (obj2) {
13427 ecode3 = SWIG_AsVal_int(obj2, &val3);
13428 if (!SWIG_IsOK(ecode3)) {
13429 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13430 }
13431 arg3 = static_cast< int >(val3);
13432 }
13433 if (obj3) {
13434 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13435 if (!SWIG_IsOK(res4)) {
13436 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
36ed4f51 13437 }
1bd55598
RD
13438 arg4 = reinterpret_cast< wxRect * >(argp4);
13439 }
13440 {
13441 if (!wxPyCheckForApp()) SWIG_fail;
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13448 {
13449 if (temp2)
13450 delete arg2;
13451 }
13452 return resultobj;
13453fail:
13454 {
13455 if (temp2)
13456 delete arg2;
13457 }
13458 return NULL;
d55e5bfc
RD
13459}
13460
13461
1bd55598
RD
13462SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13463 PyObject *resultobj = 0;
13464 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13465 wxRect *arg2 = 0 ;
13466 void *argp1 = 0 ;
13467 int res1 = 0 ;
13468 wxRect temp2 ;
13469 PyObject * obj0 = 0 ;
13470 PyObject * obj1 = 0 ;
13471 char * kwnames[] = {
13472 (char *) "self",(char *) "rectBound", NULL
13473 };
13474
13475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13477 if (!SWIG_IsOK(res1)) {
13478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13479 }
13480 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13481 {
13482 arg2 = &temp2;
13483 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13484 }
13485 {
13486 PyThreadState* __tstate = wxPyBeginAllowThreads();
13487 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13488 wxPyEndAllowThreads(__tstate);
13489 if (PyErr_Occurred()) SWIG_fail;
13490 }
13491 resultobj = SWIG_Py_Void();
13492 return resultobj;
13493fail:
13494 return NULL;
d55e5bfc
RD
13495}
13496
13497
1bd55598
RD
13498SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13499 PyObject *resultobj = 0;
13500 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13501 void *argp1 = 0 ;
13502 int res1 = 0 ;
13503 PyObject *swig_obj[1] ;
13504
13505 if (!args) SWIG_fail;
13506 swig_obj[0] = args;
13507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13508 if (!SWIG_IsOK(res1)) {
13509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13510 }
13511 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 (arg1)->Close();
13515 wxPyEndAllowThreads(__tstate);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
13518 resultobj = SWIG_Py_Void();
13519 return resultobj;
13520fail:
13521 return NULL;
13522}
13523
13524
13525SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13526 PyObject *obj;
13527 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13528 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13529 return SWIG_Py_Void();
13530}
13531
13532SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13533 return SWIG_Python_InitShadowInstance(args);
13534}
13535
13536SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj = 0;
13538 wxWindow *arg1 = (wxWindow *) 0 ;
13539 int arg2 = (int) wxID_ANY ;
13540 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13541 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13542 wxSize const &arg4_defvalue = wxDefaultSize ;
13543 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13544 long arg5 = (long) 0 ;
13545 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13546 wxString *arg6 = (wxString *) &arg6_defvalue ;
13547 wxPyVScrolledWindow *result = 0 ;
13548 void *argp1 = 0 ;
13549 int res1 = 0 ;
13550 int val2 ;
13551 int ecode2 = 0 ;
13552 wxPoint temp3 ;
13553 wxSize temp4 ;
13554 long val5 ;
13555 int ecode5 = 0 ;
13556 bool temp6 = false ;
13557 PyObject * obj0 = 0 ;
13558 PyObject * obj1 = 0 ;
13559 PyObject * obj2 = 0 ;
13560 PyObject * obj3 = 0 ;
13561 PyObject * obj4 = 0 ;
13562 PyObject * obj5 = 0 ;
13563 char * kwnames[] = {
13564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13565 };
13566
13567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13569 if (!SWIG_IsOK(res1)) {
13570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13571 }
13572 arg1 = reinterpret_cast< wxWindow * >(argp1);
13573 if (obj1) {
13574 ecode2 = SWIG_AsVal_int(obj1, &val2);
13575 if (!SWIG_IsOK(ecode2)) {
13576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13577 }
13578 arg2 = static_cast< int >(val2);
13579 }
13580 if (obj2) {
f20a2e1f 13581 {
1bd55598
RD
13582 arg3 = &temp3;
13583 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
f20a2e1f 13584 }
1bd55598
RD
13585 }
13586 if (obj3) {
f20a2e1f 13587 {
1bd55598
RD
13588 arg4 = &temp4;
13589 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13590 }
1bd55598
RD
13591 }
13592 if (obj4) {
13593 ecode5 = SWIG_AsVal_long(obj4, &val5);
13594 if (!SWIG_IsOK(ecode5)) {
13595 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13596 }
13597 arg5 = static_cast< long >(val5);
13598 }
13599 if (obj5) {
36ed4f51 13600 {
1bd55598
RD
13601 arg6 = wxString_in_helper(obj5);
13602 if (arg6 == NULL) SWIG_fail;
13603 temp6 = true;
36ed4f51 13604 }
1bd55598
RD
13605 }
13606 {
13607 if (!wxPyCheckForApp()) SWIG_fail;
13608 PyThreadState* __tstate = wxPyBeginAllowThreads();
13609 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13614 {
13615 if (temp6)
13616 delete arg6;
13617 }
13618 return resultobj;
13619fail:
13620 {
13621 if (temp6)
13622 delete arg6;
13623 }
13624 return NULL;
d55e5bfc
RD
13625}
13626
13627
1bd55598
RD
13628SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13629 PyObject *resultobj = 0;
13630 wxPyVScrolledWindow *result = 0 ;
13631
13632 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13633 {
13634 if (!wxPyCheckForApp()) SWIG_fail;
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13637 wxPyEndAllowThreads(__tstate);
13638 if (PyErr_Occurred()) SWIG_fail;
13639 }
13640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13641 return resultobj;
13642fail:
13643 return NULL;
13644}
13645
13646
13647SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13648 PyObject *resultobj = 0;
13649 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13650 PyObject *arg2 = (PyObject *) 0 ;
13651 PyObject *arg3 = (PyObject *) 0 ;
13652 void *argp1 = 0 ;
13653 int res1 = 0 ;
13654 PyObject * obj0 = 0 ;
13655 PyObject * obj1 = 0 ;
13656 PyObject * obj2 = 0 ;
13657 char * kwnames[] = {
13658 (char *) "self",(char *) "self",(char *) "_class", NULL
13659 };
13660
13661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13663 if (!SWIG_IsOK(res1)) {
13664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13665 }
13666 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13667 arg2 = obj1;
13668 arg3 = obj2;
13669 {
13670 PyThreadState* __tstate = wxPyBeginAllowThreads();
13671 (arg1)->_setCallbackInfo(arg2,arg3);
13672 wxPyEndAllowThreads(__tstate);
13673 if (PyErr_Occurred()) SWIG_fail;
13674 }
13675 resultobj = SWIG_Py_Void();
13676 return resultobj;
13677fail:
13678 return NULL;
13679}
13680
13681
13682SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13683 PyObject *resultobj = 0;
13684 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13685 wxWindow *arg2 = (wxWindow *) 0 ;
13686 int arg3 = (int) wxID_ANY ;
13687 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13688 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13689 wxSize const &arg5_defvalue = wxDefaultSize ;
13690 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13691 long arg6 = (long) 0 ;
13692 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13693 wxString *arg7 = (wxString *) &arg7_defvalue ;
13694 bool result;
13695 void *argp1 = 0 ;
13696 int res1 = 0 ;
13697 void *argp2 = 0 ;
13698 int res2 = 0 ;
13699 int val3 ;
13700 int ecode3 = 0 ;
13701 wxPoint temp4 ;
13702 wxSize temp5 ;
13703 long val6 ;
13704 int ecode6 = 0 ;
13705 bool temp7 = false ;
13706 PyObject * obj0 = 0 ;
13707 PyObject * obj1 = 0 ;
13708 PyObject * obj2 = 0 ;
13709 PyObject * obj3 = 0 ;
13710 PyObject * obj4 = 0 ;
13711 PyObject * obj5 = 0 ;
13712 PyObject * obj6 = 0 ;
13713 char * kwnames[] = {
13714 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13715 };
13716
13717 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13718 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13719 if (!SWIG_IsOK(res1)) {
13720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13721 }
13722 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13723 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13724 if (!SWIG_IsOK(res2)) {
13725 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13726 }
13727 arg2 = reinterpret_cast< wxWindow * >(argp2);
13728 if (obj2) {
13729 ecode3 = SWIG_AsVal_int(obj2, &val3);
13730 if (!SWIG_IsOK(ecode3)) {
13731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13732 }
13733 arg3 = static_cast< int >(val3);
13734 }
13735 if (obj3) {
d55e5bfc 13736 {
1bd55598
RD
13737 arg4 = &temp4;
13738 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 13739 }
1bd55598
RD
13740 }
13741 if (obj4) {
36ed4f51 13742 {
1bd55598
RD
13743 arg5 = &temp5;
13744 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 13745 }
1bd55598
RD
13746 }
13747 if (obj5) {
13748 ecode6 = SWIG_AsVal_long(obj5, &val6);
13749 if (!SWIG_IsOK(ecode6)) {
13750 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13751 }
13752 arg6 = static_cast< long >(val6);
13753 }
13754 if (obj6) {
d55e5bfc 13755 {
1bd55598
RD
13756 arg7 = wxString_in_helper(obj6);
13757 if (arg7 == NULL) SWIG_fail;
13758 temp7 = true;
d55e5bfc 13759 }
1bd55598
RD
13760 }
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 {
13768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13769 }
13770 {
13771 if (temp7)
13772 delete arg7;
13773 }
13774 return resultobj;
13775fail:
13776 {
13777 if (temp7)
13778 delete arg7;
13779 }
13780 return NULL;
13781}
13782
13783
13784SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13785 PyObject *resultobj = 0;
13786 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13787 size_t arg2 ;
13788 void *argp1 = 0 ;
13789 int res1 = 0 ;
13790 size_t val2 ;
13791 int ecode2 = 0 ;
13792 PyObject * obj0 = 0 ;
13793 PyObject * obj1 = 0 ;
13794 char * kwnames[] = {
13795 (char *) "self",(char *) "count", NULL
13796 };
13797
13798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13800 if (!SWIG_IsOK(res1)) {
13801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13802 }
13803 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13804 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13805 if (!SWIG_IsOK(ecode2)) {
13806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13807 }
13808 arg2 = static_cast< size_t >(val2);
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 (arg1)->SetLineCount(arg2);
13812 wxPyEndAllowThreads(__tstate);
13813 if (PyErr_Occurred()) SWIG_fail;
13814 }
13815 resultobj = SWIG_Py_Void();
13816 return resultobj;
13817fail:
13818 return NULL;
13819}
13820
13821
13822SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13823 PyObject *resultobj = 0;
13824 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13825 size_t arg2 ;
13826 bool result;
13827 void *argp1 = 0 ;
13828 int res1 = 0 ;
13829 size_t val2 ;
13830 int ecode2 = 0 ;
13831 PyObject * obj0 = 0 ;
13832 PyObject * obj1 = 0 ;
13833 char * kwnames[] = {
13834 (char *) "self",(char *) "line", NULL
13835 };
13836
13837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13839 if (!SWIG_IsOK(res1)) {
13840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13841 }
13842 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13843 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13844 if (!SWIG_IsOK(ecode2)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13846 }
13847 arg2 = static_cast< size_t >(val2);
13848 {
13849 PyThreadState* __tstate = wxPyBeginAllowThreads();
13850 result = (bool)(arg1)->ScrollToLine(arg2);
13851 wxPyEndAllowThreads(__tstate);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 {
13855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13856 }
13857 return resultobj;
13858fail:
13859 return NULL;
13860}
13861
13862
13863SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj = 0;
13865 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13866 size_t arg2 ;
13867 void *argp1 = 0 ;
13868 int res1 = 0 ;
13869 size_t val2 ;
13870 int ecode2 = 0 ;
13871 PyObject * obj0 = 0 ;
13872 PyObject * obj1 = 0 ;
13873 char * kwnames[] = {
13874 (char *) "self",(char *) "line", NULL
13875 };
13876
13877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13879 if (!SWIG_IsOK(res1)) {
13880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13881 }
13882 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13883 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13884 if (!SWIG_IsOK(ecode2)) {
13885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13886 }
13887 arg2 = static_cast< size_t >(val2);
13888 {
13889 PyThreadState* __tstate = wxPyBeginAllowThreads();
13890 (arg1)->RefreshLine(arg2);
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 resultobj = SWIG_Py_Void();
13895 return resultobj;
13896fail:
13897 return NULL;
13898}
13899
13900
13901SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13902 PyObject *resultobj = 0;
13903 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13904 size_t arg2 ;
13905 size_t arg3 ;
13906 void *argp1 = 0 ;
13907 int res1 = 0 ;
13908 size_t val2 ;
13909 int ecode2 = 0 ;
13910 size_t val3 ;
13911 int ecode3 = 0 ;
13912 PyObject * obj0 = 0 ;
13913 PyObject * obj1 = 0 ;
13914 PyObject * obj2 = 0 ;
13915 char * kwnames[] = {
2131d850 13916 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
13917 };
13918
13919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13921 if (!SWIG_IsOK(res1)) {
13922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13923 }
13924 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13925 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13926 if (!SWIG_IsOK(ecode2)) {
13927 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13928 }
13929 arg2 = static_cast< size_t >(val2);
13930 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13931 if (!SWIG_IsOK(ecode3)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13933 }
13934 arg3 = static_cast< size_t >(val3);
13935 {
13936 PyThreadState* __tstate = wxPyBeginAllowThreads();
13937 (arg1)->RefreshLines(arg2,arg3);
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 resultobj = SWIG_Py_Void();
13942 return resultobj;
13943fail:
13944 return NULL;
13945}
13946
13947
13948SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj = 0;
13950 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13951 int arg2 ;
13952 int arg3 ;
13953 int result;
13954 void *argp1 = 0 ;
13955 int res1 = 0 ;
13956 int val2 ;
13957 int ecode2 = 0 ;
13958 int val3 ;
13959 int ecode3 = 0 ;
13960 PyObject * obj0 = 0 ;
13961 PyObject * obj1 = 0 ;
13962 PyObject * obj2 = 0 ;
13963 char * kwnames[] = {
13964 (char *) "self",(char *) "x",(char *) "y", NULL
13965 };
13966
13967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13969 if (!SWIG_IsOK(res1)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13971 }
13972 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13973 ecode2 = SWIG_AsVal_int(obj1, &val2);
13974 if (!SWIG_IsOK(ecode2)) {
13975 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13976 }
13977 arg2 = static_cast< int >(val2);
13978 ecode3 = SWIG_AsVal_int(obj2, &val3);
13979 if (!SWIG_IsOK(ecode3)) {
13980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13981 }
13982 arg3 = static_cast< int >(val3);
13983 {
13984 PyThreadState* __tstate = wxPyBeginAllowThreads();
13985 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 resultobj = SWIG_From_int(static_cast< int >(result));
13990 return resultobj;
13991fail:
13992 return NULL;
13993}
13994
13995
13996SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj = 0;
13998 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13999 wxPoint *arg2 = 0 ;
14000 int result;
14001 void *argp1 = 0 ;
14002 int res1 = 0 ;
14003 wxPoint temp2 ;
14004 PyObject * obj0 = 0 ;
14005 PyObject * obj1 = 0 ;
14006 char * kwnames[] = {
14007 (char *) "self",(char *) "pt", NULL
14008 };
14009
14010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14012 if (!SWIG_IsOK(res1)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14014 }
14015 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14016 {
14017 arg2 = &temp2;
14018 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14019 }
14020 {
14021 PyThreadState* __tstate = wxPyBeginAllowThreads();
14022 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 resultobj = SWIG_From_int(static_cast< int >(result));
14027 return resultobj;
14028fail:
14029 return NULL;
d55e5bfc
RD
14030}
14031
14032
1bd55598
RD
14033SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14034 PyObject *resultobj = 0;
14035 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14036 void *argp1 = 0 ;
14037 int res1 = 0 ;
14038 PyObject *swig_obj[1] ;
14039
14040 if (!args) SWIG_fail;
14041 swig_obj[0] = args;
14042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14043 if (!SWIG_IsOK(res1)) {
14044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14045 }
14046 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 (arg1)->RefreshAll();
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 resultobj = SWIG_Py_Void();
14054 return resultobj;
14055fail:
14056 return NULL;
d55e5bfc
RD
14057}
14058
14059
1bd55598
RD
14060SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14061 PyObject *resultobj = 0;
14062 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14063 size_t result;
14064 void *argp1 = 0 ;
14065 int res1 = 0 ;
14066 PyObject *swig_obj[1] ;
14067
14068 if (!args) SWIG_fail;
14069 swig_obj[0] = args;
14070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14071 if (!SWIG_IsOK(res1)) {
14072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14073 }
14074 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14075 {
14076 PyThreadState* __tstate = wxPyBeginAllowThreads();
14077 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14078 wxPyEndAllowThreads(__tstate);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14082 return resultobj;
14083fail:
14084 return NULL;
d55e5bfc
RD
14085}
14086
14087
1bd55598
RD
14088SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14089 PyObject *resultobj = 0;
14090 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14091 size_t result;
14092 void *argp1 = 0 ;
14093 int res1 = 0 ;
14094 PyObject *swig_obj[1] ;
14095
14096 if (!args) SWIG_fail;
14097 swig_obj[0] = args;
14098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14099 if (!SWIG_IsOK(res1)) {
14100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14101 }
14102 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14103 {
14104 PyThreadState* __tstate = wxPyBeginAllowThreads();
14105 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14106 wxPyEndAllowThreads(__tstate);
14107 if (PyErr_Occurred()) SWIG_fail;
14108 }
14109 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14110 return resultobj;
14111fail:
14112 return NULL;
d55e5bfc
RD
14113}
14114
14115
1bd55598
RD
14116SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14117 PyObject *resultobj = 0;
14118 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14119 size_t result;
14120 void *argp1 = 0 ;
14121 int res1 = 0 ;
14122 PyObject *swig_obj[1] ;
14123
14124 if (!args) SWIG_fail;
14125 swig_obj[0] = args;
14126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14127 if (!SWIG_IsOK(res1)) {
14128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14129 }
14130 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14131 {
14132 PyThreadState* __tstate = wxPyBeginAllowThreads();
14133 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14138 return resultobj;
14139fail:
14140 return NULL;
14141}
14142
14143
14144SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj = 0;
14146 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14147 size_t arg2 ;
14148 bool result;
14149 void *argp1 = 0 ;
14150 int res1 = 0 ;
14151 size_t val2 ;
14152 int ecode2 = 0 ;
14153 PyObject * obj0 = 0 ;
14154 PyObject * obj1 = 0 ;
14155 char * kwnames[] = {
14156 (char *) "self",(char *) "line", NULL
14157 };
14158
14159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14161 if (!SWIG_IsOK(res1)) {
14162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14163 }
14164 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14165 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14166 if (!SWIG_IsOK(ecode2)) {
14167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14168 }
14169 arg2 = static_cast< size_t >(val2);
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14173 wxPyEndAllowThreads(__tstate);
14174 if (PyErr_Occurred()) SWIG_fail;
14175 }
14176 {
14177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14178 }
14179 return resultobj;
14180fail:
14181 return NULL;
d55e5bfc
RD
14182}
14183
14184
1bd55598
RD
14185SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14186 PyObject *resultobj = 0;
14187 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14188 size_t result;
14189 void *argp1 = 0 ;
14190 int res1 = 0 ;
14191 PyObject *swig_obj[1] ;
14192
14193 if (!args) SWIG_fail;
14194 swig_obj[0] = args;
14195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14196 if (!SWIG_IsOK(res1)) {
14197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14198 }
14199 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14200 {
14201 PyThreadState* __tstate = wxPyBeginAllowThreads();
14202 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14207 return resultobj;
14208fail:
14209 return NULL;
d55e5bfc
RD
14210}
14211
14212
1bd55598
RD
14213SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14214 PyObject *resultobj = 0;
14215 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14216 size_t result;
14217 void *argp1 = 0 ;
14218 int res1 = 0 ;
14219 PyObject *swig_obj[1] ;
14220
14221 if (!args) SWIG_fail;
14222 swig_obj[0] = args;
14223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14224 if (!SWIG_IsOK(res1)) {
14225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14226 }
14227 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14228 {
14229 PyThreadState* __tstate = wxPyBeginAllowThreads();
14230 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14231 wxPyEndAllowThreads(__tstate);
14232 if (PyErr_Occurred()) SWIG_fail;
14233 }
14234 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14235 return resultobj;
14236fail:
14237 return NULL;
14238}
14239
14240
14241SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14242 PyObject *resultobj = 0;
14243 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14244 size_t arg2 ;
14245 bool arg3 = (bool) false ;
14246 size_t result;
14247 void *argp1 = 0 ;
14248 int res1 = 0 ;
14249 size_t val2 ;
14250 int ecode2 = 0 ;
14251 bool val3 ;
14252 int ecode3 = 0 ;
14253 PyObject * obj0 = 0 ;
14254 PyObject * obj1 = 0 ;
14255 PyObject * obj2 = 0 ;
14256 char * kwnames[] = {
14257 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14258 };
14259
14260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14262 if (!SWIG_IsOK(res1)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14264 }
14265 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14266 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14267 if (!SWIG_IsOK(ecode2)) {
14268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14269 }
14270 arg2 = static_cast< size_t >(val2);
14271 if (obj2) {
14272 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14273 if (!SWIG_IsOK(ecode3)) {
14274 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14275 }
14276 arg3 = static_cast< bool >(val3);
14277 }
14278 {
14279 PyThreadState* __tstate = wxPyBeginAllowThreads();
14280 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14285 return resultobj;
14286fail:
14287 return NULL;
14288}
14289
14290
14291SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14292 PyObject *resultobj = 0;
14293 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14294 size_t arg2 ;
14295 size_t arg3 ;
14296 int result;
14297 void *argp1 = 0 ;
14298 int res1 = 0 ;
14299 size_t val2 ;
14300 int ecode2 = 0 ;
14301 size_t val3 ;
14302 int ecode3 = 0 ;
14303 PyObject * obj0 = 0 ;
14304 PyObject * obj1 = 0 ;
14305 PyObject * obj2 = 0 ;
14306 char * kwnames[] = {
14307 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14308 };
14309
14310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14312 if (!SWIG_IsOK(res1)) {
14313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14314 }
14315 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14316 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14317 if (!SWIG_IsOK(ecode2)) {
14318 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14319 }
14320 arg2 = static_cast< size_t >(val2);
14321 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14322 if (!SWIG_IsOK(ecode3)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14324 }
14325 arg3 = static_cast< size_t >(val3);
14326 {
14327 PyThreadState* __tstate = wxPyBeginAllowThreads();
14328 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14329 wxPyEndAllowThreads(__tstate);
14330 if (PyErr_Occurred()) SWIG_fail;
14331 }
14332 resultobj = SWIG_From_int(static_cast< int >(result));
14333 return resultobj;
14334fail:
14335 return NULL;
d55e5bfc
RD
14336}
14337
14338
1bd55598
RD
14339SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14340 PyObject *obj;
14341 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14342 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14343 return SWIG_Py_Void();
d55e5bfc
RD
14344}
14345
1bd55598
RD
14346SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14347 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
14348}
14349
1bd55598
RD
14350SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14351 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14352 return 1;
d55e5bfc
RD
14353}
14354
14355
1bd55598
RD
14356SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14357 PyObject *pyobj = 0;
14358
14359 {
14360#if wxUSE_UNICODE
14361 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14362#else
14363 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14364#endif
14365 }
14366 return pyobj;
14367}
14368
14369
14370SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj = 0;
14372 wxWindow *arg1 = (wxWindow *) 0 ;
14373 int arg2 = (int) wxID_ANY ;
14374 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14375 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14376 wxSize const &arg4_defvalue = wxDefaultSize ;
14377 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14378 long arg5 = (long) 0 ;
14379 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14380 wxString *arg6 = (wxString *) &arg6_defvalue ;
14381 wxPyVListBox *result = 0 ;
14382 void *argp1 = 0 ;
14383 int res1 = 0 ;
14384 int val2 ;
14385 int ecode2 = 0 ;
14386 wxPoint temp3 ;
14387 wxSize temp4 ;
14388 long val5 ;
14389 int ecode5 = 0 ;
14390 bool temp6 = false ;
14391 PyObject * obj0 = 0 ;
14392 PyObject * obj1 = 0 ;
14393 PyObject * obj2 = 0 ;
14394 PyObject * obj3 = 0 ;
14395 PyObject * obj4 = 0 ;
14396 PyObject * obj5 = 0 ;
14397 char * kwnames[] = {
14398 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14399 };
14400
14401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14403 if (!SWIG_IsOK(res1)) {
14404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14405 }
14406 arg1 = reinterpret_cast< wxWindow * >(argp1);
14407 if (obj1) {
14408 ecode2 = SWIG_AsVal_int(obj1, &val2);
14409 if (!SWIG_IsOK(ecode2)) {
14410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14411 }
14412 arg2 = static_cast< int >(val2);
14413 }
14414 if (obj2) {
36ed4f51 14415 {
1bd55598
RD
14416 arg3 = &temp3;
14417 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
36ed4f51 14418 }
1bd55598
RD
14419 }
14420 if (obj3) {
d55e5bfc 14421 {
1bd55598
RD
14422 arg4 = &temp4;
14423 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 14424 }
1bd55598
RD
14425 }
14426 if (obj4) {
14427 ecode5 = SWIG_AsVal_long(obj4, &val5);
14428 if (!SWIG_IsOK(ecode5)) {
14429 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14430 }
14431 arg5 = static_cast< long >(val5);
14432 }
14433 if (obj5) {
d55e5bfc 14434 {
1bd55598
RD
14435 arg6 = wxString_in_helper(obj5);
14436 if (arg6 == NULL) SWIG_fail;
14437 temp6 = true;
d55e5bfc 14438 }
1bd55598
RD
14439 }
14440 {
14441 if (!wxPyCheckForApp()) SWIG_fail;
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14444 wxPyEndAllowThreads(__tstate);
14445 if (PyErr_Occurred()) SWIG_fail;
14446 }
14447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14448 {
14449 if (temp6)
14450 delete arg6;
14451 }
14452 return resultobj;
14453fail:
14454 {
14455 if (temp6)
14456 delete arg6;
14457 }
14458 return NULL;
d55e5bfc
RD
14459}
14460
14461
1bd55598
RD
14462SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14463 PyObject *resultobj = 0;
14464 wxPyVListBox *result = 0 ;
14465
14466 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14467 {
14468 if (!wxPyCheckForApp()) SWIG_fail;
14469 PyThreadState* __tstate = wxPyBeginAllowThreads();
14470 result = (wxPyVListBox *)new wxPyVListBox();
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14475 return resultobj;
14476fail:
14477 return NULL;
14478}
14479
14480
14481SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14482 PyObject *resultobj = 0;
14483 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14484 PyObject *arg2 = (PyObject *) 0 ;
14485 PyObject *arg3 = (PyObject *) 0 ;
14486 void *argp1 = 0 ;
14487 int res1 = 0 ;
14488 PyObject * obj0 = 0 ;
14489 PyObject * obj1 = 0 ;
14490 PyObject * obj2 = 0 ;
14491 char * kwnames[] = {
14492 (char *) "self",(char *) "self",(char *) "_class", NULL
14493 };
14494
14495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14497 if (!SWIG_IsOK(res1)) {
14498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14499 }
14500 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14501 arg2 = obj1;
14502 arg3 = obj2;
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 (arg1)->_setCallbackInfo(arg2,arg3);
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 resultobj = SWIG_Py_Void();
14510 return resultobj;
14511fail:
14512 return NULL;
14513}
14514
14515
14516SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj = 0;
14518 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14519 wxWindow *arg2 = (wxWindow *) 0 ;
14520 int arg3 = (int) wxID_ANY ;
14521 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14522 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14523 wxSize const &arg5_defvalue = wxDefaultSize ;
14524 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14525 long arg6 = (long) 0 ;
14526 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14527 wxString *arg7 = (wxString *) &arg7_defvalue ;
14528 bool result;
14529 void *argp1 = 0 ;
14530 int res1 = 0 ;
14531 void *argp2 = 0 ;
14532 int res2 = 0 ;
14533 int val3 ;
14534 int ecode3 = 0 ;
14535 wxPoint temp4 ;
14536 wxSize temp5 ;
14537 long val6 ;
14538 int ecode6 = 0 ;
14539 bool temp7 = false ;
14540 PyObject * obj0 = 0 ;
14541 PyObject * obj1 = 0 ;
14542 PyObject * obj2 = 0 ;
14543 PyObject * obj3 = 0 ;
14544 PyObject * obj4 = 0 ;
14545 PyObject * obj5 = 0 ;
14546 PyObject * obj6 = 0 ;
14547 char * kwnames[] = {
14548 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14549 };
14550
14551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14553 if (!SWIG_IsOK(res1)) {
14554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14555 }
14556 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14557 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14558 if (!SWIG_IsOK(res2)) {
14559 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14560 }
14561 arg2 = reinterpret_cast< wxWindow * >(argp2);
14562 if (obj2) {
14563 ecode3 = SWIG_AsVal_int(obj2, &val3);
14564 if (!SWIG_IsOK(ecode3)) {
14565 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14566 }
14567 arg3 = static_cast< int >(val3);
14568 }
14569 if (obj3) {
36ed4f51 14570 {
1bd55598
RD
14571 arg4 = &temp4;
14572 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 14573 }
1bd55598
RD
14574 }
14575 if (obj4) {
36ed4f51 14576 {
1bd55598
RD
14577 arg5 = &temp5;
14578 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 14579 }
1bd55598
RD
14580 }
14581 if (obj5) {
14582 ecode6 = SWIG_AsVal_long(obj5, &val6);
14583 if (!SWIG_IsOK(ecode6)) {
14584 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14585 }
14586 arg6 = static_cast< long >(val6);
14587 }
14588 if (obj6) {
d55e5bfc 14589 {
1bd55598
RD
14590 arg7 = wxString_in_helper(obj6);
14591 if (arg7 == NULL) SWIG_fail;
14592 temp7 = true;
14593 }
14594 }
14595 {
14596 PyThreadState* __tstate = wxPyBeginAllowThreads();
14597 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14598 wxPyEndAllowThreads(__tstate);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 {
14602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14603 }
14604 {
14605 if (temp7)
14606 delete arg7;
14607 }
14608 return resultobj;
14609fail:
14610 {
14611 if (temp7)
14612 delete arg7;
14613 }
14614 return NULL;
d55e5bfc
RD
14615}
14616
14617
1bd55598
RD
14618SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14619 PyObject *resultobj = 0;
14620 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14621 size_t result;
14622 void *argp1 = 0 ;
14623 int res1 = 0 ;
14624 PyObject *swig_obj[1] ;
14625
14626 if (!args) SWIG_fail;
14627 swig_obj[0] = args;
14628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14629 if (!SWIG_IsOK(res1)) {
14630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14631 }
14632 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14636 wxPyEndAllowThreads(__tstate);
14637 if (PyErr_Occurred()) SWIG_fail;
14638 }
14639 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14640 return resultobj;
14641fail:
14642 return NULL;
d55e5bfc
RD
14643}
14644
14645
1bd55598
RD
14646SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14647 PyObject *resultobj = 0;
14648 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14649 bool result;
14650 void *argp1 = 0 ;
14651 int res1 = 0 ;
14652 PyObject *swig_obj[1] ;
14653
14654 if (!args) SWIG_fail;
14655 swig_obj[0] = args;
14656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14657 if (!SWIG_IsOK(res1)) {
14658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14659 }
14660 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 {
14668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14669 }
14670 return resultobj;
14671fail:
14672 return NULL;
d55e5bfc
RD
14673}
14674
14675
1bd55598
RD
14676SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14677 PyObject *resultobj = 0;
14678 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14679 int result;
14680 void *argp1 = 0 ;
14681 int res1 = 0 ;
14682 PyObject *swig_obj[1] ;
14683
14684 if (!args) SWIG_fail;
14685 swig_obj[0] = args;
14686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14687 if (!SWIG_IsOK(res1)) {
14688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14689 }
14690 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14691 {
14692 PyThreadState* __tstate = wxPyBeginAllowThreads();
14693 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14694 wxPyEndAllowThreads(__tstate);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
14697 resultobj = SWIG_From_int(static_cast< int >(result));
14698 return resultobj;
14699fail:
14700 return NULL;
14701}
14702
14703
14704SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj = 0;
14706 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14707 size_t arg2 ;
14708 bool result;
14709 void *argp1 = 0 ;
14710 int res1 = 0 ;
14711 size_t val2 ;
14712 int ecode2 = 0 ;
14713 PyObject * obj0 = 0 ;
14714 PyObject * obj1 = 0 ;
14715 char * kwnames[] = {
14716 (char *) "self",(char *) "item", NULL
14717 };
14718
14719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14721 if (!SWIG_IsOK(res1)) {
14722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14723 }
14724 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14725 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14726 if (!SWIG_IsOK(ecode2)) {
14727 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14728 }
14729 arg2 = static_cast< size_t >(val2);
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 {
14737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14738 }
14739 return resultobj;
14740fail:
14741 return NULL;
14742}
14743
14744
14745SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14746 PyObject *resultobj = 0;
14747 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14748 size_t arg2 ;
14749 bool result;
14750 void *argp1 = 0 ;
14751 int res1 = 0 ;
14752 size_t val2 ;
14753 int ecode2 = 0 ;
14754 PyObject * obj0 = 0 ;
14755 PyObject * obj1 = 0 ;
14756 char * kwnames[] = {
14757 (char *) "self",(char *) "item", NULL
14758 };
14759
14760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14762 if (!SWIG_IsOK(res1)) {
14763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14764 }
14765 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14766 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14767 if (!SWIG_IsOK(ecode2)) {
14768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14769 }
14770 arg2 = static_cast< size_t >(val2);
14771 {
14772 PyThreadState* __tstate = wxPyBeginAllowThreads();
14773 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 {
14778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14779 }
14780 return resultobj;
14781fail:
14782 return NULL;
d55e5bfc
RD
14783}
14784
14785
1bd55598
RD
14786SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14787 PyObject *resultobj = 0;
14788 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14789 size_t result;
14790 void *argp1 = 0 ;
14791 int res1 = 0 ;
14792 PyObject *swig_obj[1] ;
14793
14794 if (!args) SWIG_fail;
14795 swig_obj[0] = args;
14796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14797 if (!SWIG_IsOK(res1)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14799 }
14800 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14801 {
14802 PyThreadState* __tstate = wxPyBeginAllowThreads();
14803 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14804 wxPyEndAllowThreads(__tstate);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14808 return resultobj;
14809fail:
14810 return NULL;
d55e5bfc
RD
14811}
14812
14813
1bd55598
RD
14814SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14815 PyObject *resultobj = 0;
14816 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14817 PyObject *result = 0 ;
14818 void *argp1 = 0 ;
14819 int res1 = 0 ;
14820 PyObject *swig_obj[1] ;
14821
14822 if (!args) SWIG_fail;
14823 swig_obj[0] = args;
14824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14825 if (!SWIG_IsOK(res1)) {
14826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14827 }
14828 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14829 {
14830 PyThreadState* __tstate = wxPyBeginAllowThreads();
14831 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14832 wxPyEndAllowThreads(__tstate);
14833 if (PyErr_Occurred()) SWIG_fail;
14834 }
14835 resultobj = result;
14836 return resultobj;
14837fail:
14838 return NULL;
14839}
14840
14841
14842SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14843 PyObject *resultobj = 0;
14844 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14845 unsigned long arg2 ;
14846 PyObject *result = 0 ;
14847 void *argp1 = 0 ;
14848 int res1 = 0 ;
14849 unsigned long val2 ;
14850 int ecode2 = 0 ;
14851 PyObject * obj0 = 0 ;
14852 PyObject * obj1 = 0 ;
14853 char * kwnames[] = {
14854 (char *) "self",(char *) "cookie", NULL
14855 };
14856
14857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14859 if (!SWIG_IsOK(res1)) {
14860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14861 }
14862 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14863 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14864 if (!SWIG_IsOK(ecode2)) {
14865 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14866 }
14867 arg2 = static_cast< unsigned long >(val2);
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14871 wxPyEndAllowThreads(__tstate);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 resultobj = result;
14875 return resultobj;
14876fail:
14877 return NULL;
d55e5bfc
RD
14878}
14879
14880
1bd55598
RD
14881SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14882 PyObject *resultobj = 0;
14883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14884 wxPoint result;
14885 void *argp1 = 0 ;
14886 int res1 = 0 ;
14887 PyObject *swig_obj[1] ;
14888
14889 if (!args) SWIG_fail;
14890 swig_obj[0] = args;
14891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14892 if (!SWIG_IsOK(res1)) {
14893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14894 }
14895 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 result = ((wxPyVListBox const *)arg1)->GetMargins();
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14903 return resultobj;
14904fail:
14905 return NULL;
d55e5bfc
RD
14906}
14907
14908
1bd55598
RD
14909SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14910 PyObject *resultobj = 0;
14911 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14912 wxColour *result = 0 ;
14913 void *argp1 = 0 ;
14914 int res1 = 0 ;
14915 PyObject *swig_obj[1] ;
14916
14917 if (!args) SWIG_fail;
14918 swig_obj[0] = args;
14919 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14920 if (!SWIG_IsOK(res1)) {
14921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14922 }
14923 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14924 {
14925 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 14926 {
1bd55598
RD
14927 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14928 result = (wxColour *) &_result_ref;
36ed4f51 14929 }
1bd55598
RD
14930 wxPyEndAllowThreads(__tstate);
14931 if (PyErr_Occurred()) SWIG_fail;
14932 }
14933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14934 return resultobj;
14935fail:
14936 return NULL;
14937}
14938
14939
14940SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14941 PyObject *resultobj = 0;
14942 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14943 size_t arg2 ;
14944 void *argp1 = 0 ;
14945 int res1 = 0 ;
14946 size_t val2 ;
14947 int ecode2 = 0 ;
14948 PyObject * obj0 = 0 ;
14949 PyObject * obj1 = 0 ;
14950 char * kwnames[] = {
14951 (char *) "self",(char *) "count", NULL
14952 };
14953
14954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14956 if (!SWIG_IsOK(res1)) {
14957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14958 }
14959 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14960 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14961 if (!SWIG_IsOK(ecode2)) {
14962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14963 }
14964 arg2 = static_cast< size_t >(val2);
14965 {
14966 PyThreadState* __tstate = wxPyBeginAllowThreads();
14967 (arg1)->SetItemCount(arg2);
14968 wxPyEndAllowThreads(__tstate);
14969 if (PyErr_Occurred()) SWIG_fail;
14970 }
14971 resultobj = SWIG_Py_Void();
14972 return resultobj;
14973fail:
14974 return NULL;
d55e5bfc
RD
14975}
14976
14977
1bd55598
RD
14978SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14979 PyObject *resultobj = 0;
14980 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14981 void *argp1 = 0 ;
14982 int res1 = 0 ;
14983 PyObject *swig_obj[1] ;
14984
14985 if (!args) SWIG_fail;
14986 swig_obj[0] = args;
14987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14988 if (!SWIG_IsOK(res1)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14990 }
14991 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14992 {
14993 PyThreadState* __tstate = wxPyBeginAllowThreads();
14994 (arg1)->Clear();
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 }
14998 resultobj = SWIG_Py_Void();
14999 return resultobj;
15000fail:
15001 return NULL;
15002}
15003
15004
15005SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15006 PyObject *resultobj = 0;
15007 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15008 int arg2 ;
15009 void *argp1 = 0 ;
15010 int res1 = 0 ;
15011 int val2 ;
15012 int ecode2 = 0 ;
15013 PyObject * obj0 = 0 ;
15014 PyObject * obj1 = 0 ;
15015 char * kwnames[] = {
15016 (char *) "self",(char *) "selection", NULL
15017 };
15018
15019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15021 if (!SWIG_IsOK(res1)) {
15022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15023 }
15024 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15025 ecode2 = SWIG_AsVal_int(obj1, &val2);
15026 if (!SWIG_IsOK(ecode2)) {
15027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15028 }
15029 arg2 = static_cast< int >(val2);
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 (arg1)->SetSelection(arg2);
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 resultobj = SWIG_Py_Void();
15037 return resultobj;
15038fail:
15039 return NULL;
15040}
15041
15042
15043SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15044 PyObject *resultobj = 0;
15045 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15046 size_t arg2 ;
15047 bool arg3 = (bool) true ;
15048 bool result;
15049 void *argp1 = 0 ;
15050 int res1 = 0 ;
15051 size_t val2 ;
15052 int ecode2 = 0 ;
15053 bool val3 ;
15054 int ecode3 = 0 ;
15055 PyObject * obj0 = 0 ;
15056 PyObject * obj1 = 0 ;
15057 PyObject * obj2 = 0 ;
15058 char * kwnames[] = {
15059 (char *) "self",(char *) "item",(char *) "select", NULL
15060 };
15061
15062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15064 if (!SWIG_IsOK(res1)) {
15065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15066 }
15067 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15068 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15069 if (!SWIG_IsOK(ecode2)) {
15070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15071 }
15072 arg2 = static_cast< size_t >(val2);
15073 if (obj2) {
15074 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15075 if (!SWIG_IsOK(ecode3)) {
15076 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15077 }
15078 arg3 = static_cast< bool >(val3);
15079 }
15080 {
15081 PyThreadState* __tstate = wxPyBeginAllowThreads();
15082 result = (bool)(arg1)->Select(arg2,arg3);
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 {
15087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15088 }
15089 return resultobj;
15090fail:
15091 return NULL;
15092}
15093
15094
15095SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15096 PyObject *resultobj = 0;
15097 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15098 size_t arg2 ;
15099 size_t arg3 ;
15100 bool result;
15101 void *argp1 = 0 ;
15102 int res1 = 0 ;
15103 size_t val2 ;
15104 int ecode2 = 0 ;
15105 size_t val3 ;
15106 int ecode3 = 0 ;
15107 PyObject * obj0 = 0 ;
15108 PyObject * obj1 = 0 ;
15109 PyObject * obj2 = 0 ;
15110 char * kwnames[] = {
2131d850 15111 (char *) "self",(char *) "from",(char *) "to", NULL
1bd55598
RD
15112 };
15113
15114 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15115 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15116 if (!SWIG_IsOK(res1)) {
15117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15118 }
15119 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15120 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15121 if (!SWIG_IsOK(ecode2)) {
15122 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15123 }
15124 arg2 = static_cast< size_t >(val2);
15125 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15126 if (!SWIG_IsOK(ecode3)) {
15127 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15128 }
15129 arg3 = static_cast< size_t >(val3);
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 result = (bool)(arg1)->SelectRange(arg2,arg3);
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 {
15137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15138 }
15139 return resultobj;
15140fail:
15141 return NULL;
15142}
15143
15144
15145SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15146 PyObject *resultobj = 0;
15147 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15148 size_t arg2 ;
15149 void *argp1 = 0 ;
15150 int res1 = 0 ;
15151 size_t val2 ;
15152 int ecode2 = 0 ;
15153 PyObject * obj0 = 0 ;
15154 PyObject * obj1 = 0 ;
15155 char * kwnames[] = {
15156 (char *) "self",(char *) "item", NULL
15157 };
15158
15159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15161 if (!SWIG_IsOK(res1)) {
15162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15163 }
15164 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15165 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15166 if (!SWIG_IsOK(ecode2)) {
15167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15168 }
15169 arg2 = static_cast< size_t >(val2);
15170 {
15171 PyThreadState* __tstate = wxPyBeginAllowThreads();
15172 (arg1)->Toggle(arg2);
15173 wxPyEndAllowThreads(__tstate);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
15176 resultobj = SWIG_Py_Void();
15177 return resultobj;
15178fail:
15179 return NULL;
d55e5bfc
RD
15180}
15181
15182
1bd55598
RD
15183SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15184 PyObject *resultobj = 0;
15185 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15186 bool result;
15187 void *argp1 = 0 ;
15188 int res1 = 0 ;
15189 PyObject *swig_obj[1] ;
15190
15191 if (!args) SWIG_fail;
15192 swig_obj[0] = args;
15193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15194 if (!SWIG_IsOK(res1)) {
15195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15196 }
15197 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15198 {
15199 PyThreadState* __tstate = wxPyBeginAllowThreads();
15200 result = (bool)(arg1)->SelectAll();
15201 wxPyEndAllowThreads(__tstate);
15202 if (PyErr_Occurred()) SWIG_fail;
15203 }
15204 {
15205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15206 }
15207 return resultobj;
15208fail:
15209 return NULL;
d55e5bfc
RD
15210}
15211
15212
1bd55598
RD
15213SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15214 PyObject *resultobj = 0;
15215 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15216 bool result;
15217 void *argp1 = 0 ;
15218 int res1 = 0 ;
15219 PyObject *swig_obj[1] ;
15220
15221 if (!args) SWIG_fail;
15222 swig_obj[0] = args;
15223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15224 if (!SWIG_IsOK(res1)) {
15225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15226 }
15227 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15228 {
15229 PyThreadState* __tstate = wxPyBeginAllowThreads();
15230 result = (bool)(arg1)->DeselectAll();
15231 wxPyEndAllowThreads(__tstate);
15232 if (PyErr_Occurred()) SWIG_fail;
15233 }
15234 {
15235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15236 }
15237 return resultobj;
15238fail:
15239 return NULL;
15240}
15241
15242
15243SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj = 0;
15245 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15246 wxPoint *arg2 = 0 ;
15247 void *argp1 = 0 ;
15248 int res1 = 0 ;
15249 wxPoint temp2 ;
15250 PyObject * obj0 = 0 ;
15251 PyObject * obj1 = 0 ;
15252 char * kwnames[] = {
15253 (char *) "self",(char *) "pt", NULL
15254 };
15255
15256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15258 if (!SWIG_IsOK(res1)) {
15259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15260 }
15261 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15262 {
15263 arg2 = &temp2;
15264 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15265 }
15266 {
15267 PyThreadState* __tstate = wxPyBeginAllowThreads();
15268 (arg1)->SetMargins((wxPoint const &)*arg2);
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
15272 resultobj = SWIG_Py_Void();
15273 return resultobj;
15274fail:
15275 return NULL;
15276}
15277
15278
15279SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15280 PyObject *resultobj = 0;
15281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15282 int arg2 ;
15283 int arg3 ;
15284 void *argp1 = 0 ;
15285 int res1 = 0 ;
15286 int val2 ;
15287 int ecode2 = 0 ;
15288 int val3 ;
15289 int ecode3 = 0 ;
15290 PyObject * obj0 = 0 ;
15291 PyObject * obj1 = 0 ;
15292 PyObject * obj2 = 0 ;
15293 char * kwnames[] = {
15294 (char *) "self",(char *) "x",(char *) "y", NULL
15295 };
15296
15297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15299 if (!SWIG_IsOK(res1)) {
15300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15301 }
15302 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15303 ecode2 = SWIG_AsVal_int(obj1, &val2);
15304 if (!SWIG_IsOK(ecode2)) {
15305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15306 }
15307 arg2 = static_cast< int >(val2);
15308 ecode3 = SWIG_AsVal_int(obj2, &val3);
15309 if (!SWIG_IsOK(ecode3)) {
15310 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15311 }
15312 arg3 = static_cast< int >(val3);
15313 {
15314 PyThreadState* __tstate = wxPyBeginAllowThreads();
15315 (arg1)->SetMargins(arg2,arg3);
15316 wxPyEndAllowThreads(__tstate);
15317 if (PyErr_Occurred()) SWIG_fail;
15318 }
15319 resultobj = SWIG_Py_Void();
15320 return resultobj;
15321fail:
15322 return NULL;
15323}
15324
15325
15326SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15327 PyObject *resultobj = 0;
15328 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15329 wxColour *arg2 = 0 ;
15330 void *argp1 = 0 ;
15331 int res1 = 0 ;
15332 wxColour temp2 ;
15333 PyObject * obj0 = 0 ;
15334 PyObject * obj1 = 0 ;
15335 char * kwnames[] = {
15336 (char *) "self",(char *) "col", NULL
15337 };
15338
15339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15341 if (!SWIG_IsOK(res1)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15343 }
15344 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15345 {
15346 arg2 = &temp2;
15347 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15348 }
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15352 wxPyEndAllowThreads(__tstate);
15353 if (PyErr_Occurred()) SWIG_fail;
15354 }
15355 resultobj = SWIG_Py_Void();
15356 return resultobj;
15357fail:
15358 return NULL;
15359}
15360
15361
1c71765a
RD
15362SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15363 PyObject *resultobj = 0;
15364 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15365 wxDC *arg2 = 0 ;
15366 wxRect *arg3 = 0 ;
15367 size_t arg4 ;
15368 void *argp1 = 0 ;
15369 int res1 = 0 ;
15370 void *argp2 = 0 ;
15371 int res2 = 0 ;
15372 wxRect temp3 ;
15373 size_t val4 ;
15374 int ecode4 = 0 ;
15375 PyObject * obj0 = 0 ;
15376 PyObject * obj1 = 0 ;
15377 PyObject * obj2 = 0 ;
15378 PyObject * obj3 = 0 ;
15379 char * kwnames[] = {
15380 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15381 };
15382
15383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15385 if (!SWIG_IsOK(res1)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15387 }
15388 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15389 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15390 if (!SWIG_IsOK(res2)) {
15391 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15392 }
15393 if (!argp2) {
15394 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15395 }
15396 arg2 = reinterpret_cast< wxDC * >(argp2);
15397 {
15398 arg3 = &temp3;
15399 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15400 }
15401 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15402 if (!SWIG_IsOK(ecode4)) {
15403 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15404 }
15405 arg4 = static_cast< size_t >(val4);
15406 {
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15409 wxPyEndAllowThreads(__tstate);
15410 if (PyErr_Occurred()) SWIG_fail;
15411 }
15412 resultobj = SWIG_Py_Void();
15413 return resultobj;
15414fail:
15415 return NULL;
15416}
15417
15418
15419SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj = 0;
15421 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15422 wxDC *arg2 = 0 ;
15423 wxRect *arg3 = 0 ;
15424 size_t arg4 ;
15425 void *argp1 = 0 ;
15426 int res1 = 0 ;
15427 void *argp2 = 0 ;
15428 int res2 = 0 ;
15429 wxRect temp3 ;
15430 size_t val4 ;
15431 int ecode4 = 0 ;
15432 PyObject * obj0 = 0 ;
15433 PyObject * obj1 = 0 ;
15434 PyObject * obj2 = 0 ;
15435 PyObject * obj3 = 0 ;
15436 char * kwnames[] = {
15437 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15438 };
15439
15440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15442 if (!SWIG_IsOK(res1)) {
15443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15444 }
15445 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15446 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15447 if (!SWIG_IsOK(res2)) {
15448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15449 }
15450 if (!argp2) {
15451 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15452 }
15453 arg2 = reinterpret_cast< wxDC * >(argp2);
15454 {
15455 arg3 = &temp3;
15456 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15457 }
15458 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15459 if (!SWIG_IsOK(ecode4)) {
15460 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15461 }
15462 arg4 = static_cast< size_t >(val4);
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 resultobj = SWIG_Py_Void();
15470 return resultobj;
15471fail:
15472 return NULL;
15473}
15474
15475
1bd55598
RD
15476SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15477 PyObject *obj;
15478 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15480 return SWIG_Py_Void();
15481}
15482
15483SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15484 return SWIG_Python_InitShadowInstance(args);
15485}
15486
15487SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15488 PyObject *resultobj = 0;
15489 wxWindow *arg1 = (wxWindow *) 0 ;
15490 int arg2 = (int) wxID_ANY ;
15491 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15492 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15493 wxSize const &arg4_defvalue = wxDefaultSize ;
15494 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15495 long arg5 = (long) 0 ;
15496 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15497 wxString *arg6 = (wxString *) &arg6_defvalue ;
15498 wxPyHtmlListBox *result = 0 ;
15499 void *argp1 = 0 ;
15500 int res1 = 0 ;
15501 int val2 ;
15502 int ecode2 = 0 ;
15503 wxPoint temp3 ;
15504 wxSize temp4 ;
15505 long val5 ;
15506 int ecode5 = 0 ;
15507 bool temp6 = false ;
15508 PyObject * obj0 = 0 ;
15509 PyObject * obj1 = 0 ;
15510 PyObject * obj2 = 0 ;
15511 PyObject * obj3 = 0 ;
15512 PyObject * obj4 = 0 ;
15513 PyObject * obj5 = 0 ;
15514 char * kwnames[] = {
15515 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15516 };
15517
15518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15520 if (!SWIG_IsOK(res1)) {
15521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15522 }
15523 arg1 = reinterpret_cast< wxWindow * >(argp1);
15524 if (obj1) {
15525 ecode2 = SWIG_AsVal_int(obj1, &val2);
15526 if (!SWIG_IsOK(ecode2)) {
15527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15528 }
15529 arg2 = static_cast< int >(val2);
15530 }
15531 if (obj2) {
d55e5bfc 15532 {
1bd55598
RD
15533 arg3 = &temp3;
15534 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 15535 }
1bd55598
RD
15536 }
15537 if (obj3) {
36ed4f51 15538 {
1bd55598
RD
15539 arg4 = &temp4;
15540 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15541 }
1bd55598
RD
15542 }
15543 if (obj4) {
15544 ecode5 = SWIG_AsVal_long(obj4, &val5);
15545 if (!SWIG_IsOK(ecode5)) {
15546 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15547 }
15548 arg5 = static_cast< long >(val5);
15549 }
15550 if (obj5) {
36ed4f51 15551 {
1bd55598
RD
15552 arg6 = wxString_in_helper(obj5);
15553 if (arg6 == NULL) SWIG_fail;
15554 temp6 = true;
36ed4f51 15555 }
1bd55598
RD
15556 }
15557 {
15558 if (!wxPyCheckForApp()) SWIG_fail;
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15565 {
15566 if (temp6)
15567 delete arg6;
15568 }
15569 return resultobj;
15570fail:
15571 {
15572 if (temp6)
15573 delete arg6;
15574 }
15575 return NULL;
d55e5bfc
RD
15576}
15577
15578
1bd55598
RD
15579SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15580 PyObject *resultobj = 0;
15581 wxPyHtmlListBox *result = 0 ;
15582
15583 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15584 {
15585 if (!wxPyCheckForApp()) SWIG_fail;
15586 PyThreadState* __tstate = wxPyBeginAllowThreads();
15587 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15588 wxPyEndAllowThreads(__tstate);
15589 if (PyErr_Occurred()) SWIG_fail;
15590 }
15591 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15592 return resultobj;
15593fail:
15594 return NULL;
15595}
15596
15597
15598SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15599 PyObject *resultobj = 0;
15600 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15601 PyObject *arg2 = (PyObject *) 0 ;
15602 PyObject *arg3 = (PyObject *) 0 ;
15603 void *argp1 = 0 ;
15604 int res1 = 0 ;
15605 PyObject * obj0 = 0 ;
15606 PyObject * obj1 = 0 ;
15607 PyObject * obj2 = 0 ;
15608 char * kwnames[] = {
15609 (char *) "self",(char *) "self",(char *) "_class", NULL
15610 };
15611
15612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15614 if (!SWIG_IsOK(res1)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15616 }
15617 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15618 arg2 = obj1;
15619 arg3 = obj2;
15620 {
15621 PyThreadState* __tstate = wxPyBeginAllowThreads();
15622 (arg1)->_setCallbackInfo(arg2,arg3);
15623 wxPyEndAllowThreads(__tstate);
15624 if (PyErr_Occurred()) SWIG_fail;
15625 }
15626 resultobj = SWIG_Py_Void();
15627 return resultobj;
15628fail:
15629 return NULL;
15630}
15631
15632
15633SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj = 0;
15635 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15636 wxWindow *arg2 = (wxWindow *) 0 ;
15637 int arg3 = (int) wxID_ANY ;
15638 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15639 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15640 wxSize const &arg5_defvalue = wxDefaultSize ;
15641 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15642 long arg6 = (long) 0 ;
15643 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15644 wxString *arg7 = (wxString *) &arg7_defvalue ;
15645 bool result;
15646 void *argp1 = 0 ;
15647 int res1 = 0 ;
15648 void *argp2 = 0 ;
15649 int res2 = 0 ;
15650 int val3 ;
15651 int ecode3 = 0 ;
15652 wxPoint temp4 ;
15653 wxSize temp5 ;
15654 long val6 ;
15655 int ecode6 = 0 ;
15656 bool temp7 = false ;
15657 PyObject * obj0 = 0 ;
15658 PyObject * obj1 = 0 ;
15659 PyObject * obj2 = 0 ;
15660 PyObject * obj3 = 0 ;
15661 PyObject * obj4 = 0 ;
15662 PyObject * obj5 = 0 ;
15663 PyObject * obj6 = 0 ;
15664 char * kwnames[] = {
15665 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15666 };
15667
15668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15670 if (!SWIG_IsOK(res1)) {
15671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15672 }
15673 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15674 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15675 if (!SWIG_IsOK(res2)) {
15676 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15677 }
15678 arg2 = reinterpret_cast< wxWindow * >(argp2);
15679 if (obj2) {
15680 ecode3 = SWIG_AsVal_int(obj2, &val3);
15681 if (!SWIG_IsOK(ecode3)) {
15682 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15683 }
15684 arg3 = static_cast< int >(val3);
15685 }
15686 if (obj3) {
36ed4f51 15687 {
1bd55598
RD
15688 arg4 = &temp4;
15689 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 15690 }
1bd55598
RD
15691 }
15692 if (obj4) {
d55e5bfc 15693 {
1bd55598
RD
15694 arg5 = &temp5;
15695 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 15696 }
1bd55598
RD
15697 }
15698 if (obj5) {
15699 ecode6 = SWIG_AsVal_long(obj5, &val6);
15700 if (!SWIG_IsOK(ecode6)) {
15701 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15702 }
15703 arg6 = static_cast< long >(val6);
15704 }
15705 if (obj6) {
36ed4f51 15706 {
1bd55598
RD
15707 arg7 = wxString_in_helper(obj6);
15708 if (arg7 == NULL) SWIG_fail;
15709 temp7 = true;
36ed4f51 15710 }
1bd55598
RD
15711 }
15712 {
15713 PyThreadState* __tstate = wxPyBeginAllowThreads();
15714 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15715 wxPyEndAllowThreads(__tstate);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 {
15719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15720 }
15721 {
15722 if (temp7)
15723 delete arg7;
15724 }
15725 return resultobj;
15726fail:
15727 {
15728 if (temp7)
15729 delete arg7;
15730 }
15731 return NULL;
15732}
15733
15734
15735SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj = 0;
15737 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15738 size_t arg2 ;
15739 void *argp1 = 0 ;
15740 int res1 = 0 ;
15741 size_t val2 ;
15742 int ecode2 = 0 ;
15743 PyObject * obj0 = 0 ;
15744 PyObject * obj1 = 0 ;
15745 char * kwnames[] = {
15746 (char *) "self",(char *) "count", NULL
15747 };
15748
15749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15751 if (!SWIG_IsOK(res1)) {
15752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15753 }
15754 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15755 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15756 if (!SWIG_IsOK(ecode2)) {
15757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15758 }
15759 arg2 = static_cast< size_t >(val2);
15760 {
15761 PyThreadState* __tstate = wxPyBeginAllowThreads();
15762 (arg1)->SetItemCount(arg2);
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 resultobj = SWIG_Py_Void();
15767 return resultobj;
15768fail:
15769 return NULL;
d55e5bfc
RD
15770}
15771
15772
1bd55598
RD
15773SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15774 PyObject *resultobj = 0;
15775 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15776 wxFileSystem *result = 0 ;
15777 void *argp1 = 0 ;
15778 int res1 = 0 ;
15779 PyObject *swig_obj[1] ;
15780
15781 if (!args) SWIG_fail;
15782 swig_obj[0] = args;
15783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15784 if (!SWIG_IsOK(res1)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15786 }
15787 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15788 {
15789 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 15790 {
1bd55598
RD
15791 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15792 result = (wxFileSystem *) &_result_ref;
36ed4f51 15793 }
1bd55598
RD
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15798 return resultobj;
15799fail:
15800 return NULL;
d55e5bfc
RD
15801}
15802
15803
e9d6f3a4
RD
15804SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj = 0;
15806 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15807 size_t arg2 ;
15808 wxHtmlLinkInfo *arg3 = 0 ;
15809 void *argp1 = 0 ;
15810 int res1 = 0 ;
15811 size_t val2 ;
15812 int ecode2 = 0 ;
15813 void *argp3 = 0 ;
15814 int res3 = 0 ;
15815 PyObject * obj0 = 0 ;
15816 PyObject * obj1 = 0 ;
15817 PyObject * obj2 = 0 ;
15818 char * kwnames[] = {
15819 (char *) "self",(char *) "n",(char *) "link", NULL
15820 };
15821
15822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15824 if (!SWIG_IsOK(res1)) {
15825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15826 }
15827 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15828 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15829 if (!SWIG_IsOK(ecode2)) {
15830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15831 }
15832 arg2 = static_cast< size_t >(val2);
15833 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15834 if (!SWIG_IsOK(res3)) {
15835 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15836 }
15837 if (!argp3) {
15838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15839 }
15840 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15841 {
15842 PyThreadState* __tstate = wxPyBeginAllowThreads();
15843 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 resultobj = SWIG_Py_Void();
15848 return resultobj;
15849fail:
15850 return NULL;
15851}
15852
15853
1bd55598
RD
15854SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15855 PyObject *obj;
15856 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15857 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15858 return SWIG_Py_Void();
d55e5bfc
RD
15859}
15860
1bd55598
RD
15861SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15862 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
15863}
15864
1bd55598
RD
15865SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15866 PyObject *resultobj = 0;
15867 wxPyTaskBarIcon *result = 0 ;
15868
15869 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15870 {
15871 if (!wxPyCheckForApp()) SWIG_fail;
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15878 return resultobj;
15879fail:
15880 return NULL;
d55e5bfc
RD
15881}
15882
15883
1bd55598
RD
15884SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15885 PyObject *resultobj = 0;
15886 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15887 void *argp1 = 0 ;
15888 int res1 = 0 ;
15889 PyObject *swig_obj[1] ;
15890
15891 if (!args) SWIG_fail;
15892 swig_obj[0] = args;
15893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15894 if (!SWIG_IsOK(res1)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15896 }
15897 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15898 {
15899 PyThreadState* __tstate = wxPyBeginAllowThreads();
15900 delete arg1;
d55e5bfc 15901
1bd55598
RD
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 resultobj = SWIG_Py_Void();
15906 return resultobj;
15907fail:
15908 return NULL;
15909}
15910
15911
15912SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15913 PyObject *resultobj = 0;
15914 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15915 PyObject *arg2 = (PyObject *) 0 ;
15916 PyObject *arg3 = (PyObject *) 0 ;
15917 int arg4 ;
15918 void *argp1 = 0 ;
15919 int res1 = 0 ;
15920 int val4 ;
15921 int ecode4 = 0 ;
15922 PyObject * obj0 = 0 ;
15923 PyObject * obj1 = 0 ;
15924 PyObject * obj2 = 0 ;
15925 PyObject * obj3 = 0 ;
15926 char * kwnames[] = {
15927 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15928 };
15929
15930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15932 if (!SWIG_IsOK(res1)) {
15933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15934 }
15935 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15936 arg2 = obj1;
15937 arg3 = obj2;
15938 ecode4 = SWIG_AsVal_int(obj3, &val4);
15939 if (!SWIG_IsOK(ecode4)) {
15940 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15941 }
15942 arg4 = static_cast< int >(val4);
15943 {
15944 PyThreadState* __tstate = wxPyBeginAllowThreads();
15945 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15946 wxPyEndAllowThreads(__tstate);
15947 if (PyErr_Occurred()) SWIG_fail;
15948 }
15949 resultobj = SWIG_Py_Void();
15950 return resultobj;
15951fail:
15952 return NULL;
d55e5bfc
RD
15953}
15954
15955
1bd55598
RD
15956SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15957 PyObject *resultobj = 0;
15958 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15959 void *argp1 = 0 ;
15960 int res1 = 0 ;
15961 PyObject *swig_obj[1] ;
15962
15963 if (!args) SWIG_fail;
15964 swig_obj[0] = args;
15965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15966 if (!SWIG_IsOK(res1)) {
15967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15968 }
15969 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 wxPyTaskBarIcon_Destroy(arg1);
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 resultobj = SWIG_Py_Void();
15977 return resultobj;
15978fail:
15979 return NULL;
d55e5bfc
RD
15980}
15981
15982
1bd55598
RD
15983SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15984 PyObject *resultobj = 0;
15985 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15986 bool result;
15987 void *argp1 = 0 ;
15988 int res1 = 0 ;
15989 PyObject *swig_obj[1] ;
15990
15991 if (!args) SWIG_fail;
15992 swig_obj[0] = args;
15993 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15994 if (!SWIG_IsOK(res1)) {
15995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15996 }
15997 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 {
16005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16006 }
16007 return resultobj;
16008fail:
16009 return NULL;
d55e5bfc
RD
16010}
16011
16012
1bd55598
RD
16013SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16014 PyObject *resultobj = 0;
16015 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16016 bool result;
16017 void *argp1 = 0 ;
16018 int res1 = 0 ;
16019 PyObject *swig_obj[1] ;
16020
16021 if (!args) SWIG_fail;
16022 swig_obj[0] = args;
16023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16024 if (!SWIG_IsOK(res1)) {
16025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16026 }
16027 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16028 {
16029 PyThreadState* __tstate = wxPyBeginAllowThreads();
16030 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16031 wxPyEndAllowThreads(__tstate);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 {
16035 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16036 }
16037 return resultobj;
16038fail:
16039 return NULL;
16040}
16041
16042
16043SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16044 PyObject *resultobj = 0;
16045 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16046 wxIcon *arg2 = 0 ;
16047 wxString const &arg3_defvalue = wxPyEmptyString ;
16048 wxString *arg3 = (wxString *) &arg3_defvalue ;
16049 bool result;
16050 void *argp1 = 0 ;
16051 int res1 = 0 ;
16052 void *argp2 = 0 ;
16053 int res2 = 0 ;
16054 bool temp3 = false ;
16055 PyObject * obj0 = 0 ;
16056 PyObject * obj1 = 0 ;
16057 PyObject * obj2 = 0 ;
16058 char * kwnames[] = {
16059 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16060 };
16061
16062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16064 if (!SWIG_IsOK(res1)) {
16065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16066 }
16067 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16068 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16069 if (!SWIG_IsOK(res2)) {
16070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16071 }
16072 if (!argp2) {
16073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16074 }
16075 arg2 = reinterpret_cast< wxIcon * >(argp2);
16076 if (obj2) {
36ed4f51 16077 {
1bd55598
RD
16078 arg3 = wxString_in_helper(obj2);
16079 if (arg3 == NULL) SWIG_fail;
16080 temp3 = true;
36ed4f51 16081 }
1bd55598
RD
16082 }
16083 {
16084 PyThreadState* __tstate = wxPyBeginAllowThreads();
16085 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16086 wxPyEndAllowThreads(__tstate);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 {
16090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16091 }
16092 {
16093 if (temp3)
16094 delete arg3;
16095 }
16096 return resultobj;
16097fail:
16098 {
16099 if (temp3)
16100 delete arg3;
16101 }
16102 return NULL;
d55e5bfc
RD
16103}
16104
16105
1bd55598
RD
16106SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16107 PyObject *resultobj = 0;
16108 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16109 bool result;
16110 void *argp1 = 0 ;
16111 int res1 = 0 ;
16112 PyObject *swig_obj[1] ;
16113
16114 if (!args) SWIG_fail;
16115 swig_obj[0] = args;
16116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16117 if (!SWIG_IsOK(res1)) {
16118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16119 }
16120 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16121 {
16122 PyThreadState* __tstate = wxPyBeginAllowThreads();
16123 result = (bool)(arg1)->RemoveIcon();
16124 wxPyEndAllowThreads(__tstate);
16125 if (PyErr_Occurred()) SWIG_fail;
16126 }
16127 {
16128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16129 }
16130 return resultobj;
16131fail:
16132 return NULL;
16133}
16134
16135
16136SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj = 0;
16138 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16139 wxMenu *arg2 = (wxMenu *) 0 ;
16140 bool result;
16141 void *argp1 = 0 ;
16142 int res1 = 0 ;
16143 void *argp2 = 0 ;
16144 int res2 = 0 ;
16145 PyObject * obj0 = 0 ;
16146 PyObject * obj1 = 0 ;
16147 char * kwnames[] = {
16148 (char *) "self",(char *) "menu", NULL
16149 };
16150
16151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16153 if (!SWIG_IsOK(res1)) {
16154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16155 }
16156 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16157 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16158 if (!SWIG_IsOK(res2)) {
16159 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16160 }
16161 arg2 = reinterpret_cast< wxMenu * >(argp2);
16162 {
16163 PyThreadState* __tstate = wxPyBeginAllowThreads();
16164 result = (bool)(arg1)->PopupMenu(arg2);
16165 wxPyEndAllowThreads(__tstate);
16166 if (PyErr_Occurred()) SWIG_fail;
16167 }
16168 {
16169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16170 }
16171 return resultobj;
16172fail:
16173 return NULL;
d55e5bfc
RD
16174}
16175
16176
1bd55598
RD
16177SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16178 PyObject *obj;
16179 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16180 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16181 return SWIG_Py_Void();
d55e5bfc
RD
16182}
16183
1bd55598
RD
16184SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16185 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16186}
16187
1bd55598
RD
16188SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16189 PyObject *resultobj = 0;
16190 wxEventType arg1 ;
16191 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16192 wxTaskBarIconEvent *result = 0 ;
16193 int val1 ;
16194 int ecode1 = 0 ;
16195 void *argp2 = 0 ;
16196 int res2 = 0 ;
16197 PyObject * obj0 = 0 ;
16198 PyObject * obj1 = 0 ;
16199 char * kwnames[] = {
16200 (char *) "evtType",(char *) "tbIcon", NULL
16201 };
16202
16203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16204 ecode1 = SWIG_AsVal_int(obj0, &val1);
16205 if (!SWIG_IsOK(ecode1)) {
16206 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16207 }
16208 arg1 = static_cast< wxEventType >(val1);
16209 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16210 if (!SWIG_IsOK(res2)) {
16211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16212 }
16213 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16221 return resultobj;
16222fail:
16223 return NULL;
d55e5bfc
RD
16224}
16225
16226
1bd55598
RD
16227SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16228 PyObject *obj;
16229 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16230 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16231 return SWIG_Py_Void();
d55e5bfc
RD
16232}
16233
1bd55598
RD
16234SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16235 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16236}
16237
1bd55598
RD
16238SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16239 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16240 return 1;
d55e5bfc
RD
16241}
16242
16243
1bd55598
RD
16244SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16245 PyObject *pyobj = 0;
16246
16247 {
16248#if wxUSE_UNICODE
16249 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16250#else
16251 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16252#endif
16253 }
16254 return pyobj;
d55e5bfc
RD
16255}
16256
16257
1bd55598
RD
16258SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16259 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16260 return 1;
d55e5bfc
RD
16261}
16262
16263
1bd55598
RD
16264SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16265 PyObject *pyobj = 0;
16266
16267 {
16268#if wxUSE_UNICODE
16269 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16270#else
16271 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16272#endif
16273 }
16274 return pyobj;
d55e5bfc
RD
16275}
16276
16277
1bd55598
RD
16278SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16279 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16280 return 1;
d55e5bfc
RD
16281}
16282
16283
1bd55598
RD
16284SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16285 PyObject *pyobj = 0;
16286
16287 {
16288#if wxUSE_UNICODE
16289 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16290#else
16291 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16292#endif
16293 }
16294 return pyobj;
d55e5bfc
RD
16295}
16296
16297
1bd55598
RD
16298SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16299 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16300 return 1;
d55e5bfc
RD
16301}
16302
16303
1bd55598
RD
16304SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16305 PyObject *pyobj = 0;
16306
16307 {
16308#if wxUSE_UNICODE
16309 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16310#else
16311 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16312#endif
16313 }
16314 return pyobj;
d55e5bfc
RD
16315}
16316
16317
1bd55598
RD
16318SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16319 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16320 return 1;
d55e5bfc
RD
16321}
16322
16323
1bd55598
RD
16324SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16325 PyObject *pyobj = 0;
16326
16327 {
16328#if wxUSE_UNICODE
16329 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16330#else
16331 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16332#endif
16333 }
16334 return pyobj;
d55e5bfc
RD
16335}
16336
16337
1bd55598
RD
16338SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16339 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16340 return 1;
d55e5bfc
RD
16341}
16342
16343
1bd55598
RD
16344SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16345 PyObject *pyobj = 0;
16346
16347 {
16348#if wxUSE_UNICODE
16349 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16350#else
16351 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16352#endif
16353 }
16354 return pyobj;
d55e5bfc
RD
16355}
16356
16357
1bd55598
RD
16358SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16359 PyObject *resultobj = 0;
16360 wxColourData *result = 0 ;
16361
16362 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 result = (wxColourData *)new wxColourData();
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16370 return resultobj;
16371fail:
16372 return NULL;
d55e5bfc
RD
16373}
16374
16375
1bd55598
RD
16376SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16377 PyObject *resultobj = 0;
16378 wxColourData *arg1 = (wxColourData *) 0 ;
16379 void *argp1 = 0 ;
16380 int res1 = 0 ;
16381 PyObject *swig_obj[1] ;
16382
16383 if (!args) SWIG_fail;
16384 swig_obj[0] = args;
16385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16386 if (!SWIG_IsOK(res1)) {
16387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16388 }
16389 arg1 = reinterpret_cast< wxColourData * >(argp1);
16390 {
16391 PyThreadState* __tstate = wxPyBeginAllowThreads();
16392 delete arg1;
d55e5bfc 16393
1bd55598
RD
16394 wxPyEndAllowThreads(__tstate);
16395 if (PyErr_Occurred()) SWIG_fail;
16396 }
16397 resultobj = SWIG_Py_Void();
16398 return resultobj;
16399fail:
16400 return NULL;
d55e5bfc
RD
16401}
16402
16403
1bd55598
RD
16404SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16405 PyObject *resultobj = 0;
16406 wxColourData *arg1 = (wxColourData *) 0 ;
16407 bool result;
16408 void *argp1 = 0 ;
16409 int res1 = 0 ;
16410 PyObject *swig_obj[1] ;
16411
16412 if (!args) SWIG_fail;
16413 swig_obj[0] = args;
16414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16415 if (!SWIG_IsOK(res1)) {
16416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16417 }
16418 arg1 = reinterpret_cast< wxColourData * >(argp1);
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = (bool)(arg1)->GetChooseFull();
16422 wxPyEndAllowThreads(__tstate);
16423 if (PyErr_Occurred()) SWIG_fail;
16424 }
16425 {
16426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16427 }
16428 return resultobj;
16429fail:
16430 return NULL;
d55e5bfc
RD
16431}
16432
16433
1bd55598
RD
16434SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16435 PyObject *resultobj = 0;
16436 wxColourData *arg1 = (wxColourData *) 0 ;
16437 wxColour result;
16438 void *argp1 = 0 ;
16439 int res1 = 0 ;
16440 PyObject *swig_obj[1] ;
16441
16442 if (!args) SWIG_fail;
16443 swig_obj[0] = args;
16444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16445 if (!SWIG_IsOK(res1)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16447 }
16448 arg1 = reinterpret_cast< wxColourData * >(argp1);
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 result = (arg1)->GetColour();
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16456 return resultobj;
16457fail:
16458 return NULL;
16459}
16460
16461
16462SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj = 0;
16464 wxColourData *arg1 = (wxColourData *) 0 ;
16465 int arg2 ;
16466 wxColour result;
16467 void *argp1 = 0 ;
16468 int res1 = 0 ;
16469 int val2 ;
16470 int ecode2 = 0 ;
16471 PyObject * obj0 = 0 ;
16472 PyObject * obj1 = 0 ;
16473 char * kwnames[] = {
16474 (char *) "self",(char *) "i", NULL
16475 };
16476
16477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16479 if (!SWIG_IsOK(res1)) {
16480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16481 }
16482 arg1 = reinterpret_cast< wxColourData * >(argp1);
16483 ecode2 = SWIG_AsVal_int(obj1, &val2);
16484 if (!SWIG_IsOK(ecode2)) {
16485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16486 }
16487 arg2 = static_cast< int >(val2);
16488 {
16489 PyThreadState* __tstate = wxPyBeginAllowThreads();
16490 result = (arg1)->GetCustomColour(arg2);
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16495 return resultobj;
16496fail:
16497 return NULL;
16498}
16499
16500
16501SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj = 0;
16503 wxColourData *arg1 = (wxColourData *) 0 ;
16504 int arg2 ;
16505 void *argp1 = 0 ;
16506 int res1 = 0 ;
16507 int val2 ;
16508 int ecode2 = 0 ;
16509 PyObject * obj0 = 0 ;
16510 PyObject * obj1 = 0 ;
16511 char * kwnames[] = {
16512 (char *) "self",(char *) "flag", NULL
16513 };
16514
16515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16517 if (!SWIG_IsOK(res1)) {
16518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16519 }
16520 arg1 = reinterpret_cast< wxColourData * >(argp1);
16521 ecode2 = SWIG_AsVal_int(obj1, &val2);
16522 if (!SWIG_IsOK(ecode2)) {
16523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16524 }
16525 arg2 = static_cast< int >(val2);
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 (arg1)->SetChooseFull(arg2);
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 resultobj = SWIG_Py_Void();
16533 return resultobj;
16534fail:
16535 return NULL;
16536}
16537
16538
16539SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16540 PyObject *resultobj = 0;
16541 wxColourData *arg1 = (wxColourData *) 0 ;
16542 wxColour *arg2 = 0 ;
16543 void *argp1 = 0 ;
16544 int res1 = 0 ;
16545 wxColour temp2 ;
16546 PyObject * obj0 = 0 ;
16547 PyObject * obj1 = 0 ;
16548 char * kwnames[] = {
16549 (char *) "self",(char *) "colour", NULL
16550 };
16551
16552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16554 if (!SWIG_IsOK(res1)) {
16555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16556 }
16557 arg1 = reinterpret_cast< wxColourData * >(argp1);
16558 {
16559 arg2 = &temp2;
16560 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16561 }
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 (arg1)->SetColour((wxColour const &)*arg2);
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
16568 resultobj = SWIG_Py_Void();
16569 return resultobj;
16570fail:
16571 return NULL;
16572}
16573
16574
16575SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16576 PyObject *resultobj = 0;
16577 wxColourData *arg1 = (wxColourData *) 0 ;
16578 int arg2 ;
16579 wxColour *arg3 = 0 ;
16580 void *argp1 = 0 ;
16581 int res1 = 0 ;
16582 int val2 ;
16583 int ecode2 = 0 ;
16584 wxColour temp3 ;
16585 PyObject * obj0 = 0 ;
16586 PyObject * obj1 = 0 ;
16587 PyObject * obj2 = 0 ;
16588 char * kwnames[] = {
16589 (char *) "self",(char *) "i",(char *) "colour", NULL
16590 };
16591
16592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16594 if (!SWIG_IsOK(res1)) {
16595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16596 }
16597 arg1 = reinterpret_cast< wxColourData * >(argp1);
16598 ecode2 = SWIG_AsVal_int(obj1, &val2);
16599 if (!SWIG_IsOK(ecode2)) {
16600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16601 }
16602 arg2 = static_cast< int >(val2);
16603 {
16604 arg3 = &temp3;
16605 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16606 }
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16610 wxPyEndAllowThreads(__tstate);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 }
16613 resultobj = SWIG_Py_Void();
16614 return resultobj;
16615fail:
16616 return NULL;
d55e5bfc
RD
16617}
16618
16619
1bd55598
RD
16620SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16621 PyObject *obj;
16622 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16623 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16624 return SWIG_Py_Void();
d55e5bfc
RD
16625}
16626
1bd55598
RD
16627SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16628 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
16629}
16630
1bd55598
RD
16631SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16632 PyObject *resultobj = 0;
16633 wxWindow *arg1 = (wxWindow *) 0 ;
16634 wxColourData *arg2 = (wxColourData *) NULL ;
16635 wxColourDialog *result = 0 ;
16636 void *argp1 = 0 ;
16637 int res1 = 0 ;
16638 void *argp2 = 0 ;
16639 int res2 = 0 ;
16640 PyObject * obj0 = 0 ;
16641 PyObject * obj1 = 0 ;
16642 char * kwnames[] = {
16643 (char *) "parent",(char *) "data", NULL
16644 };
16645
16646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16648 if (!SWIG_IsOK(res1)) {
16649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16650 }
16651 arg1 = reinterpret_cast< wxWindow * >(argp1);
16652 if (obj1) {
16653 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16654 if (!SWIG_IsOK(res2)) {
16655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
36ed4f51 16656 }
1bd55598
RD
16657 arg2 = reinterpret_cast< wxColourData * >(argp2);
16658 }
16659 {
16660 if (!wxPyCheckForApp()) SWIG_fail;
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
16666 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16667 return resultobj;
16668fail:
16669 return NULL;
d55e5bfc
RD
16670}
16671
16672
1bd55598
RD
16673SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16674 PyObject *resultobj = 0;
16675 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16676 wxColourData *result = 0 ;
16677 void *argp1 = 0 ;
16678 int res1 = 0 ;
16679 PyObject *swig_obj[1] ;
16680
16681 if (!args) SWIG_fail;
16682 swig_obj[0] = args;
16683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16684 if (!SWIG_IsOK(res1)) {
16685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16686 }
16687 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16688 {
16689 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 16690 {
1bd55598
RD
16691 wxColourData &_result_ref = (arg1)->GetColourData();
16692 result = (wxColourData *) &_result_ref;
d55e5bfc 16693 }
1bd55598
RD
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16698 return resultobj;
16699fail:
16700 return NULL;
16701}
16702
16703
16704SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16705 PyObject *obj;
16706 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16707 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16708 return SWIG_Py_Void();
16709}
16710
16711SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16712 return SWIG_Python_InitShadowInstance(args);
16713}
16714
16715SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj = 0;
16717 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16718 wxColour const &arg2_defvalue = wxNullColour ;
16719 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16720 wxString const &arg3_defvalue = wxPyEmptyString ;
16721 wxString *arg3 = (wxString *) &arg3_defvalue ;
16722 wxColour result;
16723 void *argp1 = 0 ;
16724 int res1 = 0 ;
16725 wxColour temp2 ;
16726 bool temp3 = false ;
16727 PyObject * obj0 = 0 ;
16728 PyObject * obj1 = 0 ;
16729 PyObject * obj2 = 0 ;
16730 char * kwnames[] = {
16731 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16732 };
16733
16734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16735 if (obj0) {
16736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16737 if (!SWIG_IsOK(res1)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
d55e5bfc 16739 }
1bd55598
RD
16740 arg1 = reinterpret_cast< wxWindow * >(argp1);
16741 }
16742 if (obj1) {
d55e5bfc 16743 {
1bd55598
RD
16744 arg2 = &temp2;
16745 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
d55e5bfc 16746 }
1bd55598
RD
16747 }
16748 if (obj2) {
d55e5bfc 16749 {
1bd55598
RD
16750 arg3 = wxString_in_helper(obj2);
16751 if (arg3 == NULL) SWIG_fail;
16752 temp3 = true;
d55e5bfc 16753 }
1bd55598
RD
16754 }
16755 {
16756 PyThreadState* __tstate = wxPyBeginAllowThreads();
16757 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16758 wxPyEndAllowThreads(__tstate);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 }
16761 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16762 {
16763 if (temp3)
16764 delete arg3;
16765 }
16766 return resultobj;
16767fail:
16768 {
16769 if (temp3)
16770 delete arg3;
16771 }
16772 return NULL;
16773}
16774
16775
16776SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16777 PyObject *resultobj = 0;
16778 wxWindow *arg1 = (wxWindow *) 0 ;
16779 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16780 wxString *arg2 = (wxString *) &arg2_defvalue ;
16781 wxString const &arg3_defvalue = wxPyEmptyString ;
16782 wxString *arg3 = (wxString *) &arg3_defvalue ;
704eda0c 16783 long arg4 = (long) wxDD_DEFAULT_STYLE ;
1bd55598
RD
16784 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16785 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16786 wxSize const &arg6_defvalue = wxDefaultSize ;
16787 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16788 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16789 wxString *arg7 = (wxString *) &arg7_defvalue ;
16790 wxDirDialog *result = 0 ;
16791 void *argp1 = 0 ;
16792 int res1 = 0 ;
16793 bool temp2 = false ;
16794 bool temp3 = false ;
16795 long val4 ;
16796 int ecode4 = 0 ;
16797 wxPoint temp5 ;
16798 wxSize temp6 ;
16799 bool temp7 = false ;
16800 PyObject * obj0 = 0 ;
16801 PyObject * obj1 = 0 ;
16802 PyObject * obj2 = 0 ;
16803 PyObject * obj3 = 0 ;
16804 PyObject * obj4 = 0 ;
16805 PyObject * obj5 = 0 ;
16806 PyObject * obj6 = 0 ;
16807 char * kwnames[] = {
16808 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16809 };
16810
16811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16813 if (!SWIG_IsOK(res1)) {
16814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16815 }
16816 arg1 = reinterpret_cast< wxWindow * >(argp1);
16817 if (obj1) {
d55e5bfc 16818 {
1bd55598
RD
16819 arg2 = wxString_in_helper(obj1);
16820 if (arg2 == NULL) SWIG_fail;
16821 temp2 = true;
d55e5bfc 16822 }
1bd55598
RD
16823 }
16824 if (obj2) {
d55e5bfc 16825 {
1bd55598
RD
16826 arg3 = wxString_in_helper(obj2);
16827 if (arg3 == NULL) SWIG_fail;
16828 temp3 = true;
d55e5bfc 16829 }
1bd55598
RD
16830 }
16831 if (obj3) {
16832 ecode4 = SWIG_AsVal_long(obj3, &val4);
16833 if (!SWIG_IsOK(ecode4)) {
16834 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16835 }
16836 arg4 = static_cast< long >(val4);
16837 }
16838 if (obj4) {
d55e5bfc 16839 {
1bd55598
RD
16840 arg5 = &temp5;
16841 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 16842 }
1bd55598
RD
16843 }
16844 if (obj5) {
16845 {
16846 arg6 = &temp6;
16847 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 16848 }
1bd55598
RD
16849 }
16850 if (obj6) {
d55e5bfc 16851 {
1bd55598
RD
16852 arg7 = wxString_in_helper(obj6);
16853 if (arg7 == NULL) SWIG_fail;
16854 temp7 = true;
16855 }
16856 }
16857 {
16858 if (!wxPyCheckForApp()) SWIG_fail;
16859 PyThreadState* __tstate = wxPyBeginAllowThreads();
16860 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16865 {
16866 if (temp2)
16867 delete arg2;
16868 }
16869 {
16870 if (temp3)
16871 delete arg3;
16872 }
16873 {
16874 if (temp7)
16875 delete arg7;
16876 }
16877 return resultobj;
16878fail:
16879 {
16880 if (temp2)
16881 delete arg2;
16882 }
16883 {
16884 if (temp3)
16885 delete arg3;
16886 }
16887 {
16888 if (temp7)
16889 delete arg7;
16890 }
16891 return NULL;
d55e5bfc
RD
16892}
16893
16894
1bd55598
RD
16895SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16896 PyObject *resultobj = 0;
16897 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16898 wxString result;
16899 void *argp1 = 0 ;
16900 int res1 = 0 ;
16901 PyObject *swig_obj[1] ;
16902
16903 if (!args) SWIG_fail;
16904 swig_obj[0] = args;
16905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16906 if (!SWIG_IsOK(res1)) {
16907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16908 }
16909 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16910 {
16911 PyThreadState* __tstate = wxPyBeginAllowThreads();
16912 result = (arg1)->GetPath();
16913 wxPyEndAllowThreads(__tstate);
16914 if (PyErr_Occurred()) SWIG_fail;
16915 }
16916 {
16917#if wxUSE_UNICODE
16918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16919#else
16920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16921#endif
16922 }
16923 return resultobj;
16924fail:
16925 return NULL;
d55e5bfc
RD
16926}
16927
16928
1bd55598
RD
16929SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16930 PyObject *resultobj = 0;
16931 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16932 wxString result;
16933 void *argp1 = 0 ;
16934 int res1 = 0 ;
16935 PyObject *swig_obj[1] ;
16936
16937 if (!args) SWIG_fail;
16938 swig_obj[0] = args;
16939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16940 if (!SWIG_IsOK(res1)) {
16941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16942 }
16943 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16944 {
16945 PyThreadState* __tstate = wxPyBeginAllowThreads();
16946 result = (arg1)->GetMessage();
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 {
16951#if wxUSE_UNICODE
16952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16953#else
16954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16955#endif
16956 }
16957 return resultobj;
16958fail:
16959 return NULL;
d55e5bfc
RD
16960}
16961
16962
1bd55598
RD
16963SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16964 PyObject *resultobj = 0;
16965 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16966 wxString *arg2 = 0 ;
16967 void *argp1 = 0 ;
16968 int res1 = 0 ;
16969 bool temp2 = false ;
16970 PyObject * obj0 = 0 ;
16971 PyObject * obj1 = 0 ;
16972 char * kwnames[] = {
16973 (char *) "self",(char *) "message", NULL
16974 };
16975
16976 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16977 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16978 if (!SWIG_IsOK(res1)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16980 }
16981 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16982 {
16983 arg2 = wxString_in_helper(obj1);
16984 if (arg2 == NULL) SWIG_fail;
16985 temp2 = true;
16986 }
16987 {
16988 PyThreadState* __tstate = wxPyBeginAllowThreads();
16989 (arg1)->SetMessage((wxString const &)*arg2);
16990 wxPyEndAllowThreads(__tstate);
16991 if (PyErr_Occurred()) SWIG_fail;
16992 }
16993 resultobj = SWIG_Py_Void();
16994 {
16995 if (temp2)
16996 delete arg2;
16997 }
16998 return resultobj;
16999fail:
17000 {
17001 if (temp2)
17002 delete arg2;
17003 }
17004 return NULL;
d55e5bfc
RD
17005}
17006
17007
1bd55598
RD
17008SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17009 PyObject *resultobj = 0;
17010 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17011 wxString *arg2 = 0 ;
17012 void *argp1 = 0 ;
17013 int res1 = 0 ;
17014 bool temp2 = false ;
17015 PyObject * obj0 = 0 ;
17016 PyObject * obj1 = 0 ;
17017 char * kwnames[] = {
17018 (char *) "self",(char *) "path", NULL
17019 };
17020
17021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17023 if (!SWIG_IsOK(res1)) {
17024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17025 }
17026 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17027 {
17028 arg2 = wxString_in_helper(obj1);
17029 if (arg2 == NULL) SWIG_fail;
17030 temp2 = true;
17031 }
17032 {
17033 PyThreadState* __tstate = wxPyBeginAllowThreads();
17034 (arg1)->SetPath((wxString const &)*arg2);
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 resultobj = SWIG_Py_Void();
17039 {
17040 if (temp2)
17041 delete arg2;
17042 }
17043 return resultobj;
17044fail:
17045 {
17046 if (temp2)
17047 delete arg2;
17048 }
17049 return NULL;
17050}
17051
17052
17053SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17054 PyObject *obj;
17055 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17056 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17057 return SWIG_Py_Void();
17058}
17059
17060SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17061 return SWIG_Python_InitShadowInstance(args);
17062}
17063
17064SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17065 PyObject *resultobj = 0;
17066 wxWindow *arg1 = (wxWindow *) 0 ;
17067 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17068 wxString *arg2 = (wxString *) &arg2_defvalue ;
17069 wxString const &arg3_defvalue = wxPyEmptyString ;
17070 wxString *arg3 = (wxString *) &arg3_defvalue ;
17071 wxString const &arg4_defvalue = wxPyEmptyString ;
17072 wxString *arg4 = (wxString *) &arg4_defvalue ;
17073 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17074 wxString *arg5 = (wxString *) &arg5_defvalue ;
704eda0c 17075 long arg6 = (long) wxFD_DEFAULT_STYLE ;
1bd55598
RD
17076 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17077 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17078 wxFileDialog *result = 0 ;
17079 void *argp1 = 0 ;
17080 int res1 = 0 ;
17081 bool temp2 = false ;
17082 bool temp3 = false ;
17083 bool temp4 = false ;
17084 bool temp5 = false ;
17085 long val6 ;
17086 int ecode6 = 0 ;
17087 wxPoint temp7 ;
17088 PyObject * obj0 = 0 ;
17089 PyObject * obj1 = 0 ;
17090 PyObject * obj2 = 0 ;
17091 PyObject * obj3 = 0 ;
17092 PyObject * obj4 = 0 ;
17093 PyObject * obj5 = 0 ;
17094 PyObject * obj6 = 0 ;
17095 char * kwnames[] = {
17096 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17097 };
17098
17099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17100 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17101 if (!SWIG_IsOK(res1)) {
17102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17103 }
17104 arg1 = reinterpret_cast< wxWindow * >(argp1);
17105 if (obj1) {
d55e5bfc 17106 {
1bd55598
RD
17107 arg2 = wxString_in_helper(obj1);
17108 if (arg2 == NULL) SWIG_fail;
17109 temp2 = true;
d55e5bfc 17110 }
1bd55598
RD
17111 }
17112 if (obj2) {
17113 {
17114 arg3 = wxString_in_helper(obj2);
17115 if (arg3 == NULL) SWIG_fail;
17116 temp3 = true;
d55e5bfc 17117 }
1bd55598
RD
17118 }
17119 if (obj3) {
d55e5bfc 17120 {
1bd55598
RD
17121 arg4 = wxString_in_helper(obj3);
17122 if (arg4 == NULL) SWIG_fail;
17123 temp4 = true;
17124 }
17125 }
17126 if (obj4) {
d55e5bfc 17127 {
1bd55598
RD
17128 arg5 = wxString_in_helper(obj4);
17129 if (arg5 == NULL) SWIG_fail;
17130 temp5 = true;
d55e5bfc 17131 }
1bd55598
RD
17132 }
17133 if (obj5) {
17134 ecode6 = SWIG_AsVal_long(obj5, &val6);
17135 if (!SWIG_IsOK(ecode6)) {
17136 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17137 }
17138 arg6 = static_cast< long >(val6);
17139 }
17140 if (obj6) {
d55e5bfc 17141 {
1bd55598
RD
17142 arg7 = &temp7;
17143 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
d55e5bfc 17144 }
1bd55598
RD
17145 }
17146 {
17147 if (!wxPyCheckForApp()) SWIG_fail;
17148 PyThreadState* __tstate = wxPyBeginAllowThreads();
17149 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17154 {
17155 if (temp2)
17156 delete arg2;
17157 }
17158 {
17159 if (temp3)
17160 delete arg3;
17161 }
17162 {
17163 if (temp4)
17164 delete arg4;
17165 }
17166 {
17167 if (temp5)
17168 delete arg5;
17169 }
17170 return resultobj;
17171fail:
17172 {
17173 if (temp2)
17174 delete arg2;
17175 }
17176 {
17177 if (temp3)
17178 delete arg3;
17179 }
17180 {
17181 if (temp4)
17182 delete arg4;
17183 }
17184 {
17185 if (temp5)
17186 delete arg5;
17187 }
17188 return NULL;
d55e5bfc
RD
17189}
17190
17191
1bd55598
RD
17192SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17193 PyObject *resultobj = 0;
17194 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17195 wxString *arg2 = 0 ;
17196 void *argp1 = 0 ;
17197 int res1 = 0 ;
17198 bool temp2 = false ;
17199 PyObject * obj0 = 0 ;
17200 PyObject * obj1 = 0 ;
17201 char * kwnames[] = {
17202 (char *) "self",(char *) "message", NULL
17203 };
17204
17205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17207 if (!SWIG_IsOK(res1)) {
17208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17209 }
17210 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17211 {
17212 arg2 = wxString_in_helper(obj1);
17213 if (arg2 == NULL) SWIG_fail;
17214 temp2 = true;
17215 }
17216 {
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 (arg1)->SetMessage((wxString const &)*arg2);
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 resultobj = SWIG_Py_Void();
17223 {
17224 if (temp2)
17225 delete arg2;
17226 }
17227 return resultobj;
17228fail:
17229 {
17230 if (temp2)
17231 delete arg2;
17232 }
17233 return NULL;
d55e5bfc
RD
17234}
17235
17236
1bd55598
RD
17237SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17238 PyObject *resultobj = 0;
17239 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17240 wxString *arg2 = 0 ;
17241 void *argp1 = 0 ;
17242 int res1 = 0 ;
17243 bool temp2 = false ;
17244 PyObject * obj0 = 0 ;
17245 PyObject * obj1 = 0 ;
17246 char * kwnames[] = {
17247 (char *) "self",(char *) "path", NULL
17248 };
17249
17250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17252 if (!SWIG_IsOK(res1)) {
17253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17254 }
17255 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17256 {
17257 arg2 = wxString_in_helper(obj1);
17258 if (arg2 == NULL) SWIG_fail;
17259 temp2 = true;
17260 }
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 (arg1)->SetPath((wxString const &)*arg2);
17264 wxPyEndAllowThreads(__tstate);
17265 if (PyErr_Occurred()) SWIG_fail;
17266 }
17267 resultobj = SWIG_Py_Void();
17268 {
17269 if (temp2)
17270 delete arg2;
17271 }
17272 return resultobj;
17273fail:
17274 {
17275 if (temp2)
17276 delete arg2;
17277 }
17278 return NULL;
d55e5bfc
RD
17279}
17280
17281
1bd55598
RD
17282SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj = 0;
17284 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17285 wxString *arg2 = 0 ;
17286 void *argp1 = 0 ;
17287 int res1 = 0 ;
17288 bool temp2 = false ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char * kwnames[] = {
17292 (char *) "self",(char *) "dir", NULL
17293 };
17294
17295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17297 if (!SWIG_IsOK(res1)) {
17298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17299 }
17300 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17301 {
17302 arg2 = wxString_in_helper(obj1);
17303 if (arg2 == NULL) SWIG_fail;
17304 temp2 = true;
17305 }
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 (arg1)->SetDirectory((wxString const &)*arg2);
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 resultobj = SWIG_Py_Void();
17313 {
17314 if (temp2)
17315 delete arg2;
17316 }
17317 return resultobj;
17318fail:
17319 {
17320 if (temp2)
17321 delete arg2;
17322 }
17323 return NULL;
d55e5bfc
RD
17324}
17325
17326
1bd55598
RD
17327SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17328 PyObject *resultobj = 0;
17329 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17330 wxString *arg2 = 0 ;
17331 void *argp1 = 0 ;
17332 int res1 = 0 ;
17333 bool temp2 = false ;
17334 PyObject * obj0 = 0 ;
17335 PyObject * obj1 = 0 ;
17336 char * kwnames[] = {
17337 (char *) "self",(char *) "name", NULL
17338 };
17339
17340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17342 if (!SWIG_IsOK(res1)) {
17343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17344 }
17345 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17346 {
17347 arg2 = wxString_in_helper(obj1);
17348 if (arg2 == NULL) SWIG_fail;
17349 temp2 = true;
17350 }
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 (arg1)->SetFilename((wxString const &)*arg2);
17354 wxPyEndAllowThreads(__tstate);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 }
17357 resultobj = SWIG_Py_Void();
17358 {
17359 if (temp2)
17360 delete arg2;
17361 }
17362 return resultobj;
17363fail:
17364 {
17365 if (temp2)
17366 delete arg2;
17367 }
17368 return NULL;
d55e5bfc
RD
17369}
17370
17371
1bd55598
RD
17372SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj = 0;
17374 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17375 wxString *arg2 = 0 ;
17376 void *argp1 = 0 ;
17377 int res1 = 0 ;
17378 bool temp2 = false ;
17379 PyObject * obj0 = 0 ;
17380 PyObject * obj1 = 0 ;
17381 char * kwnames[] = {
17382 (char *) "self",(char *) "wildCard", NULL
17383 };
17384
17385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17387 if (!SWIG_IsOK(res1)) {
17388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17389 }
17390 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17391 {
17392 arg2 = wxString_in_helper(obj1);
17393 if (arg2 == NULL) SWIG_fail;
17394 temp2 = true;
17395 }
17396 {
17397 PyThreadState* __tstate = wxPyBeginAllowThreads();
17398 (arg1)->SetWildcard((wxString const &)*arg2);
17399 wxPyEndAllowThreads(__tstate);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 }
17402 resultobj = SWIG_Py_Void();
17403 {
17404 if (temp2)
17405 delete arg2;
17406 }
17407 return resultobj;
17408fail:
17409 {
17410 if (temp2)
17411 delete arg2;
17412 }
17413 return NULL;
17414}
17415
17416
1bd55598
RD
17417SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj = 0;
17419 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17420 int arg2 ;
17421 void *argp1 = 0 ;
17422 int res1 = 0 ;
17423 int val2 ;
17424 int ecode2 = 0 ;
17425 PyObject * obj0 = 0 ;
17426 PyObject * obj1 = 0 ;
17427 char * kwnames[] = {
17428 (char *) "self",(char *) "filterIndex", NULL
17429 };
17430
17431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17433 if (!SWIG_IsOK(res1)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17435 }
17436 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17437 ecode2 = SWIG_AsVal_int(obj1, &val2);
17438 if (!SWIG_IsOK(ecode2)) {
17439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17440 }
17441 arg2 = static_cast< int >(val2);
17442 {
17443 PyThreadState* __tstate = wxPyBeginAllowThreads();
17444 (arg1)->SetFilterIndex(arg2);
17445 wxPyEndAllowThreads(__tstate);
17446 if (PyErr_Occurred()) SWIG_fail;
17447 }
17448 resultobj = SWIG_Py_Void();
17449 return resultobj;
17450fail:
17451 return NULL;
d55e5bfc
RD
17452}
17453
17454
1bd55598
RD
17455SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17456 PyObject *resultobj = 0;
17457 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17458 wxString result;
17459 void *argp1 = 0 ;
17460 int res1 = 0 ;
17461 PyObject *swig_obj[1] ;
17462
17463 if (!args) SWIG_fail;
17464 swig_obj[0] = args;
17465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17466 if (!SWIG_IsOK(res1)) {
17467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17468 }
17469 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = ((wxFileDialog const *)arg1)->GetMessage();
17473 wxPyEndAllowThreads(__tstate);
17474 if (PyErr_Occurred()) SWIG_fail;
17475 }
17476 {
17477#if wxUSE_UNICODE
17478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17479#else
17480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17481#endif
17482 }
17483 return resultobj;
17484fail:
17485 return NULL;
d55e5bfc
RD
17486}
17487
17488
1bd55598
RD
17489SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17490 PyObject *resultobj = 0;
17491 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17492 wxString result;
17493 void *argp1 = 0 ;
17494 int res1 = 0 ;
17495 PyObject *swig_obj[1] ;
17496
17497 if (!args) SWIG_fail;
17498 swig_obj[0] = args;
17499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17500 if (!SWIG_IsOK(res1)) {
17501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17502 }
17503 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17504 {
17505 PyThreadState* __tstate = wxPyBeginAllowThreads();
17506 result = ((wxFileDialog const *)arg1)->GetPath();
17507 wxPyEndAllowThreads(__tstate);
17508 if (PyErr_Occurred()) SWIG_fail;
17509 }
17510 {
17511#if wxUSE_UNICODE
17512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17513#else
17514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17515#endif
17516 }
17517 return resultobj;
17518fail:
17519 return NULL;
d55e5bfc
RD
17520}
17521
17522
1bd55598
RD
17523SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17524 PyObject *resultobj = 0;
17525 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17526 wxString result;
17527 void *argp1 = 0 ;
17528 int res1 = 0 ;
17529 PyObject *swig_obj[1] ;
17530
17531 if (!args) SWIG_fail;
17532 swig_obj[0] = args;
17533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17534 if (!SWIG_IsOK(res1)) {
17535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17536 }
17537 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = ((wxFileDialog const *)arg1)->GetDirectory();
17541 wxPyEndAllowThreads(__tstate);
17542 if (PyErr_Occurred()) SWIG_fail;
17543 }
17544 {
17545#if wxUSE_UNICODE
17546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17547#else
17548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17549#endif
17550 }
17551 return resultobj;
17552fail:
17553 return NULL;
d55e5bfc
RD
17554}
17555
17556
1bd55598
RD
17557SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17558 PyObject *resultobj = 0;
17559 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17560 wxString result;
17561 void *argp1 = 0 ;
17562 int res1 = 0 ;
17563 PyObject *swig_obj[1] ;
17564
17565 if (!args) SWIG_fail;
17566 swig_obj[0] = args;
17567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17568 if (!SWIG_IsOK(res1)) {
17569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17570 }
17571 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17572 {
17573 PyThreadState* __tstate = wxPyBeginAllowThreads();
17574 result = ((wxFileDialog const *)arg1)->GetFilename();
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 {
17579#if wxUSE_UNICODE
17580 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17581#else
17582 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17583#endif
17584 }
17585 return resultobj;
17586fail:
17587 return NULL;
d55e5bfc
RD
17588}
17589
17590
1bd55598
RD
17591SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17592 PyObject *resultobj = 0;
17593 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17594 wxString result;
17595 void *argp1 = 0 ;
17596 int res1 = 0 ;
17597 PyObject *swig_obj[1] ;
17598
17599 if (!args) SWIG_fail;
17600 swig_obj[0] = args;
17601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17602 if (!SWIG_IsOK(res1)) {
17603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17604 }
17605 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17606 {
17607 PyThreadState* __tstate = wxPyBeginAllowThreads();
17608 result = ((wxFileDialog const *)arg1)->GetWildcard();
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 {
17613#if wxUSE_UNICODE
17614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17615#else
17616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17617#endif
17618 }
17619 return resultobj;
17620fail:
17621 return NULL;
d55e5bfc
RD
17622}
17623
17624
1bd55598
RD
17625SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17626 PyObject *resultobj = 0;
17627 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17628 int result;
17629 void *argp1 = 0 ;
17630 int res1 = 0 ;
17631 PyObject *swig_obj[1] ;
17632
17633 if (!args) SWIG_fail;
17634 swig_obj[0] = args;
17635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17636 if (!SWIG_IsOK(res1)) {
17637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17638 }
17639 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17640 {
17641 PyThreadState* __tstate = wxPyBeginAllowThreads();
17642 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 resultobj = SWIG_From_int(static_cast< int >(result));
17647 return resultobj;
17648fail:
17649 return NULL;
d55e5bfc
RD
17650}
17651
17652
1bd55598
RD
17653SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17654 PyObject *resultobj = 0;
17655 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17656 PyObject *result = 0 ;
17657 void *argp1 = 0 ;
17658 int res1 = 0 ;
17659 PyObject *swig_obj[1] ;
17660
17661 if (!args) SWIG_fail;
17662 swig_obj[0] = args;
17663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17664 if (!SWIG_IsOK(res1)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17666 }
17667 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 resultobj = result;
17675 return resultobj;
17676fail:
17677 return NULL;
d55e5bfc
RD
17678}
17679
17680
1bd55598
RD
17681SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17682 PyObject *resultobj = 0;
17683 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17684 PyObject *result = 0 ;
17685 void *argp1 = 0 ;
17686 int res1 = 0 ;
17687 PyObject *swig_obj[1] ;
17688
17689 if (!args) SWIG_fail;
17690 swig_obj[0] = args;
17691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17692 if (!SWIG_IsOK(res1)) {
17693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17694 }
17695 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 resultobj = result;
17703 return resultobj;
17704fail:
17705 return NULL;
17706}
17707
17708
17709SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17710 PyObject *obj;
17711 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17712 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17713 return SWIG_Py_Void();
17714}
17715
17716SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17717 return SWIG_Python_InitShadowInstance(args);
17718}
17719
17720SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17721 PyObject *resultobj = 0;
17722 wxWindow *arg1 = (wxWindow *) 0 ;
17723 wxString *arg2 = 0 ;
17724 wxString *arg3 = 0 ;
17725 int arg4 = (int) 0 ;
17726 wxString *arg5 = (wxString *) NULL ;
17727 long arg6 = (long) wxCHOICEDLG_STYLE ;
17728 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17729 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17730 wxMultiChoiceDialog *result = 0 ;
17731 void *argp1 = 0 ;
17732 int res1 = 0 ;
17733 bool temp2 = false ;
17734 bool temp3 = false ;
17735 long val6 ;
17736 int ecode6 = 0 ;
17737 wxPoint temp7 ;
17738 PyObject * obj0 = 0 ;
17739 PyObject * obj1 = 0 ;
17740 PyObject * obj2 = 0 ;
17741 PyObject * obj3 = 0 ;
17742 PyObject * obj4 = 0 ;
17743 PyObject * obj5 = 0 ;
17744 char * kwnames[] = {
17745 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17746 };
17747
17748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17750 if (!SWIG_IsOK(res1)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17752 }
17753 arg1 = reinterpret_cast< wxWindow * >(argp1);
17754 {
17755 arg2 = wxString_in_helper(obj1);
17756 if (arg2 == NULL) SWIG_fail;
17757 temp2 = true;
17758 }
17759 {
17760 arg3 = wxString_in_helper(obj2);
17761 if (arg3 == NULL) SWIG_fail;
17762 temp3 = true;
17763 }
17764 if (obj3) {
d55e5bfc 17765 {
1bd55598
RD
17766 arg4 = PyList_Size(obj3);
17767 arg5 = wxString_LIST_helper(obj3);
17768 if (arg5 == NULL) SWIG_fail;
d55e5bfc 17769 }
1bd55598
RD
17770 }
17771 if (obj4) {
17772 ecode6 = SWIG_AsVal_long(obj4, &val6);
17773 if (!SWIG_IsOK(ecode6)) {
17774 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17775 }
17776 arg6 = static_cast< long >(val6);
17777 }
17778 if (obj5) {
36ed4f51 17779 {
1bd55598
RD
17780 arg7 = &temp7;
17781 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 17782 }
1bd55598
RD
17783 }
17784 {
17785 if (!wxPyCheckForApp()) SWIG_fail;
17786 PyThreadState* __tstate = wxPyBeginAllowThreads();
17787 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17788 wxPyEndAllowThreads(__tstate);
17789 if (PyErr_Occurred()) SWIG_fail;
17790 }
17791 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17792 {
17793 if (temp2)
17794 delete arg2;
17795 }
17796 {
17797 if (temp3)
17798 delete arg3;
17799 }
17800 {
17801 if (arg5) delete [] arg5;
17802 }
17803 return resultobj;
17804fail:
17805 {
17806 if (temp2)
17807 delete arg2;
17808 }
17809 {
17810 if (temp3)
17811 delete arg3;
17812 }
17813 {
17814 if (arg5) delete [] arg5;
17815 }
17816 return NULL;
d55e5bfc
RD
17817}
17818
17819
1bd55598
RD
17820SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17821 PyObject *resultobj = 0;
17822 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17823 wxArrayInt *arg2 = 0 ;
17824 void *argp1 = 0 ;
17825 int res1 = 0 ;
17826 bool temp2 = false ;
17827 PyObject * obj0 = 0 ;
17828 PyObject * obj1 = 0 ;
17829 char * kwnames[] = {
17830 (char *) "self",(char *) "selections", NULL
17831 };
17832
17833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17835 if (!SWIG_IsOK(res1)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17837 }
17838 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17839 {
17840 if (! PySequence_Check(obj1)) {
17841 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17842 SWIG_fail;
17843 }
17844 arg2 = new wxArrayInt;
17845 temp2 = true;
17846 int i, len=PySequence_Length(obj1);
17847 for (i=0; i<len; i++) {
17848 PyObject* item = PySequence_GetItem(obj1, i);
17849 PyObject* number = PyNumber_Int(item);
17850 arg2->Add(PyInt_AS_LONG(number));
17851 Py_DECREF(item);
17852 Py_DECREF(number);
36ed4f51 17853 }
1bd55598
RD
17854 }
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17858 wxPyEndAllowThreads(__tstate);
17859 if (PyErr_Occurred()) SWIG_fail;
17860 }
17861 resultobj = SWIG_Py_Void();
17862 {
17863 if (temp2) delete arg2;
17864 }
17865 return resultobj;
17866fail:
17867 {
17868 if (temp2) delete arg2;
17869 }
17870 return NULL;
d55e5bfc
RD
17871}
17872
17873
1bd55598
RD
17874SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17875 PyObject *resultobj = 0;
17876 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17877 PyObject *result = 0 ;
17878 void *argp1 = 0 ;
17879 int res1 = 0 ;
17880 PyObject *swig_obj[1] ;
17881
17882 if (!args) SWIG_fail;
17883 swig_obj[0] = args;
17884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17885 if (!SWIG_IsOK(res1)) {
17886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17887 }
17888 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 resultobj = result;
17896 return resultobj;
17897fail:
17898 return NULL;
17899}
17900
17901
17902SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17903 PyObject *obj;
17904 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17905 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17906 return SWIG_Py_Void();
17907}
17908
17909SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17910 return SWIG_Python_InitShadowInstance(args);
17911}
17912
17913SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17914 PyObject *resultobj = 0;
17915 wxWindow *arg1 = (wxWindow *) 0 ;
17916 wxString *arg2 = 0 ;
17917 wxString *arg3 = 0 ;
17918 int arg4 ;
17919 wxString *arg5 = (wxString *) 0 ;
17920 long arg6 = (long) wxCHOICEDLG_STYLE ;
17921 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17922 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17923 wxSingleChoiceDialog *result = 0 ;
17924 void *argp1 = 0 ;
17925 int res1 = 0 ;
17926 bool temp2 = false ;
17927 bool temp3 = false ;
17928 long val6 ;
17929 int ecode6 = 0 ;
17930 wxPoint temp7 ;
17931 PyObject * obj0 = 0 ;
17932 PyObject * obj1 = 0 ;
17933 PyObject * obj2 = 0 ;
17934 PyObject * obj3 = 0 ;
17935 PyObject * obj4 = 0 ;
17936 PyObject * obj5 = 0 ;
17937 char * kwnames[] = {
17938 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17939 };
17940
17941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17943 if (!SWIG_IsOK(res1)) {
17944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17945 }
17946 arg1 = reinterpret_cast< wxWindow * >(argp1);
17947 {
17948 arg2 = wxString_in_helper(obj1);
17949 if (arg2 == NULL) SWIG_fail;
17950 temp2 = true;
17951 }
17952 {
17953 arg3 = wxString_in_helper(obj2);
17954 if (arg3 == NULL) SWIG_fail;
17955 temp3 = true;
17956 }
17957 {
17958 arg4 = PyList_Size(obj3);
17959 arg5 = wxString_LIST_helper(obj3);
17960 if (arg5 == NULL) SWIG_fail;
17961 }
17962 if (obj4) {
17963 ecode6 = SWIG_AsVal_long(obj4, &val6);
17964 if (!SWIG_IsOK(ecode6)) {
17965 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17966 }
17967 arg6 = static_cast< long >(val6);
17968 }
17969 if (obj5) {
36ed4f51 17970 {
1bd55598
RD
17971 arg7 = &temp7;
17972 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
36ed4f51 17973 }
1bd55598
RD
17974 }
17975 {
17976 if (!wxPyCheckForApp()) SWIG_fail;
17977 PyThreadState* __tstate = wxPyBeginAllowThreads();
17978 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
17982 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17983 {
17984 if (temp2)
17985 delete arg2;
17986 }
17987 {
17988 if (temp3)
17989 delete arg3;
17990 }
17991 {
17992 if (arg5) delete [] arg5;
17993 }
17994 return resultobj;
17995fail:
17996 {
17997 if (temp2)
17998 delete arg2;
17999 }
18000 {
18001 if (temp3)
18002 delete arg3;
18003 }
18004 {
18005 if (arg5) delete [] arg5;
18006 }
18007 return NULL;
d55e5bfc
RD
18008}
18009
18010
1bd55598
RD
18011SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18012 PyObject *resultobj = 0;
18013 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18014 int result;
18015 void *argp1 = 0 ;
18016 int res1 = 0 ;
18017 PyObject *swig_obj[1] ;
18018
18019 if (!args) SWIG_fail;
18020 swig_obj[0] = args;
18021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18022 if (!SWIG_IsOK(res1)) {
18023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18024 }
18025 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18026 {
18027 PyThreadState* __tstate = wxPyBeginAllowThreads();
18028 result = (int)(arg1)->GetSelection();
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 resultobj = SWIG_From_int(static_cast< int >(result));
18033 return resultobj;
18034fail:
18035 return NULL;
d55e5bfc
RD
18036}
18037
18038
1bd55598
RD
18039SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18040 PyObject *resultobj = 0;
18041 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18042 wxString result;
18043 void *argp1 = 0 ;
18044 int res1 = 0 ;
18045 PyObject *swig_obj[1] ;
18046
18047 if (!args) SWIG_fail;
18048 swig_obj[0] = args;
18049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18050 if (!SWIG_IsOK(res1)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18052 }
18053 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18054 {
18055 PyThreadState* __tstate = wxPyBeginAllowThreads();
18056 result = (arg1)->GetStringSelection();
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
18060 {
18061#if wxUSE_UNICODE
18062 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18063#else
18064 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18065#endif
18066 }
18067 return resultobj;
18068fail:
18069 return NULL;
18070}
18071
18072
18073SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18074 PyObject *resultobj = 0;
18075 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18076 int arg2 ;
18077 void *argp1 = 0 ;
18078 int res1 = 0 ;
18079 int val2 ;
18080 int ecode2 = 0 ;
18081 PyObject * obj0 = 0 ;
18082 PyObject * obj1 = 0 ;
18083 char * kwnames[] = {
18084 (char *) "self",(char *) "sel", NULL
18085 };
18086
18087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18089 if (!SWIG_IsOK(res1)) {
18090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18091 }
18092 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18093 ecode2 = SWIG_AsVal_int(obj1, &val2);
18094 if (!SWIG_IsOK(ecode2)) {
18095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18096 }
18097 arg2 = static_cast< int >(val2);
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 (arg1)->SetSelection(arg2);
18101 wxPyEndAllowThreads(__tstate);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 resultobj = SWIG_Py_Void();
18105 return resultobj;
18106fail:
18107 return NULL;
18108}
18109
18110
18111SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18112 PyObject *obj;
18113 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18114 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18115 return SWIG_Py_Void();
18116}
18117
18118SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18119 return SWIG_Python_InitShadowInstance(args);
18120}
18121
18122SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18123 PyObject *resultobj = 0;
18124 wxWindow *arg1 = (wxWindow *) 0 ;
18125 wxString *arg2 = 0 ;
18126 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18127 wxString *arg3 = (wxString *) &arg3_defvalue ;
18128 wxString const &arg4_defvalue = wxPyEmptyString ;
18129 wxString *arg4 = (wxString *) &arg4_defvalue ;
18130 long arg5 = (long) wxTextEntryDialogStyle ;
18131 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18132 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18133 wxTextEntryDialog *result = 0 ;
18134 void *argp1 = 0 ;
18135 int res1 = 0 ;
18136 bool temp2 = false ;
18137 bool temp3 = false ;
18138 bool temp4 = false ;
18139 long val5 ;
18140 int ecode5 = 0 ;
18141 wxPoint temp6 ;
18142 PyObject * obj0 = 0 ;
18143 PyObject * obj1 = 0 ;
18144 PyObject * obj2 = 0 ;
18145 PyObject * obj3 = 0 ;
18146 PyObject * obj4 = 0 ;
18147 PyObject * obj5 = 0 ;
18148 char * kwnames[] = {
18149 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18150 };
18151
18152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18154 if (!SWIG_IsOK(res1)) {
18155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18156 }
18157 arg1 = reinterpret_cast< wxWindow * >(argp1);
18158 {
18159 arg2 = wxString_in_helper(obj1);
18160 if (arg2 == NULL) SWIG_fail;
18161 temp2 = true;
18162 }
18163 if (obj2) {
36ed4f51 18164 {
1bd55598
RD
18165 arg3 = wxString_in_helper(obj2);
18166 if (arg3 == NULL) SWIG_fail;
18167 temp3 = true;
36ed4f51 18168 }
1bd55598
RD
18169 }
18170 if (obj3) {
d55e5bfc 18171 {
1bd55598
RD
18172 arg4 = wxString_in_helper(obj3);
18173 if (arg4 == NULL) SWIG_fail;
18174 temp4 = true;
d55e5bfc 18175 }
1bd55598
RD
18176 }
18177 if (obj4) {
18178 ecode5 = SWIG_AsVal_long(obj4, &val5);
18179 if (!SWIG_IsOK(ecode5)) {
18180 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18181 }
18182 arg5 = static_cast< long >(val5);
18183 }
18184 if (obj5) {
d55e5bfc 18185 {
1bd55598
RD
18186 arg6 = &temp6;
18187 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 18188 }
1bd55598
RD
18189 }
18190 {
18191 if (!wxPyCheckForApp()) SWIG_fail;
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18194 wxPyEndAllowThreads(__tstate);
18195 if (PyErr_Occurred()) SWIG_fail;
18196 }
18197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18198 {
18199 if (temp2)
18200 delete arg2;
18201 }
18202 {
18203 if (temp3)
18204 delete arg3;
18205 }
18206 {
18207 if (temp4)
18208 delete arg4;
18209 }
18210 return resultobj;
18211fail:
18212 {
18213 if (temp2)
18214 delete arg2;
18215 }
18216 {
18217 if (temp3)
18218 delete arg3;
18219 }
18220 {
18221 if (temp4)
18222 delete arg4;
18223 }
18224 return NULL;
d55e5bfc
RD
18225}
18226
18227
1bd55598
RD
18228SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18229 PyObject *resultobj = 0;
18230 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18231 wxString result;
18232 void *argp1 = 0 ;
18233 int res1 = 0 ;
18234 PyObject *swig_obj[1] ;
18235
18236 if (!args) SWIG_fail;
18237 swig_obj[0] = args;
18238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18239 if (!SWIG_IsOK(res1)) {
18240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18241 }
18242 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18243 {
18244 PyThreadState* __tstate = wxPyBeginAllowThreads();
18245 result = (arg1)->GetValue();
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 {
18250#if wxUSE_UNICODE
18251 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18252#else
18253 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18254#endif
18255 }
18256 return resultobj;
18257fail:
18258 return NULL;
18259}
18260
18261
18262SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18263 PyObject *resultobj = 0;
18264 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18265 wxString *arg2 = 0 ;
18266 void *argp1 = 0 ;
18267 int res1 = 0 ;
18268 bool temp2 = false ;
18269 PyObject * obj0 = 0 ;
18270 PyObject * obj1 = 0 ;
18271 char * kwnames[] = {
18272 (char *) "self",(char *) "value", NULL
18273 };
18274
18275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18277 if (!SWIG_IsOK(res1)) {
18278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18279 }
18280 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18281 {
18282 arg2 = wxString_in_helper(obj1);
18283 if (arg2 == NULL) SWIG_fail;
18284 temp2 = true;
18285 }
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 (arg1)->SetValue((wxString const &)*arg2);
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 resultobj = SWIG_Py_Void();
18293 {
18294 if (temp2)
18295 delete arg2;
18296 }
18297 return resultobj;
18298fail:
18299 {
18300 if (temp2)
18301 delete arg2;
18302 }
18303 return NULL;
7993762b
RD
18304}
18305
18306
1bd55598
RD
18307SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18308 PyObject *obj;
18309 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18310 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18311 return SWIG_Py_Void();
7993762b
RD
18312}
18313
1bd55598
RD
18314SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18315 return SWIG_Python_InitShadowInstance(args);
d55e5bfc 18316}
1bd55598
RD
18317
18318SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18319 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18320 return 1;
d55e5bfc
RD
18321}
18322
18323
1bd55598
RD
18324SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18325 PyObject *pyobj = 0;
18326
18327 {
d55e5bfc 18328#if wxUSE_UNICODE
1bd55598 18329 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18330#else
1bd55598 18331 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
d55e5bfc 18332#endif
1bd55598
RD
18333 }
18334 return pyobj;
18335}
18336
18337
18338SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18339 PyObject *resultobj = 0;
18340 wxWindow *arg1 = (wxWindow *) 0 ;
18341 wxString *arg2 = 0 ;
18342 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18343 wxString *arg3 = (wxString *) &arg3_defvalue ;
18344 wxString const &arg4_defvalue = wxPyEmptyString ;
18345 wxString *arg4 = (wxString *) &arg4_defvalue ;
18346 long arg5 = (long) wxTextEntryDialogStyle ;
18347 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18348 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18349 wxPasswordEntryDialog *result = 0 ;
18350 void *argp1 = 0 ;
18351 int res1 = 0 ;
18352 bool temp2 = false ;
18353 bool temp3 = false ;
18354 bool temp4 = false ;
18355 long val5 ;
18356 int ecode5 = 0 ;
18357 wxPoint temp6 ;
18358 PyObject * obj0 = 0 ;
18359 PyObject * obj1 = 0 ;
18360 PyObject * obj2 = 0 ;
18361 PyObject * obj3 = 0 ;
18362 PyObject * obj4 = 0 ;
18363 PyObject * obj5 = 0 ;
18364 char * kwnames[] = {
18365 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18366 };
18367
18368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18370 if (!SWIG_IsOK(res1)) {
18371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18372 }
18373 arg1 = reinterpret_cast< wxWindow * >(argp1);
18374 {
18375 arg2 = wxString_in_helper(obj1);
18376 if (arg2 == NULL) SWIG_fail;
18377 temp2 = true;
18378 }
18379 if (obj2) {
d55e5bfc 18380 {
1bd55598
RD
18381 arg3 = wxString_in_helper(obj2);
18382 if (arg3 == NULL) SWIG_fail;
18383 temp3 = true;
d55e5bfc 18384 }
1bd55598
RD
18385 }
18386 if (obj3) {
d55e5bfc 18387 {
1bd55598
RD
18388 arg4 = wxString_in_helper(obj3);
18389 if (arg4 == NULL) SWIG_fail;
18390 temp4 = true;
d55e5bfc 18391 }
1bd55598
RD
18392 }
18393 if (obj4) {
18394 ecode5 = SWIG_AsVal_long(obj4, &val5);
18395 if (!SWIG_IsOK(ecode5)) {
18396 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18397 }
18398 arg5 = static_cast< long >(val5);
18399 }
18400 if (obj5) {
d55e5bfc 18401 {
1bd55598
RD
18402 arg6 = &temp6;
18403 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18404 }
18405 }
18406 {
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
18408 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18409 wxPyEndAllowThreads(__tstate);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 }
18412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18413 {
18414 if (temp2)
18415 delete arg2;
18416 }
18417 {
18418 if (temp3)
18419 delete arg3;
18420 }
18421 {
18422 if (temp4)
18423 delete arg4;
18424 }
18425 return resultobj;
18426fail:
18427 {
18428 if (temp2)
18429 delete arg2;
18430 }
18431 {
18432 if (temp3)
18433 delete arg3;
18434 }
18435 {
18436 if (temp4)
18437 delete arg4;
18438 }
18439 return NULL;
d55e5bfc
RD
18440}
18441
18442
1bd55598
RD
18443SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18444 PyObject *obj;
18445 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18446 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18447 return SWIG_Py_Void();
d55e5bfc
RD
18448}
18449
1bd55598
RD
18450SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18451 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
18452}
18453
27e45892
RD
18454SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18455 PyObject *resultobj = 0;
18456 wxWindow *arg1 = (wxWindow *) 0 ;
18457 wxString *arg2 = 0 ;
18458 wxString *arg3 = 0 ;
18459 wxString *arg4 = 0 ;
18460 long arg5 ;
18461 long arg6 ;
18462 long arg7 ;
18463 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18464 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18465 wxNumberEntryDialog *result = 0 ;
18466 void *argp1 = 0 ;
18467 int res1 = 0 ;
18468 bool temp2 = false ;
18469 bool temp3 = false ;
18470 bool temp4 = false ;
18471 long val5 ;
18472 int ecode5 = 0 ;
18473 long val6 ;
18474 int ecode6 = 0 ;
18475 long val7 ;
18476 int ecode7 = 0 ;
18477 wxPoint temp8 ;
18478 PyObject * obj0 = 0 ;
18479 PyObject * obj1 = 0 ;
18480 PyObject * obj2 = 0 ;
18481 PyObject * obj3 = 0 ;
18482 PyObject * obj4 = 0 ;
18483 PyObject * obj5 = 0 ;
18484 PyObject * obj6 = 0 ;
18485 PyObject * obj7 = 0 ;
18486 char * kwnames[] = {
18487 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18488 };
18489
18490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18492 if (!SWIG_IsOK(res1)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18494 }
18495 arg1 = reinterpret_cast< wxWindow * >(argp1);
18496 {
18497 arg2 = wxString_in_helper(obj1);
18498 if (arg2 == NULL) SWIG_fail;
18499 temp2 = true;
18500 }
18501 {
18502 arg3 = wxString_in_helper(obj2);
18503 if (arg3 == NULL) SWIG_fail;
18504 temp3 = true;
18505 }
18506 {
18507 arg4 = wxString_in_helper(obj3);
18508 if (arg4 == NULL) SWIG_fail;
18509 temp4 = true;
18510 }
18511 ecode5 = SWIG_AsVal_long(obj4, &val5);
18512 if (!SWIG_IsOK(ecode5)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18514 }
18515 arg5 = static_cast< long >(val5);
18516 ecode6 = SWIG_AsVal_long(obj5, &val6);
18517 if (!SWIG_IsOK(ecode6)) {
18518 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18519 }
18520 arg6 = static_cast< long >(val6);
18521 ecode7 = SWIG_AsVal_long(obj6, &val7);
18522 if (!SWIG_IsOK(ecode7)) {
18523 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18524 }
18525 arg7 = static_cast< long >(val7);
18526 if (obj7) {
18527 {
18528 arg8 = &temp8;
18529 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18530 }
18531 }
18532 {
18533 if (!wxPyCheckForApp()) SWIG_fail;
18534 PyThreadState* __tstate = wxPyBeginAllowThreads();
18535 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
18539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18540 {
18541 if (temp2)
18542 delete arg2;
18543 }
18544 {
18545 if (temp3)
18546 delete arg3;
18547 }
18548 {
18549 if (temp4)
18550 delete arg4;
18551 }
18552 return resultobj;
18553fail:
18554 {
18555 if (temp2)
18556 delete arg2;
18557 }
18558 {
18559 if (temp3)
18560 delete arg3;
18561 }
18562 {
18563 if (temp4)
18564 delete arg4;
18565 }
18566 return NULL;
18567}
18568
18569
18570SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18571 PyObject *resultobj = 0;
18572 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18573 long result;
18574 void *argp1 = 0 ;
18575 int res1 = 0 ;
18576 PyObject *swig_obj[1] ;
18577
18578 if (!args) SWIG_fail;
18579 swig_obj[0] = args;
18580 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18581 if (!SWIG_IsOK(res1)) {
18582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18583 }
18584 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18585 {
18586 PyThreadState* __tstate = wxPyBeginAllowThreads();
18587 result = (long)(arg1)->GetValue();
18588 wxPyEndAllowThreads(__tstate);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 }
18591 resultobj = SWIG_From_long(static_cast< long >(result));
18592 return resultobj;
18593fail:
18594 return NULL;
18595}
18596
18597
18598SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18599 PyObject *obj;
18600 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18601 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18602 return SWIG_Py_Void();
18603}
18604
18605SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18606 return SWIG_Python_InitShadowInstance(args);
18607}
18608
1bd55598
RD
18609SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18610 PyObject *resultobj = 0;
18611 wxFontData *result = 0 ;
18612
18613 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18614 {
18615 PyThreadState* __tstate = wxPyBeginAllowThreads();
18616 result = (wxFontData *)new wxFontData();
18617 wxPyEndAllowThreads(__tstate);
18618 if (PyErr_Occurred()) SWIG_fail;
18619 }
18620 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18621 return resultobj;
18622fail:
18623 return NULL;
d55e5bfc
RD
18624}
18625
18626
1bd55598
RD
18627SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18628 PyObject *resultobj = 0;
18629 wxFontData *arg1 = (wxFontData *) 0 ;
18630 void *argp1 = 0 ;
18631 int res1 = 0 ;
18632 PyObject *swig_obj[1] ;
18633
18634 if (!args) SWIG_fail;
18635 swig_obj[0] = args;
18636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18637 if (!SWIG_IsOK(res1)) {
18638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18639 }
18640 arg1 = reinterpret_cast< wxFontData * >(argp1);
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 delete arg1;
d55e5bfc 18644
1bd55598
RD
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 resultobj = SWIG_Py_Void();
18649 return resultobj;
18650fail:
18651 return NULL;
18652}
18653
18654
18655SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj = 0;
18657 wxFontData *arg1 = (wxFontData *) 0 ;
18658 bool arg2 ;
18659 void *argp1 = 0 ;
18660 int res1 = 0 ;
18661 bool val2 ;
18662 int ecode2 = 0 ;
18663 PyObject * obj0 = 0 ;
18664 PyObject * obj1 = 0 ;
18665 char * kwnames[] = {
18666 (char *) "self",(char *) "enable", NULL
18667 };
18668
18669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18671 if (!SWIG_IsOK(res1)) {
18672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18673 }
18674 arg1 = reinterpret_cast< wxFontData * >(argp1);
18675 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18676 if (!SWIG_IsOK(ecode2)) {
18677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18678 }
18679 arg2 = static_cast< bool >(val2);
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 (arg1)->EnableEffects(arg2);
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 resultobj = SWIG_Py_Void();
18687 return resultobj;
18688fail:
18689 return NULL;
d55e5bfc
RD
18690}
18691
18692
1bd55598
RD
18693SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18694 PyObject *resultobj = 0;
18695 wxFontData *arg1 = (wxFontData *) 0 ;
18696 bool result;
18697 void *argp1 = 0 ;
18698 int res1 = 0 ;
18699 PyObject *swig_obj[1] ;
18700
18701 if (!args) SWIG_fail;
18702 swig_obj[0] = args;
18703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18704 if (!SWIG_IsOK(res1)) {
18705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18706 }
18707 arg1 = reinterpret_cast< wxFontData * >(argp1);
18708 {
18709 PyThreadState* __tstate = wxPyBeginAllowThreads();
18710 result = (bool)(arg1)->GetAllowSymbols();
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 {
18715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18716 }
18717 return resultobj;
18718fail:
18719 return NULL;
d55e5bfc
RD
18720}
18721
18722
1bd55598
RD
18723SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18724 PyObject *resultobj = 0;
18725 wxFontData *arg1 = (wxFontData *) 0 ;
18726 wxColour result;
18727 void *argp1 = 0 ;
18728 int res1 = 0 ;
18729 PyObject *swig_obj[1] ;
18730
18731 if (!args) SWIG_fail;
18732 swig_obj[0] = args;
18733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18734 if (!SWIG_IsOK(res1)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18736 }
18737 arg1 = reinterpret_cast< wxFontData * >(argp1);
18738 {
18739 PyThreadState* __tstate = wxPyBeginAllowThreads();
18740 result = (arg1)->GetColour();
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18745 return resultobj;
18746fail:
18747 return NULL;
d55e5bfc
RD
18748}
18749
18750
1bd55598
RD
18751SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18752 PyObject *resultobj = 0;
18753 wxFontData *arg1 = (wxFontData *) 0 ;
18754 wxFont result;
18755 void *argp1 = 0 ;
18756 int res1 = 0 ;
18757 PyObject *swig_obj[1] ;
18758
18759 if (!args) SWIG_fail;
18760 swig_obj[0] = args;
18761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18762 if (!SWIG_IsOK(res1)) {
18763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18764 }
18765 arg1 = reinterpret_cast< wxFontData * >(argp1);
18766 {
18767 PyThreadState* __tstate = wxPyBeginAllowThreads();
18768 result = (arg1)->GetChosenFont();
18769 wxPyEndAllowThreads(__tstate);
18770 if (PyErr_Occurred()) SWIG_fail;
18771 }
18772 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18773 return resultobj;
18774fail:
18775 return NULL;
d55e5bfc
RD
18776}
18777
18778
1bd55598
RD
18779SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18780 PyObject *resultobj = 0;
18781 wxFontData *arg1 = (wxFontData *) 0 ;
18782 bool result;
18783 void *argp1 = 0 ;
18784 int res1 = 0 ;
18785 PyObject *swig_obj[1] ;
18786
18787 if (!args) SWIG_fail;
18788 swig_obj[0] = args;
18789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18790 if (!SWIG_IsOK(res1)) {
18791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18792 }
18793 arg1 = reinterpret_cast< wxFontData * >(argp1);
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 result = (bool)(arg1)->GetEnableEffects();
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 {
18801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18802 }
18803 return resultobj;
18804fail:
18805 return NULL;
d55e5bfc
RD
18806}
18807
18808
1bd55598
RD
18809SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18810 PyObject *resultobj = 0;
18811 wxFontData *arg1 = (wxFontData *) 0 ;
18812 wxFont result;
18813 void *argp1 = 0 ;
18814 int res1 = 0 ;
18815 PyObject *swig_obj[1] ;
18816
18817 if (!args) SWIG_fail;
18818 swig_obj[0] = args;
18819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18820 if (!SWIG_IsOK(res1)) {
18821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18822 }
18823 arg1 = reinterpret_cast< wxFontData * >(argp1);
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (arg1)->GetInitialFont();
18827 wxPyEndAllowThreads(__tstate);
18828 if (PyErr_Occurred()) SWIG_fail;
18829 }
18830 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18831 return resultobj;
18832fail:
18833 return NULL;
d55e5bfc
RD
18834}
18835
18836
1bd55598
RD
18837SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18838 PyObject *resultobj = 0;
18839 wxFontData *arg1 = (wxFontData *) 0 ;
18840 bool result;
18841 void *argp1 = 0 ;
18842 int res1 = 0 ;
18843 PyObject *swig_obj[1] ;
18844
18845 if (!args) SWIG_fail;
18846 swig_obj[0] = args;
18847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18848 if (!SWIG_IsOK(res1)) {
18849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18850 }
18851 arg1 = reinterpret_cast< wxFontData * >(argp1);
18852 {
18853 PyThreadState* __tstate = wxPyBeginAllowThreads();
18854 result = (bool)(arg1)->GetShowHelp();
18855 wxPyEndAllowThreads(__tstate);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 {
18859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18860 }
18861 return resultobj;
18862fail:
18863 return NULL;
18864}
18865
18866
18867SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj = 0;
18869 wxFontData *arg1 = (wxFontData *) 0 ;
18870 bool arg2 ;
18871 void *argp1 = 0 ;
18872 int res1 = 0 ;
18873 bool val2 ;
18874 int ecode2 = 0 ;
18875 PyObject * obj0 = 0 ;
18876 PyObject * obj1 = 0 ;
18877 char * kwnames[] = {
18878 (char *) "self",(char *) "allowSymbols", NULL
18879 };
18880
18881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18883 if (!SWIG_IsOK(res1)) {
18884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18885 }
18886 arg1 = reinterpret_cast< wxFontData * >(argp1);
18887 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18888 if (!SWIG_IsOK(ecode2)) {
18889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18890 }
18891 arg2 = static_cast< bool >(val2);
18892 {
18893 PyThreadState* __tstate = wxPyBeginAllowThreads();
18894 (arg1)->SetAllowSymbols(arg2);
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 resultobj = SWIG_Py_Void();
18899 return resultobj;
18900fail:
18901 return NULL;
18902}
18903
18904
18905SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj = 0;
18907 wxFontData *arg1 = (wxFontData *) 0 ;
18908 wxFont *arg2 = 0 ;
18909 void *argp1 = 0 ;
18910 int res1 = 0 ;
18911 void *argp2 = 0 ;
18912 int res2 = 0 ;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 char * kwnames[] = {
18916 (char *) "self",(char *) "font", NULL
18917 };
18918
18919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18921 if (!SWIG_IsOK(res1)) {
18922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18923 }
18924 arg1 = reinterpret_cast< wxFontData * >(argp1);
18925 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18926 if (!SWIG_IsOK(res2)) {
18927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18928 }
18929 if (!argp2) {
18930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18931 }
18932 arg2 = reinterpret_cast< wxFont * >(argp2);
18933 {
18934 PyThreadState* __tstate = wxPyBeginAllowThreads();
18935 (arg1)->SetChosenFont((wxFont const &)*arg2);
18936 wxPyEndAllowThreads(__tstate);
18937 if (PyErr_Occurred()) SWIG_fail;
18938 }
18939 resultobj = SWIG_Py_Void();
18940 return resultobj;
18941fail:
18942 return NULL;
18943}
18944
18945
18946SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj = 0;
18948 wxFontData *arg1 = (wxFontData *) 0 ;
18949 wxColour *arg2 = 0 ;
18950 void *argp1 = 0 ;
18951 int res1 = 0 ;
18952 wxColour temp2 ;
18953 PyObject * obj0 = 0 ;
18954 PyObject * obj1 = 0 ;
18955 char * kwnames[] = {
18956 (char *) "self",(char *) "colour", NULL
18957 };
18958
18959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18961 if (!SWIG_IsOK(res1)) {
18962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18963 }
18964 arg1 = reinterpret_cast< wxFontData * >(argp1);
18965 {
18966 arg2 = &temp2;
18967 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18968 }
18969 {
18970 PyThreadState* __tstate = wxPyBeginAllowThreads();
18971 (arg1)->SetColour((wxColour const &)*arg2);
18972 wxPyEndAllowThreads(__tstate);
18973 if (PyErr_Occurred()) SWIG_fail;
18974 }
18975 resultobj = SWIG_Py_Void();
18976 return resultobj;
18977fail:
18978 return NULL;
18979}
18980
18981
18982SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18983 PyObject *resultobj = 0;
18984 wxFontData *arg1 = (wxFontData *) 0 ;
18985 wxFont *arg2 = 0 ;
18986 void *argp1 = 0 ;
18987 int res1 = 0 ;
18988 void *argp2 = 0 ;
18989 int res2 = 0 ;
18990 PyObject * obj0 = 0 ;
18991 PyObject * obj1 = 0 ;
18992 char * kwnames[] = {
18993 (char *) "self",(char *) "font", NULL
18994 };
18995
18996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18998 if (!SWIG_IsOK(res1)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19000 }
19001 arg1 = reinterpret_cast< wxFontData * >(argp1);
19002 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19003 if (!SWIG_IsOK(res2)) {
19004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19005 }
19006 if (!argp2) {
19007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19008 }
19009 arg2 = reinterpret_cast< wxFont * >(argp2);
19010 {
19011 PyThreadState* __tstate = wxPyBeginAllowThreads();
19012 (arg1)->SetInitialFont((wxFont const &)*arg2);
19013 wxPyEndAllowThreads(__tstate);
19014 if (PyErr_Occurred()) SWIG_fail;
19015 }
19016 resultobj = SWIG_Py_Void();
19017 return resultobj;
19018fail:
19019 return NULL;
19020}
19021
19022
19023SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19024 PyObject *resultobj = 0;
19025 wxFontData *arg1 = (wxFontData *) 0 ;
19026 int arg2 ;
19027 int arg3 ;
19028 void *argp1 = 0 ;
19029 int res1 = 0 ;
19030 int val2 ;
19031 int ecode2 = 0 ;
19032 int val3 ;
19033 int ecode3 = 0 ;
19034 PyObject * obj0 = 0 ;
19035 PyObject * obj1 = 0 ;
19036 PyObject * obj2 = 0 ;
19037 char * kwnames[] = {
19038 (char *) "self",(char *) "min",(char *) "max", NULL
19039 };
19040
19041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19043 if (!SWIG_IsOK(res1)) {
19044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19045 }
19046 arg1 = reinterpret_cast< wxFontData * >(argp1);
19047 ecode2 = SWIG_AsVal_int(obj1, &val2);
19048 if (!SWIG_IsOK(ecode2)) {
19049 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19050 }
19051 arg2 = static_cast< int >(val2);
19052 ecode3 = SWIG_AsVal_int(obj2, &val3);
19053 if (!SWIG_IsOK(ecode3)) {
19054 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19055 }
19056 arg3 = static_cast< int >(val3);
19057 {
19058 PyThreadState* __tstate = wxPyBeginAllowThreads();
19059 (arg1)->SetRange(arg2,arg3);
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 resultobj = SWIG_Py_Void();
19064 return resultobj;
19065fail:
19066 return NULL;
19067}
19068
19069
19070SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj = 0;
19072 wxFontData *arg1 = (wxFontData *) 0 ;
19073 bool arg2 ;
19074 void *argp1 = 0 ;
19075 int res1 = 0 ;
19076 bool val2 ;
19077 int ecode2 = 0 ;
19078 PyObject * obj0 = 0 ;
19079 PyObject * obj1 = 0 ;
19080 char * kwnames[] = {
19081 (char *) "self",(char *) "showHelp", NULL
19082 };
19083
19084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19085 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19086 if (!SWIG_IsOK(res1)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19088 }
19089 arg1 = reinterpret_cast< wxFontData * >(argp1);
19090 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19091 if (!SWIG_IsOK(ecode2)) {
19092 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19093 }
19094 arg2 = static_cast< bool >(val2);
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 (arg1)->SetShowHelp(arg2);
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 resultobj = SWIG_Py_Void();
19102 return resultobj;
19103fail:
19104 return NULL;
d55e5bfc
RD
19105}
19106
19107
1bd55598
RD
19108SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19109 PyObject *obj;
19110 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19111 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19112 return SWIG_Py_Void();
d55e5bfc
RD
19113}
19114
1bd55598
RD
19115SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19116 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19117}
19118
1bd55598
RD
19119SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj = 0;
19121 wxWindow *arg1 = (wxWindow *) 0 ;
19122 wxFontData *arg2 = 0 ;
19123 wxFontDialog *result = 0 ;
19124 void *argp1 = 0 ;
19125 int res1 = 0 ;
19126 void *argp2 = 0 ;
19127 int res2 = 0 ;
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 char * kwnames[] = {
19131 (char *) "parent",(char *) "data", NULL
19132 };
19133
19134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19136 if (!SWIG_IsOK(res1)) {
19137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19138 }
19139 arg1 = reinterpret_cast< wxWindow * >(argp1);
19140 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19141 if (!SWIG_IsOK(res2)) {
19142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19143 }
19144 if (!argp2) {
19145 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19146 }
19147 arg2 = reinterpret_cast< wxFontData * >(argp2);
19148 {
19149 if (!wxPyCheckForApp()) SWIG_fail;
19150 PyThreadState* __tstate = wxPyBeginAllowThreads();
19151 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19152 wxPyEndAllowThreads(__tstate);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
19155 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19156 return resultobj;
19157fail:
19158 return NULL;
d55e5bfc
RD
19159}
19160
19161
1bd55598
RD
19162SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19163 PyObject *resultobj = 0;
19164 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19165 wxFontData *result = 0 ;
19166 void *argp1 = 0 ;
19167 int res1 = 0 ;
19168 PyObject *swig_obj[1] ;
19169
19170 if (!args) SWIG_fail;
19171 swig_obj[0] = args;
19172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19173 if (!SWIG_IsOK(res1)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19175 }
19176 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19179 {
1bd55598
RD
19180 wxFontData &_result_ref = (arg1)->GetFontData();
19181 result = (wxFontData *) &_result_ref;
36ed4f51 19182 }
1bd55598
RD
19183 wxPyEndAllowThreads(__tstate);
19184 if (PyErr_Occurred()) SWIG_fail;
19185 }
19186 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19187 return resultobj;
19188fail:
19189 return NULL;
19190}
19191
19192
19193SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19194 PyObject *obj;
19195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19196 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19197 return SWIG_Py_Void();
19198}
19199
19200SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19201 return SWIG_Python_InitShadowInstance(args);
19202}
19203
19204SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19205 PyObject *resultobj = 0;
19206 wxWindow *arg1 = (wxWindow *) NULL ;
19207 wxFont const &arg2_defvalue = wxNullFont ;
19208 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19209 wxString const &arg3_defvalue = wxPyEmptyString ;
19210 wxString *arg3 = (wxString *) &arg3_defvalue ;
19211 wxFont result;
19212 void *argp1 = 0 ;
19213 int res1 = 0 ;
19214 void *argp2 = 0 ;
19215 int res2 = 0 ;
19216 bool temp3 = false ;
19217 PyObject * obj0 = 0 ;
19218 PyObject * obj1 = 0 ;
19219 PyObject * obj2 = 0 ;
19220 char * kwnames[] = {
19221 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19222 };
19223
19224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19225 if (obj0) {
19226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19227 if (!SWIG_IsOK(res1)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
36ed4f51 19229 }
1bd55598
RD
19230 arg1 = reinterpret_cast< wxWindow * >(argp1);
19231 }
19232 if (obj1) {
19233 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19234 if (!SWIG_IsOK(res2)) {
19235 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19236 }
1bd55598
RD
19237 if (!argp2) {
19238 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
d55e5bfc 19239 }
1bd55598
RD
19240 arg2 = reinterpret_cast< wxFont * >(argp2);
19241 }
19242 if (obj2) {
d55e5bfc 19243 {
1bd55598
RD
19244 arg3 = wxString_in_helper(obj2);
19245 if (arg3 == NULL) SWIG_fail;
19246 temp3 = true;
d55e5bfc 19247 }
1bd55598
RD
19248 }
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19252 wxPyEndAllowThreads(__tstate);
19253 if (PyErr_Occurred()) SWIG_fail;
19254 }
19255 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19256 {
19257 if (temp3)
19258 delete arg3;
19259 }
19260 return resultobj;
19261fail:
19262 {
19263 if (temp3)
19264 delete arg3;
19265 }
19266 return NULL;
19267}
19268
19269
19270SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj = 0;
19272 wxWindow *arg1 = (wxWindow *) 0 ;
19273 wxString *arg2 = 0 ;
19274 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19275 wxString *arg3 = (wxString *) &arg3_defvalue ;
19276 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19277 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19278 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19279 wxMessageDialog *result = 0 ;
19280 void *argp1 = 0 ;
19281 int res1 = 0 ;
19282 bool temp2 = false ;
19283 bool temp3 = false ;
19284 long val4 ;
19285 int ecode4 = 0 ;
19286 wxPoint temp5 ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 PyObject * obj2 = 0 ;
19290 PyObject * obj3 = 0 ;
19291 PyObject * obj4 = 0 ;
19292 char * kwnames[] = {
19293 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19294 };
19295
19296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19298 if (!SWIG_IsOK(res1)) {
19299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19300 }
19301 arg1 = reinterpret_cast< wxWindow * >(argp1);
19302 {
19303 arg2 = wxString_in_helper(obj1);
19304 if (arg2 == NULL) SWIG_fail;
19305 temp2 = true;
19306 }
19307 if (obj2) {
36ed4f51 19308 {
1bd55598
RD
19309 arg3 = wxString_in_helper(obj2);
19310 if (arg3 == NULL) SWIG_fail;
19311 temp3 = true;
36ed4f51 19312 }
1bd55598
RD
19313 }
19314 if (obj3) {
19315 ecode4 = SWIG_AsVal_long(obj3, &val4);
19316 if (!SWIG_IsOK(ecode4)) {
19317 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19318 }
19319 arg4 = static_cast< long >(val4);
19320 }
19321 if (obj4) {
36ed4f51 19322 {
1bd55598
RD
19323 arg5 = &temp5;
19324 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 19325 }
1bd55598
RD
19326 }
19327 {
19328 if (!wxPyCheckForApp()) SWIG_fail;
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19335 {
19336 if (temp2)
19337 delete arg2;
19338 }
19339 {
19340 if (temp3)
19341 delete arg3;
19342 }
19343 return resultobj;
19344fail:
19345 {
19346 if (temp2)
19347 delete arg2;
19348 }
19349 {
19350 if (temp3)
19351 delete arg3;
19352 }
19353 return NULL;
19354}
19355
19356
19357SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19358 PyObject *obj;
19359 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19360 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19361 return SWIG_Py_Void();
19362}
19363
19364SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19365 return SWIG_Python_InitShadowInstance(args);
19366}
19367
19368SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19369 PyObject *resultobj = 0;
19370 wxString *arg1 = 0 ;
19371 wxString *arg2 = 0 ;
19372 int arg3 = (int) 100 ;
19373 wxWindow *arg4 = (wxWindow *) NULL ;
19374 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19375 wxProgressDialog *result = 0 ;
19376 bool temp1 = false ;
19377 bool temp2 = false ;
19378 int val3 ;
19379 int ecode3 = 0 ;
19380 void *argp4 = 0 ;
19381 int res4 = 0 ;
19382 int val5 ;
19383 int ecode5 = 0 ;
19384 PyObject * obj0 = 0 ;
19385 PyObject * obj1 = 0 ;
19386 PyObject * obj2 = 0 ;
19387 PyObject * obj3 = 0 ;
19388 PyObject * obj4 = 0 ;
19389 char * kwnames[] = {
19390 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19391 };
19392
19393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19394 {
19395 arg1 = wxString_in_helper(obj0);
19396 if (arg1 == NULL) SWIG_fail;
19397 temp1 = true;
19398 }
19399 {
19400 arg2 = wxString_in_helper(obj1);
19401 if (arg2 == NULL) SWIG_fail;
19402 temp2 = true;
19403 }
19404 if (obj2) {
19405 ecode3 = SWIG_AsVal_int(obj2, &val3);
19406 if (!SWIG_IsOK(ecode3)) {
19407 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19408 }
19409 arg3 = static_cast< int >(val3);
19410 }
19411 if (obj3) {
19412 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19413 if (!SWIG_IsOK(res4)) {
19414 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
d55e5bfc 19415 }
1bd55598
RD
19416 arg4 = reinterpret_cast< wxWindow * >(argp4);
19417 }
19418 if (obj4) {
19419 ecode5 = SWIG_AsVal_int(obj4, &val5);
19420 if (!SWIG_IsOK(ecode5)) {
19421 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19422 }
19423 arg5 = static_cast< int >(val5);
19424 }
19425 {
19426 if (!wxPyCheckForApp()) SWIG_fail;
19427 PyThreadState* __tstate = wxPyBeginAllowThreads();
19428 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19429 wxPyEndAllowThreads(__tstate);
19430 if (PyErr_Occurred()) SWIG_fail;
19431 }
19432 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19433 {
19434 if (temp1)
19435 delete arg1;
19436 }
19437 {
19438 if (temp2)
19439 delete arg2;
19440 }
19441 return resultobj;
19442fail:
19443 {
19444 if (temp1)
19445 delete arg1;
19446 }
19447 {
19448 if (temp2)
19449 delete arg2;
19450 }
19451 return NULL;
19452}
19453
19454
19455SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19456 PyObject *resultobj = 0;
19457 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19458 int arg2 ;
19459 wxString const &arg3_defvalue = wxPyEmptyString ;
19460 wxString *arg3 = (wxString *) &arg3_defvalue ;
2131d850 19461 bool *arg4 = (bool *) 0 ;
1bd55598
RD
19462 bool result;
19463 void *argp1 = 0 ;
19464 int res1 = 0 ;
19465 int val2 ;
19466 int ecode2 = 0 ;
19467 bool temp3 = false ;
2131d850
RD
19468 bool temp4 ;
19469 int res4 = SWIG_TMPOBJ ;
1bd55598
RD
19470 PyObject * obj0 = 0 ;
19471 PyObject * obj1 = 0 ;
19472 PyObject * obj2 = 0 ;
19473 char * kwnames[] = {
19474 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19475 };
19476
2131d850 19477 arg4 = &temp4;
1bd55598
RD
19478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19480 if (!SWIG_IsOK(res1)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19482 }
19483 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19484 ecode2 = SWIG_AsVal_int(obj1, &val2);
19485 if (!SWIG_IsOK(ecode2)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19487 }
19488 arg2 = static_cast< int >(val2);
19489 if (obj2) {
d55e5bfc 19490 {
1bd55598
RD
19491 arg3 = wxString_in_helper(obj2);
19492 if (arg3 == NULL) SWIG_fail;
19493 temp3 = true;
d55e5bfc 19494 }
1bd55598
RD
19495 }
19496 {
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
2131d850 19498 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
1bd55598
RD
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 {
19503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19504 }
2131d850
RD
19505 if (SWIG_IsTmpObj(res4)) {
19506 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19507 } else {
19508 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19509 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19510 }
1bd55598
RD
19511 {
19512 if (temp3)
19513 delete arg3;
19514 }
19515 return resultobj;
19516fail:
19517 {
19518 if (temp3)
19519 delete arg3;
19520 }
19521 return NULL;
d55e5bfc
RD
19522}
19523
19524
1bd55598
RD
19525SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19526 PyObject *resultobj = 0;
19527 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19528 void *argp1 = 0 ;
19529 int res1 = 0 ;
19530 PyObject *swig_obj[1] ;
19531
19532 if (!args) SWIG_fail;
19533 swig_obj[0] = args;
19534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19535 if (!SWIG_IsOK(res1)) {
19536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19537 }
19538 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19539 {
19540 PyThreadState* __tstate = wxPyBeginAllowThreads();
19541 (arg1)->Resume();
19542 wxPyEndAllowThreads(__tstate);
19543 if (PyErr_Occurred()) SWIG_fail;
19544 }
19545 resultobj = SWIG_Py_Void();
19546 return resultobj;
19547fail:
19548 return NULL;
d55e5bfc
RD
19549}
19550
19551
1bd55598
RD
19552SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19553 PyObject *obj;
19554 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19555 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19556 return SWIG_Py_Void();
d55e5bfc
RD
19557}
19558
1bd55598
RD
19559SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19560 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
19561}
19562
1bd55598
RD
19563SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj = 0;
19565 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19566 int arg2 = (int) 0 ;
19567 wxFindDialogEvent *result = 0 ;
19568 int val1 ;
19569 int ecode1 = 0 ;
19570 int val2 ;
19571 int ecode2 = 0 ;
19572 PyObject * obj0 = 0 ;
19573 PyObject * obj1 = 0 ;
19574 char * kwnames[] = {
19575 (char *) "commandType",(char *) "id", NULL
19576 };
19577
19578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19579 if (obj0) {
19580 ecode1 = SWIG_AsVal_int(obj0, &val1);
19581 if (!SWIG_IsOK(ecode1)) {
19582 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19583 }
19584 arg1 = static_cast< wxEventType >(val1);
19585 }
19586 if (obj1) {
19587 ecode2 = SWIG_AsVal_int(obj1, &val2);
19588 if (!SWIG_IsOK(ecode2)) {
19589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19590 }
19591 arg2 = static_cast< int >(val2);
19592 }
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
19599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19600 return resultobj;
19601fail:
19602 return NULL;
d55e5bfc
RD
19603}
19604
19605
1bd55598
RD
19606SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19607 PyObject *resultobj = 0;
19608 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19609 int result;
19610 void *argp1 = 0 ;
19611 int res1 = 0 ;
19612 PyObject *swig_obj[1] ;
19613
19614 if (!args) SWIG_fail;
19615 swig_obj[0] = args;
19616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19617 if (!SWIG_IsOK(res1)) {
19618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19619 }
19620 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19621 {
19622 PyThreadState* __tstate = wxPyBeginAllowThreads();
19623 result = (int)(arg1)->GetFlags();
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 resultobj = SWIG_From_int(static_cast< int >(result));
19628 return resultobj;
19629fail:
19630 return NULL;
d55e5bfc
RD
19631}
19632
19633
1bd55598
RD
19634SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19635 PyObject *resultobj = 0;
19636 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19637 wxString *result = 0 ;
19638 void *argp1 = 0 ;
19639 int res1 = 0 ;
19640 PyObject *swig_obj[1] ;
19641
19642 if (!args) SWIG_fail;
19643 swig_obj[0] = args;
19644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19645 if (!SWIG_IsOK(res1)) {
19646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19647 }
19648 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19651 {
1bd55598
RD
19652 wxString const &_result_ref = (arg1)->GetFindString();
19653 result = (wxString *) &_result_ref;
d55e5bfc 19654 }
1bd55598
RD
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 {
19659#if wxUSE_UNICODE
19660 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19661#else
19662 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19663#endif
19664 }
19665 return resultobj;
19666fail:
19667 return NULL;
d55e5bfc
RD
19668}
19669
19670
1bd55598
RD
19671SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19672 PyObject *resultobj = 0;
19673 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19674 wxString *result = 0 ;
19675 void *argp1 = 0 ;
19676 int res1 = 0 ;
19677 PyObject *swig_obj[1] ;
19678
19679 if (!args) SWIG_fail;
19680 swig_obj[0] = args;
19681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19682 if (!SWIG_IsOK(res1)) {
19683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19684 }
19685 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 19688 {
1bd55598
RD
19689 wxString const &_result_ref = (arg1)->GetReplaceString();
19690 result = (wxString *) &_result_ref;
d55e5bfc 19691 }
1bd55598
RD
19692 wxPyEndAllowThreads(__tstate);
19693 if (PyErr_Occurred()) SWIG_fail;
19694 }
19695 {
19696#if wxUSE_UNICODE
19697 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19698#else
19699 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19700#endif
19701 }
19702 return resultobj;
19703fail:
19704 return NULL;
d55e5bfc
RD
19705}
19706
19707
1bd55598
RD
19708SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19709 PyObject *resultobj = 0;
19710 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19711 wxFindReplaceDialog *result = 0 ;
19712 void *argp1 = 0 ;
19713 int res1 = 0 ;
19714 PyObject *swig_obj[1] ;
19715
19716 if (!args) SWIG_fail;
19717 swig_obj[0] = args;
19718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19719 if (!SWIG_IsOK(res1)) {
19720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19721 }
19722 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19723 {
19724 PyThreadState* __tstate = wxPyBeginAllowThreads();
19725 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19726 wxPyEndAllowThreads(__tstate);
19727 if (PyErr_Occurred()) SWIG_fail;
19728 }
19729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19730 return resultobj;
19731fail:
19732 return NULL;
19733}
19734
19735
19736SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19737 PyObject *resultobj = 0;
19738 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19739 int arg2 ;
19740 void *argp1 = 0 ;
19741 int res1 = 0 ;
19742 int val2 ;
19743 int ecode2 = 0 ;
19744 PyObject * obj0 = 0 ;
19745 PyObject * obj1 = 0 ;
19746 char * kwnames[] = {
19747 (char *) "self",(char *) "flags", NULL
19748 };
19749
19750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19752 if (!SWIG_IsOK(res1)) {
19753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19754 }
19755 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19756 ecode2 = SWIG_AsVal_int(obj1, &val2);
19757 if (!SWIG_IsOK(ecode2)) {
19758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19759 }
19760 arg2 = static_cast< int >(val2);
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 (arg1)->SetFlags(arg2);
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 resultobj = SWIG_Py_Void();
19768 return resultobj;
19769fail:
19770 return NULL;
19771}
19772
19773
19774SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj = 0;
19776 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19777 wxString *arg2 = 0 ;
19778 void *argp1 = 0 ;
19779 int res1 = 0 ;
19780 bool temp2 = false ;
19781 PyObject * obj0 = 0 ;
19782 PyObject * obj1 = 0 ;
19783 char * kwnames[] = {
19784 (char *) "self",(char *) "str", NULL
19785 };
19786
19787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19789 if (!SWIG_IsOK(res1)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19791 }
19792 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19793 {
19794 arg2 = wxString_in_helper(obj1);
19795 if (arg2 == NULL) SWIG_fail;
19796 temp2 = true;
19797 }
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 (arg1)->SetFindString((wxString const &)*arg2);
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
19804 resultobj = SWIG_Py_Void();
19805 {
19806 if (temp2)
19807 delete arg2;
19808 }
19809 return resultobj;
19810fail:
19811 {
19812 if (temp2)
19813 delete arg2;
19814 }
19815 return NULL;
d55e5bfc
RD
19816}
19817
19818
1bd55598
RD
19819SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19820 PyObject *resultobj = 0;
19821 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19822 wxString *arg2 = 0 ;
19823 void *argp1 = 0 ;
19824 int res1 = 0 ;
19825 bool temp2 = false ;
19826 PyObject * obj0 = 0 ;
19827 PyObject * obj1 = 0 ;
19828 char * kwnames[] = {
19829 (char *) "self",(char *) "str", NULL
19830 };
19831
19832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19834 if (!SWIG_IsOK(res1)) {
19835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19836 }
19837 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19838 {
19839 arg2 = wxString_in_helper(obj1);
19840 if (arg2 == NULL) SWIG_fail;
19841 temp2 = true;
19842 }
19843 {
19844 PyThreadState* __tstate = wxPyBeginAllowThreads();
19845 (arg1)->SetReplaceString((wxString const &)*arg2);
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 resultobj = SWIG_Py_Void();
19850 {
19851 if (temp2)
19852 delete arg2;
19853 }
19854 return resultobj;
19855fail:
19856 {
19857 if (temp2)
19858 delete arg2;
19859 }
19860 return NULL;
d55e5bfc
RD
19861}
19862
19863
1bd55598
RD
19864SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19865 PyObject *obj;
19866 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19867 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19868 return SWIG_Py_Void();
d55e5bfc
RD
19869}
19870
1bd55598
RD
19871SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19872 return SWIG_Python_InitShadowInstance(args);
19873}
d55e5bfc 19874
1bd55598
RD
19875SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj = 0;
19877 int arg1 = (int) 0 ;
19878 wxFindReplaceData *result = 0 ;
19879 int val1 ;
19880 int ecode1 = 0 ;
19881 PyObject * obj0 = 0 ;
19882 char * kwnames[] = {
19883 (char *) "flags", NULL
19884 };
19885
19886 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19887 if (obj0) {
19888 ecode1 = SWIG_AsVal_int(obj0, &val1);
19889 if (!SWIG_IsOK(ecode1)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19891 }
19892 arg1 = static_cast< int >(val1);
19893 }
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19897 wxPyEndAllowThreads(__tstate);
19898 if (PyErr_Occurred()) SWIG_fail;
19899 }
19900 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19901 return resultobj;
19902fail:
19903 return NULL;
d6c14a4c
RD
19904}
19905
19906
1bd55598
RD
19907SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19908 PyObject *resultobj = 0;
19909 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19910 void *argp1 = 0 ;
19911 int res1 = 0 ;
19912 PyObject *swig_obj[1] ;
19913
19914 if (!args) SWIG_fail;
19915 swig_obj[0] = args;
19916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19917 if (!SWIG_IsOK(res1)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19919 }
19920 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19921 {
19922 PyThreadState* __tstate = wxPyBeginAllowThreads();
19923 delete arg1;
d55e5bfc 19924
1bd55598
RD
19925 wxPyEndAllowThreads(__tstate);
19926 if (PyErr_Occurred()) SWIG_fail;
19927 }
19928 resultobj = SWIG_Py_Void();
19929 return resultobj;
19930fail:
19931 return NULL;
d55e5bfc
RD
19932}
19933
19934
1bd55598
RD
19935SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19936 PyObject *resultobj = 0;
19937 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19938 wxString *result = 0 ;
19939 void *argp1 = 0 ;
19940 int res1 = 0 ;
19941 PyObject *swig_obj[1] ;
19942
19943 if (!args) SWIG_fail;
19944 swig_obj[0] = args;
19945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19946 if (!SWIG_IsOK(res1)) {
19947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19948 }
19949 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e08d4ef 19952 {
1bd55598
RD
19953 wxString const &_result_ref = (arg1)->GetFindString();
19954 result = (wxString *) &_result_ref;
19955 }
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 {
19960#if wxUSE_UNICODE
19961 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19962#else
19963 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19964#endif
19965 }
19966 return resultobj;
19967fail:
19968 return NULL;
7e08d4ef
RD
19969}
19970
19971
1bd55598
RD
19972SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19973 PyObject *resultobj = 0;
19974 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19975 wxString *result = 0 ;
19976 void *argp1 = 0 ;
19977 int res1 = 0 ;
19978 PyObject *swig_obj[1] ;
19979
19980 if (!args) SWIG_fail;
19981 swig_obj[0] = args;
19982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19983 if (!SWIG_IsOK(res1)) {
19984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19985 }
19986 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19987 {
19988 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 19989 {
1bd55598
RD
19990 wxString const &_result_ref = (arg1)->GetReplaceString();
19991 result = (wxString *) &_result_ref;
36ed4f51 19992 }
1bd55598
RD
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 {
19997#if wxUSE_UNICODE
19998 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19999#else
20000 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20001#endif
20002 }
20003 return resultobj;
20004fail:
20005 return NULL;
d55e5bfc
RD
20006}
20007
20008
1bd55598
RD
20009SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20010 PyObject *resultobj = 0;
20011 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20012 int result;
20013 void *argp1 = 0 ;
20014 int res1 = 0 ;
20015 PyObject *swig_obj[1] ;
20016
20017 if (!args) SWIG_fail;
20018 swig_obj[0] = args;
20019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20020 if (!SWIG_IsOK(res1)) {
20021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20022 }
20023 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20024 {
20025 PyThreadState* __tstate = wxPyBeginAllowThreads();
20026 result = (int)(arg1)->GetFlags();
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
20030 resultobj = SWIG_From_int(static_cast< int >(result));
20031 return resultobj;
20032fail:
20033 return NULL;
20034}
20035
20036
20037SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj = 0;
20039 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20040 int arg2 ;
20041 void *argp1 = 0 ;
20042 int res1 = 0 ;
20043 int val2 ;
20044 int ecode2 = 0 ;
20045 PyObject * obj0 = 0 ;
20046 PyObject * obj1 = 0 ;
20047 char * kwnames[] = {
20048 (char *) "self",(char *) "flags", NULL
20049 };
20050
20051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20053 if (!SWIG_IsOK(res1)) {
20054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20055 }
20056 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20057 ecode2 = SWIG_AsVal_int(obj1, &val2);
20058 if (!SWIG_IsOK(ecode2)) {
20059 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20060 }
20061 arg2 = static_cast< int >(val2);
20062 {
20063 PyThreadState* __tstate = wxPyBeginAllowThreads();
20064 (arg1)->SetFlags(arg2);
20065 wxPyEndAllowThreads(__tstate);
20066 if (PyErr_Occurred()) SWIG_fail;
20067 }
20068 resultobj = SWIG_Py_Void();
20069 return resultobj;
20070fail:
20071 return NULL;
20072}
20073
20074
20075SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20076 PyObject *resultobj = 0;
20077 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20078 wxString *arg2 = 0 ;
20079 void *argp1 = 0 ;
20080 int res1 = 0 ;
20081 bool temp2 = false ;
20082 PyObject * obj0 = 0 ;
20083 PyObject * obj1 = 0 ;
20084 char * kwnames[] = {
20085 (char *) "self",(char *) "str", NULL
20086 };
20087
20088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20090 if (!SWIG_IsOK(res1)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20092 }
20093 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20094 {
20095 arg2 = wxString_in_helper(obj1);
20096 if (arg2 == NULL) SWIG_fail;
20097 temp2 = true;
20098 }
20099 {
20100 PyThreadState* __tstate = wxPyBeginAllowThreads();
20101 (arg1)->SetFindString((wxString const &)*arg2);
20102 wxPyEndAllowThreads(__tstate);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 }
20105 resultobj = SWIG_Py_Void();
20106 {
20107 if (temp2)
20108 delete arg2;
20109 }
20110 return resultobj;
20111fail:
20112 {
20113 if (temp2)
20114 delete arg2;
20115 }
20116 return NULL;
d55e5bfc
RD
20117}
20118
20119
1bd55598
RD
20120SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj = 0;
20122 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20123 wxString *arg2 = 0 ;
20124 void *argp1 = 0 ;
20125 int res1 = 0 ;
20126 bool temp2 = false ;
20127 PyObject * obj0 = 0 ;
20128 PyObject * obj1 = 0 ;
20129 char * kwnames[] = {
20130 (char *) "self",(char *) "str", NULL
20131 };
20132
20133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20135 if (!SWIG_IsOK(res1)) {
20136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20137 }
20138 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20139 {
20140 arg2 = wxString_in_helper(obj1);
20141 if (arg2 == NULL) SWIG_fail;
20142 temp2 = true;
20143 }
20144 {
20145 PyThreadState* __tstate = wxPyBeginAllowThreads();
20146 (arg1)->SetReplaceString((wxString const &)*arg2);
20147 wxPyEndAllowThreads(__tstate);
20148 if (PyErr_Occurred()) SWIG_fail;
20149 }
20150 resultobj = SWIG_Py_Void();
20151 {
20152 if (temp2)
20153 delete arg2;
20154 }
20155 return resultobj;
20156fail:
20157 {
20158 if (temp2)
20159 delete arg2;
20160 }
20161 return NULL;
20162}
20163
20164
20165SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20166 PyObject *obj;
20167 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20168 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20169 return SWIG_Py_Void();
20170}
20171
20172SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20173 return SWIG_Python_InitShadowInstance(args);
20174}
20175
20176SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj = 0;
20178 wxWindow *arg1 = (wxWindow *) 0 ;
20179 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20180 wxString *arg3 = 0 ;
20181 int arg4 = (int) 0 ;
20182 wxFindReplaceDialog *result = 0 ;
20183 void *argp1 = 0 ;
20184 int res1 = 0 ;
20185 void *argp2 = 0 ;
20186 int res2 = 0 ;
20187 bool temp3 = false ;
20188 int val4 ;
20189 int ecode4 = 0 ;
20190 PyObject * obj0 = 0 ;
20191 PyObject * obj1 = 0 ;
20192 PyObject * obj2 = 0 ;
20193 PyObject * obj3 = 0 ;
20194 char * kwnames[] = {
20195 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20196 };
20197
20198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20200 if (!SWIG_IsOK(res1)) {
20201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20202 }
20203 arg1 = reinterpret_cast< wxWindow * >(argp1);
20204 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20205 if (!SWIG_IsOK(res2)) {
20206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20207 }
20208 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20209 {
20210 arg3 = wxString_in_helper(obj2);
20211 if (arg3 == NULL) SWIG_fail;
20212 temp3 = true;
20213 }
20214 if (obj3) {
20215 ecode4 = SWIG_AsVal_int(obj3, &val4);
20216 if (!SWIG_IsOK(ecode4)) {
20217 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20218 }
20219 arg4 = static_cast< int >(val4);
20220 }
20221 {
20222 if (!wxPyCheckForApp()) SWIG_fail;
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20225 wxPyEndAllowThreads(__tstate);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 }
20228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20229 {
20230 if (temp3)
20231 delete arg3;
20232 }
20233 return resultobj;
20234fail:
20235 {
20236 if (temp3)
20237 delete arg3;
20238 }
20239 return NULL;
b411df4a
RD
20240}
20241
20242
1bd55598
RD
20243SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20244 PyObject *resultobj = 0;
20245 wxFindReplaceDialog *result = 0 ;
20246
20247 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20248 {
20249 if (!wxPyCheckForApp()) SWIG_fail;
20250 PyThreadState* __tstate = wxPyBeginAllowThreads();
20251 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20252 wxPyEndAllowThreads(__tstate);
20253 if (PyErr_Occurred()) SWIG_fail;
20254 }
20255 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20256 return resultobj;
20257fail:
20258 return NULL;
20259}
20260
20261
20262SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj = 0;
20264 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20265 wxWindow *arg2 = (wxWindow *) 0 ;
20266 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20267 wxString *arg4 = 0 ;
20268 int arg5 = (int) 0 ;
20269 bool result;
20270 void *argp1 = 0 ;
20271 int res1 = 0 ;
20272 void *argp2 = 0 ;
20273 int res2 = 0 ;
20274 void *argp3 = 0 ;
20275 int res3 = 0 ;
20276 bool temp4 = false ;
20277 int val5 ;
20278 int ecode5 = 0 ;
20279 PyObject * obj0 = 0 ;
20280 PyObject * obj1 = 0 ;
20281 PyObject * obj2 = 0 ;
20282 PyObject * obj3 = 0 ;
20283 PyObject * obj4 = 0 ;
20284 char * kwnames[] = {
20285 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20286 };
20287
20288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20290 if (!SWIG_IsOK(res1)) {
20291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20292 }
20293 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20294 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20295 if (!SWIG_IsOK(res2)) {
20296 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20297 }
20298 arg2 = reinterpret_cast< wxWindow * >(argp2);
20299 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20300 if (!SWIG_IsOK(res3)) {
20301 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20302 }
20303 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20304 {
20305 arg4 = wxString_in_helper(obj3);
20306 if (arg4 == NULL) SWIG_fail;
20307 temp4 = true;
20308 }
20309 if (obj4) {
20310 ecode5 = SWIG_AsVal_int(obj4, &val5);
20311 if (!SWIG_IsOK(ecode5)) {
20312 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20313 }
20314 arg5 = static_cast< int >(val5);
20315 }
20316 {
20317 PyThreadState* __tstate = wxPyBeginAllowThreads();
20318 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20319 wxPyEndAllowThreads(__tstate);
20320 if (PyErr_Occurred()) SWIG_fail;
20321 }
20322 {
20323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20324 }
20325 {
20326 if (temp4)
20327 delete arg4;
20328 }
20329 return resultobj;
20330fail:
20331 {
20332 if (temp4)
20333 delete arg4;
20334 }
20335 return NULL;
b411df4a
RD
20336}
20337
20338
1bd55598
RD
20339SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20340 PyObject *resultobj = 0;
20341 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20342 wxFindReplaceData *result = 0 ;
20343 void *argp1 = 0 ;
20344 int res1 = 0 ;
20345 PyObject *swig_obj[1] ;
20346
20347 if (!args) SWIG_fail;
20348 swig_obj[0] = args;
20349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20350 if (!SWIG_IsOK(res1)) {
20351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20352 }
20353 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20354 {
20355 PyThreadState* __tstate = wxPyBeginAllowThreads();
20356 result = (wxFindReplaceData *)(arg1)->GetData();
20357 wxPyEndAllowThreads(__tstate);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 }
20360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20361 return resultobj;
20362fail:
20363 return NULL;
20364}
20365
20366
20367SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj = 0;
20369 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20370 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20371 void *argp1 = 0 ;
20372 int res1 = 0 ;
20373 void *argp2 = 0 ;
20374 int res2 = 0 ;
20375 PyObject * obj0 = 0 ;
20376 PyObject * obj1 = 0 ;
20377 char * kwnames[] = {
20378 (char *) "self",(char *) "data", NULL
20379 };
20380
20381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20383 if (!SWIG_IsOK(res1)) {
20384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20385 }
20386 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20387 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20388 if (!SWIG_IsOK(res2)) {
20389 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20390 }
20391 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 (arg1)->SetData(arg2);
20395 wxPyEndAllowThreads(__tstate);
20396 if (PyErr_Occurred()) SWIG_fail;
20397 }
20398 resultobj = SWIG_Py_Void();
20399 return resultobj;
20400fail:
20401 return NULL;
20402}
20403
20404
20405SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20406 PyObject *obj;
20407 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20408 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20409 return SWIG_Py_Void();
20410}
20411
20412SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20413 return SWIG_Python_InitShadowInstance(args);
20414}
20415
20416SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20417 PyObject *resultobj = 0;
20418 wxWindow *arg1 = (wxWindow *) 0 ;
20419 int arg2 = (int) (int)-1 ;
20420 wxString const &arg3_defvalue = wxPyEmptyString ;
20421 wxString *arg3 = (wxString *) &arg3_defvalue ;
20422 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20423 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20424 wxSize const &arg5_defvalue = wxDefaultSize ;
20425 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20426 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20427 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20428 wxString *arg7 = (wxString *) &arg7_defvalue ;
20429 wxMDIParentFrame *result = 0 ;
20430 void *argp1 = 0 ;
20431 int res1 = 0 ;
20432 int val2 ;
20433 int ecode2 = 0 ;
20434 bool temp3 = false ;
20435 wxPoint temp4 ;
20436 wxSize temp5 ;
20437 long val6 ;
20438 int ecode6 = 0 ;
20439 bool temp7 = false ;
20440 PyObject * obj0 = 0 ;
20441 PyObject * obj1 = 0 ;
20442 PyObject * obj2 = 0 ;
20443 PyObject * obj3 = 0 ;
20444 PyObject * obj4 = 0 ;
20445 PyObject * obj5 = 0 ;
20446 PyObject * obj6 = 0 ;
20447 char * kwnames[] = {
20448 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20449 };
20450
20451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20453 if (!SWIG_IsOK(res1)) {
20454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20455 }
20456 arg1 = reinterpret_cast< wxWindow * >(argp1);
20457 if (obj1) {
20458 ecode2 = SWIG_AsVal_int(obj1, &val2);
20459 if (!SWIG_IsOK(ecode2)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20461 }
20462 arg2 = static_cast< int >(val2);
20463 }
20464 if (obj2) {
b411df4a 20465 {
1bd55598
RD
20466 arg3 = wxString_in_helper(obj2);
20467 if (arg3 == NULL) SWIG_fail;
20468 temp3 = true;
b411df4a 20469 }
1bd55598
RD
20470 }
20471 if (obj3) {
b411df4a 20472 {
1bd55598
RD
20473 arg4 = &temp4;
20474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
b411df4a 20475 }
1bd55598
RD
20476 }
20477 if (obj4) {
b411df4a 20478 {
1bd55598
RD
20479 arg5 = &temp5;
20480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20481 }
1bd55598
RD
20482 }
20483 if (obj5) {
20484 ecode6 = SWIG_AsVal_long(obj5, &val6);
20485 if (!SWIG_IsOK(ecode6)) {
20486 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20487 }
20488 arg6 = static_cast< long >(val6);
20489 }
20490 if (obj6) {
b411df4a 20491 {
1bd55598
RD
20492 arg7 = wxString_in_helper(obj6);
20493 if (arg7 == NULL) SWIG_fail;
20494 temp7 = true;
b411df4a 20495 }
1bd55598
RD
20496 }
20497 {
20498 if (!wxPyCheckForApp()) SWIG_fail;
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20501 wxPyEndAllowThreads(__tstate);
20502 if (PyErr_Occurred()) SWIG_fail;
20503 }
20504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20505 {
20506 if (temp3)
20507 delete arg3;
20508 }
20509 {
20510 if (temp7)
20511 delete arg7;
20512 }
20513 return resultobj;
20514fail:
20515 {
20516 if (temp3)
20517 delete arg3;
20518 }
20519 {
20520 if (temp7)
20521 delete arg7;
20522 }
20523 return NULL;
b411df4a
RD
20524}
20525
20526
1bd55598
RD
20527SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20528 PyObject *resultobj = 0;
20529 wxMDIParentFrame *result = 0 ;
20530
20531 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20532 {
20533 if (!wxPyCheckForApp()) SWIG_fail;
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20540 return resultobj;
20541fail:
20542 return NULL;
20543}
20544
20545
20546SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj = 0;
20548 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20549 wxWindow *arg2 = (wxWindow *) 0 ;
20550 int arg3 = (int) (int)-1 ;
20551 wxString const &arg4_defvalue = wxPyEmptyString ;
20552 wxString *arg4 = (wxString *) &arg4_defvalue ;
20553 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20554 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20555 wxSize const &arg6_defvalue = wxDefaultSize ;
20556 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20557 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20558 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20559 wxString *arg8 = (wxString *) &arg8_defvalue ;
20560 bool result;
20561 void *argp1 = 0 ;
20562 int res1 = 0 ;
20563 void *argp2 = 0 ;
20564 int res2 = 0 ;
20565 int val3 ;
20566 int ecode3 = 0 ;
20567 bool temp4 = false ;
20568 wxPoint temp5 ;
20569 wxSize temp6 ;
20570 long val7 ;
20571 int ecode7 = 0 ;
20572 bool temp8 = false ;
20573 PyObject * obj0 = 0 ;
20574 PyObject * obj1 = 0 ;
20575 PyObject * obj2 = 0 ;
20576 PyObject * obj3 = 0 ;
20577 PyObject * obj4 = 0 ;
20578 PyObject * obj5 = 0 ;
20579 PyObject * obj6 = 0 ;
20580 PyObject * obj7 = 0 ;
20581 char * kwnames[] = {
20582 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20583 };
20584
20585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20587 if (!SWIG_IsOK(res1)) {
20588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20589 }
20590 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20591 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20592 if (!SWIG_IsOK(res2)) {
20593 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20594 }
20595 arg2 = reinterpret_cast< wxWindow * >(argp2);
20596 if (obj2) {
20597 ecode3 = SWIG_AsVal_int(obj2, &val3);
20598 if (!SWIG_IsOK(ecode3)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20600 }
20601 arg3 = static_cast< int >(val3);
20602 }
20603 if (obj3) {
b411df4a 20604 {
1bd55598
RD
20605 arg4 = wxString_in_helper(obj3);
20606 if (arg4 == NULL) SWIG_fail;
20607 temp4 = true;
b411df4a 20608 }
1bd55598
RD
20609 }
20610 if (obj4) {
b411df4a 20611 {
1bd55598
RD
20612 arg5 = &temp5;
20613 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
b411df4a 20614 }
1bd55598
RD
20615 }
20616 if (obj5) {
b411df4a 20617 {
1bd55598
RD
20618 arg6 = &temp6;
20619 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
b411df4a 20620 }
1bd55598
RD
20621 }
20622 if (obj6) {
20623 ecode7 = SWIG_AsVal_long(obj6, &val7);
20624 if (!SWIG_IsOK(ecode7)) {
20625 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20626 }
20627 arg7 = static_cast< long >(val7);
20628 }
20629 if (obj7) {
36ed4f51 20630 {
1bd55598
RD
20631 arg8 = wxString_in_helper(obj7);
20632 if (arg8 == NULL) SWIG_fail;
20633 temp8 = true;
36ed4f51 20634 }
1bd55598
RD
20635 }
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 {
20643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20644 }
20645 {
20646 if (temp4)
20647 delete arg4;
20648 }
20649 {
20650 if (temp8)
20651 delete arg8;
20652 }
20653 return resultobj;
20654fail:
20655 {
20656 if (temp4)
20657 delete arg4;
20658 }
20659 {
20660 if (temp8)
20661 delete arg8;
20662 }
20663 return NULL;
d55e5bfc
RD
20664}
20665
20666
1bd55598
RD
20667SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20668 PyObject *resultobj = 0;
20669 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20670 void *argp1 = 0 ;
20671 int res1 = 0 ;
20672 PyObject *swig_obj[1] ;
20673
20674 if (!args) SWIG_fail;
20675 swig_obj[0] = args;
20676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20677 if (!SWIG_IsOK(res1)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20679 }
20680 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 (arg1)->ActivateNext();
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 resultobj = SWIG_Py_Void();
20688 return resultobj;
20689fail:
20690 return NULL;
d55e5bfc
RD
20691}
20692
20693
1bd55598
RD
20694SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20695 PyObject *resultobj = 0;
20696 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20697 void *argp1 = 0 ;
20698 int res1 = 0 ;
20699 PyObject *swig_obj[1] ;
20700
20701 if (!args) SWIG_fail;
20702 swig_obj[0] = args;
20703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20704 if (!SWIG_IsOK(res1)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20706 }
20707 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 (arg1)->ActivatePrevious();
20711 wxPyEndAllowThreads(__tstate);
20712 if (PyErr_Occurred()) SWIG_fail;
20713 }
20714 resultobj = SWIG_Py_Void();
20715 return resultobj;
20716fail:
20717 return NULL;
d55e5bfc
RD
20718}
20719
20720
1bd55598
RD
20721SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20722 PyObject *resultobj = 0;
20723 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20724 void *argp1 = 0 ;
20725 int res1 = 0 ;
20726 PyObject *swig_obj[1] ;
20727
20728 if (!args) SWIG_fail;
20729 swig_obj[0] = args;
20730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20731 if (!SWIG_IsOK(res1)) {
20732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20733 }
20734 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20735 {
20736 PyThreadState* __tstate = wxPyBeginAllowThreads();
20737 (arg1)->ArrangeIcons();
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 resultobj = SWIG_Py_Void();
20742 return resultobj;
20743fail:
20744 return NULL;
d55e5bfc
RD
20745}
20746
20747
1bd55598
RD
20748SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20749 PyObject *resultobj = 0;
20750 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20751 void *argp1 = 0 ;
20752 int res1 = 0 ;
20753 PyObject *swig_obj[1] ;
20754
20755 if (!args) SWIG_fail;
20756 swig_obj[0] = args;
20757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20758 if (!SWIG_IsOK(res1)) {
20759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20760 }
20761 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 (arg1)->Cascade();
20765 wxPyEndAllowThreads(__tstate);
20766 if (PyErr_Occurred()) SWIG_fail;
20767 }
20768 resultobj = SWIG_Py_Void();
20769 return resultobj;
20770fail:
20771 return NULL;
d55e5bfc
RD
20772}
20773
20774
1bd55598
RD
20775SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20776 PyObject *resultobj = 0;
20777 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20778 wxMDIChildFrame *result = 0 ;
20779 void *argp1 = 0 ;
20780 int res1 = 0 ;
20781 PyObject *swig_obj[1] ;
20782
20783 if (!args) SWIG_fail;
20784 swig_obj[0] = args;
20785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20786 if (!SWIG_IsOK(res1)) {
20787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20788 }
20789 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20790 {
20791 PyThreadState* __tstate = wxPyBeginAllowThreads();
20792 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20793 wxPyEndAllowThreads(__tstate);
20794 if (PyErr_Occurred()) SWIG_fail;
20795 }
20796 {
20797 resultobj = wxPyMake_wxObject(result, (bool)0);
20798 }
20799 return resultobj;
20800fail:
20801 return NULL;
d55e5bfc
RD
20802}
20803
20804
1bd55598
RD
20805SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20806 PyObject *resultobj = 0;
20807 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20808 wxMDIClientWindow *result = 0 ;
20809 void *argp1 = 0 ;
20810 int res1 = 0 ;
20811 PyObject *swig_obj[1] ;
20812
20813 if (!args) SWIG_fail;
20814 swig_obj[0] = args;
20815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20816 if (!SWIG_IsOK(res1)) {
20817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20818 }
20819 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20820 {
20821 PyThreadState* __tstate = wxPyBeginAllowThreads();
20822 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20823 wxPyEndAllowThreads(__tstate);
20824 if (PyErr_Occurred()) SWIG_fail;
20825 }
20826 {
20827 resultobj = wxPyMake_wxObject(result, (bool)0);
20828 }
20829 return resultobj;
20830fail:
20831 return NULL;
d55e5bfc
RD
20832}
20833
20834
1bd55598
RD
20835SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20836 PyObject *resultobj = 0;
20837 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20838 wxWindow *result = 0 ;
20839 void *argp1 = 0 ;
20840 int res1 = 0 ;
20841 PyObject *swig_obj[1] ;
20842
20843 if (!args) SWIG_fail;
20844 swig_obj[0] = args;
20845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20846 if (!SWIG_IsOK(res1)) {
20847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20848 }
20849 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 result = (wxWindow *)(arg1)->GetToolBar();
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 {
20857 resultobj = wxPyMake_wxObject(result, 0);
20858 }
20859 return resultobj;
20860fail:
20861 return NULL;
20862}
20863
20864
20865SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20866 PyObject *resultobj = 0;
20867 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20868 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20869 void *argp1 = 0 ;
20870 int res1 = 0 ;
20871 int val2 ;
20872 int ecode2 = 0 ;
20873 PyObject * obj0 = 0 ;
20874 PyObject * obj1 = 0 ;
20875 char * kwnames[] = {
20876 (char *) "self",(char *) "orient", NULL
20877 };
20878
20879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20881 if (!SWIG_IsOK(res1)) {
20882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20883 }
20884 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20885 if (obj1) {
20886 ecode2 = SWIG_AsVal_int(obj1, &val2);
20887 if (!SWIG_IsOK(ecode2)) {
20888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20889 }
20890 arg2 = static_cast< wxOrientation >(val2);
20891 }
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 (arg1)->Tile(arg2);
20895 wxPyEndAllowThreads(__tstate);
20896 if (PyErr_Occurred()) SWIG_fail;
20897 }
20898 resultobj = SWIG_Py_Void();
20899 return resultobj;
20900fail:
20901 return NULL;
20902}
20903
20904
20905SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20906 PyObject *obj;
20907 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20908 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20909 return SWIG_Py_Void();
20910}
20911
20912SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20913 return SWIG_Python_InitShadowInstance(args);
20914}
20915
20916SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20917 PyObject *resultobj = 0;
20918 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20919 int arg2 = (int) (int)-1 ;
20920 wxString const &arg3_defvalue = wxPyEmptyString ;
20921 wxString *arg3 = (wxString *) &arg3_defvalue ;
20922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20924 wxSize const &arg5_defvalue = wxDefaultSize ;
20925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20926 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20927 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20928 wxString *arg7 = (wxString *) &arg7_defvalue ;
20929 wxMDIChildFrame *result = 0 ;
20930 void *argp1 = 0 ;
20931 int res1 = 0 ;
20932 int val2 ;
20933 int ecode2 = 0 ;
20934 bool temp3 = false ;
20935 wxPoint temp4 ;
20936 wxSize temp5 ;
20937 long val6 ;
20938 int ecode6 = 0 ;
20939 bool temp7 = false ;
20940 PyObject * obj0 = 0 ;
20941 PyObject * obj1 = 0 ;
20942 PyObject * obj2 = 0 ;
20943 PyObject * obj3 = 0 ;
20944 PyObject * obj4 = 0 ;
20945 PyObject * obj5 = 0 ;
20946 PyObject * obj6 = 0 ;
20947 char * kwnames[] = {
20948 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20949 };
20950
20951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20953 if (!SWIG_IsOK(res1)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20955 }
20956 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20957 if (obj1) {
20958 ecode2 = SWIG_AsVal_int(obj1, &val2);
20959 if (!SWIG_IsOK(ecode2)) {
20960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20961 }
20962 arg2 = static_cast< int >(val2);
20963 }
20964 if (obj2) {
d55e5bfc 20965 {
1bd55598
RD
20966 arg3 = wxString_in_helper(obj2);
20967 if (arg3 == NULL) SWIG_fail;
20968 temp3 = true;
d55e5bfc 20969 }
1bd55598
RD
20970 }
20971 if (obj3) {
d55e5bfc 20972 {
1bd55598
RD
20973 arg4 = &temp4;
20974 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 20975 }
1bd55598
RD
20976 }
20977 if (obj4) {
d55e5bfc 20978 {
1bd55598
RD
20979 arg5 = &temp5;
20980 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 20981 }
1bd55598
RD
20982 }
20983 if (obj5) {
20984 ecode6 = SWIG_AsVal_long(obj5, &val6);
20985 if (!SWIG_IsOK(ecode6)) {
20986 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20987 }
20988 arg6 = static_cast< long >(val6);
20989 }
20990 if (obj6) {
d55e5bfc 20991 {
1bd55598
RD
20992 arg7 = wxString_in_helper(obj6);
20993 if (arg7 == NULL) SWIG_fail;
20994 temp7 = true;
d55e5bfc 20995 }
1bd55598
RD
20996 }
20997 {
20998 if (!wxPyCheckForApp()) SWIG_fail;
20999 PyThreadState* __tstate = wxPyBeginAllowThreads();
21000 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21005 {
21006 if (temp3)
21007 delete arg3;
21008 }
21009 {
21010 if (temp7)
21011 delete arg7;
21012 }
21013 return resultobj;
21014fail:
21015 {
21016 if (temp3)
21017 delete arg3;
21018 }
21019 {
21020 if (temp7)
21021 delete arg7;
21022 }
21023 return NULL;
d55e5bfc
RD
21024}
21025
21026
1bd55598
RD
21027SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21028 PyObject *resultobj = 0;
21029 wxMDIChildFrame *result = 0 ;
21030
21031 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21032 {
21033 if (!wxPyCheckForApp()) SWIG_fail;
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
21035 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21040 return resultobj;
21041fail:
21042 return NULL;
21043}
21044
21045
21046SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21047 PyObject *resultobj = 0;
21048 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21049 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21050 int arg3 = (int) (int)-1 ;
21051 wxString const &arg4_defvalue = wxPyEmptyString ;
21052 wxString *arg4 = (wxString *) &arg4_defvalue ;
21053 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21054 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21055 wxSize const &arg6_defvalue = wxDefaultSize ;
21056 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21057 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21058 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21059 wxString *arg8 = (wxString *) &arg8_defvalue ;
21060 bool result;
21061 void *argp1 = 0 ;
21062 int res1 = 0 ;
21063 void *argp2 = 0 ;
21064 int res2 = 0 ;
21065 int val3 ;
21066 int ecode3 = 0 ;
21067 bool temp4 = false ;
21068 wxPoint temp5 ;
21069 wxSize temp6 ;
21070 long val7 ;
21071 int ecode7 = 0 ;
21072 bool temp8 = false ;
21073 PyObject * obj0 = 0 ;
21074 PyObject * obj1 = 0 ;
21075 PyObject * obj2 = 0 ;
21076 PyObject * obj3 = 0 ;
21077 PyObject * obj4 = 0 ;
21078 PyObject * obj5 = 0 ;
21079 PyObject * obj6 = 0 ;
21080 PyObject * obj7 = 0 ;
21081 char * kwnames[] = {
21082 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21083 };
21084
21085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21087 if (!SWIG_IsOK(res1)) {
21088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21089 }
21090 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21092 if (!SWIG_IsOK(res2)) {
21093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21094 }
21095 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21096 if (obj2) {
21097 ecode3 = SWIG_AsVal_int(obj2, &val3);
21098 if (!SWIG_IsOK(ecode3)) {
21099 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21100 }
21101 arg3 = static_cast< int >(val3);
21102 }
21103 if (obj3) {
36ed4f51 21104 {
1bd55598
RD
21105 arg4 = wxString_in_helper(obj3);
21106 if (arg4 == NULL) SWIG_fail;
21107 temp4 = true;
36ed4f51 21108 }
1bd55598
RD
21109 }
21110 if (obj4) {
d55e5bfc 21111 {
1bd55598
RD
21112 arg5 = &temp5;
21113 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 21114 }
1bd55598
RD
21115 }
21116 if (obj5) {
d55e5bfc 21117 {
1bd55598
RD
21118 arg6 = &temp6;
21119 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
d55e5bfc 21120 }
1bd55598
RD
21121 }
21122 if (obj6) {
21123 ecode7 = SWIG_AsVal_long(obj6, &val7);
21124 if (!SWIG_IsOK(ecode7)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21126 }
21127 arg7 = static_cast< long >(val7);
21128 }
21129 if (obj7) {
36ed4f51 21130 {
1bd55598
RD
21131 arg8 = wxString_in_helper(obj7);
21132 if (arg8 == NULL) SWIG_fail;
21133 temp8 = true;
36ed4f51 21134 }
1bd55598
RD
21135 }
21136 {
21137 PyThreadState* __tstate = wxPyBeginAllowThreads();
21138 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 {
21143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21144 }
21145 {
21146 if (temp4)
21147 delete arg4;
21148 }
21149 {
21150 if (temp8)
21151 delete arg8;
21152 }
21153 return resultobj;
21154fail:
21155 {
21156 if (temp4)
21157 delete arg4;
21158 }
21159 {
21160 if (temp8)
21161 delete arg8;
21162 }
21163 return NULL;
d55e5bfc
RD
21164}
21165
21166
1bd55598
RD
21167SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21168 PyObject *resultobj = 0;
21169 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21170 void *argp1 = 0 ;
21171 int res1 = 0 ;
21172 PyObject *swig_obj[1] ;
21173
21174 if (!args) SWIG_fail;
21175 swig_obj[0] = args;
21176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21177 if (!SWIG_IsOK(res1)) {
21178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21179 }
21180 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21181 {
21182 PyThreadState* __tstate = wxPyBeginAllowThreads();
21183 (arg1)->Activate();
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 resultobj = SWIG_Py_Void();
21188 return resultobj;
21189fail:
21190 return NULL;
d55e5bfc
RD
21191}
21192
21193
1bd55598
RD
21194SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21195 PyObject *obj;
21196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21197 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21198 return SWIG_Py_Void();
d55e5bfc
RD
21199}
21200
1bd55598
RD
21201SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21202 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
21203}
21204
1bd55598
RD
21205SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj = 0;
21207 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21208 long arg2 = (long) 0 ;
21209 wxMDIClientWindow *result = 0 ;
21210 void *argp1 = 0 ;
21211 int res1 = 0 ;
21212 long val2 ;
21213 int ecode2 = 0 ;
21214 PyObject * obj0 = 0 ;
21215 PyObject * obj1 = 0 ;
21216 char * kwnames[] = {
21217 (char *) "parent",(char *) "style", NULL
21218 };
21219
21220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21222 if (!SWIG_IsOK(res1)) {
21223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21224 }
21225 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21226 if (obj1) {
21227 ecode2 = SWIG_AsVal_long(obj1, &val2);
21228 if (!SWIG_IsOK(ecode2)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21230 }
21231 arg2 = static_cast< long >(val2);
21232 }
21233 {
21234 if (!wxPyCheckForApp()) SWIG_fail;
21235 PyThreadState* __tstate = wxPyBeginAllowThreads();
21236 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21237 wxPyEndAllowThreads(__tstate);
21238 if (PyErr_Occurred()) SWIG_fail;
21239 }
21240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21241 return resultobj;
21242fail:
21243 return NULL;
d55e5bfc
RD
21244}
21245
21246
1bd55598
RD
21247SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21248 PyObject *resultobj = 0;
21249 wxMDIClientWindow *result = 0 ;
21250
21251 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21252 {
21253 if (!wxPyCheckForApp()) SWIG_fail;
21254 PyThreadState* __tstate = wxPyBeginAllowThreads();
21255 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21256 wxPyEndAllowThreads(__tstate);
21257 if (PyErr_Occurred()) SWIG_fail;
21258 }
21259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21260 return resultobj;
21261fail:
21262 return NULL;
21263}
21264
21265
21266SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21267 PyObject *resultobj = 0;
21268 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21269 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21270 long arg3 = (long) 0 ;
21271 bool result;
21272 void *argp1 = 0 ;
21273 int res1 = 0 ;
21274 void *argp2 = 0 ;
21275 int res2 = 0 ;
21276 long val3 ;
21277 int ecode3 = 0 ;
21278 PyObject * obj0 = 0 ;
21279 PyObject * obj1 = 0 ;
21280 PyObject * obj2 = 0 ;
21281 char * kwnames[] = {
21282 (char *) "self",(char *) "parent",(char *) "style", NULL
21283 };
21284
21285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21287 if (!SWIG_IsOK(res1)) {
21288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21289 }
21290 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21291 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21292 if (!SWIG_IsOK(res2)) {
21293 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21294 }
21295 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21296 if (obj2) {
21297 ecode3 = SWIG_AsVal_long(obj2, &val3);
21298 if (!SWIG_IsOK(ecode3)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21300 }
21301 arg3 = static_cast< long >(val3);
21302 }
21303 {
21304 PyThreadState* __tstate = wxPyBeginAllowThreads();
21305 result = (bool)(arg1)->Create(arg2,arg3);
21306 wxPyEndAllowThreads(__tstate);
21307 if (PyErr_Occurred()) SWIG_fail;
21308 }
21309 {
21310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21311 }
21312 return resultobj;
21313fail:
21314 return NULL;
21315}
21316
21317
21318SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21319 PyObject *obj;
21320 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21321 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21322 return SWIG_Py_Void();
21323}
21324
21325SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21326 return SWIG_Python_InitShadowInstance(args);
21327}
21328
21329SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21330 PyObject *resultobj = 0;
21331 wxWindow *arg1 = (wxWindow *) 0 ;
21332 int arg2 = (int) (int)-1 ;
21333 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21334 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21335 wxSize const &arg4_defvalue = wxDefaultSize ;
21336 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21337 long arg5 = (long) 0 ;
21338 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21339 wxString *arg6 = (wxString *) &arg6_defvalue ;
21340 wxPyWindow *result = 0 ;
21341 void *argp1 = 0 ;
21342 int res1 = 0 ;
21343 int val2 ;
21344 int ecode2 = 0 ;
21345 wxPoint temp3 ;
21346 wxSize temp4 ;
21347 long val5 ;
21348 int ecode5 = 0 ;
21349 bool temp6 = false ;
21350 PyObject * obj0 = 0 ;
21351 PyObject * obj1 = 0 ;
21352 PyObject * obj2 = 0 ;
21353 PyObject * obj3 = 0 ;
21354 PyObject * obj4 = 0 ;
21355 PyObject * obj5 = 0 ;
21356 char * kwnames[] = {
21357 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21358 };
21359
21360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21362 if (!SWIG_IsOK(res1)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21364 }
21365 arg1 = reinterpret_cast< wxWindow * >(argp1);
21366 if (obj1) {
21367 ecode2 = SWIG_AsVal_int(obj1, &val2);
21368 if (!SWIG_IsOK(ecode2)) {
21369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21370 }
21371 arg2 = static_cast< int >(val2);
21372 }
21373 if (obj2) {
32fe5131 21374 {
1bd55598
RD
21375 arg3 = &temp3;
21376 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32fe5131 21377 }
1bd55598
RD
21378 }
21379 if (obj3) {
32fe5131 21380 {
1bd55598
RD
21381 arg4 = &temp4;
21382 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32fe5131 21383 }
1bd55598
RD
21384 }
21385 if (obj4) {
21386 ecode5 = SWIG_AsVal_long(obj4, &val5);
21387 if (!SWIG_IsOK(ecode5)) {
21388 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21389 }
21390 arg5 = static_cast< long >(val5);
21391 }
21392 if (obj5) {
32fe5131 21393 {
1bd55598
RD
21394 arg6 = wxString_in_helper(obj5);
21395 if (arg6 == NULL) SWIG_fail;
21396 temp6 = true;
32fe5131 21397 }
1bd55598
RD
21398 }
21399 {
21400 if (!wxPyCheckForApp()) SWIG_fail;
21401 PyThreadState* __tstate = wxPyBeginAllowThreads();
21402 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21403 wxPyEndAllowThreads(__tstate);
21404 if (PyErr_Occurred()) SWIG_fail;
21405 }
21406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21407 {
21408 if (temp6)
21409 delete arg6;
21410 }
21411 return resultobj;
21412fail:
21413 {
21414 if (temp6)
21415 delete arg6;
21416 }
21417 return NULL;
32fe5131
RD
21418}
21419
21420
1bd55598
RD
21421SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21422 PyObject *resultobj = 0;
21423 wxPyWindow *result = 0 ;
21424
21425 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21426 {
21427 if (!wxPyCheckForApp()) SWIG_fail;
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 result = (wxPyWindow *)new wxPyWindow();
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21434 return resultobj;
21435fail:
21436 return NULL;
21437}
21438
21439
21440SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21441 PyObject *resultobj = 0;
21442 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21443 PyObject *arg2 = (PyObject *) 0 ;
21444 PyObject *arg3 = (PyObject *) 0 ;
21445 void *argp1 = 0 ;
21446 int res1 = 0 ;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449 PyObject * obj2 = 0 ;
21450 char * kwnames[] = {
21451 (char *) "self",(char *) "self",(char *) "_class", NULL
21452 };
21453
21454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21456 if (!SWIG_IsOK(res1)) {
21457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21458 }
21459 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21460 arg2 = obj1;
21461 arg3 = obj2;
21462 {
21463 PyThreadState* __tstate = wxPyBeginAllowThreads();
21464 (arg1)->_setCallbackInfo(arg2,arg3);
21465 wxPyEndAllowThreads(__tstate);
21466 if (PyErr_Occurred()) SWIG_fail;
21467 }
21468 resultobj = SWIG_Py_Void();
21469 return resultobj;
21470fail:
21471 return NULL;
21472}
21473
21474
21475SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21476 PyObject *resultobj = 0;
21477 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21478 wxSize *arg2 = 0 ;
21479 void *argp1 = 0 ;
21480 int res1 = 0 ;
21481 wxSize temp2 ;
21482 PyObject * obj0 = 0 ;
21483 PyObject * obj1 = 0 ;
21484 char * kwnames[] = {
21485 (char *) "self",(char *) "size", NULL
21486 };
21487
21488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21490 if (!SWIG_IsOK(res1)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21492 }
21493 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21494 {
21495 arg2 = &temp2;
21496 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21497 }
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 (arg1)->SetBestSize((wxSize const &)*arg2);
21501 wxPyEndAllowThreads(__tstate);
21502 if (PyErr_Occurred()) SWIG_fail;
21503 }
21504 resultobj = SWIG_Py_Void();
21505 return resultobj;
21506fail:
21507 return NULL;
21508}
21509
21510
21511SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21512 PyObject *resultobj = 0;
21513 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21514 wxDC *arg2 = (wxDC *) 0 ;
21515 bool result;
21516 void *argp1 = 0 ;
21517 int res1 = 0 ;
21518 void *argp2 = 0 ;
21519 int res2 = 0 ;
21520 PyObject * obj0 = 0 ;
21521 PyObject * obj1 = 0 ;
21522 char * kwnames[] = {
21523 (char *) "self",(char *) "dc", NULL
21524 };
21525
21526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21528 if (!SWIG_IsOK(res1)) {
21529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21530 }
21531 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21532 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21533 if (!SWIG_IsOK(res2)) {
21534 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21535 }
21536 arg2 = reinterpret_cast< wxDC * >(argp2);
21537 {
21538 PyThreadState* __tstate = wxPyBeginAllowThreads();
21539 result = (bool)(arg1)->DoEraseBackground(arg2);
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21545 }
21546 return resultobj;
21547fail:
21548 return NULL;
21549}
21550
21551
21552SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21553 PyObject *resultobj = 0;
21554 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21555 int arg2 ;
21556 int arg3 ;
21557 int arg4 ;
21558 int arg5 ;
21559 void *argp1 = 0 ;
21560 int res1 = 0 ;
21561 int val2 ;
21562 int ecode2 = 0 ;
21563 int val3 ;
21564 int ecode3 = 0 ;
21565 int val4 ;
21566 int ecode4 = 0 ;
21567 int val5 ;
21568 int ecode5 = 0 ;
21569 PyObject * obj0 = 0 ;
21570 PyObject * obj1 = 0 ;
21571 PyObject * obj2 = 0 ;
21572 PyObject * obj3 = 0 ;
21573 PyObject * obj4 = 0 ;
21574 char * kwnames[] = {
21575 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21576 };
21577
21578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21580 if (!SWIG_IsOK(res1)) {
21581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21582 }
21583 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21584 ecode2 = SWIG_AsVal_int(obj1, &val2);
21585 if (!SWIG_IsOK(ecode2)) {
21586 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21587 }
21588 arg2 = static_cast< int >(val2);
21589 ecode3 = SWIG_AsVal_int(obj2, &val3);
21590 if (!SWIG_IsOK(ecode3)) {
21591 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21592 }
21593 arg3 = static_cast< int >(val3);
21594 ecode4 = SWIG_AsVal_int(obj3, &val4);
21595 if (!SWIG_IsOK(ecode4)) {
21596 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21597 }
21598 arg4 = static_cast< int >(val4);
21599 ecode5 = SWIG_AsVal_int(obj4, &val5);
21600 if (!SWIG_IsOK(ecode5)) {
21601 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21602 }
21603 arg5 = static_cast< int >(val5);
21604 {
21605 PyThreadState* __tstate = wxPyBeginAllowThreads();
21606 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
21610 resultobj = SWIG_Py_Void();
21611 return resultobj;
21612fail:
21613 return NULL;
21614}
21615
21616
21617SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21618 PyObject *resultobj = 0;
21619 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21620 int arg2 ;
21621 int arg3 ;
21622 int arg4 ;
21623 int arg5 ;
21624 int arg6 = (int) wxSIZE_AUTO ;
21625 void *argp1 = 0 ;
21626 int res1 = 0 ;
21627 int val2 ;
21628 int ecode2 = 0 ;
21629 int val3 ;
21630 int ecode3 = 0 ;
21631 int val4 ;
21632 int ecode4 = 0 ;
21633 int val5 ;
21634 int ecode5 = 0 ;
21635 int val6 ;
21636 int ecode6 = 0 ;
21637 PyObject * obj0 = 0 ;
21638 PyObject * obj1 = 0 ;
21639 PyObject * obj2 = 0 ;
21640 PyObject * obj3 = 0 ;
21641 PyObject * obj4 = 0 ;
21642 PyObject * obj5 = 0 ;
21643 char * kwnames[] = {
21644 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21645 };
21646
21647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21649 if (!SWIG_IsOK(res1)) {
21650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21651 }
21652 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21653 ecode2 = SWIG_AsVal_int(obj1, &val2);
21654 if (!SWIG_IsOK(ecode2)) {
21655 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21656 }
21657 arg2 = static_cast< int >(val2);
21658 ecode3 = SWIG_AsVal_int(obj2, &val3);
21659 if (!SWIG_IsOK(ecode3)) {
21660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21661 }
21662 arg3 = static_cast< int >(val3);
21663 ecode4 = SWIG_AsVal_int(obj3, &val4);
21664 if (!SWIG_IsOK(ecode4)) {
21665 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21666 }
21667 arg4 = static_cast< int >(val4);
21668 ecode5 = SWIG_AsVal_int(obj4, &val5);
21669 if (!SWIG_IsOK(ecode5)) {
21670 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21671 }
21672 arg5 = static_cast< int >(val5);
21673 if (obj5) {
21674 ecode6 = SWIG_AsVal_int(obj5, &val6);
21675 if (!SWIG_IsOK(ecode6)) {
21676 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21677 }
21678 arg6 = static_cast< int >(val6);
21679 }
21680 {
21681 PyThreadState* __tstate = wxPyBeginAllowThreads();
21682 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21683 wxPyEndAllowThreads(__tstate);
21684 if (PyErr_Occurred()) SWIG_fail;
21685 }
21686 resultobj = SWIG_Py_Void();
21687 return resultobj;
21688fail:
21689 return NULL;
21690}
21691
21692
21693SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21694 PyObject *resultobj = 0;
21695 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21696 int arg2 ;
21697 int arg3 ;
21698 void *argp1 = 0 ;
21699 int res1 = 0 ;
21700 int val2 ;
21701 int ecode2 = 0 ;
21702 int val3 ;
21703 int ecode3 = 0 ;
21704 PyObject * obj0 = 0 ;
21705 PyObject * obj1 = 0 ;
21706 PyObject * obj2 = 0 ;
21707 char * kwnames[] = {
21708 (char *) "self",(char *) "width",(char *) "height", NULL
21709 };
21710
21711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21713 if (!SWIG_IsOK(res1)) {
21714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21715 }
21716 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21717 ecode2 = SWIG_AsVal_int(obj1, &val2);
21718 if (!SWIG_IsOK(ecode2)) {
21719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21720 }
21721 arg2 = static_cast< int >(val2);
21722 ecode3 = SWIG_AsVal_int(obj2, &val3);
21723 if (!SWIG_IsOK(ecode3)) {
21724 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21725 }
21726 arg3 = static_cast< int >(val3);
21727 {
21728 PyThreadState* __tstate = wxPyBeginAllowThreads();
21729 (arg1)->DoSetClientSize(arg2,arg3);
21730 wxPyEndAllowThreads(__tstate);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 resultobj = SWIG_Py_Void();
21734 return resultobj;
21735fail:
21736 return NULL;
21737}
21738
21739
21740SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21741 PyObject *resultobj = 0;
21742 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21743 int arg2 ;
21744 int arg3 ;
21745 void *argp1 = 0 ;
21746 int res1 = 0 ;
21747 int val2 ;
21748 int ecode2 = 0 ;
21749 int val3 ;
21750 int ecode3 = 0 ;
21751 PyObject * obj0 = 0 ;
21752 PyObject * obj1 = 0 ;
21753 PyObject * obj2 = 0 ;
21754 char * kwnames[] = {
21755 (char *) "self",(char *) "x",(char *) "y", NULL
21756 };
21757
21758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21760 if (!SWIG_IsOK(res1)) {
21761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21762 }
21763 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21764 ecode2 = SWIG_AsVal_int(obj1, &val2);
21765 if (!SWIG_IsOK(ecode2)) {
21766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21767 }
21768 arg2 = static_cast< int >(val2);
21769 ecode3 = SWIG_AsVal_int(obj2, &val3);
21770 if (!SWIG_IsOK(ecode3)) {
21771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21772 }
21773 arg3 = static_cast< int >(val3);
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 (arg1)->DoSetVirtualSize(arg2,arg3);
21777 wxPyEndAllowThreads(__tstate);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 resultobj = SWIG_Py_Void();
21781 return resultobj;
21782fail:
21783 return NULL;
21784}
21785
21786
21787SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21788 PyObject *resultobj = 0;
21789 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21790 int *arg2 = (int *) 0 ;
21791 int *arg3 = (int *) 0 ;
21792 void *argp1 = 0 ;
21793 int res1 = 0 ;
21794 int temp2 ;
21795 int res2 = SWIG_TMPOBJ ;
21796 int temp3 ;
21797 int res3 = SWIG_TMPOBJ ;
21798 PyObject *swig_obj[1] ;
21799
21800 arg2 = &temp2;
21801 arg3 = &temp3;
21802 if (!args) SWIG_fail;
21803 swig_obj[0] = args;
21804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21805 if (!SWIG_IsOK(res1)) {
21806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21807 }
21808 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21809 {
21810 PyThreadState* __tstate = wxPyBeginAllowThreads();
21811 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21812 wxPyEndAllowThreads(__tstate);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 resultobj = SWIG_Py_Void();
21816 if (SWIG_IsTmpObj(res2)) {
21817 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21818 } else {
21819 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21821 }
21822 if (SWIG_IsTmpObj(res3)) {
21823 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21824 } else {
21825 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21826 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21827 }
21828 return resultobj;
21829fail:
21830 return NULL;
21831}
21832
21833
21834SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21835 PyObject *resultobj = 0;
21836 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21837 int *arg2 = (int *) 0 ;
21838 int *arg3 = (int *) 0 ;
21839 void *argp1 = 0 ;
21840 int res1 = 0 ;
21841 int temp2 ;
21842 int res2 = SWIG_TMPOBJ ;
21843 int temp3 ;
21844 int res3 = SWIG_TMPOBJ ;
21845 PyObject *swig_obj[1] ;
21846
21847 arg2 = &temp2;
21848 arg3 = &temp3;
21849 if (!args) SWIG_fail;
21850 swig_obj[0] = args;
21851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21852 if (!SWIG_IsOK(res1)) {
21853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21854 }
21855 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21856 {
21857 PyThreadState* __tstate = wxPyBeginAllowThreads();
21858 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 resultobj = SWIG_Py_Void();
21863 if (SWIG_IsTmpObj(res2)) {
21864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21865 } else {
21866 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21868 }
21869 if (SWIG_IsTmpObj(res3)) {
21870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21871 } else {
21872 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21873 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21874 }
21875 return resultobj;
21876fail:
21877 return NULL;
21878}
21879
21880
21881SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21882 PyObject *resultobj = 0;
21883 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21884 int *arg2 = (int *) 0 ;
21885 int *arg3 = (int *) 0 ;
21886 void *argp1 = 0 ;
21887 int res1 = 0 ;
21888 int temp2 ;
21889 int res2 = SWIG_TMPOBJ ;
21890 int temp3 ;
21891 int res3 = SWIG_TMPOBJ ;
21892 PyObject *swig_obj[1] ;
21893
21894 arg2 = &temp2;
21895 arg3 = &temp3;
21896 if (!args) SWIG_fail;
21897 swig_obj[0] = args;
21898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21899 if (!SWIG_IsOK(res1)) {
21900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21901 }
21902 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21906 wxPyEndAllowThreads(__tstate);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 }
21909 resultobj = SWIG_Py_Void();
21910 if (SWIG_IsTmpObj(res2)) {
21911 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21912 } else {
21913 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21914 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21915 }
21916 if (SWIG_IsTmpObj(res3)) {
21917 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21918 } else {
21919 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21920 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21921 }
21922 return resultobj;
21923fail:
21924 return NULL;
d55e5bfc
RD
21925}
21926
21927
1bd55598
RD
21928SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21929 PyObject *resultobj = 0;
21930 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21931 wxSize result;
21932 void *argp1 = 0 ;
21933 int res1 = 0 ;
21934 PyObject *swig_obj[1] ;
21935
21936 if (!args) SWIG_fail;
21937 swig_obj[0] = args;
21938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21939 if (!SWIG_IsOK(res1)) {
21940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21941 }
21942 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21946 wxPyEndAllowThreads(__tstate);
21947 if (PyErr_Occurred()) SWIG_fail;
21948 }
21949 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21950 return resultobj;
21951fail:
21952 return NULL;
d55e5bfc
RD
21953}
21954
21955
1bd55598
RD
21956SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21957 PyObject *resultobj = 0;
21958 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21959 wxSize result;
21960 void *argp1 = 0 ;
21961 int res1 = 0 ;
21962 PyObject *swig_obj[1] ;
21963
21964 if (!args) SWIG_fail;
21965 swig_obj[0] = args;
21966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21967 if (!SWIG_IsOK(res1)) {
21968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21969 }
21970 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21971 {
21972 PyThreadState* __tstate = wxPyBeginAllowThreads();
21973 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21974 wxPyEndAllowThreads(__tstate);
21975 if (PyErr_Occurred()) SWIG_fail;
21976 }
21977 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21978 return resultobj;
21979fail:
21980 return NULL;
d55e5bfc
RD
21981}
21982
21983
1bd55598
RD
21984SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21985 PyObject *resultobj = 0;
21986 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21987 SwigValueWrapper<wxVisualAttributes > result;
21988 void *argp1 = 0 ;
21989 int res1 = 0 ;
21990 PyObject *swig_obj[1] ;
21991
21992 if (!args) SWIG_fail;
21993 swig_obj[0] = args;
21994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21995 if (!SWIG_IsOK(res1)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21997 }
21998 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21999 {
22000 PyThreadState* __tstate = wxPyBeginAllowThreads();
22001 result = (arg1)->GetDefaultAttributes();
22002 wxPyEndAllowThreads(__tstate);
22003 if (PyErr_Occurred()) SWIG_fail;
22004 }
22005 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22006 return resultobj;
22007fail:
22008 return NULL;
d55e5bfc
RD
22009}
22010
22011
1bd55598
RD
22012SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22013 PyObject *resultobj = 0;
22014 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22015 void *argp1 = 0 ;
22016 int res1 = 0 ;
22017 PyObject *swig_obj[1] ;
22018
22019 if (!args) SWIG_fail;
22020 swig_obj[0] = args;
22021 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22022 if (!SWIG_IsOK(res1)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22024 }
22025 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 (arg1)->OnInternalIdle();
22029 wxPyEndAllowThreads(__tstate);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 }
22032 resultobj = SWIG_Py_Void();
22033 return resultobj;
22034fail:
22035 return NULL;
22036}
22037
22038
22039SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22040 PyObject *obj;
22041 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22042 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22043 return SWIG_Py_Void();
22044}
22045
22046SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22047 return SWIG_Python_InitShadowInstance(args);
22048}
22049
22050SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22051 PyObject *resultobj = 0;
22052 wxWindow *arg1 = (wxWindow *) 0 ;
22053 int arg2 = (int) (int)-1 ;
22054 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22055 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22056 wxSize const &arg4_defvalue = wxDefaultSize ;
22057 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22058 long arg5 = (long) 0 ;
22059 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22060 wxString *arg6 = (wxString *) &arg6_defvalue ;
22061 wxPyPanel *result = 0 ;
22062 void *argp1 = 0 ;
22063 int res1 = 0 ;
22064 int val2 ;
22065 int ecode2 = 0 ;
22066 wxPoint temp3 ;
22067 wxSize temp4 ;
22068 long val5 ;
22069 int ecode5 = 0 ;
22070 bool temp6 = false ;
22071 PyObject * obj0 = 0 ;
22072 PyObject * obj1 = 0 ;
22073 PyObject * obj2 = 0 ;
22074 PyObject * obj3 = 0 ;
22075 PyObject * obj4 = 0 ;
22076 PyObject * obj5 = 0 ;
22077 char * kwnames[] = {
22078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22079 };
22080
22081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22083 if (!SWIG_IsOK(res1)) {
22084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22085 }
22086 arg1 = reinterpret_cast< wxWindow * >(argp1);
22087 if (obj1) {
22088 ecode2 = SWIG_AsVal_int(obj1, &val2);
22089 if (!SWIG_IsOK(ecode2)) {
22090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22091 }
22092 arg2 = static_cast< int >(val2);
22093 }
22094 if (obj2) {
d55e5bfc 22095 {
1bd55598
RD
22096 arg3 = &temp3;
22097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22098 }
1bd55598
RD
22099 }
22100 if (obj3) {
d55e5bfc 22101 {
1bd55598
RD
22102 arg4 = &temp4;
22103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22104 }
1bd55598
RD
22105 }
22106 if (obj4) {
22107 ecode5 = SWIG_AsVal_long(obj4, &val5);
22108 if (!SWIG_IsOK(ecode5)) {
22109 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22110 }
22111 arg5 = static_cast< long >(val5);
22112 }
22113 if (obj5) {
d55e5bfc 22114 {
1bd55598
RD
22115 arg6 = wxString_in_helper(obj5);
22116 if (arg6 == NULL) SWIG_fail;
22117 temp6 = true;
d55e5bfc 22118 }
1bd55598
RD
22119 }
22120 {
22121 if (!wxPyCheckForApp()) SWIG_fail;
22122 PyThreadState* __tstate = wxPyBeginAllowThreads();
22123 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22128 {
22129 if (temp6)
22130 delete arg6;
22131 }
22132 return resultobj;
22133fail:
22134 {
22135 if (temp6)
22136 delete arg6;
22137 }
22138 return NULL;
d55e5bfc
RD
22139}
22140
22141
1bd55598
RD
22142SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22143 PyObject *resultobj = 0;
22144 wxPyPanel *result = 0 ;
22145
22146 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22147 {
22148 if (!wxPyCheckForApp()) SWIG_fail;
22149 PyThreadState* __tstate = wxPyBeginAllowThreads();
22150 result = (wxPyPanel *)new wxPyPanel();
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22155 return resultobj;
22156fail:
22157 return NULL;
22158}
22159
22160
22161SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22162 PyObject *resultobj = 0;
22163 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22164 PyObject *arg2 = (PyObject *) 0 ;
22165 PyObject *arg3 = (PyObject *) 0 ;
22166 void *argp1 = 0 ;
22167 int res1 = 0 ;
22168 PyObject * obj0 = 0 ;
22169 PyObject * obj1 = 0 ;
22170 PyObject * obj2 = 0 ;
22171 char * kwnames[] = {
22172 (char *) "self",(char *) "self",(char *) "_class", NULL
22173 };
22174
22175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22177 if (!SWIG_IsOK(res1)) {
22178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22179 }
22180 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22181 arg2 = obj1;
22182 arg3 = obj2;
22183 {
22184 PyThreadState* __tstate = wxPyBeginAllowThreads();
22185 (arg1)->_setCallbackInfo(arg2,arg3);
22186 wxPyEndAllowThreads(__tstate);
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 resultobj = SWIG_Py_Void();
22190 return resultobj;
22191fail:
22192 return NULL;
22193}
22194
22195
22196SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22197 PyObject *resultobj = 0;
22198 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22199 wxSize *arg2 = 0 ;
22200 void *argp1 = 0 ;
22201 int res1 = 0 ;
22202 wxSize temp2 ;
22203 PyObject * obj0 = 0 ;
22204 PyObject * obj1 = 0 ;
22205 char * kwnames[] = {
22206 (char *) "self",(char *) "size", NULL
22207 };
22208
22209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22211 if (!SWIG_IsOK(res1)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22213 }
22214 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22215 {
22216 arg2 = &temp2;
22217 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22218 }
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 (arg1)->SetBestSize((wxSize const &)*arg2);
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 resultobj = SWIG_Py_Void();
22226 return resultobj;
22227fail:
22228 return NULL;
22229}
22230
22231
22232SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj = 0;
22234 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22235 wxDC *arg2 = (wxDC *) 0 ;
22236 bool result;
22237 void *argp1 = 0 ;
22238 int res1 = 0 ;
22239 void *argp2 = 0 ;
22240 int res2 = 0 ;
22241 PyObject * obj0 = 0 ;
22242 PyObject * obj1 = 0 ;
22243 char * kwnames[] = {
22244 (char *) "self",(char *) "dc", NULL
22245 };
22246
22247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22249 if (!SWIG_IsOK(res1)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22251 }
22252 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22253 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22254 if (!SWIG_IsOK(res2)) {
22255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22256 }
22257 arg2 = reinterpret_cast< wxDC * >(argp2);
22258 {
22259 PyThreadState* __tstate = wxPyBeginAllowThreads();
22260 result = (bool)(arg1)->DoEraseBackground(arg2);
22261 wxPyEndAllowThreads(__tstate);
22262 if (PyErr_Occurred()) SWIG_fail;
22263 }
22264 {
22265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22266 }
22267 return resultobj;
22268fail:
22269 return NULL;
22270}
22271
22272
22273SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22274 PyObject *resultobj = 0;
22275 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22276 int arg2 ;
22277 int arg3 ;
22278 int arg4 ;
22279 int arg5 ;
22280 void *argp1 = 0 ;
22281 int res1 = 0 ;
22282 int val2 ;
22283 int ecode2 = 0 ;
22284 int val3 ;
22285 int ecode3 = 0 ;
22286 int val4 ;
22287 int ecode4 = 0 ;
22288 int val5 ;
22289 int ecode5 = 0 ;
22290 PyObject * obj0 = 0 ;
22291 PyObject * obj1 = 0 ;
22292 PyObject * obj2 = 0 ;
22293 PyObject * obj3 = 0 ;
22294 PyObject * obj4 = 0 ;
22295 char * kwnames[] = {
22296 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22297 };
22298
22299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22301 if (!SWIG_IsOK(res1)) {
22302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22303 }
22304 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22305 ecode2 = SWIG_AsVal_int(obj1, &val2);
22306 if (!SWIG_IsOK(ecode2)) {
22307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22308 }
22309 arg2 = static_cast< int >(val2);
22310 ecode3 = SWIG_AsVal_int(obj2, &val3);
22311 if (!SWIG_IsOK(ecode3)) {
22312 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22313 }
22314 arg3 = static_cast< int >(val3);
22315 ecode4 = SWIG_AsVal_int(obj3, &val4);
22316 if (!SWIG_IsOK(ecode4)) {
22317 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22318 }
22319 arg4 = static_cast< int >(val4);
22320 ecode5 = SWIG_AsVal_int(obj4, &val5);
22321 if (!SWIG_IsOK(ecode5)) {
22322 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22323 }
22324 arg5 = static_cast< int >(val5);
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 resultobj = SWIG_Py_Void();
22332 return resultobj;
22333fail:
22334 return NULL;
22335}
22336
22337
22338SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22339 PyObject *resultobj = 0;
22340 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22341 int arg2 ;
22342 int arg3 ;
22343 int arg4 ;
22344 int arg5 ;
22345 int arg6 = (int) wxSIZE_AUTO ;
22346 void *argp1 = 0 ;
22347 int res1 = 0 ;
22348 int val2 ;
22349 int ecode2 = 0 ;
22350 int val3 ;
22351 int ecode3 = 0 ;
22352 int val4 ;
22353 int ecode4 = 0 ;
22354 int val5 ;
22355 int ecode5 = 0 ;
22356 int val6 ;
22357 int ecode6 = 0 ;
22358 PyObject * obj0 = 0 ;
22359 PyObject * obj1 = 0 ;
22360 PyObject * obj2 = 0 ;
22361 PyObject * obj3 = 0 ;
22362 PyObject * obj4 = 0 ;
22363 PyObject * obj5 = 0 ;
22364 char * kwnames[] = {
22365 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22366 };
22367
22368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22370 if (!SWIG_IsOK(res1)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22372 }
22373 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22374 ecode2 = SWIG_AsVal_int(obj1, &val2);
22375 if (!SWIG_IsOK(ecode2)) {
22376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22377 }
22378 arg2 = static_cast< int >(val2);
22379 ecode3 = SWIG_AsVal_int(obj2, &val3);
22380 if (!SWIG_IsOK(ecode3)) {
22381 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22382 }
22383 arg3 = static_cast< int >(val3);
22384 ecode4 = SWIG_AsVal_int(obj3, &val4);
22385 if (!SWIG_IsOK(ecode4)) {
22386 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22387 }
22388 arg4 = static_cast< int >(val4);
22389 ecode5 = SWIG_AsVal_int(obj4, &val5);
22390 if (!SWIG_IsOK(ecode5)) {
22391 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22392 }
22393 arg5 = static_cast< int >(val5);
22394 if (obj5) {
22395 ecode6 = SWIG_AsVal_int(obj5, &val6);
22396 if (!SWIG_IsOK(ecode6)) {
22397 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22398 }
22399 arg6 = static_cast< int >(val6);
22400 }
22401 {
22402 PyThreadState* __tstate = wxPyBeginAllowThreads();
22403 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22404 wxPyEndAllowThreads(__tstate);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 resultobj = SWIG_Py_Void();
22408 return resultobj;
22409fail:
22410 return NULL;
22411}
22412
22413
22414SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22415 PyObject *resultobj = 0;
22416 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22417 int arg2 ;
22418 int arg3 ;
22419 void *argp1 = 0 ;
22420 int res1 = 0 ;
22421 int val2 ;
22422 int ecode2 = 0 ;
22423 int val3 ;
22424 int ecode3 = 0 ;
22425 PyObject * obj0 = 0 ;
22426 PyObject * obj1 = 0 ;
22427 PyObject * obj2 = 0 ;
22428 char * kwnames[] = {
22429 (char *) "self",(char *) "width",(char *) "height", NULL
22430 };
22431
22432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22434 if (!SWIG_IsOK(res1)) {
22435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22436 }
22437 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22438 ecode2 = SWIG_AsVal_int(obj1, &val2);
22439 if (!SWIG_IsOK(ecode2)) {
22440 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22441 }
22442 arg2 = static_cast< int >(val2);
22443 ecode3 = SWIG_AsVal_int(obj2, &val3);
22444 if (!SWIG_IsOK(ecode3)) {
22445 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22446 }
22447 arg3 = static_cast< int >(val3);
22448 {
22449 PyThreadState* __tstate = wxPyBeginAllowThreads();
22450 (arg1)->DoSetClientSize(arg2,arg3);
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 resultobj = SWIG_Py_Void();
22455 return resultobj;
22456fail:
22457 return NULL;
22458}
22459
22460
22461SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22462 PyObject *resultobj = 0;
22463 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22464 int arg2 ;
22465 int arg3 ;
22466 void *argp1 = 0 ;
22467 int res1 = 0 ;
22468 int val2 ;
22469 int ecode2 = 0 ;
22470 int val3 ;
22471 int ecode3 = 0 ;
22472 PyObject * obj0 = 0 ;
22473 PyObject * obj1 = 0 ;
22474 PyObject * obj2 = 0 ;
22475 char * kwnames[] = {
22476 (char *) "self",(char *) "x",(char *) "y", NULL
22477 };
22478
22479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22481 if (!SWIG_IsOK(res1)) {
22482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22483 }
22484 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22485 ecode2 = SWIG_AsVal_int(obj1, &val2);
22486 if (!SWIG_IsOK(ecode2)) {
22487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22488 }
22489 arg2 = static_cast< int >(val2);
22490 ecode3 = SWIG_AsVal_int(obj2, &val3);
22491 if (!SWIG_IsOK(ecode3)) {
22492 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22493 }
22494 arg3 = static_cast< int >(val3);
22495 {
22496 PyThreadState* __tstate = wxPyBeginAllowThreads();
22497 (arg1)->DoSetVirtualSize(arg2,arg3);
22498 wxPyEndAllowThreads(__tstate);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 }
22501 resultobj = SWIG_Py_Void();
22502 return resultobj;
22503fail:
22504 return NULL;
22505}
22506
22507
22508SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22509 PyObject *resultobj = 0;
22510 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22511 int *arg2 = (int *) 0 ;
22512 int *arg3 = (int *) 0 ;
22513 void *argp1 = 0 ;
22514 int res1 = 0 ;
22515 int temp2 ;
22516 int res2 = SWIG_TMPOBJ ;
22517 int temp3 ;
22518 int res3 = SWIG_TMPOBJ ;
22519 PyObject *swig_obj[1] ;
22520
22521 arg2 = &temp2;
22522 arg3 = &temp3;
22523 if (!args) SWIG_fail;
22524 swig_obj[0] = args;
22525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22526 if (!SWIG_IsOK(res1)) {
22527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22528 }
22529 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
22532 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22533 wxPyEndAllowThreads(__tstate);
22534 if (PyErr_Occurred()) SWIG_fail;
22535 }
22536 resultobj = SWIG_Py_Void();
22537 if (SWIG_IsTmpObj(res2)) {
22538 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22539 } else {
22540 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22541 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22542 }
22543 if (SWIG_IsTmpObj(res3)) {
22544 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22545 } else {
22546 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22547 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22548 }
22549 return resultobj;
22550fail:
22551 return NULL;
22552}
22553
22554
22555SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22556 PyObject *resultobj = 0;
22557 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22558 int *arg2 = (int *) 0 ;
22559 int *arg3 = (int *) 0 ;
22560 void *argp1 = 0 ;
22561 int res1 = 0 ;
22562 int temp2 ;
22563 int res2 = SWIG_TMPOBJ ;
22564 int temp3 ;
22565 int res3 = SWIG_TMPOBJ ;
22566 PyObject *swig_obj[1] ;
22567
22568 arg2 = &temp2;
22569 arg3 = &temp3;
22570 if (!args) SWIG_fail;
22571 swig_obj[0] = args;
22572 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22573 if (!SWIG_IsOK(res1)) {
22574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22575 }
22576 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22577 {
22578 PyThreadState* __tstate = wxPyBeginAllowThreads();
22579 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22580 wxPyEndAllowThreads(__tstate);
22581 if (PyErr_Occurred()) SWIG_fail;
22582 }
22583 resultobj = SWIG_Py_Void();
22584 if (SWIG_IsTmpObj(res2)) {
22585 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22586 } else {
22587 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22588 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22589 }
22590 if (SWIG_IsTmpObj(res3)) {
22591 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22592 } else {
22593 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22594 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22595 }
22596 return resultobj;
22597fail:
22598 return NULL;
22599}
22600
22601
22602SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22603 PyObject *resultobj = 0;
22604 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22605 int *arg2 = (int *) 0 ;
22606 int *arg3 = (int *) 0 ;
22607 void *argp1 = 0 ;
22608 int res1 = 0 ;
22609 int temp2 ;
22610 int res2 = SWIG_TMPOBJ ;
22611 int temp3 ;
22612 int res3 = SWIG_TMPOBJ ;
22613 PyObject *swig_obj[1] ;
22614
22615 arg2 = &temp2;
22616 arg3 = &temp3;
22617 if (!args) SWIG_fail;
22618 swig_obj[0] = args;
22619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22620 if (!SWIG_IsOK(res1)) {
22621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22622 }
22623 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22624 {
22625 PyThreadState* __tstate = wxPyBeginAllowThreads();
22626 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 resultobj = SWIG_Py_Void();
22631 if (SWIG_IsTmpObj(res2)) {
22632 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22633 } else {
22634 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22635 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22636 }
22637 if (SWIG_IsTmpObj(res3)) {
22638 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22639 } else {
22640 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22642 }
22643 return resultobj;
22644fail:
22645 return NULL;
d55e5bfc
RD
22646}
22647
22648
1bd55598
RD
22649SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22650 PyObject *resultobj = 0;
22651 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22652 wxSize result;
22653 void *argp1 = 0 ;
22654 int res1 = 0 ;
22655 PyObject *swig_obj[1] ;
22656
22657 if (!args) SWIG_fail;
22658 swig_obj[0] = args;
22659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22660 if (!SWIG_IsOK(res1)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22662 }
22663 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22667 wxPyEndAllowThreads(__tstate);
22668 if (PyErr_Occurred()) SWIG_fail;
22669 }
22670 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22671 return resultobj;
22672fail:
22673 return NULL;
d55e5bfc
RD
22674}
22675
22676
1bd55598
RD
22677SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22678 PyObject *resultobj = 0;
22679 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22680 wxSize result;
22681 void *argp1 = 0 ;
22682 int res1 = 0 ;
22683 PyObject *swig_obj[1] ;
22684
22685 if (!args) SWIG_fail;
22686 swig_obj[0] = args;
22687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22688 if (!SWIG_IsOK(res1)) {
22689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22690 }
22691 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22692 {
22693 PyThreadState* __tstate = wxPyBeginAllowThreads();
22694 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22695 wxPyEndAllowThreads(__tstate);
22696 if (PyErr_Occurred()) SWIG_fail;
22697 }
22698 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22699 return resultobj;
22700fail:
22701 return NULL;
d55e5bfc
RD
22702}
22703
22704
1bd55598
RD
22705SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22706 PyObject *resultobj = 0;
22707 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22708 SwigValueWrapper<wxVisualAttributes > result;
22709 void *argp1 = 0 ;
22710 int res1 = 0 ;
22711 PyObject *swig_obj[1] ;
22712
22713 if (!args) SWIG_fail;
22714 swig_obj[0] = args;
22715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22716 if (!SWIG_IsOK(res1)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22718 }
22719 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22720 {
22721 PyThreadState* __tstate = wxPyBeginAllowThreads();
22722 result = (arg1)->GetDefaultAttributes();
22723 wxPyEndAllowThreads(__tstate);
22724 if (PyErr_Occurred()) SWIG_fail;
22725 }
22726 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22727 return resultobj;
22728fail:
22729 return NULL;
d55e5bfc
RD
22730}
22731
22732
1bd55598
RD
22733SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22734 PyObject *resultobj = 0;
22735 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22736 void *argp1 = 0 ;
22737 int res1 = 0 ;
22738 PyObject *swig_obj[1] ;
22739
22740 if (!args) SWIG_fail;
22741 swig_obj[0] = args;
22742 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22743 if (!SWIG_IsOK(res1)) {
22744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22745 }
22746 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22747 {
22748 PyThreadState* __tstate = wxPyBeginAllowThreads();
22749 (arg1)->OnInternalIdle();
22750 wxPyEndAllowThreads(__tstate);
22751 if (PyErr_Occurred()) SWIG_fail;
22752 }
22753 resultobj = SWIG_Py_Void();
22754 return resultobj;
22755fail:
22756 return NULL;
22757}
22758
22759
22760SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22761 PyObject *obj;
22762 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22763 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22764 return SWIG_Py_Void();
22765}
22766
22767SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22768 return SWIG_Python_InitShadowInstance(args);
22769}
22770
22771SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22772 PyObject *resultobj = 0;
22773 wxWindow *arg1 = (wxWindow *) 0 ;
22774 int arg2 = (int) (int)-1 ;
22775 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22776 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22777 wxSize const &arg4_defvalue = wxDefaultSize ;
22778 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22779 long arg5 = (long) 0 ;
22780 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22781 wxString *arg6 = (wxString *) &arg6_defvalue ;
22782 wxPyScrolledWindow *result = 0 ;
22783 void *argp1 = 0 ;
22784 int res1 = 0 ;
22785 int val2 ;
22786 int ecode2 = 0 ;
22787 wxPoint temp3 ;
22788 wxSize temp4 ;
22789 long val5 ;
22790 int ecode5 = 0 ;
22791 bool temp6 = false ;
22792 PyObject * obj0 = 0 ;
22793 PyObject * obj1 = 0 ;
22794 PyObject * obj2 = 0 ;
22795 PyObject * obj3 = 0 ;
22796 PyObject * obj4 = 0 ;
22797 PyObject * obj5 = 0 ;
22798 char * kwnames[] = {
22799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22800 };
22801
22802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22804 if (!SWIG_IsOK(res1)) {
22805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22806 }
22807 arg1 = reinterpret_cast< wxWindow * >(argp1);
22808 if (obj1) {
22809 ecode2 = SWIG_AsVal_int(obj1, &val2);
22810 if (!SWIG_IsOK(ecode2)) {
22811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22812 }
22813 arg2 = static_cast< int >(val2);
22814 }
22815 if (obj2) {
d55e5bfc 22816 {
1bd55598
RD
22817 arg3 = &temp3;
22818 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 22819 }
1bd55598
RD
22820 }
22821 if (obj3) {
d55e5bfc 22822 {
1bd55598
RD
22823 arg4 = &temp4;
22824 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 22825 }
1bd55598
RD
22826 }
22827 if (obj4) {
22828 ecode5 = SWIG_AsVal_long(obj4, &val5);
22829 if (!SWIG_IsOK(ecode5)) {
22830 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22831 }
22832 arg5 = static_cast< long >(val5);
22833 }
22834 if (obj5) {
d55e5bfc 22835 {
1bd55598
RD
22836 arg6 = wxString_in_helper(obj5);
22837 if (arg6 == NULL) SWIG_fail;
22838 temp6 = true;
d55e5bfc 22839 }
1bd55598
RD
22840 }
22841 {
22842 if (!wxPyCheckForApp()) SWIG_fail;
22843 PyThreadState* __tstate = wxPyBeginAllowThreads();
22844 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22845 wxPyEndAllowThreads(__tstate);
22846 if (PyErr_Occurred()) SWIG_fail;
22847 }
22848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22849 {
22850 if (temp6)
22851 delete arg6;
22852 }
22853 return resultobj;
22854fail:
22855 {
22856 if (temp6)
22857 delete arg6;
22858 }
22859 return NULL;
d55e5bfc
RD
22860}
22861
22862
1bd55598
RD
22863SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22864 PyObject *resultobj = 0;
22865 wxPyScrolledWindow *result = 0 ;
22866
22867 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22868 {
22869 if (!wxPyCheckForApp()) SWIG_fail;
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22876 return resultobj;
22877fail:
22878 return NULL;
22879}
22880
22881
22882SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22883 PyObject *resultobj = 0;
22884 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22885 PyObject *arg2 = (PyObject *) 0 ;
22886 PyObject *arg3 = (PyObject *) 0 ;
22887 void *argp1 = 0 ;
22888 int res1 = 0 ;
22889 PyObject * obj0 = 0 ;
22890 PyObject * obj1 = 0 ;
22891 PyObject * obj2 = 0 ;
22892 char * kwnames[] = {
22893 (char *) "self",(char *) "self",(char *) "_class", NULL
22894 };
22895
22896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22898 if (!SWIG_IsOK(res1)) {
22899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22900 }
22901 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22902 arg2 = obj1;
22903 arg3 = obj2;
22904 {
22905 PyThreadState* __tstate = wxPyBeginAllowThreads();
22906 (arg1)->_setCallbackInfo(arg2,arg3);
22907 wxPyEndAllowThreads(__tstate);
22908 if (PyErr_Occurred()) SWIG_fail;
22909 }
22910 resultobj = SWIG_Py_Void();
22911 return resultobj;
22912fail:
22913 return NULL;
22914}
22915
22916
22917SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22918 PyObject *resultobj = 0;
22919 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22920 wxSize *arg2 = 0 ;
22921 void *argp1 = 0 ;
22922 int res1 = 0 ;
22923 wxSize temp2 ;
22924 PyObject * obj0 = 0 ;
22925 PyObject * obj1 = 0 ;
22926 char * kwnames[] = {
22927 (char *) "self",(char *) "size", NULL
22928 };
22929
22930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22932 if (!SWIG_IsOK(res1)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22934 }
22935 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22936 {
22937 arg2 = &temp2;
22938 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22939 }
22940 {
22941 PyThreadState* __tstate = wxPyBeginAllowThreads();
22942 (arg1)->SetBestSize((wxSize const &)*arg2);
22943 wxPyEndAllowThreads(__tstate);
22944 if (PyErr_Occurred()) SWIG_fail;
22945 }
22946 resultobj = SWIG_Py_Void();
22947 return resultobj;
22948fail:
22949 return NULL;
22950}
22951
22952
22953SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22954 PyObject *resultobj = 0;
22955 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22956 wxDC *arg2 = (wxDC *) 0 ;
22957 bool result;
22958 void *argp1 = 0 ;
22959 int res1 = 0 ;
22960 void *argp2 = 0 ;
22961 int res2 = 0 ;
22962 PyObject * obj0 = 0 ;
22963 PyObject * obj1 = 0 ;
22964 char * kwnames[] = {
22965 (char *) "self",(char *) "dc", NULL
22966 };
22967
22968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22970 if (!SWIG_IsOK(res1)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22972 }
22973 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22974 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22975 if (!SWIG_IsOK(res2)) {
22976 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22977 }
22978 arg2 = reinterpret_cast< wxDC * >(argp2);
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (bool)(arg1)->DoEraseBackground(arg2);
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 {
22986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22987 }
22988 return resultobj;
22989fail:
22990 return NULL;
22991}
22992
22993
22994SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22995 PyObject *resultobj = 0;
22996 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22997 int arg2 ;
22998 int arg3 ;
22999 int arg4 ;
23000 int arg5 ;
23001 void *argp1 = 0 ;
23002 int res1 = 0 ;
23003 int val2 ;
23004 int ecode2 = 0 ;
23005 int val3 ;
23006 int ecode3 = 0 ;
23007 int val4 ;
23008 int ecode4 = 0 ;
23009 int val5 ;
23010 int ecode5 = 0 ;
23011 PyObject * obj0 = 0 ;
23012 PyObject * obj1 = 0 ;
23013 PyObject * obj2 = 0 ;
23014 PyObject * obj3 = 0 ;
23015 PyObject * obj4 = 0 ;
23016 char * kwnames[] = {
23017 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23018 };
23019
23020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23022 if (!SWIG_IsOK(res1)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23024 }
23025 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23026 ecode2 = SWIG_AsVal_int(obj1, &val2);
23027 if (!SWIG_IsOK(ecode2)) {
23028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23029 }
23030 arg2 = static_cast< int >(val2);
23031 ecode3 = SWIG_AsVal_int(obj2, &val3);
23032 if (!SWIG_IsOK(ecode3)) {
23033 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23034 }
23035 arg3 = static_cast< int >(val3);
23036 ecode4 = SWIG_AsVal_int(obj3, &val4);
23037 if (!SWIG_IsOK(ecode4)) {
23038 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23039 }
23040 arg4 = static_cast< int >(val4);
23041 ecode5 = SWIG_AsVal_int(obj4, &val5);
23042 if (!SWIG_IsOK(ecode5)) {
23043 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23044 }
23045 arg5 = static_cast< int >(val5);
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 resultobj = SWIG_Py_Void();
23053 return resultobj;
23054fail:
23055 return NULL;
23056}
23057
23058
23059SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23060 PyObject *resultobj = 0;
23061 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23062 int arg2 ;
23063 int arg3 ;
23064 int arg4 ;
23065 int arg5 ;
23066 int arg6 = (int) wxSIZE_AUTO ;
23067 void *argp1 = 0 ;
23068 int res1 = 0 ;
23069 int val2 ;
23070 int ecode2 = 0 ;
23071 int val3 ;
23072 int ecode3 = 0 ;
23073 int val4 ;
23074 int ecode4 = 0 ;
23075 int val5 ;
23076 int ecode5 = 0 ;
23077 int val6 ;
23078 int ecode6 = 0 ;
23079 PyObject * obj0 = 0 ;
23080 PyObject * obj1 = 0 ;
23081 PyObject * obj2 = 0 ;
23082 PyObject * obj3 = 0 ;
23083 PyObject * obj4 = 0 ;
23084 PyObject * obj5 = 0 ;
23085 char * kwnames[] = {
23086 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23087 };
23088
23089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23091 if (!SWIG_IsOK(res1)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23093 }
23094 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23095 ecode2 = SWIG_AsVal_int(obj1, &val2);
23096 if (!SWIG_IsOK(ecode2)) {
23097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23098 }
23099 arg2 = static_cast< int >(val2);
23100 ecode3 = SWIG_AsVal_int(obj2, &val3);
23101 if (!SWIG_IsOK(ecode3)) {
23102 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23103 }
23104 arg3 = static_cast< int >(val3);
23105 ecode4 = SWIG_AsVal_int(obj3, &val4);
23106 if (!SWIG_IsOK(ecode4)) {
23107 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23108 }
23109 arg4 = static_cast< int >(val4);
23110 ecode5 = SWIG_AsVal_int(obj4, &val5);
23111 if (!SWIG_IsOK(ecode5)) {
23112 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23113 }
23114 arg5 = static_cast< int >(val5);
23115 if (obj5) {
23116 ecode6 = SWIG_AsVal_int(obj5, &val6);
23117 if (!SWIG_IsOK(ecode6)) {
23118 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23119 }
23120 arg6 = static_cast< int >(val6);
23121 }
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23125 wxPyEndAllowThreads(__tstate);
23126 if (PyErr_Occurred()) SWIG_fail;
23127 }
23128 resultobj = SWIG_Py_Void();
23129 return resultobj;
23130fail:
23131 return NULL;
23132}
23133
23134
23135SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23136 PyObject *resultobj = 0;
23137 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23138 int arg2 ;
23139 int arg3 ;
23140 void *argp1 = 0 ;
23141 int res1 = 0 ;
23142 int val2 ;
23143 int ecode2 = 0 ;
23144 int val3 ;
23145 int ecode3 = 0 ;
23146 PyObject * obj0 = 0 ;
23147 PyObject * obj1 = 0 ;
23148 PyObject * obj2 = 0 ;
23149 char * kwnames[] = {
23150 (char *) "self",(char *) "width",(char *) "height", NULL
23151 };
23152
23153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23155 if (!SWIG_IsOK(res1)) {
23156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23157 }
23158 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23159 ecode2 = SWIG_AsVal_int(obj1, &val2);
23160 if (!SWIG_IsOK(ecode2)) {
23161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23162 }
23163 arg2 = static_cast< int >(val2);
23164 ecode3 = SWIG_AsVal_int(obj2, &val3);
23165 if (!SWIG_IsOK(ecode3)) {
23166 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23167 }
23168 arg3 = static_cast< int >(val3);
23169 {
23170 PyThreadState* __tstate = wxPyBeginAllowThreads();
23171 (arg1)->DoSetClientSize(arg2,arg3);
23172 wxPyEndAllowThreads(__tstate);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 resultobj = SWIG_Py_Void();
23176 return resultobj;
23177fail:
23178 return NULL;
23179}
23180
23181
23182SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23183 PyObject *resultobj = 0;
23184 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23185 int arg2 ;
23186 int arg3 ;
23187 void *argp1 = 0 ;
23188 int res1 = 0 ;
23189 int val2 ;
23190 int ecode2 = 0 ;
23191 int val3 ;
23192 int ecode3 = 0 ;
23193 PyObject * obj0 = 0 ;
23194 PyObject * obj1 = 0 ;
23195 PyObject * obj2 = 0 ;
23196 char * kwnames[] = {
23197 (char *) "self",(char *) "x",(char *) "y", NULL
23198 };
23199
23200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23202 if (!SWIG_IsOK(res1)) {
23203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23204 }
23205 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23206 ecode2 = SWIG_AsVal_int(obj1, &val2);
23207 if (!SWIG_IsOK(ecode2)) {
23208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23209 }
23210 arg2 = static_cast< int >(val2);
23211 ecode3 = SWIG_AsVal_int(obj2, &val3);
23212 if (!SWIG_IsOK(ecode3)) {
23213 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23214 }
23215 arg3 = static_cast< int >(val3);
23216 {
23217 PyThreadState* __tstate = wxPyBeginAllowThreads();
23218 (arg1)->DoSetVirtualSize(arg2,arg3);
23219 wxPyEndAllowThreads(__tstate);
23220 if (PyErr_Occurred()) SWIG_fail;
23221 }
23222 resultobj = SWIG_Py_Void();
23223 return resultobj;
23224fail:
23225 return NULL;
23226}
23227
23228
23229SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23230 PyObject *resultobj = 0;
23231 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23232 int *arg2 = (int *) 0 ;
23233 int *arg3 = (int *) 0 ;
23234 void *argp1 = 0 ;
23235 int res1 = 0 ;
23236 int temp2 ;
23237 int res2 = SWIG_TMPOBJ ;
23238 int temp3 ;
23239 int res3 = SWIG_TMPOBJ ;
23240 PyObject *swig_obj[1] ;
23241
23242 arg2 = &temp2;
23243 arg3 = &temp3;
23244 if (!args) SWIG_fail;
23245 swig_obj[0] = args;
23246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23247 if (!SWIG_IsOK(res1)) {
23248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23249 }
23250 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23251 {
23252 PyThreadState* __tstate = wxPyBeginAllowThreads();
23253 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23254 wxPyEndAllowThreads(__tstate);
23255 if (PyErr_Occurred()) SWIG_fail;
23256 }
23257 resultobj = SWIG_Py_Void();
23258 if (SWIG_IsTmpObj(res2)) {
23259 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23260 } else {
23261 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23262 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23263 }
23264 if (SWIG_IsTmpObj(res3)) {
23265 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23266 } else {
23267 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23268 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23269 }
23270 return resultobj;
23271fail:
23272 return NULL;
23273}
23274
23275
23276SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23277 PyObject *resultobj = 0;
23278 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23279 int *arg2 = (int *) 0 ;
23280 int *arg3 = (int *) 0 ;
23281 void *argp1 = 0 ;
23282 int res1 = 0 ;
23283 int temp2 ;
23284 int res2 = SWIG_TMPOBJ ;
23285 int temp3 ;
23286 int res3 = SWIG_TMPOBJ ;
23287 PyObject *swig_obj[1] ;
23288
23289 arg2 = &temp2;
23290 arg3 = &temp3;
23291 if (!args) SWIG_fail;
23292 swig_obj[0] = args;
23293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23294 if (!SWIG_IsOK(res1)) {
23295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23296 }
23297 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23298 {
23299 PyThreadState* __tstate = wxPyBeginAllowThreads();
23300 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 resultobj = SWIG_Py_Void();
23305 if (SWIG_IsTmpObj(res2)) {
23306 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23307 } else {
23308 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23309 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23310 }
23311 if (SWIG_IsTmpObj(res3)) {
23312 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23313 } else {
23314 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23315 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23316 }
23317 return resultobj;
23318fail:
23319 return NULL;
23320}
23321
23322
23323SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23324 PyObject *resultobj = 0;
23325 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23326 int *arg2 = (int *) 0 ;
23327 int *arg3 = (int *) 0 ;
23328 void *argp1 = 0 ;
23329 int res1 = 0 ;
23330 int temp2 ;
23331 int res2 = SWIG_TMPOBJ ;
23332 int temp3 ;
23333 int res3 = SWIG_TMPOBJ ;
23334 PyObject *swig_obj[1] ;
23335
23336 arg2 = &temp2;
23337 arg3 = &temp3;
23338 if (!args) SWIG_fail;
23339 swig_obj[0] = args;
23340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23341 if (!SWIG_IsOK(res1)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23343 }
23344 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23345 {
23346 PyThreadState* __tstate = wxPyBeginAllowThreads();
23347 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 resultobj = SWIG_Py_Void();
23352 if (SWIG_IsTmpObj(res2)) {
23353 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23354 } else {
23355 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23357 }
23358 if (SWIG_IsTmpObj(res3)) {
23359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23360 } else {
23361 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23362 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23363 }
23364 return resultobj;
23365fail:
23366 return NULL;
d55e5bfc
RD
23367}
23368
23369
1bd55598
RD
23370SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23371 PyObject *resultobj = 0;
23372 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23373 wxSize result;
23374 void *argp1 = 0 ;
23375 int res1 = 0 ;
23376 PyObject *swig_obj[1] ;
23377
23378 if (!args) SWIG_fail;
23379 swig_obj[0] = args;
23380 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23381 if (!SWIG_IsOK(res1)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23383 }
23384 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23388 wxPyEndAllowThreads(__tstate);
23389 if (PyErr_Occurred()) SWIG_fail;
23390 }
23391 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23392 return resultobj;
23393fail:
23394 return NULL;
d55e5bfc
RD
23395}
23396
23397
1bd55598
RD
23398SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23399 PyObject *resultobj = 0;
23400 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23401 wxSize result;
23402 void *argp1 = 0 ;
23403 int res1 = 0 ;
23404 PyObject *swig_obj[1] ;
23405
23406 if (!args) SWIG_fail;
23407 swig_obj[0] = args;
23408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23409 if (!SWIG_IsOK(res1)) {
23410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23411 }
23412 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23413 {
23414 PyThreadState* __tstate = wxPyBeginAllowThreads();
23415 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23416 wxPyEndAllowThreads(__tstate);
23417 if (PyErr_Occurred()) SWIG_fail;
23418 }
23419 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23420 return resultobj;
23421fail:
23422 return NULL;
d55e5bfc
RD
23423}
23424
23425
1bd55598
RD
23426SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23427 PyObject *resultobj = 0;
23428 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23429 SwigValueWrapper<wxVisualAttributes > result;
23430 void *argp1 = 0 ;
23431 int res1 = 0 ;
23432 PyObject *swig_obj[1] ;
23433
23434 if (!args) SWIG_fail;
23435 swig_obj[0] = args;
23436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23437 if (!SWIG_IsOK(res1)) {
23438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23439 }
23440 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 result = (arg1)->GetDefaultAttributes();
23444 wxPyEndAllowThreads(__tstate);
23445 if (PyErr_Occurred()) SWIG_fail;
23446 }
23447 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23448 return resultobj;
23449fail:
23450 return NULL;
d55e5bfc
RD
23451}
23452
23453
1bd55598
RD
23454SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23455 PyObject *resultobj = 0;
23456 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23457 void *argp1 = 0 ;
23458 int res1 = 0 ;
23459 PyObject *swig_obj[1] ;
23460
23461 if (!args) SWIG_fail;
23462 swig_obj[0] = args;
23463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23464 if (!SWIG_IsOK(res1)) {
23465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23466 }
23467 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23468 {
23469 PyThreadState* __tstate = wxPyBeginAllowThreads();
23470 (arg1)->OnInternalIdle();
23471 wxPyEndAllowThreads(__tstate);
23472 if (PyErr_Occurred()) SWIG_fail;
23473 }
23474 resultobj = SWIG_Py_Void();
23475 return resultobj;
23476fail:
23477 return NULL;
d55e5bfc
RD
23478}
23479
23480
1bd55598
RD
23481SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23482 PyObject *obj;
23483 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23484 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23485 return SWIG_Py_Void();
d55e5bfc
RD
23486}
23487
1bd55598
RD
23488SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23489 return SWIG_Python_InitShadowInstance(args);
23490}
d55e5bfc 23491
1bd55598
RD
23492SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23493 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23494 return 1;
d55e5bfc
RD
23495}
23496
23497
1bd55598
RD
23498SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23499 PyObject *pyobj = 0;
23500
23501 {
d55e5bfc 23502#if wxUSE_UNICODE
1bd55598 23503 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23504#else
1bd55598 23505 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
d55e5bfc 23506#endif
1bd55598
RD
23507 }
23508 return pyobj;
d55e5bfc
RD
23509}
23510
23511
1bd55598
RD
23512SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23513 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23514 return 1;
23515}
23516
23517
23518SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23519 PyObject *pyobj = 0;
23520
23521 {
d55e5bfc 23522#if wxUSE_UNICODE
1bd55598 23523 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23524#else
1bd55598 23525 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
d55e5bfc 23526#endif
1bd55598
RD
23527 }
23528 return pyobj;
d55e5bfc
RD
23529}
23530
23531
1bd55598
RD
23532SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23533 PyObject *resultobj = 0;
23534 wxPrintData *result = 0 ;
23535
23536 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23537 {
23538 PyThreadState* __tstate = wxPyBeginAllowThreads();
23539 result = (wxPrintData *)new wxPrintData();
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23544 return resultobj;
23545fail:
23546 return NULL;
d55e5bfc
RD
23547}
23548
23549
1bd55598
RD
23550SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23551 PyObject *resultobj = 0;
23552 wxPrintData *arg1 = 0 ;
23553 wxPrintData *result = 0 ;
23554 void *argp1 = 0 ;
23555 int res1 = 0 ;
23556
23557 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23559 if (!SWIG_IsOK(res1)) {
23560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23561 }
23562 if (!argp1) {
23563 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23564 }
23565 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23569 wxPyEndAllowThreads(__tstate);
23570 if (PyErr_Occurred()) SWIG_fail;
23571 }
23572 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23573 return resultobj;
23574fail:
23575 return NULL;
d55e5bfc
RD
23576}
23577
23578
1bd55598
RD
23579SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23580 int argc;
23581 PyObject *argv[2];
23582
23583 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23584 --argc;
23585 if (argc == 0) {
23586 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23587 }
23588 if (argc == 1) {
23589 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23590 }
23591
23592fail:
23593 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23594 return NULL;
d55e5bfc
RD
23595}
23596
23597
1bd55598
RD
23598SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23599 PyObject *resultobj = 0;
23600 wxPrintData *arg1 = (wxPrintData *) 0 ;
23601 void *argp1 = 0 ;
23602 int res1 = 0 ;
23603 PyObject *swig_obj[1] ;
23604
23605 if (!args) SWIG_fail;
23606 swig_obj[0] = args;
23607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23608 if (!SWIG_IsOK(res1)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23610 }
23611 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23612 {
23613 PyThreadState* __tstate = wxPyBeginAllowThreads();
23614 delete arg1;
d55e5bfc 23615
1bd55598
RD
23616 wxPyEndAllowThreads(__tstate);
23617 if (PyErr_Occurred()) SWIG_fail;
23618 }
23619 resultobj = SWIG_Py_Void();
23620 return resultobj;
23621fail:
23622 return NULL;
d55e5bfc
RD
23623}
23624
23625
1bd55598
RD
23626SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23627 PyObject *resultobj = 0;
23628 wxPrintData *arg1 = (wxPrintData *) 0 ;
23629 int result;
23630 void *argp1 = 0 ;
23631 int res1 = 0 ;
23632 PyObject *swig_obj[1] ;
23633
23634 if (!args) SWIG_fail;
23635 swig_obj[0] = args;
23636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23637 if (!SWIG_IsOK(res1)) {
23638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23639 }
23640 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = (int)(arg1)->GetNoCopies();
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 resultobj = SWIG_From_int(static_cast< int >(result));
23648 return resultobj;
23649fail:
23650 return NULL;
d55e5bfc
RD
23651}
23652
23653
1bd55598
RD
23654SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23655 PyObject *resultobj = 0;
23656 wxPrintData *arg1 = (wxPrintData *) 0 ;
23657 bool result;
23658 void *argp1 = 0 ;
23659 int res1 = 0 ;
23660 PyObject *swig_obj[1] ;
23661
23662 if (!args) SWIG_fail;
23663 swig_obj[0] = args;
23664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23665 if (!SWIG_IsOK(res1)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23667 }
23668 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 result = (bool)(arg1)->GetCollate();
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 {
23676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23677 }
23678 return resultobj;
23679fail:
23680 return NULL;
d55e5bfc
RD
23681}
23682
23683
1bd55598
RD
23684SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23685 PyObject *resultobj = 0;
23686 wxPrintData *arg1 = (wxPrintData *) 0 ;
23687 int result;
23688 void *argp1 = 0 ;
23689 int res1 = 0 ;
23690 PyObject *swig_obj[1] ;
23691
23692 if (!args) SWIG_fail;
23693 swig_obj[0] = args;
23694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23695 if (!SWIG_IsOK(res1)) {
23696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23697 }
23698 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23699 {
23700 PyThreadState* __tstate = wxPyBeginAllowThreads();
23701 result = (int)(arg1)->GetOrientation();
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 resultobj = SWIG_From_int(static_cast< int >(result));
23706 return resultobj;
23707fail:
23708 return NULL;
d55e5bfc
RD
23709}
23710
23711
1bd55598
RD
23712SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23713 PyObject *resultobj = 0;
23714 wxPrintData *arg1 = (wxPrintData *) 0 ;
23715 bool result;
23716 void *argp1 = 0 ;
23717 int res1 = 0 ;
23718 PyObject *swig_obj[1] ;
23719
23720 if (!args) SWIG_fail;
23721 swig_obj[0] = args;
23722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23723 if (!SWIG_IsOK(res1)) {
23724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23725 }
23726 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23727 {
23728 PyThreadState* __tstate = wxPyBeginAllowThreads();
23729 result = (bool)(arg1)->Ok();
23730 wxPyEndAllowThreads(__tstate);
23731 if (PyErr_Occurred()) SWIG_fail;
23732 }
23733 {
23734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23735 }
23736 return resultobj;
23737fail:
23738 return NULL;
d55e5bfc
RD
23739}
23740
23741
1bd55598
RD
23742SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23743 PyObject *resultobj = 0;
23744 wxPrintData *arg1 = (wxPrintData *) 0 ;
23745 wxString *result = 0 ;
23746 void *argp1 = 0 ;
23747 int res1 = 0 ;
23748 PyObject *swig_obj[1] ;
23749
23750 if (!args) SWIG_fail;
23751 swig_obj[0] = args;
23752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23753 if (!SWIG_IsOK(res1)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23755 }
23756 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 23759 {
1bd55598
RD
23760 wxString const &_result_ref = (arg1)->GetPrinterName();
23761 result = (wxString *) &_result_ref;
d55e5bfc 23762 }
1bd55598
RD
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 {
d55e5bfc 23767#if wxUSE_UNICODE
1bd55598 23768 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d55e5bfc 23769#else
1bd55598 23770 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d55e5bfc 23771#endif
1bd55598
RD
23772 }
23773 return resultobj;
23774fail:
23775 return NULL;
d55e5bfc
RD
23776}
23777
23778
1bd55598
RD
23779SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23780 PyObject *resultobj = 0;
23781 wxPrintData *arg1 = (wxPrintData *) 0 ;
23782 bool result;
23783 void *argp1 = 0 ;
23784 int res1 = 0 ;
23785 PyObject *swig_obj[1] ;
23786
23787 if (!args) SWIG_fail;
23788 swig_obj[0] = args;
23789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23790 if (!SWIG_IsOK(res1)) {
23791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23792 }
23793 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23794 {
23795 PyThreadState* __tstate = wxPyBeginAllowThreads();
23796 result = (bool)(arg1)->GetColour();
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 {
23801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23802 }
23803 return resultobj;
23804fail:
23805 return NULL;
d55e5bfc
RD
23806}
23807
23808
1bd55598
RD
23809SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23810 PyObject *resultobj = 0;
23811 wxPrintData *arg1 = (wxPrintData *) 0 ;
23812 wxDuplexMode result;
23813 void *argp1 = 0 ;
23814 int res1 = 0 ;
23815 PyObject *swig_obj[1] ;
23816
23817 if (!args) SWIG_fail;
23818 swig_obj[0] = args;
23819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23820 if (!SWIG_IsOK(res1)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23822 }
23823 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23824 {
23825 PyThreadState* __tstate = wxPyBeginAllowThreads();
23826 result = (wxDuplexMode)(arg1)->GetDuplex();
23827 wxPyEndAllowThreads(__tstate);
23828 if (PyErr_Occurred()) SWIG_fail;
23829 }
23830 resultobj = SWIG_From_int(static_cast< int >(result));
23831 return resultobj;
23832fail:
23833 return NULL;
d55e5bfc
RD
23834}
23835
23836
1bd55598
RD
23837SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23838 PyObject *resultobj = 0;
23839 wxPrintData *arg1 = (wxPrintData *) 0 ;
23840 wxPaperSize result;
23841 void *argp1 = 0 ;
23842 int res1 = 0 ;
23843 PyObject *swig_obj[1] ;
23844
23845 if (!args) SWIG_fail;
23846 swig_obj[0] = args;
23847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23848 if (!SWIG_IsOK(res1)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23850 }
23851 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23852 {
23853 PyThreadState* __tstate = wxPyBeginAllowThreads();
23854 result = (wxPaperSize)(arg1)->GetPaperId();
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 resultobj = SWIG_From_int(static_cast< int >(result));
23859 return resultobj;
23860fail:
23861 return NULL;
070c48b4
RD
23862}
23863
23864
1bd55598
RD
23865SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23866 PyObject *resultobj = 0;
23867 wxPrintData *arg1 = (wxPrintData *) 0 ;
23868 wxSize *result = 0 ;
23869 void *argp1 = 0 ;
23870 int res1 = 0 ;
23871 PyObject *swig_obj[1] ;
23872
23873 if (!args) SWIG_fail;
23874 swig_obj[0] = args;
23875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23876 if (!SWIG_IsOK(res1)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23878 }
23879 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23880 {
23881 PyThreadState* __tstate = wxPyBeginAllowThreads();
070c48b4 23882 {
1bd55598
RD
23883 wxSize const &_result_ref = (arg1)->GetPaperSize();
23884 result = (wxSize *) &_result_ref;
070c48b4 23885 }
1bd55598
RD
23886 wxPyEndAllowThreads(__tstate);
23887 if (PyErr_Occurred()) SWIG_fail;
23888 }
23889 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23890 return resultobj;
23891fail:
23892 return NULL;
d55e5bfc
RD
23893}
23894
23895
1bd55598
RD
23896SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23897 PyObject *resultobj = 0;
23898 wxPrintData *arg1 = (wxPrintData *) 0 ;
23899 int result;
23900 void *argp1 = 0 ;
23901 int res1 = 0 ;
23902 PyObject *swig_obj[1] ;
23903
23904 if (!args) SWIG_fail;
23905 swig_obj[0] = args;
23906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23907 if (!SWIG_IsOK(res1)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23909 }
23910 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (int)(arg1)->GetQuality();
23914 wxPyEndAllowThreads(__tstate);
23915 if (PyErr_Occurred()) SWIG_fail;
23916 }
23917 resultobj = SWIG_From_int(static_cast< int >(result));
23918 return resultobj;
23919fail:
23920 return NULL;
d55e5bfc
RD
23921}
23922
23923
1bd55598
RD
23924SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23925 PyObject *resultobj = 0;
23926 wxPrintData *arg1 = (wxPrintData *) 0 ;
23927 wxPrintBin result;
23928 void *argp1 = 0 ;
23929 int res1 = 0 ;
23930 PyObject *swig_obj[1] ;
23931
23932 if (!args) SWIG_fail;
23933 swig_obj[0] = args;
23934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23935 if (!SWIG_IsOK(res1)) {
23936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23937 }
23938 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23939 {
23940 PyThreadState* __tstate = wxPyBeginAllowThreads();
23941 result = (wxPrintBin)(arg1)->GetBin();
23942 wxPyEndAllowThreads(__tstate);
23943 if (PyErr_Occurred()) SWIG_fail;
23944 }
23945 resultobj = SWIG_From_int(static_cast< int >(result));
23946 return resultobj;
23947fail:
23948 return NULL;
d55e5bfc
RD
23949}
23950
23951
1bd55598
RD
23952SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23953 PyObject *resultobj = 0;
23954 wxPrintData *arg1 = (wxPrintData *) 0 ;
23955 wxPrintMode result;
23956 void *argp1 = 0 ;
23957 int res1 = 0 ;
23958 PyObject *swig_obj[1] ;
23959
23960 if (!args) SWIG_fail;
23961 swig_obj[0] = args;
23962 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23963 if (!SWIG_IsOK(res1)) {
23964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23965 }
23966 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23967 {
23968 PyThreadState* __tstate = wxPyBeginAllowThreads();
23969 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23970 wxPyEndAllowThreads(__tstate);
23971 if (PyErr_Occurred()) SWIG_fail;
23972 }
23973 resultobj = SWIG_From_int(static_cast< int >(result));
23974 return resultobj;
23975fail:
23976 return NULL;
23977}
23978
23979
23980SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23981 PyObject *resultobj = 0;
23982 wxPrintData *arg1 = (wxPrintData *) 0 ;
23983 int arg2 ;
23984 void *argp1 = 0 ;
23985 int res1 = 0 ;
23986 int val2 ;
23987 int ecode2 = 0 ;
23988 PyObject * obj0 = 0 ;
23989 PyObject * obj1 = 0 ;
23990 char * kwnames[] = {
23991 (char *) "self",(char *) "v", NULL
23992 };
23993
23994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23996 if (!SWIG_IsOK(res1)) {
23997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23998 }
23999 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24000 ecode2 = SWIG_AsVal_int(obj1, &val2);
24001 if (!SWIG_IsOK(ecode2)) {
24002 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24003 }
24004 arg2 = static_cast< int >(val2);
24005 {
24006 PyThreadState* __tstate = wxPyBeginAllowThreads();
24007 (arg1)->SetNoCopies(arg2);
24008 wxPyEndAllowThreads(__tstate);
24009 if (PyErr_Occurred()) SWIG_fail;
24010 }
24011 resultobj = SWIG_Py_Void();
24012 return resultobj;
24013fail:
24014 return NULL;
24015}
24016
24017
24018SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj = 0;
24020 wxPrintData *arg1 = (wxPrintData *) 0 ;
24021 bool arg2 ;
24022 void *argp1 = 0 ;
24023 int res1 = 0 ;
24024 bool val2 ;
24025 int ecode2 = 0 ;
24026 PyObject * obj0 = 0 ;
24027 PyObject * obj1 = 0 ;
24028 char * kwnames[] = {
24029 (char *) "self",(char *) "flag", NULL
24030 };
24031
24032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24034 if (!SWIG_IsOK(res1)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24036 }
24037 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24038 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24039 if (!SWIG_IsOK(ecode2)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24041 }
24042 arg2 = static_cast< bool >(val2);
24043 {
24044 PyThreadState* __tstate = wxPyBeginAllowThreads();
24045 (arg1)->SetCollate(arg2);
24046 wxPyEndAllowThreads(__tstate);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 }
24049 resultobj = SWIG_Py_Void();
24050 return resultobj;
24051fail:
24052 return NULL;
24053}
24054
24055
24056SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24057 PyObject *resultobj = 0;
24058 wxPrintData *arg1 = (wxPrintData *) 0 ;
24059 int arg2 ;
24060 void *argp1 = 0 ;
24061 int res1 = 0 ;
24062 int val2 ;
24063 int ecode2 = 0 ;
24064 PyObject * obj0 = 0 ;
24065 PyObject * obj1 = 0 ;
24066 char * kwnames[] = {
24067 (char *) "self",(char *) "orient", NULL
24068 };
24069
24070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24072 if (!SWIG_IsOK(res1)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24074 }
24075 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24076 ecode2 = SWIG_AsVal_int(obj1, &val2);
24077 if (!SWIG_IsOK(ecode2)) {
24078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24079 }
24080 arg2 = static_cast< int >(val2);
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 (arg1)->SetOrientation(arg2);
24084 wxPyEndAllowThreads(__tstate);
24085 if (PyErr_Occurred()) SWIG_fail;
24086 }
24087 resultobj = SWIG_Py_Void();
24088 return resultobj;
24089fail:
24090 return NULL;
24091}
24092
24093
24094SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24095 PyObject *resultobj = 0;
24096 wxPrintData *arg1 = (wxPrintData *) 0 ;
24097 wxString *arg2 = 0 ;
24098 void *argp1 = 0 ;
24099 int res1 = 0 ;
24100 bool temp2 = false ;
24101 PyObject * obj0 = 0 ;
24102 PyObject * obj1 = 0 ;
24103 char * kwnames[] = {
24104 (char *) "self",(char *) "name", NULL
24105 };
24106
24107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24109 if (!SWIG_IsOK(res1)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24111 }
24112 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24113 {
24114 arg2 = wxString_in_helper(obj1);
24115 if (arg2 == NULL) SWIG_fail;
24116 temp2 = true;
24117 }
24118 {
24119 PyThreadState* __tstate = wxPyBeginAllowThreads();
24120 (arg1)->SetPrinterName((wxString const &)*arg2);
24121 wxPyEndAllowThreads(__tstate);
24122 if (PyErr_Occurred()) SWIG_fail;
24123 }
24124 resultobj = SWIG_Py_Void();
24125 {
24126 if (temp2)
24127 delete arg2;
24128 }
24129 return resultobj;
24130fail:
24131 {
24132 if (temp2)
24133 delete arg2;
24134 }
24135 return NULL;
24136}
24137
24138
24139SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24140 PyObject *resultobj = 0;
24141 wxPrintData *arg1 = (wxPrintData *) 0 ;
24142 bool arg2 ;
24143 void *argp1 = 0 ;
24144 int res1 = 0 ;
24145 bool val2 ;
24146 int ecode2 = 0 ;
24147 PyObject * obj0 = 0 ;
24148 PyObject * obj1 = 0 ;
24149 char * kwnames[] = {
24150 (char *) "self",(char *) "colour", NULL
24151 };
24152
24153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24155 if (!SWIG_IsOK(res1)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24157 }
24158 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24159 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24160 if (!SWIG_IsOK(ecode2)) {
24161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24162 }
24163 arg2 = static_cast< bool >(val2);
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 (arg1)->SetColour(arg2);
24167 wxPyEndAllowThreads(__tstate);
24168 if (PyErr_Occurred()) SWIG_fail;
24169 }
24170 resultobj = SWIG_Py_Void();
24171 return resultobj;
24172fail:
24173 return NULL;
24174}
24175
24176
24177SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24178 PyObject *resultobj = 0;
24179 wxPrintData *arg1 = (wxPrintData *) 0 ;
24180 wxDuplexMode arg2 ;
24181 void *argp1 = 0 ;
24182 int res1 = 0 ;
24183 int val2 ;
24184 int ecode2 = 0 ;
24185 PyObject * obj0 = 0 ;
24186 PyObject * obj1 = 0 ;
24187 char * kwnames[] = {
24188 (char *) "self",(char *) "duplex", NULL
24189 };
24190
24191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24193 if (!SWIG_IsOK(res1)) {
24194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24195 }
24196 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24197 ecode2 = SWIG_AsVal_int(obj1, &val2);
24198 if (!SWIG_IsOK(ecode2)) {
24199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24200 }
24201 arg2 = static_cast< wxDuplexMode >(val2);
24202 {
24203 PyThreadState* __tstate = wxPyBeginAllowThreads();
24204 (arg1)->SetDuplex(arg2);
24205 wxPyEndAllowThreads(__tstate);
24206 if (PyErr_Occurred()) SWIG_fail;
24207 }
24208 resultobj = SWIG_Py_Void();
24209 return resultobj;
24210fail:
24211 return NULL;
24212}
24213
24214
24215SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24216 PyObject *resultobj = 0;
24217 wxPrintData *arg1 = (wxPrintData *) 0 ;
24218 wxPaperSize arg2 ;
24219 void *argp1 = 0 ;
24220 int res1 = 0 ;
24221 int val2 ;
24222 int ecode2 = 0 ;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 char * kwnames[] = {
24226 (char *) "self",(char *) "sizeId", NULL
24227 };
24228
24229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24231 if (!SWIG_IsOK(res1)) {
24232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24233 }
24234 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24235 ecode2 = SWIG_AsVal_int(obj1, &val2);
24236 if (!SWIG_IsOK(ecode2)) {
24237 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24238 }
24239 arg2 = static_cast< wxPaperSize >(val2);
24240 {
24241 PyThreadState* __tstate = wxPyBeginAllowThreads();
24242 (arg1)->SetPaperId(arg2);
24243 wxPyEndAllowThreads(__tstate);
24244 if (PyErr_Occurred()) SWIG_fail;
24245 }
24246 resultobj = SWIG_Py_Void();
24247 return resultobj;
24248fail:
24249 return NULL;
24250}
24251
24252
24253SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24254 PyObject *resultobj = 0;
24255 wxPrintData *arg1 = (wxPrintData *) 0 ;
24256 wxSize *arg2 = 0 ;
24257 void *argp1 = 0 ;
24258 int res1 = 0 ;
24259 wxSize temp2 ;
24260 PyObject * obj0 = 0 ;
24261 PyObject * obj1 = 0 ;
24262 char * kwnames[] = {
24263 (char *) "self",(char *) "sz", NULL
24264 };
24265
24266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24268 if (!SWIG_IsOK(res1)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24270 }
24271 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24272 {
24273 arg2 = &temp2;
24274 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24275 }
24276 {
24277 PyThreadState* __tstate = wxPyBeginAllowThreads();
24278 (arg1)->SetPaperSize((wxSize const &)*arg2);
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 resultobj = SWIG_Py_Void();
24283 return resultobj;
24284fail:
24285 return NULL;
24286}
24287
24288
24289SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24290 PyObject *resultobj = 0;
24291 wxPrintData *arg1 = (wxPrintData *) 0 ;
24292 int arg2 ;
24293 void *argp1 = 0 ;
24294 int res1 = 0 ;
24295 int val2 ;
24296 int ecode2 = 0 ;
24297 PyObject * obj0 = 0 ;
24298 PyObject * obj1 = 0 ;
24299 char * kwnames[] = {
24300 (char *) "self",(char *) "quality", NULL
24301 };
24302
24303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24305 if (!SWIG_IsOK(res1)) {
24306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24307 }
24308 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24309 ecode2 = SWIG_AsVal_int(obj1, &val2);
24310 if (!SWIG_IsOK(ecode2)) {
24311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24312 }
24313 arg2 = static_cast< int >(val2);
24314 {
24315 PyThreadState* __tstate = wxPyBeginAllowThreads();
24316 (arg1)->SetQuality(arg2);
24317 wxPyEndAllowThreads(__tstate);
24318 if (PyErr_Occurred()) SWIG_fail;
24319 }
24320 resultobj = SWIG_Py_Void();
24321 return resultobj;
24322fail:
24323 return NULL;
24324}
24325
24326
24327SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24328 PyObject *resultobj = 0;
24329 wxPrintData *arg1 = (wxPrintData *) 0 ;
24330 wxPrintBin arg2 ;
24331 void *argp1 = 0 ;
24332 int res1 = 0 ;
24333 int val2 ;
24334 int ecode2 = 0 ;
24335 PyObject * obj0 = 0 ;
24336 PyObject * obj1 = 0 ;
24337 char * kwnames[] = {
24338 (char *) "self",(char *) "bin", NULL
24339 };
24340
24341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24343 if (!SWIG_IsOK(res1)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24345 }
24346 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24347 ecode2 = SWIG_AsVal_int(obj1, &val2);
24348 if (!SWIG_IsOK(ecode2)) {
24349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24350 }
24351 arg2 = static_cast< wxPrintBin >(val2);
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 (arg1)->SetBin(arg2);
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 resultobj = SWIG_Py_Void();
24359 return resultobj;
24360fail:
24361 return NULL;
24362}
24363
24364
24365SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj = 0;
24367 wxPrintData *arg1 = (wxPrintData *) 0 ;
24368 wxPrintMode arg2 ;
24369 void *argp1 = 0 ;
24370 int res1 = 0 ;
24371 int val2 ;
24372 int ecode2 = 0 ;
24373 PyObject * obj0 = 0 ;
24374 PyObject * obj1 = 0 ;
24375 char * kwnames[] = {
24376 (char *) "self",(char *) "printMode", NULL
24377 };
24378
24379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24381 if (!SWIG_IsOK(res1)) {
24382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24383 }
24384 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24385 ecode2 = SWIG_AsVal_int(obj1, &val2);
24386 if (!SWIG_IsOK(ecode2)) {
24387 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24388 }
24389 arg2 = static_cast< wxPrintMode >(val2);
24390 {
24391 PyThreadState* __tstate = wxPyBeginAllowThreads();
24392 (arg1)->SetPrintMode(arg2);
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 resultobj = SWIG_Py_Void();
24397 return resultobj;
24398fail:
24399 return NULL;
24400}
d55e5bfc
RD
24401
24402
1bd55598
RD
24403SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24404 PyObject *resultobj = 0;
24405 wxPrintData *arg1 = (wxPrintData *) 0 ;
24406 wxString result;
24407 void *argp1 = 0 ;
24408 int res1 = 0 ;
24409 PyObject *swig_obj[1] ;
24410
24411 if (!args) SWIG_fail;
24412 swig_obj[0] = args;
24413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24414 if (!SWIG_IsOK(res1)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24416 }
24417 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 result = ((wxPrintData const *)arg1)->GetFilename();
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 {
24425#if wxUSE_UNICODE
24426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24427#else
24428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24429#endif
24430 }
24431 return resultobj;
24432fail:
24433 return NULL;
24434}
24435
24436
24437SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj = 0;
24439 wxPrintData *arg1 = (wxPrintData *) 0 ;
24440 wxString *arg2 = 0 ;
24441 void *argp1 = 0 ;
24442 int res1 = 0 ;
24443 bool temp2 = false ;
24444 PyObject * obj0 = 0 ;
24445 PyObject * obj1 = 0 ;
24446 char * kwnames[] = {
24447 (char *) "self",(char *) "filename", NULL
24448 };
24449
24450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24452 if (!SWIG_IsOK(res1)) {
24453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24454 }
24455 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24456 {
24457 arg2 = wxString_in_helper(obj1);
24458 if (arg2 == NULL) SWIG_fail;
24459 temp2 = true;
24460 }
24461 {
24462 PyThreadState* __tstate = wxPyBeginAllowThreads();
24463 (arg1)->SetFilename((wxString const &)*arg2);
24464 wxPyEndAllowThreads(__tstate);
24465 if (PyErr_Occurred()) SWIG_fail;
24466 }
24467 resultobj = SWIG_Py_Void();
24468 {
24469 if (temp2)
24470 delete arg2;
24471 }
24472 return resultobj;
24473fail:
24474 {
24475 if (temp2)
24476 delete arg2;
24477 }
24478 return NULL;
d55e5bfc
RD
24479}
24480
24481
1bd55598
RD
24482SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24483 PyObject *resultobj = 0;
24484 wxPrintData *arg1 = (wxPrintData *) 0 ;
24485 PyObject *result = 0 ;
24486 void *argp1 = 0 ;
24487 int res1 = 0 ;
24488 PyObject *swig_obj[1] ;
24489
24490 if (!args) SWIG_fail;
24491 swig_obj[0] = args;
24492 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24493 if (!SWIG_IsOK(res1)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24495 }
24496 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24497 {
24498 PyThreadState* __tstate = wxPyBeginAllowThreads();
24499 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24500 wxPyEndAllowThreads(__tstate);
24501 if (PyErr_Occurred()) SWIG_fail;
24502 }
24503 resultobj = result;
24504 return resultobj;
24505fail:
24506 return NULL;
24507}
24508
24509
24510SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24511 PyObject *resultobj = 0;
24512 wxPrintData *arg1 = (wxPrintData *) 0 ;
24513 PyObject *arg2 = (PyObject *) 0 ;
24514 void *argp1 = 0 ;
24515 int res1 = 0 ;
24516 PyObject * obj0 = 0 ;
24517 PyObject * obj1 = 0 ;
24518 char * kwnames[] = {
24519 (char *) "self",(char *) "data", NULL
24520 };
24521
24522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24524 if (!SWIG_IsOK(res1)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24526 }
24527 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24528 arg2 = obj1;
24529 {
24530 PyThreadState* __tstate = wxPyBeginAllowThreads();
24531 wxPrintData_SetPrivData(arg1,arg2);
24532 wxPyEndAllowThreads(__tstate);
24533 if (PyErr_Occurred()) SWIG_fail;
24534 }
24535 resultobj = SWIG_Py_Void();
24536 return resultobj;
24537fail:
24538 return NULL;
d55e5bfc
RD
24539}
24540
24541
1bd55598
RD
24542SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24543 PyObject *obj;
24544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24546 return SWIG_Py_Void();
d55e5bfc
RD
24547}
24548
1bd55598
RD
24549SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24550 return SWIG_Python_InitShadowInstance(args);
24551}
d55e5bfc 24552
1bd55598
RD
24553SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24554 PyObject *resultobj = 0;
24555 wxPageSetupDialogData *result = 0 ;
24556
24557 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24558 {
24559 PyThreadState* __tstate = wxPyBeginAllowThreads();
24560 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24565 return resultobj;
24566fail:
24567 return NULL;
d55e5bfc
RD
24568}
24569
24570
1bd55598
RD
24571SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24572 PyObject *resultobj = 0;
24573 wxPageSetupDialogData *arg1 = 0 ;
24574 wxPageSetupDialogData *result = 0 ;
24575 void *argp1 = 0 ;
24576 int res1 = 0 ;
24577
24578 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24580 if (!SWIG_IsOK(res1)) {
24581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24582 }
24583 if (!argp1) {
24584 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24585 }
24586 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24587 {
24588 PyThreadState* __tstate = wxPyBeginAllowThreads();
24589 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24590 wxPyEndAllowThreads(__tstate);
24591 if (PyErr_Occurred()) SWIG_fail;
24592 }
24593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24594 return resultobj;
24595fail:
24596 return NULL;
d55e5bfc
RD
24597}
24598
24599
1bd55598
RD
24600SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24601 PyObject *resultobj = 0;
24602 wxPrintData *arg1 = 0 ;
24603 wxPageSetupDialogData *result = 0 ;
24604 void *argp1 = 0 ;
24605 int res1 = 0 ;
24606
24607 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24609 if (!SWIG_IsOK(res1)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24611 }
24612 if (!argp1) {
24613 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24614 }
24615 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24616 {
24617 PyThreadState* __tstate = wxPyBeginAllowThreads();
24618 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24619 wxPyEndAllowThreads(__tstate);
24620 if (PyErr_Occurred()) SWIG_fail;
24621 }
24622 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24623 return resultobj;
24624fail:
24625 return NULL;
d55e5bfc
RD
24626}
24627
24628
1bd55598
RD
24629SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24630 int argc;
24631 PyObject *argv[2];
24632
24633 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24634 --argc;
24635 if (argc == 0) {
24636 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24637 }
24638 if (argc == 1) {
24639 int _v = 0;
36ed4f51 24640 {
1bd55598
RD
24641 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24642 _v = SWIG_CheckState(res);
d55e5bfc 24643 }
1bd55598
RD
24644 if (!_v) goto check_2;
24645 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24646 }
24647check_2:
24648
24649 if (argc == 1) {
24650 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24651 }
24652
24653fail:
24654 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24655 return NULL;
d55e5bfc
RD
24656}
24657
24658
1bd55598
RD
24659SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24660 PyObject *resultobj = 0;
24661 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24662 void *argp1 = 0 ;
24663 int res1 = 0 ;
24664 PyObject *swig_obj[1] ;
24665
24666 if (!args) SWIG_fail;
24667 swig_obj[0] = args;
24668 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24669 if (!SWIG_IsOK(res1)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24671 }
24672 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24673 {
24674 PyThreadState* __tstate = wxPyBeginAllowThreads();
24675 delete arg1;
d55e5bfc 24676
1bd55598
RD
24677 wxPyEndAllowThreads(__tstate);
24678 if (PyErr_Occurred()) SWIG_fail;
24679 }
24680 resultobj = SWIG_Py_Void();
24681 return resultobj;
24682fail:
24683 return NULL;
24684}
24685
24686
24687SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24688 PyObject *resultobj = 0;
24689 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24690 bool arg2 ;
24691 void *argp1 = 0 ;
24692 int res1 = 0 ;
24693 bool val2 ;
24694 int ecode2 = 0 ;
24695 PyObject * obj0 = 0 ;
24696 PyObject * obj1 = 0 ;
24697 char * kwnames[] = {
24698 (char *) "self",(char *) "flag", NULL
24699 };
24700
24701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24703 if (!SWIG_IsOK(res1)) {
24704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24705 }
24706 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24707 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24708 if (!SWIG_IsOK(ecode2)) {
24709 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24710 }
24711 arg2 = static_cast< bool >(val2);
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 (arg1)->EnableHelp(arg2);
24715 wxPyEndAllowThreads(__tstate);
24716 if (PyErr_Occurred()) SWIG_fail;
24717 }
24718 resultobj = SWIG_Py_Void();
24719 return resultobj;
24720fail:
24721 return NULL;
24722}
24723
24724
24725SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24726 PyObject *resultobj = 0;
24727 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24728 bool arg2 ;
24729 void *argp1 = 0 ;
24730 int res1 = 0 ;
24731 bool val2 ;
24732 int ecode2 = 0 ;
24733 PyObject * obj0 = 0 ;
24734 PyObject * obj1 = 0 ;
24735 char * kwnames[] = {
24736 (char *) "self",(char *) "flag", NULL
24737 };
24738
24739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24741 if (!SWIG_IsOK(res1)) {
24742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24743 }
24744 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24745 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24746 if (!SWIG_IsOK(ecode2)) {
24747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24748 }
24749 arg2 = static_cast< bool >(val2);
24750 {
24751 PyThreadState* __tstate = wxPyBeginAllowThreads();
24752 (arg1)->EnableMargins(arg2);
24753 wxPyEndAllowThreads(__tstate);
24754 if (PyErr_Occurred()) SWIG_fail;
24755 }
24756 resultobj = SWIG_Py_Void();
24757 return resultobj;
24758fail:
24759 return NULL;
24760}
24761
24762
24763SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24764 PyObject *resultobj = 0;
24765 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24766 bool arg2 ;
24767 void *argp1 = 0 ;
24768 int res1 = 0 ;
24769 bool val2 ;
24770 int ecode2 = 0 ;
24771 PyObject * obj0 = 0 ;
24772 PyObject * obj1 = 0 ;
24773 char * kwnames[] = {
24774 (char *) "self",(char *) "flag", NULL
24775 };
24776
24777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24779 if (!SWIG_IsOK(res1)) {
24780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24781 }
24782 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24783 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24784 if (!SWIG_IsOK(ecode2)) {
24785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24786 }
24787 arg2 = static_cast< bool >(val2);
24788 {
24789 PyThreadState* __tstate = wxPyBeginAllowThreads();
24790 (arg1)->EnableOrientation(arg2);
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 resultobj = SWIG_Py_Void();
24795 return resultobj;
24796fail:
24797 return NULL;
24798}
24799
24800
24801SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24802 PyObject *resultobj = 0;
24803 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24804 bool arg2 ;
24805 void *argp1 = 0 ;
24806 int res1 = 0 ;
24807 bool val2 ;
24808 int ecode2 = 0 ;
24809 PyObject * obj0 = 0 ;
24810 PyObject * obj1 = 0 ;
24811 char * kwnames[] = {
24812 (char *) "self",(char *) "flag", NULL
24813 };
24814
24815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24817 if (!SWIG_IsOK(res1)) {
24818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24819 }
24820 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24821 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24822 if (!SWIG_IsOK(ecode2)) {
24823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24824 }
24825 arg2 = static_cast< bool >(val2);
24826 {
24827 PyThreadState* __tstate = wxPyBeginAllowThreads();
24828 (arg1)->EnablePaper(arg2);
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 resultobj = SWIG_Py_Void();
24833 return resultobj;
24834fail:
24835 return NULL;
24836}
24837
24838
24839SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24840 PyObject *resultobj = 0;
24841 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24842 bool arg2 ;
24843 void *argp1 = 0 ;
24844 int res1 = 0 ;
24845 bool val2 ;
24846 int ecode2 = 0 ;
24847 PyObject * obj0 = 0 ;
24848 PyObject * obj1 = 0 ;
24849 char * kwnames[] = {
24850 (char *) "self",(char *) "flag", NULL
24851 };
24852
24853 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24854 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24855 if (!SWIG_IsOK(res1)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24857 }
24858 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24859 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24860 if (!SWIG_IsOK(ecode2)) {
24861 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24862 }
24863 arg2 = static_cast< bool >(val2);
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 (arg1)->EnablePrinter(arg2);
24867 wxPyEndAllowThreads(__tstate);
24868 if (PyErr_Occurred()) SWIG_fail;
24869 }
24870 resultobj = SWIG_Py_Void();
24871 return resultobj;
24872fail:
24873 return NULL;
d55e5bfc
RD
24874}
24875
24876
1bd55598
RD
24877SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24878 PyObject *resultobj = 0;
24879 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24880 bool result;
24881 void *argp1 = 0 ;
24882 int res1 = 0 ;
24883 PyObject *swig_obj[1] ;
24884
24885 if (!args) SWIG_fail;
24886 swig_obj[0] = args;
24887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24888 if (!SWIG_IsOK(res1)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24890 }
24891 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24892 {
24893 PyThreadState* __tstate = wxPyBeginAllowThreads();
24894 result = (bool)(arg1)->GetDefaultMinMargins();
24895 wxPyEndAllowThreads(__tstate);
24896 if (PyErr_Occurred()) SWIG_fail;
24897 }
24898 {
24899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24900 }
24901 return resultobj;
24902fail:
24903 return NULL;
d55e5bfc
RD
24904}
24905
24906
1bd55598
RD
24907SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24908 PyObject *resultobj = 0;
24909 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24910 bool result;
24911 void *argp1 = 0 ;
24912 int res1 = 0 ;
24913 PyObject *swig_obj[1] ;
24914
24915 if (!args) SWIG_fail;
24916 swig_obj[0] = args;
24917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24918 if (!SWIG_IsOK(res1)) {
24919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24920 }
24921 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24922 {
24923 PyThreadState* __tstate = wxPyBeginAllowThreads();
24924 result = (bool)(arg1)->GetEnableMargins();
24925 wxPyEndAllowThreads(__tstate);
24926 if (PyErr_Occurred()) SWIG_fail;
24927 }
24928 {
24929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24930 }
24931 return resultobj;
24932fail:
24933 return NULL;
d55e5bfc
RD
24934}
24935
24936
1bd55598
RD
24937SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24938 PyObject *resultobj = 0;
24939 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24940 bool result;
24941 void *argp1 = 0 ;
24942 int res1 = 0 ;
24943 PyObject *swig_obj[1] ;
24944
24945 if (!args) SWIG_fail;
24946 swig_obj[0] = args;
24947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24948 if (!SWIG_IsOK(res1)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24950 }
24951 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24952 {
24953 PyThreadState* __tstate = wxPyBeginAllowThreads();
24954 result = (bool)(arg1)->GetEnableOrientation();
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 {
24959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24960 }
24961 return resultobj;
24962fail:
24963 return NULL;
d55e5bfc
RD
24964}
24965
24966
1bd55598
RD
24967SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24968 PyObject *resultobj = 0;
24969 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24970 bool result;
24971 void *argp1 = 0 ;
24972 int res1 = 0 ;
24973 PyObject *swig_obj[1] ;
24974
24975 if (!args) SWIG_fail;
24976 swig_obj[0] = args;
24977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24978 if (!SWIG_IsOK(res1)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24980 }
24981 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24982 {
24983 PyThreadState* __tstate = wxPyBeginAllowThreads();
24984 result = (bool)(arg1)->GetEnablePaper();
24985 wxPyEndAllowThreads(__tstate);
24986 if (PyErr_Occurred()) SWIG_fail;
24987 }
24988 {
24989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24990 }
24991 return resultobj;
24992fail:
24993 return NULL;
d55e5bfc
RD
24994}
24995
24996
1bd55598
RD
24997SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24998 PyObject *resultobj = 0;
24999 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25000 bool result;
25001 void *argp1 = 0 ;
25002 int res1 = 0 ;
25003 PyObject *swig_obj[1] ;
25004
25005 if (!args) SWIG_fail;
25006 swig_obj[0] = args;
25007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25008 if (!SWIG_IsOK(res1)) {
25009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25010 }
25011 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25012 {
25013 PyThreadState* __tstate = wxPyBeginAllowThreads();
25014 result = (bool)(arg1)->GetEnablePrinter();
25015 wxPyEndAllowThreads(__tstate);
25016 if (PyErr_Occurred()) SWIG_fail;
25017 }
25018 {
25019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25020 }
25021 return resultobj;
25022fail:
25023 return NULL;
32fe5131
RD
25024}
25025
25026
1bd55598
RD
25027SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25028 PyObject *resultobj = 0;
25029 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25030 bool result;
25031 void *argp1 = 0 ;
25032 int res1 = 0 ;
25033 PyObject *swig_obj[1] ;
25034
25035 if (!args) SWIG_fail;
25036 swig_obj[0] = args;
25037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25038 if (!SWIG_IsOK(res1)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25040 }
25041 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25042 {
25043 PyThreadState* __tstate = wxPyBeginAllowThreads();
25044 result = (bool)(arg1)->GetEnableHelp();
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
25048 {
25049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25050 }
25051 return resultobj;
25052fail:
25053 return NULL;
d55e5bfc
RD
25054}
25055
25056
1bd55598
RD
25057SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25058 PyObject *resultobj = 0;
25059 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25060 bool result;
25061 void *argp1 = 0 ;
25062 int res1 = 0 ;
25063 PyObject *swig_obj[1] ;
25064
25065 if (!args) SWIG_fail;
25066 swig_obj[0] = args;
25067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25068 if (!SWIG_IsOK(res1)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25070 }
25071 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25072 {
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 result = (bool)(arg1)->GetDefaultInfo();
25075 wxPyEndAllowThreads(__tstate);
25076 if (PyErr_Occurred()) SWIG_fail;
25077 }
25078 {
25079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25080 }
25081 return resultobj;
25082fail:
25083 return NULL;
d55e5bfc
RD
25084}
25085
25086
1bd55598
RD
25087SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25088 PyObject *resultobj = 0;
25089 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25090 wxPoint result;
25091 void *argp1 = 0 ;
25092 int res1 = 0 ;
25093 PyObject *swig_obj[1] ;
25094
25095 if (!args) SWIG_fail;
25096 swig_obj[0] = args;
25097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25098 if (!SWIG_IsOK(res1)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25100 }
25101 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 result = (arg1)->GetMarginTopLeft();
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25109 return resultobj;
25110fail:
25111 return NULL;
d55e5bfc
RD
25112}
25113
25114
1bd55598
RD
25115SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25116 PyObject *resultobj = 0;
25117 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25118 wxPoint result;
25119 void *argp1 = 0 ;
25120 int res1 = 0 ;
25121 PyObject *swig_obj[1] ;
25122
25123 if (!args) SWIG_fail;
25124 swig_obj[0] = args;
25125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25126 if (!SWIG_IsOK(res1)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25128 }
25129 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25130 {
25131 PyThreadState* __tstate = wxPyBeginAllowThreads();
25132 result = (arg1)->GetMarginBottomRight();
25133 wxPyEndAllowThreads(__tstate);
25134 if (PyErr_Occurred()) SWIG_fail;
25135 }
25136 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25137 return resultobj;
25138fail:
25139 return NULL;
d55e5bfc
RD
25140}
25141
25142
1bd55598
RD
25143SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25144 PyObject *resultobj = 0;
25145 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25146 wxPoint result;
25147 void *argp1 = 0 ;
25148 int res1 = 0 ;
25149 PyObject *swig_obj[1] ;
25150
25151 if (!args) SWIG_fail;
25152 swig_obj[0] = args;
25153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25154 if (!SWIG_IsOK(res1)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25156 }
25157 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (arg1)->GetMinMarginTopLeft();
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25165 return resultobj;
25166fail:
25167 return NULL;
d55e5bfc
RD
25168}
25169
25170
1bd55598
RD
25171SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25172 PyObject *resultobj = 0;
25173 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25174 wxPoint result;
25175 void *argp1 = 0 ;
25176 int res1 = 0 ;
25177 PyObject *swig_obj[1] ;
25178
25179 if (!args) SWIG_fail;
25180 swig_obj[0] = args;
25181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25182 if (!SWIG_IsOK(res1)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25184 }
25185 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25186 {
25187 PyThreadState* __tstate = wxPyBeginAllowThreads();
25188 result = (arg1)->GetMinMarginBottomRight();
25189 wxPyEndAllowThreads(__tstate);
25190 if (PyErr_Occurred()) SWIG_fail;
25191 }
25192 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25193 return resultobj;
25194fail:
25195 return NULL;
d55e5bfc
RD
25196}
25197
25198
1bd55598
RD
25199SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25200 PyObject *resultobj = 0;
25201 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25202 wxPaperSize result;
25203 void *argp1 = 0 ;
25204 int res1 = 0 ;
25205 PyObject *swig_obj[1] ;
25206
25207 if (!args) SWIG_fail;
25208 swig_obj[0] = args;
25209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25210 if (!SWIG_IsOK(res1)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25212 }
25213 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25214 {
25215 PyThreadState* __tstate = wxPyBeginAllowThreads();
25216 result = (wxPaperSize)(arg1)->GetPaperId();
25217 wxPyEndAllowThreads(__tstate);
25218 if (PyErr_Occurred()) SWIG_fail;
25219 }
25220 resultobj = SWIG_From_int(static_cast< int >(result));
25221 return resultobj;
25222fail:
25223 return NULL;
d55e5bfc
RD
25224}
25225
25226
1bd55598
RD
25227SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25228 PyObject *resultobj = 0;
25229 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25230 wxSize result;
25231 void *argp1 = 0 ;
25232 int res1 = 0 ;
25233 PyObject *swig_obj[1] ;
25234
25235 if (!args) SWIG_fail;
25236 swig_obj[0] = args;
25237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25238 if (!SWIG_IsOK(res1)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25240 }
25241 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25242 {
25243 PyThreadState* __tstate = wxPyBeginAllowThreads();
25244 result = (arg1)->GetPaperSize();
25245 wxPyEndAllowThreads(__tstate);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 }
25248 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25249 return resultobj;
25250fail:
25251 return NULL;
d55e5bfc
RD
25252}
25253
25254
1bd55598
RD
25255SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25256 PyObject *resultobj = 0;
25257 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25258 wxPrintData *result = 0 ;
25259 void *argp1 = 0 ;
25260 int res1 = 0 ;
25261 PyObject *swig_obj[1] ;
25262
25263 if (!args) SWIG_fail;
25264 swig_obj[0] = args;
25265 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25266 if (!SWIG_IsOK(res1)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25268 }
25269 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25270 {
25271 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25272 {
1bd55598
RD
25273 wxPrintData &_result_ref = (arg1)->GetPrintData();
25274 result = (wxPrintData *) &_result_ref;
d55e5bfc 25275 }
1bd55598
RD
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25280 return resultobj;
25281fail:
25282 return NULL;
d55e5bfc
RD
25283}
25284
25285
1bd55598
RD
25286SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25287 PyObject *resultobj = 0;
25288 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25289 bool result;
25290 void *argp1 = 0 ;
25291 int res1 = 0 ;
25292 PyObject *swig_obj[1] ;
25293
25294 if (!args) SWIG_fail;
25295 swig_obj[0] = args;
25296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25297 if (!SWIG_IsOK(res1)) {
25298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25299 }
25300 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25301 {
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 result = (bool)(arg1)->Ok();
25304 wxPyEndAllowThreads(__tstate);
25305 if (PyErr_Occurred()) SWIG_fail;
25306 }
25307 {
25308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25309 }
25310 return resultobj;
25311fail:
25312 return NULL;
25313}
25314
25315
25316SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25317 PyObject *resultobj = 0;
25318 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25319 bool arg2 ;
25320 void *argp1 = 0 ;
25321 int res1 = 0 ;
25322 bool val2 ;
25323 int ecode2 = 0 ;
25324 PyObject * obj0 = 0 ;
25325 PyObject * obj1 = 0 ;
25326 char * kwnames[] = {
25327 (char *) "self",(char *) "flag", NULL
25328 };
25329
25330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25332 if (!SWIG_IsOK(res1)) {
25333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25334 }
25335 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25336 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25337 if (!SWIG_IsOK(ecode2)) {
25338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25339 }
25340 arg2 = static_cast< bool >(val2);
25341 {
25342 PyThreadState* __tstate = wxPyBeginAllowThreads();
25343 (arg1)->SetDefaultInfo(arg2);
25344 wxPyEndAllowThreads(__tstate);
25345 if (PyErr_Occurred()) SWIG_fail;
25346 }
25347 resultobj = SWIG_Py_Void();
25348 return resultobj;
25349fail:
25350 return NULL;
25351}
25352
25353
25354SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25355 PyObject *resultobj = 0;
25356 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25357 bool arg2 ;
25358 void *argp1 = 0 ;
25359 int res1 = 0 ;
25360 bool val2 ;
25361 int ecode2 = 0 ;
25362 PyObject * obj0 = 0 ;
25363 PyObject * obj1 = 0 ;
25364 char * kwnames[] = {
25365 (char *) "self",(char *) "flag", NULL
25366 };
25367
25368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25370 if (!SWIG_IsOK(res1)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25372 }
25373 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25374 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25375 if (!SWIG_IsOK(ecode2)) {
25376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25377 }
25378 arg2 = static_cast< bool >(val2);
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 (arg1)->SetDefaultMinMargins(arg2);
25382 wxPyEndAllowThreads(__tstate);
25383 if (PyErr_Occurred()) SWIG_fail;
25384 }
25385 resultobj = SWIG_Py_Void();
25386 return resultobj;
25387fail:
25388 return NULL;
25389}
25390
25391
25392SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25393 PyObject *resultobj = 0;
25394 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25395 wxPoint *arg2 = 0 ;
25396 void *argp1 = 0 ;
25397 int res1 = 0 ;
25398 wxPoint temp2 ;
25399 PyObject * obj0 = 0 ;
25400 PyObject * obj1 = 0 ;
25401 char * kwnames[] = {
25402 (char *) "self",(char *) "pt", NULL
25403 };
25404
25405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25407 if (!SWIG_IsOK(res1)) {
25408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25409 }
25410 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25411 {
25412 arg2 = &temp2;
25413 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25414 }
25415 {
25416 PyThreadState* __tstate = wxPyBeginAllowThreads();
25417 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25418 wxPyEndAllowThreads(__tstate);
25419 if (PyErr_Occurred()) SWIG_fail;
25420 }
25421 resultobj = SWIG_Py_Void();
25422 return resultobj;
25423fail:
25424 return NULL;
25425}
25426
25427
25428SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25429 PyObject *resultobj = 0;
25430 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25431 wxPoint *arg2 = 0 ;
25432 void *argp1 = 0 ;
25433 int res1 = 0 ;
25434 wxPoint temp2 ;
25435 PyObject * obj0 = 0 ;
25436 PyObject * obj1 = 0 ;
25437 char * kwnames[] = {
25438 (char *) "self",(char *) "pt", NULL
25439 };
25440
25441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25443 if (!SWIG_IsOK(res1)) {
25444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25445 }
25446 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25447 {
25448 arg2 = &temp2;
25449 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25450 }
25451 {
25452 PyThreadState* __tstate = wxPyBeginAllowThreads();
25453 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 resultobj = SWIG_Py_Void();
25458 return resultobj;
25459fail:
25460 return NULL;
25461}
25462
25463
25464SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25465 PyObject *resultobj = 0;
25466 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25467 wxPoint *arg2 = 0 ;
25468 void *argp1 = 0 ;
25469 int res1 = 0 ;
25470 wxPoint temp2 ;
25471 PyObject * obj0 = 0 ;
25472 PyObject * obj1 = 0 ;
25473 char * kwnames[] = {
25474 (char *) "self",(char *) "pt", NULL
25475 };
25476
25477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25479 if (!SWIG_IsOK(res1)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25481 }
25482 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25483 {
25484 arg2 = &temp2;
25485 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25486 }
25487 {
25488 PyThreadState* __tstate = wxPyBeginAllowThreads();
25489 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25490 wxPyEndAllowThreads(__tstate);
25491 if (PyErr_Occurred()) SWIG_fail;
25492 }
25493 resultobj = SWIG_Py_Void();
25494 return resultobj;
25495fail:
25496 return NULL;
25497}
25498
25499
25500SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25501 PyObject *resultobj = 0;
25502 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25503 wxPoint *arg2 = 0 ;
25504 void *argp1 = 0 ;
25505 int res1 = 0 ;
25506 wxPoint temp2 ;
25507 PyObject * obj0 = 0 ;
25508 PyObject * obj1 = 0 ;
25509 char * kwnames[] = {
25510 (char *) "self",(char *) "pt", NULL
25511 };
25512
25513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25515 if (!SWIG_IsOK(res1)) {
25516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25517 }
25518 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25519 {
25520 arg2 = &temp2;
25521 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25522 }
25523 {
25524 PyThreadState* __tstate = wxPyBeginAllowThreads();
25525 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25526 wxPyEndAllowThreads(__tstate);
25527 if (PyErr_Occurred()) SWIG_fail;
25528 }
25529 resultobj = SWIG_Py_Void();
25530 return resultobj;
25531fail:
25532 return NULL;
25533}
25534
25535
25536SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25537 PyObject *resultobj = 0;
25538 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25539 wxPaperSize arg2 ;
25540 void *argp1 = 0 ;
25541 int res1 = 0 ;
25542 int val2 ;
25543 int ecode2 = 0 ;
25544 PyObject * obj0 = 0 ;
25545 PyObject * obj1 = 0 ;
25546 char * kwnames[] = {
25547 (char *) "self",(char *) "id", NULL
25548 };
25549
25550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25551 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25552 if (!SWIG_IsOK(res1)) {
25553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25554 }
25555 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25556 ecode2 = SWIG_AsVal_int(obj1, &val2);
25557 if (!SWIG_IsOK(ecode2)) {
25558 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25559 }
25560 arg2 = static_cast< wxPaperSize >(val2);
25561 {
25562 PyThreadState* __tstate = wxPyBeginAllowThreads();
25563 (arg1)->SetPaperId(arg2);
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 resultobj = SWIG_Py_Void();
25568 return resultobj;
25569fail:
25570 return NULL;
25571}
25572
25573
25574SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25575 PyObject *resultobj = 0;
25576 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25577 wxSize *arg2 = 0 ;
25578 void *argp1 = 0 ;
25579 int res1 = 0 ;
25580 wxSize temp2 ;
25581 PyObject * obj0 = 0 ;
25582 PyObject * obj1 = 0 ;
25583 char * kwnames[] = {
25584 (char *) "self",(char *) "size", NULL
25585 };
25586
25587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25589 if (!SWIG_IsOK(res1)) {
25590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25591 }
25592 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25593 {
25594 arg2 = &temp2;
25595 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25596 }
25597 {
25598 PyThreadState* __tstate = wxPyBeginAllowThreads();
25599 (arg1)->SetPaperSize((wxSize const &)*arg2);
25600 wxPyEndAllowThreads(__tstate);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 resultobj = SWIG_Py_Void();
25604 return resultobj;
25605fail:
25606 return NULL;
25607}
25608
25609
25610SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25611 PyObject *resultobj = 0;
25612 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25613 wxPrintData *arg2 = 0 ;
25614 void *argp1 = 0 ;
25615 int res1 = 0 ;
25616 void *argp2 = 0 ;
25617 int res2 = 0 ;
25618 PyObject * obj0 = 0 ;
25619 PyObject * obj1 = 0 ;
25620 char * kwnames[] = {
25621 (char *) "self",(char *) "printData", NULL
25622 };
25623
25624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25626 if (!SWIG_IsOK(res1)) {
25627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25628 }
25629 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25630 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25631 if (!SWIG_IsOK(res2)) {
25632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25633 }
25634 if (!argp2) {
25635 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25636 }
25637 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25638 {
25639 PyThreadState* __tstate = wxPyBeginAllowThreads();
25640 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25641 wxPyEndAllowThreads(__tstate);
25642 if (PyErr_Occurred()) SWIG_fail;
25643 }
25644 resultobj = SWIG_Py_Void();
25645 return resultobj;
25646fail:
25647 return NULL;
d55e5bfc
RD
25648}
25649
25650
1bd55598
RD
25651SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25652 PyObject *resultobj = 0;
25653 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25654 void *argp1 = 0 ;
25655 int res1 = 0 ;
25656 PyObject *swig_obj[1] ;
25657
25658 if (!args) SWIG_fail;
25659 swig_obj[0] = args;
25660 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25661 if (!SWIG_IsOK(res1)) {
25662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25663 }
25664 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25665 {
25666 PyThreadState* __tstate = wxPyBeginAllowThreads();
25667 (arg1)->CalculateIdFromPaperSize();
25668 wxPyEndAllowThreads(__tstate);
25669 if (PyErr_Occurred()) SWIG_fail;
25670 }
25671 resultobj = SWIG_Py_Void();
25672 return resultobj;
25673fail:
25674 return NULL;
d55e5bfc
RD
25675}
25676
25677
1bd55598
RD
25678SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25679 PyObject *resultobj = 0;
25680 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25681 void *argp1 = 0 ;
25682 int res1 = 0 ;
25683 PyObject *swig_obj[1] ;
25684
25685 if (!args) SWIG_fail;
25686 swig_obj[0] = args;
25687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25688 if (!SWIG_IsOK(res1)) {
25689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25690 }
25691 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25692 {
25693 PyThreadState* __tstate = wxPyBeginAllowThreads();
25694 (arg1)->CalculatePaperSizeFromId();
25695 wxPyEndAllowThreads(__tstate);
25696 if (PyErr_Occurred()) SWIG_fail;
25697 }
25698 resultobj = SWIG_Py_Void();
25699 return resultobj;
25700fail:
25701 return NULL;
d55e5bfc
RD
25702}
25703
25704
1bd55598
RD
25705SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25706 PyObject *obj;
25707 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25708 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25709 return SWIG_Py_Void();
d55e5bfc
RD
25710}
25711
1bd55598
RD
25712SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25713 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25714}
25715
1bd55598
RD
25716SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25717 PyObject *resultobj = 0;
25718 wxWindow *arg1 = (wxWindow *) 0 ;
25719 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25720 wxPageSetupDialog *result = 0 ;
25721 void *argp1 = 0 ;
25722 int res1 = 0 ;
25723 void *argp2 = 0 ;
25724 int res2 = 0 ;
25725 PyObject * obj0 = 0 ;
25726 PyObject * obj1 = 0 ;
25727 char * kwnames[] = {
25728 (char *) "parent",(char *) "data", NULL
25729 };
25730
25731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25733 if (!SWIG_IsOK(res1)) {
25734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25735 }
25736 arg1 = reinterpret_cast< wxWindow * >(argp1);
25737 if (obj1) {
25738 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25739 if (!SWIG_IsOK(res2)) {
25740 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
36ed4f51 25741 }
1bd55598
RD
25742 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25743 }
25744 {
25745 if (!wxPyCheckForApp()) SWIG_fail;
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25748 wxPyEndAllowThreads(__tstate);
25749 if (PyErr_Occurred()) SWIG_fail;
25750 }
25751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25752 return resultobj;
25753fail:
25754 return NULL;
d55e5bfc
RD
25755}
25756
25757
06810ecf
RD
25758SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25759 PyObject *resultobj = 0;
25760 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25761 void *argp1 = 0 ;
25762 int res1 = 0 ;
25763 PyObject *swig_obj[1] ;
25764
25765 if (!args) SWIG_fail;
25766 swig_obj[0] = args;
25767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25768 if (!SWIG_IsOK(res1)) {
25769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25770 }
25771 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25772 {
25773 PyThreadState* __tstate = wxPyBeginAllowThreads();
25774 delete arg1;
25775
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
25779 resultobj = SWIG_Py_Void();
25780 return resultobj;
25781fail:
25782 return NULL;
25783}
25784
25785
1bd55598
RD
25786SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25787 PyObject *resultobj = 0;
25788 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25789 wxPageSetupDialogData *result = 0 ;
25790 void *argp1 = 0 ;
25791 int res1 = 0 ;
25792 PyObject *swig_obj[1] ;
25793
25794 if (!args) SWIG_fail;
25795 swig_obj[0] = args;
25796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25797 if (!SWIG_IsOK(res1)) {
25798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25799 }
25800 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25801 {
25802 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 25803 {
1bd55598
RD
25804 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25805 result = (wxPageSetupDialogData *) &_result_ref;
36ed4f51 25806 }
1bd55598
RD
25807 wxPyEndAllowThreads(__tstate);
25808 if (PyErr_Occurred()) SWIG_fail;
25809 }
25810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25811 return resultobj;
25812fail:
25813 return NULL;
d55e5bfc
RD
25814}
25815
25816
1bd55598
RD
25817SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25818 PyObject *resultobj = 0;
25819 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25820 wxPageSetupDialogData *result = 0 ;
25821 void *argp1 = 0 ;
25822 int res1 = 0 ;
25823 PyObject *swig_obj[1] ;
25824
25825 if (!args) SWIG_fail;
25826 swig_obj[0] = args;
25827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25828 if (!SWIG_IsOK(res1)) {
25829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25830 }
25831 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25832 {
25833 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 25834 {
1bd55598
RD
25835 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25836 result = (wxPageSetupDialogData *) &_result_ref;
d55e5bfc 25837 }
1bd55598
RD
25838 wxPyEndAllowThreads(__tstate);
25839 if (PyErr_Occurred()) SWIG_fail;
25840 }
25841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25842 return resultobj;
25843fail:
25844 return NULL;
d55e5bfc
RD
25845}
25846
25847
1bd55598
RD
25848SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25849 PyObject *resultobj = 0;
25850 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25851 int result;
25852 void *argp1 = 0 ;
25853 int res1 = 0 ;
25854 PyObject *swig_obj[1] ;
25855
25856 if (!args) SWIG_fail;
25857 swig_obj[0] = args;
25858 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25859 if (!SWIG_IsOK(res1)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25861 }
25862 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25863 {
25864 PyThreadState* __tstate = wxPyBeginAllowThreads();
25865 result = (int)(arg1)->ShowModal();
25866 wxPyEndAllowThreads(__tstate);
25867 if (PyErr_Occurred()) SWIG_fail;
25868 }
25869 resultobj = SWIG_From_int(static_cast< int >(result));
25870 return resultobj;
25871fail:
25872 return NULL;
d55e5bfc
RD
25873}
25874
25875
1bd55598
RD
25876SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25877 PyObject *obj;
25878 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25879 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25880 return SWIG_Py_Void();
d55e5bfc
RD
25881}
25882
1bd55598
RD
25883SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25884 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
25885}
25886
1bd55598
RD
25887SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25888 PyObject *resultobj = 0;
25889 wxPrintDialogData *result = 0 ;
25890
25891 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25892 {
25893 PyThreadState* __tstate = wxPyBeginAllowThreads();
25894 result = (wxPrintDialogData *)new wxPrintDialogData();
25895 wxPyEndAllowThreads(__tstate);
25896 if (PyErr_Occurred()) SWIG_fail;
25897 }
25898 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25899 return resultobj;
25900fail:
25901 return NULL;
d55e5bfc
RD
25902}
25903
25904
1bd55598
RD
25905SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25906 PyObject *resultobj = 0;
25907 wxPrintData *arg1 = 0 ;
25908 wxPrintDialogData *result = 0 ;
25909 void *argp1 = 0 ;
25910 int res1 = 0 ;
25911
25912 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25914 if (!SWIG_IsOK(res1)) {
25915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25916 }
25917 if (!argp1) {
25918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25919 }
25920 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25921 {
25922 PyThreadState* __tstate = wxPyBeginAllowThreads();
25923 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25924 wxPyEndAllowThreads(__tstate);
25925 if (PyErr_Occurred()) SWIG_fail;
25926 }
25927 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25928 return resultobj;
25929fail:
25930 return NULL;
d55e5bfc
RD
25931}
25932
25933
1bd55598
RD
25934SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25935 PyObject *resultobj = 0;
25936 wxPrintDialogData *arg1 = 0 ;
25937 wxPrintDialogData *result = 0 ;
25938 void *argp1 = 0 ;
25939 int res1 = 0 ;
25940
25941 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25943 if (!SWIG_IsOK(res1)) {
25944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25945 }
25946 if (!argp1) {
25947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25948 }
25949 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25950 {
25951 PyThreadState* __tstate = wxPyBeginAllowThreads();
25952 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25953 wxPyEndAllowThreads(__tstate);
25954 if (PyErr_Occurred()) SWIG_fail;
25955 }
25956 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25957 return resultobj;
25958fail:
25959 return NULL;
d55e5bfc
RD
25960}
25961
25962
1bd55598
RD
25963SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25964 int argc;
25965 PyObject *argv[2];
25966
25967 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25968 --argc;
25969 if (argc == 0) {
25970 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25971 }
25972 if (argc == 1) {
25973 int _v = 0;
d55e5bfc 25974 {
1bd55598
RD
25975 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25976 _v = SWIG_CheckState(res);
d55e5bfc 25977 }
1bd55598
RD
25978 if (!_v) goto check_2;
25979 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25980 }
25981check_2:
25982
25983 if (argc == 1) {
25984 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25985 }
25986
25987fail:
25988 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25989 return NULL;
d55e5bfc
RD
25990}
25991
25992
1bd55598
RD
25993SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25994 PyObject *resultobj = 0;
25995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25996 void *argp1 = 0 ;
25997 int res1 = 0 ;
25998 PyObject *swig_obj[1] ;
25999
26000 if (!args) SWIG_fail;
26001 swig_obj[0] = args;
26002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26003 if (!SWIG_IsOK(res1)) {
26004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26005 }
26006 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 delete arg1;
d55e5bfc 26010
1bd55598
RD
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 resultobj = SWIG_Py_Void();
26015 return resultobj;
26016fail:
26017 return NULL;
d55e5bfc
RD
26018}
26019
26020
1bd55598
RD
26021SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26022 PyObject *resultobj = 0;
26023 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26024 int result;
26025 void *argp1 = 0 ;
26026 int res1 = 0 ;
26027 PyObject *swig_obj[1] ;
26028
26029 if (!args) SWIG_fail;
26030 swig_obj[0] = args;
26031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26032 if (!SWIG_IsOK(res1)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26034 }
26035 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26039 wxPyEndAllowThreads(__tstate);
26040 if (PyErr_Occurred()) SWIG_fail;
26041 }
26042 resultobj = SWIG_From_int(static_cast< int >(result));
26043 return resultobj;
26044fail:
26045 return NULL;
d55e5bfc
RD
26046}
26047
26048
1bd55598
RD
26049SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26050 PyObject *resultobj = 0;
26051 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26052 int result;
26053 void *argp1 = 0 ;
26054 int res1 = 0 ;
26055 PyObject *swig_obj[1] ;
26056
26057 if (!args) SWIG_fail;
26058 swig_obj[0] = args;
26059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26060 if (!SWIG_IsOK(res1)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26062 }
26063 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26067 wxPyEndAllowThreads(__tstate);
26068 if (PyErr_Occurred()) SWIG_fail;
26069 }
26070 resultobj = SWIG_From_int(static_cast< int >(result));
26071 return resultobj;
26072fail:
26073 return NULL;
d55e5bfc
RD
26074}
26075
26076
1bd55598
RD
26077SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26078 PyObject *resultobj = 0;
26079 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26080 int result;
26081 void *argp1 = 0 ;
26082 int res1 = 0 ;
26083 PyObject *swig_obj[1] ;
26084
26085 if (!args) SWIG_fail;
26086 swig_obj[0] = args;
26087 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26088 if (!SWIG_IsOK(res1)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26090 }
26091 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 resultobj = SWIG_From_int(static_cast< int >(result));
26099 return resultobj;
26100fail:
26101 return NULL;
d55e5bfc
RD
26102}
26103
26104
1bd55598
RD
26105SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26106 PyObject *resultobj = 0;
26107 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26108 int result;
26109 void *argp1 = 0 ;
26110 int res1 = 0 ;
26111 PyObject *swig_obj[1] ;
26112
26113 if (!args) SWIG_fail;
26114 swig_obj[0] = args;
26115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26116 if (!SWIG_IsOK(res1)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26118 }
26119 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26120 {
26121 PyThreadState* __tstate = wxPyBeginAllowThreads();
26122 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26123 wxPyEndAllowThreads(__tstate);
26124 if (PyErr_Occurred()) SWIG_fail;
26125 }
26126 resultobj = SWIG_From_int(static_cast< int >(result));
26127 return resultobj;
26128fail:
26129 return NULL;
d55e5bfc
RD
26130}
26131
26132
1bd55598
RD
26133SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26134 PyObject *resultobj = 0;
26135 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26136 int result;
26137 void *argp1 = 0 ;
26138 int res1 = 0 ;
26139 PyObject *swig_obj[1] ;
26140
26141 if (!args) SWIG_fail;
26142 swig_obj[0] = args;
26143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26144 if (!SWIG_IsOK(res1)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26146 }
26147 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26148 {
26149 PyThreadState* __tstate = wxPyBeginAllowThreads();
26150 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
26154 resultobj = SWIG_From_int(static_cast< int >(result));
26155 return resultobj;
26156fail:
26157 return NULL;
d55e5bfc
RD
26158}
26159
26160
1bd55598
RD
26161SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26162 PyObject *resultobj = 0;
26163 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26164 bool result;
26165 void *argp1 = 0 ;
26166 int res1 = 0 ;
26167 PyObject *swig_obj[1] ;
26168
26169 if (!args) SWIG_fail;
26170 swig_obj[0] = args;
26171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26172 if (!SWIG_IsOK(res1)) {
26173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26174 }
26175 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26179 wxPyEndAllowThreads(__tstate);
26180 if (PyErr_Occurred()) SWIG_fail;
26181 }
26182 {
26183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26184 }
26185 return resultobj;
26186fail:
26187 return NULL;
d55e5bfc
RD
26188}
26189
26190
1bd55598
RD
26191SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26192 PyObject *resultobj = 0;
26193 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26194 bool result;
26195 void *argp1 = 0 ;
26196 int res1 = 0 ;
26197 PyObject *swig_obj[1] ;
26198
26199 if (!args) SWIG_fail;
26200 swig_obj[0] = args;
26201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26202 if (!SWIG_IsOK(res1)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26204 }
26205 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26206 {
26207 PyThreadState* __tstate = wxPyBeginAllowThreads();
26208 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26209 wxPyEndAllowThreads(__tstate);
26210 if (PyErr_Occurred()) SWIG_fail;
26211 }
26212 {
26213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26214 }
26215 return resultobj;
26216fail:
26217 return NULL;
d55e5bfc
RD
26218}
26219
26220
1bd55598
RD
26221SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26222 PyObject *resultobj = 0;
26223 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26224 bool result;
26225 void *argp1 = 0 ;
26226 int res1 = 0 ;
26227 PyObject *swig_obj[1] ;
26228
26229 if (!args) SWIG_fail;
26230 swig_obj[0] = args;
26231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26232 if (!SWIG_IsOK(res1)) {
26233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26234 }
26235 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26236 {
26237 PyThreadState* __tstate = wxPyBeginAllowThreads();
26238 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26239 wxPyEndAllowThreads(__tstate);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 {
26243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26244 }
26245 return resultobj;
26246fail:
26247 return NULL;
d55e5bfc
RD
26248}
26249
26250
1bd55598
RD
26251SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26252 PyObject *resultobj = 0;
26253 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26254 bool result;
26255 void *argp1 = 0 ;
26256 int res1 = 0 ;
26257 PyObject *swig_obj[1] ;
26258
26259 if (!args) SWIG_fail;
26260 swig_obj[0] = args;
26261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26262 if (!SWIG_IsOK(res1)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26264 }
26265 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26266 {
26267 PyThreadState* __tstate = wxPyBeginAllowThreads();
26268 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 {
26273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26274 }
26275 return resultobj;
26276fail:
26277 return NULL;
26278}
26279
26280
26281SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26282 PyObject *resultobj = 0;
26283 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26284 int arg2 ;
26285 void *argp1 = 0 ;
26286 int res1 = 0 ;
26287 int val2 ;
26288 int ecode2 = 0 ;
26289 PyObject * obj0 = 0 ;
26290 PyObject * obj1 = 0 ;
26291 char * kwnames[] = {
26292 (char *) "self",(char *) "v", NULL
26293 };
26294
26295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26297 if (!SWIG_IsOK(res1)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26299 }
26300 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26301 ecode2 = SWIG_AsVal_int(obj1, &val2);
26302 if (!SWIG_IsOK(ecode2)) {
26303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26304 }
26305 arg2 = static_cast< int >(val2);
26306 {
26307 PyThreadState* __tstate = wxPyBeginAllowThreads();
26308 (arg1)->SetFromPage(arg2);
26309 wxPyEndAllowThreads(__tstate);
26310 if (PyErr_Occurred()) SWIG_fail;
26311 }
26312 resultobj = SWIG_Py_Void();
26313 return resultobj;
26314fail:
26315 return NULL;
26316}
26317
26318
26319SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26320 PyObject *resultobj = 0;
26321 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26322 int arg2 ;
26323 void *argp1 = 0 ;
26324 int res1 = 0 ;
26325 int val2 ;
26326 int ecode2 = 0 ;
26327 PyObject * obj0 = 0 ;
26328 PyObject * obj1 = 0 ;
26329 char * kwnames[] = {
26330 (char *) "self",(char *) "v", NULL
26331 };
26332
26333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26335 if (!SWIG_IsOK(res1)) {
26336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26337 }
26338 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26339 ecode2 = SWIG_AsVal_int(obj1, &val2);
26340 if (!SWIG_IsOK(ecode2)) {
26341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26342 }
26343 arg2 = static_cast< int >(val2);
26344 {
26345 PyThreadState* __tstate = wxPyBeginAllowThreads();
26346 (arg1)->SetToPage(arg2);
26347 wxPyEndAllowThreads(__tstate);
26348 if (PyErr_Occurred()) SWIG_fail;
26349 }
26350 resultobj = SWIG_Py_Void();
26351 return resultobj;
26352fail:
26353 return NULL;
26354}
26355
26356
26357SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26358 PyObject *resultobj = 0;
26359 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26360 int arg2 ;
26361 void *argp1 = 0 ;
26362 int res1 = 0 ;
26363 int val2 ;
26364 int ecode2 = 0 ;
26365 PyObject * obj0 = 0 ;
26366 PyObject * obj1 = 0 ;
26367 char * kwnames[] = {
26368 (char *) "self",(char *) "v", NULL
26369 };
26370
26371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26373 if (!SWIG_IsOK(res1)) {
26374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26375 }
26376 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26377 ecode2 = SWIG_AsVal_int(obj1, &val2);
26378 if (!SWIG_IsOK(ecode2)) {
26379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26380 }
26381 arg2 = static_cast< int >(val2);
26382 {
26383 PyThreadState* __tstate = wxPyBeginAllowThreads();
26384 (arg1)->SetMinPage(arg2);
26385 wxPyEndAllowThreads(__tstate);
26386 if (PyErr_Occurred()) SWIG_fail;
26387 }
26388 resultobj = SWIG_Py_Void();
26389 return resultobj;
26390fail:
26391 return NULL;
26392}
26393
26394
26395SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26396 PyObject *resultobj = 0;
26397 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26398 int arg2 ;
26399 void *argp1 = 0 ;
26400 int res1 = 0 ;
26401 int val2 ;
26402 int ecode2 = 0 ;
26403 PyObject * obj0 = 0 ;
26404 PyObject * obj1 = 0 ;
26405 char * kwnames[] = {
26406 (char *) "self",(char *) "v", NULL
26407 };
26408
26409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26411 if (!SWIG_IsOK(res1)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26413 }
26414 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26415 ecode2 = SWIG_AsVal_int(obj1, &val2);
26416 if (!SWIG_IsOK(ecode2)) {
26417 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26418 }
26419 arg2 = static_cast< int >(val2);
26420 {
26421 PyThreadState* __tstate = wxPyBeginAllowThreads();
26422 (arg1)->SetMaxPage(arg2);
26423 wxPyEndAllowThreads(__tstate);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 resultobj = SWIG_Py_Void();
26427 return resultobj;
26428fail:
26429 return NULL;
26430}
26431
26432
26433SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26434 PyObject *resultobj = 0;
26435 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26436 int arg2 ;
26437 void *argp1 = 0 ;
26438 int res1 = 0 ;
26439 int val2 ;
26440 int ecode2 = 0 ;
26441 PyObject * obj0 = 0 ;
26442 PyObject * obj1 = 0 ;
26443 char * kwnames[] = {
26444 (char *) "self",(char *) "v", NULL
26445 };
26446
26447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26449 if (!SWIG_IsOK(res1)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26451 }
26452 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26453 ecode2 = SWIG_AsVal_int(obj1, &val2);
26454 if (!SWIG_IsOK(ecode2)) {
26455 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26456 }
26457 arg2 = static_cast< int >(val2);
26458 {
26459 PyThreadState* __tstate = wxPyBeginAllowThreads();
26460 (arg1)->SetNoCopies(arg2);
26461 wxPyEndAllowThreads(__tstate);
26462 if (PyErr_Occurred()) SWIG_fail;
26463 }
26464 resultobj = SWIG_Py_Void();
26465 return resultobj;
26466fail:
26467 return NULL;
26468}
26469
26470
26471SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26472 PyObject *resultobj = 0;
26473 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26474 bool arg2 ;
26475 void *argp1 = 0 ;
26476 int res1 = 0 ;
26477 bool val2 ;
26478 int ecode2 = 0 ;
26479 PyObject * obj0 = 0 ;
26480 PyObject * obj1 = 0 ;
26481 char * kwnames[] = {
26482 (char *) "self",(char *) "flag", NULL
26483 };
26484
26485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26487 if (!SWIG_IsOK(res1)) {
26488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26489 }
26490 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26491 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26492 if (!SWIG_IsOK(ecode2)) {
26493 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26494 }
26495 arg2 = static_cast< bool >(val2);
26496 {
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 (arg1)->SetAllPages(arg2);
26499 wxPyEndAllowThreads(__tstate);
26500 if (PyErr_Occurred()) SWIG_fail;
26501 }
26502 resultobj = SWIG_Py_Void();
26503 return resultobj;
26504fail:
26505 return NULL;
26506}
26507
26508
26509SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26510 PyObject *resultobj = 0;
26511 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26512 bool arg2 ;
26513 void *argp1 = 0 ;
26514 int res1 = 0 ;
26515 bool val2 ;
26516 int ecode2 = 0 ;
26517 PyObject * obj0 = 0 ;
26518 PyObject * obj1 = 0 ;
26519 char * kwnames[] = {
26520 (char *) "self",(char *) "flag", NULL
26521 };
26522
26523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26525 if (!SWIG_IsOK(res1)) {
26526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26527 }
26528 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26529 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26530 if (!SWIG_IsOK(ecode2)) {
26531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26532 }
26533 arg2 = static_cast< bool >(val2);
26534 {
26535 PyThreadState* __tstate = wxPyBeginAllowThreads();
26536 (arg1)->SetSelection(arg2);
26537 wxPyEndAllowThreads(__tstate);
26538 if (PyErr_Occurred()) SWIG_fail;
26539 }
26540 resultobj = SWIG_Py_Void();
26541 return resultobj;
26542fail:
26543 return NULL;
26544}
26545
26546
26547SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26548 PyObject *resultobj = 0;
26549 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26550 bool arg2 ;
26551 void *argp1 = 0 ;
26552 int res1 = 0 ;
26553 bool val2 ;
26554 int ecode2 = 0 ;
26555 PyObject * obj0 = 0 ;
26556 PyObject * obj1 = 0 ;
26557 char * kwnames[] = {
26558 (char *) "self",(char *) "flag", NULL
26559 };
26560
26561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26563 if (!SWIG_IsOK(res1)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26565 }
26566 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26567 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26568 if (!SWIG_IsOK(ecode2)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26570 }
26571 arg2 = static_cast< bool >(val2);
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 (arg1)->SetCollate(arg2);
26575 wxPyEndAllowThreads(__tstate);
26576 if (PyErr_Occurred()) SWIG_fail;
26577 }
26578 resultobj = SWIG_Py_Void();
26579 return resultobj;
26580fail:
26581 return NULL;
26582}
26583
26584
26585SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26586 PyObject *resultobj = 0;
26587 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26588 bool arg2 ;
26589 void *argp1 = 0 ;
26590 int res1 = 0 ;
26591 bool val2 ;
26592 int ecode2 = 0 ;
26593 PyObject * obj0 = 0 ;
26594 PyObject * obj1 = 0 ;
26595 char * kwnames[] = {
26596 (char *) "self",(char *) "flag", NULL
26597 };
26598
26599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26601 if (!SWIG_IsOK(res1)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26603 }
26604 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26605 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26606 if (!SWIG_IsOK(ecode2)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26608 }
26609 arg2 = static_cast< bool >(val2);
26610 {
26611 PyThreadState* __tstate = wxPyBeginAllowThreads();
26612 (arg1)->SetPrintToFile(arg2);
26613 wxPyEndAllowThreads(__tstate);
26614 if (PyErr_Occurred()) SWIG_fail;
26615 }
26616 resultobj = SWIG_Py_Void();
26617 return resultobj;
26618fail:
26619 return NULL;
26620}
26621
26622
26623SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26624 PyObject *resultobj = 0;
26625 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26626 bool arg2 ;
26627 void *argp1 = 0 ;
26628 int res1 = 0 ;
26629 bool val2 ;
26630 int ecode2 = 0 ;
26631 PyObject * obj0 = 0 ;
26632 PyObject * obj1 = 0 ;
26633 char * kwnames[] = {
26634 (char *) "self",(char *) "flag", NULL
26635 };
26636
26637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26639 if (!SWIG_IsOK(res1)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26641 }
26642 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26643 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26644 if (!SWIG_IsOK(ecode2)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26646 }
26647 arg2 = static_cast< bool >(val2);
26648 {
26649 PyThreadState* __tstate = wxPyBeginAllowThreads();
26650 (arg1)->EnablePrintToFile(arg2);
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 resultobj = SWIG_Py_Void();
26655 return resultobj;
26656fail:
26657 return NULL;
26658}
26659
26660
26661SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26662 PyObject *resultobj = 0;
26663 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26664 bool arg2 ;
26665 void *argp1 = 0 ;
26666 int res1 = 0 ;
26667 bool val2 ;
26668 int ecode2 = 0 ;
26669 PyObject * obj0 = 0 ;
26670 PyObject * obj1 = 0 ;
26671 char * kwnames[] = {
26672 (char *) "self",(char *) "flag", NULL
26673 };
26674
26675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26677 if (!SWIG_IsOK(res1)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26679 }
26680 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26681 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26682 if (!SWIG_IsOK(ecode2)) {
26683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26684 }
26685 arg2 = static_cast< bool >(val2);
26686 {
26687 PyThreadState* __tstate = wxPyBeginAllowThreads();
26688 (arg1)->EnableSelection(arg2);
26689 wxPyEndAllowThreads(__tstate);
26690 if (PyErr_Occurred()) SWIG_fail;
26691 }
26692 resultobj = SWIG_Py_Void();
26693 return resultobj;
26694fail:
26695 return NULL;
26696}
26697
26698
26699SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26700 PyObject *resultobj = 0;
26701 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26702 bool arg2 ;
26703 void *argp1 = 0 ;
26704 int res1 = 0 ;
26705 bool val2 ;
26706 int ecode2 = 0 ;
26707 PyObject * obj0 = 0 ;
26708 PyObject * obj1 = 0 ;
26709 char * kwnames[] = {
26710 (char *) "self",(char *) "flag", NULL
26711 };
26712
26713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26715 if (!SWIG_IsOK(res1)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26717 }
26718 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26719 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26720 if (!SWIG_IsOK(ecode2)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26722 }
26723 arg2 = static_cast< bool >(val2);
26724 {
26725 PyThreadState* __tstate = wxPyBeginAllowThreads();
26726 (arg1)->EnablePageNumbers(arg2);
26727 wxPyEndAllowThreads(__tstate);
26728 if (PyErr_Occurred()) SWIG_fail;
26729 }
26730 resultobj = SWIG_Py_Void();
26731 return resultobj;
26732fail:
26733 return NULL;
26734}
26735
26736
26737SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26738 PyObject *resultobj = 0;
26739 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26740 bool arg2 ;
26741 void *argp1 = 0 ;
26742 int res1 = 0 ;
26743 bool val2 ;
26744 int ecode2 = 0 ;
26745 PyObject * obj0 = 0 ;
26746 PyObject * obj1 = 0 ;
26747 char * kwnames[] = {
26748 (char *) "self",(char *) "flag", NULL
26749 };
26750
26751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26753 if (!SWIG_IsOK(res1)) {
26754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26755 }
26756 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26757 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26758 if (!SWIG_IsOK(ecode2)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26760 }
26761 arg2 = static_cast< bool >(val2);
26762 {
26763 PyThreadState* __tstate = wxPyBeginAllowThreads();
26764 (arg1)->EnableHelp(arg2);
26765 wxPyEndAllowThreads(__tstate);
26766 if (PyErr_Occurred()) SWIG_fail;
26767 }
26768 resultobj = SWIG_Py_Void();
26769 return resultobj;
26770fail:
26771 return NULL;
26772}
d55e5bfc 26773
1bd55598
RD
26774
26775SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26776 PyObject *resultobj = 0;
26777 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26778 bool result;
26779 void *argp1 = 0 ;
26780 int res1 = 0 ;
26781 PyObject *swig_obj[1] ;
26782
26783 if (!args) SWIG_fail;
26784 swig_obj[0] = args;
26785 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26786 if (!SWIG_IsOK(res1)) {
26787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26788 }
26789 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26793 wxPyEndAllowThreads(__tstate);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 {
26797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26798 }
26799 return resultobj;
26800fail:
26801 return NULL;
d55e5bfc
RD
26802}
26803
26804
1bd55598
RD
26805SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26806 PyObject *resultobj = 0;
26807 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26808 bool result;
26809 void *argp1 = 0 ;
26810 int res1 = 0 ;
26811 PyObject *swig_obj[1] ;
26812
26813 if (!args) SWIG_fail;
26814 swig_obj[0] = args;
26815 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26816 if (!SWIG_IsOK(res1)) {
26817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26818 }
26819 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26820 {
26821 PyThreadState* __tstate = wxPyBeginAllowThreads();
26822 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26823 wxPyEndAllowThreads(__tstate);
26824 if (PyErr_Occurred()) SWIG_fail;
26825 }
26826 {
26827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26828 }
26829 return resultobj;
26830fail:
26831 return NULL;
d55e5bfc
RD
26832}
26833
26834
1bd55598
RD
26835SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26836 PyObject *resultobj = 0;
26837 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26838 bool result;
26839 void *argp1 = 0 ;
26840 int res1 = 0 ;
26841 PyObject *swig_obj[1] ;
26842
26843 if (!args) SWIG_fail;
26844 swig_obj[0] = args;
26845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26846 if (!SWIG_IsOK(res1)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26848 }
26849 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26850 {
26851 PyThreadState* __tstate = wxPyBeginAllowThreads();
26852 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26853 wxPyEndAllowThreads(__tstate);
26854 if (PyErr_Occurred()) SWIG_fail;
26855 }
26856 {
26857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26858 }
26859 return resultobj;
26860fail:
26861 return NULL;
d55e5bfc
RD
26862}
26863
26864
1bd55598
RD
26865SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26866 PyObject *resultobj = 0;
26867 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26868 bool result;
26869 void *argp1 = 0 ;
26870 int res1 = 0 ;
26871 PyObject *swig_obj[1] ;
26872
26873 if (!args) SWIG_fail;
26874 swig_obj[0] = args;
26875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26876 if (!SWIG_IsOK(res1)) {
26877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26878 }
26879 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26880 {
26881 PyThreadState* __tstate = wxPyBeginAllowThreads();
26882 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26883 wxPyEndAllowThreads(__tstate);
26884 if (PyErr_Occurred()) SWIG_fail;
26885 }
26886 {
26887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26888 }
26889 return resultobj;
26890fail:
26891 return NULL;
d55e5bfc
RD
26892}
26893
26894
1bd55598
RD
26895SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26896 PyObject *resultobj = 0;
26897 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26898 bool result;
26899 void *argp1 = 0 ;
26900 int res1 = 0 ;
26901 PyObject *swig_obj[1] ;
26902
26903 if (!args) SWIG_fail;
26904 swig_obj[0] = args;
26905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26906 if (!SWIG_IsOK(res1)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26908 }
26909 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26910 {
26911 PyThreadState* __tstate = wxPyBeginAllowThreads();
26912 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26913 wxPyEndAllowThreads(__tstate);
26914 if (PyErr_Occurred()) SWIG_fail;
26915 }
26916 {
26917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26918 }
26919 return resultobj;
26920fail:
26921 return NULL;
d55e5bfc
RD
26922}
26923
26924
1bd55598
RD
26925SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26926 PyObject *resultobj = 0;
26927 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26928 wxPrintData *result = 0 ;
26929 void *argp1 = 0 ;
26930 int res1 = 0 ;
26931 PyObject *swig_obj[1] ;
26932
26933 if (!args) SWIG_fail;
26934 swig_obj[0] = args;
26935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26936 if (!SWIG_IsOK(res1)) {
26937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26938 }
26939 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26940 {
26941 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 26942 {
1bd55598
RD
26943 wxPrintData &_result_ref = (arg1)->GetPrintData();
26944 result = (wxPrintData *) &_result_ref;
26945 }
26946 wxPyEndAllowThreads(__tstate);
26947 if (PyErr_Occurred()) SWIG_fail;
26948 }
26949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26950 return resultobj;
26951fail:
26952 return NULL;
26953}
26954
26955
26956SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26957 PyObject *resultobj = 0;
26958 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26959 wxPrintData *arg2 = 0 ;
26960 void *argp1 = 0 ;
26961 int res1 = 0 ;
26962 void *argp2 = 0 ;
26963 int res2 = 0 ;
26964 PyObject * obj0 = 0 ;
26965 PyObject * obj1 = 0 ;
26966 char * kwnames[] = {
26967 (char *) "self",(char *) "printData", NULL
26968 };
26969
26970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26972 if (!SWIG_IsOK(res1)) {
26973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26974 }
26975 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26976 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26977 if (!SWIG_IsOK(res2)) {
26978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26979 }
26980 if (!argp2) {
26981 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26982 }
26983 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26984 {
26985 PyThreadState* __tstate = wxPyBeginAllowThreads();
26986 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26987 wxPyEndAllowThreads(__tstate);
26988 if (PyErr_Occurred()) SWIG_fail;
26989 }
26990 resultobj = SWIG_Py_Void();
26991 return resultobj;
26992fail:
26993 return NULL;
d55e5bfc
RD
26994}
26995
26996
1bd55598
RD
26997SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26998 PyObject *obj;
26999 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27000 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27001 return SWIG_Py_Void();
27002}
27003
27004SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27005 return SWIG_Python_InitShadowInstance(args);
27006}
27007
27008SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27009 PyObject *resultobj = 0;
27010 wxWindow *arg1 = (wxWindow *) 0 ;
27011 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27012 wxPrintDialog *result = 0 ;
27013 void *argp1 = 0 ;
27014 int res1 = 0 ;
27015 void *argp2 = 0 ;
27016 int res2 = 0 ;
27017 PyObject * obj0 = 0 ;
27018 PyObject * obj1 = 0 ;
27019 char * kwnames[] = {
27020 (char *) "parent",(char *) "data", NULL
27021 };
27022
27023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27025 if (!SWIG_IsOK(res1)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27027 }
27028 arg1 = reinterpret_cast< wxWindow * >(argp1);
27029 if (obj1) {
27030 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27031 if (!SWIG_IsOK(res2)) {
27032 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27033 }
1bd55598
RD
27034 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27035 }
27036 {
27037 if (!wxPyCheckForApp()) SWIG_fail;
27038 PyThreadState* __tstate = wxPyBeginAllowThreads();
27039 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27040 wxPyEndAllowThreads(__tstate);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27044 return resultobj;
27045fail:
27046 return NULL;
d55e5bfc
RD
27047}
27048
27049
06810ecf
RD
27050SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27051 PyObject *resultobj = 0;
27052 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27053 void *argp1 = 0 ;
27054 int res1 = 0 ;
27055 PyObject *swig_obj[1] ;
27056
27057 if (!args) SWIG_fail;
27058 swig_obj[0] = args;
27059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27060 if (!SWIG_IsOK(res1)) {
27061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27062 }
27063 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27064 {
27065 PyThreadState* __tstate = wxPyBeginAllowThreads();
27066 delete arg1;
27067
27068 wxPyEndAllowThreads(__tstate);
27069 if (PyErr_Occurred()) SWIG_fail;
27070 }
27071 resultobj = SWIG_Py_Void();
27072 return resultobj;
27073fail:
27074 return NULL;
27075}
27076
27077
1bd55598
RD
27078SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27079 PyObject *resultobj = 0;
27080 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27081 int result;
27082 void *argp1 = 0 ;
27083 int res1 = 0 ;
27084 PyObject *swig_obj[1] ;
27085
27086 if (!args) SWIG_fail;
27087 swig_obj[0] = args;
27088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27089 if (!SWIG_IsOK(res1)) {
27090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27091 }
27092 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27093 {
27094 PyThreadState* __tstate = wxPyBeginAllowThreads();
27095 result = (int)(arg1)->ShowModal();
27096 wxPyEndAllowThreads(__tstate);
27097 if (PyErr_Occurred()) SWIG_fail;
27098 }
27099 resultobj = SWIG_From_int(static_cast< int >(result));
27100 return resultobj;
27101fail:
27102 return NULL;
d55e5bfc
RD
27103}
27104
27105
1bd55598
RD
27106SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27107 PyObject *resultobj = 0;
27108 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27109 wxPrintDialogData *result = 0 ;
27110 void *argp1 = 0 ;
27111 int res1 = 0 ;
27112 PyObject *swig_obj[1] ;
27113
27114 if (!args) SWIG_fail;
27115 swig_obj[0] = args;
27116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27117 if (!SWIG_IsOK(res1)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27119 }
27120 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27121 {
27122 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27123 {
1bd55598
RD
27124 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27125 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 27126 }
1bd55598
RD
27127 wxPyEndAllowThreads(__tstate);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 }
27130 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27131 return resultobj;
27132fail:
27133 return NULL;
d55e5bfc
RD
27134}
27135
27136
1bd55598
RD
27137SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27138 PyObject *resultobj = 0;
27139 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27140 wxPrintData *result = 0 ;
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_wxPrintDialog, 0 | 0 );
27148 if (!SWIG_IsOK(res1)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27150 }
27151 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27152 {
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 27154 {
1bd55598
RD
27155 wxPrintData &_result_ref = (arg1)->GetPrintData();
27156 result = (wxPrintData *) &_result_ref;
d55e5bfc 27157 }
1bd55598
RD
27158 wxPyEndAllowThreads(__tstate);
27159 if (PyErr_Occurred()) SWIG_fail;
27160 }
27161 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27162 return resultobj;
27163fail:
27164 return NULL;
d55e5bfc
RD
27165}
27166
27167
1bd55598
RD
27168SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27169 PyObject *resultobj = 0;
27170 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27171 wxDC *result = 0 ;
27172 void *argp1 = 0 ;
27173 int res1 = 0 ;
27174 PyObject *swig_obj[1] ;
27175
27176 if (!args) SWIG_fail;
27177 swig_obj[0] = args;
27178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27179 if (!SWIG_IsOK(res1)) {
27180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27181 }
27182 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27183 {
27184 PyThreadState* __tstate = wxPyBeginAllowThreads();
27185 result = (wxDC *)(arg1)->GetPrintDC();
27186 wxPyEndAllowThreads(__tstate);
27187 if (PyErr_Occurred()) SWIG_fail;
27188 }
27189 {
27190 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27191 }
27192 return resultobj;
27193fail:
27194 return NULL;
d55e5bfc
RD
27195}
27196
27197
1bd55598
RD
27198SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27199 PyObject *obj;
27200 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27201 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27202 return SWIG_Py_Void();
d55e5bfc
RD
27203}
27204
1bd55598
RD
27205SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27206 return SWIG_Python_InitShadowInstance(args);
27207}
d55e5bfc 27208
1bd55598
RD
27209SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27210 PyObject *resultobj = 0;
27211 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27212 wxPrinter *result = 0 ;
27213 void *argp1 = 0 ;
27214 int res1 = 0 ;
27215 PyObject * obj0 = 0 ;
27216 char * kwnames[] = {
27217 (char *) "data", NULL
27218 };
27219
27220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27221 if (obj0) {
27222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27223 if (!SWIG_IsOK(res1)) {
27224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
d55e5bfc 27225 }
1bd55598
RD
27226 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27227 }
27228 {
27229 if (!wxPyCheckForApp()) SWIG_fail;
27230 PyThreadState* __tstate = wxPyBeginAllowThreads();
27231 result = (wxPrinter *)new wxPrinter(arg1);
27232 wxPyEndAllowThreads(__tstate);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27236 return resultobj;
27237fail:
27238 return NULL;
d55e5bfc
RD
27239}
27240
27241
1bd55598
RD
27242SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27243 PyObject *resultobj = 0;
27244 wxPrinter *arg1 = (wxPrinter *) 0 ;
27245 void *argp1 = 0 ;
27246 int res1 = 0 ;
27247 PyObject *swig_obj[1] ;
27248
27249 if (!args) SWIG_fail;
27250 swig_obj[0] = args;
27251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27252 if (!SWIG_IsOK(res1)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27254 }
27255 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27256 {
27257 PyThreadState* __tstate = wxPyBeginAllowThreads();
27258 delete arg1;
d55e5bfc 27259
1bd55598
RD
27260 wxPyEndAllowThreads(__tstate);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 }
27263 resultobj = SWIG_Py_Void();
27264 return resultobj;
27265fail:
27266 return NULL;
27267}
27268
27269
27270SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27271 PyObject *resultobj = 0;
27272 wxPrinter *arg1 = (wxPrinter *) 0 ;
27273 wxWindow *arg2 = (wxWindow *) 0 ;
27274 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27275 wxWindow *result = 0 ;
27276 void *argp1 = 0 ;
27277 int res1 = 0 ;
27278 void *argp2 = 0 ;
27279 int res2 = 0 ;
27280 void *argp3 = 0 ;
27281 int res3 = 0 ;
27282 PyObject * obj0 = 0 ;
27283 PyObject * obj1 = 0 ;
27284 PyObject * obj2 = 0 ;
27285 char * kwnames[] = {
27286 (char *) "self",(char *) "parent",(char *) "printout", NULL
27287 };
27288
27289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27291 if (!SWIG_IsOK(res1)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27293 }
27294 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27295 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27296 if (!SWIG_IsOK(res2)) {
27297 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27298 }
27299 arg2 = reinterpret_cast< wxWindow * >(argp2);
27300 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27301 if (!SWIG_IsOK(res3)) {
27302 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27303 }
27304 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27305 {
27306 PyThreadState* __tstate = wxPyBeginAllowThreads();
27307 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27308 wxPyEndAllowThreads(__tstate);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 {
27312 resultobj = wxPyMake_wxObject(result, 0);
27313 }
27314 return resultobj;
27315fail:
27316 return NULL;
27317}
27318
27319
27320SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27321 PyObject *resultobj = 0;
27322 wxPrinter *arg1 = (wxPrinter *) 0 ;
27323 wxWindow *arg2 = (wxWindow *) 0 ;
27324 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27325 wxString *arg4 = 0 ;
27326 void *argp1 = 0 ;
27327 int res1 = 0 ;
27328 void *argp2 = 0 ;
27329 int res2 = 0 ;
27330 void *argp3 = 0 ;
27331 int res3 = 0 ;
27332 bool temp4 = false ;
27333 PyObject * obj0 = 0 ;
27334 PyObject * obj1 = 0 ;
27335 PyObject * obj2 = 0 ;
27336 PyObject * obj3 = 0 ;
27337 char * kwnames[] = {
27338 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27339 };
27340
27341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27343 if (!SWIG_IsOK(res1)) {
27344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27345 }
27346 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27347 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27348 if (!SWIG_IsOK(res2)) {
27349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27350 }
27351 arg2 = reinterpret_cast< wxWindow * >(argp2);
27352 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27353 if (!SWIG_IsOK(res3)) {
27354 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27355 }
27356 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27357 {
27358 arg4 = wxString_in_helper(obj3);
27359 if (arg4 == NULL) SWIG_fail;
27360 temp4 = true;
27361 }
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27365 wxPyEndAllowThreads(__tstate);
27366 if (PyErr_Occurred()) SWIG_fail;
27367 }
27368 resultobj = SWIG_Py_Void();
27369 {
27370 if (temp4)
27371 delete arg4;
27372 }
27373 return resultobj;
27374fail:
27375 {
27376 if (temp4)
27377 delete arg4;
27378 }
27379 return NULL;
27380}
27381
27382
27383SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27384 PyObject *resultobj = 0;
27385 wxPrinter *arg1 = (wxPrinter *) 0 ;
27386 wxWindow *arg2 = (wxWindow *) 0 ;
27387 bool result;
27388 void *argp1 = 0 ;
27389 int res1 = 0 ;
27390 void *argp2 = 0 ;
27391 int res2 = 0 ;
27392 PyObject * obj0 = 0 ;
27393 PyObject * obj1 = 0 ;
27394 char * kwnames[] = {
27395 (char *) "self",(char *) "parent", NULL
27396 };
27397
27398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27400 if (!SWIG_IsOK(res1)) {
27401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27402 }
27403 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27404 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27405 if (!SWIG_IsOK(res2)) {
27406 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27407 }
27408 arg2 = reinterpret_cast< wxWindow * >(argp2);
27409 {
27410 PyThreadState* __tstate = wxPyBeginAllowThreads();
27411 result = (bool)(arg1)->Setup(arg2);
27412 wxPyEndAllowThreads(__tstate);
27413 if (PyErr_Occurred()) SWIG_fail;
27414 }
27415 {
27416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27417 }
27418 return resultobj;
27419fail:
27420 return NULL;
27421}
27422
27423
27424SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27425 PyObject *resultobj = 0;
27426 wxPrinter *arg1 = (wxPrinter *) 0 ;
27427 wxWindow *arg2 = (wxWindow *) 0 ;
27428 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27429 bool arg4 = (bool) true ;
27430 bool result;
27431 void *argp1 = 0 ;
27432 int res1 = 0 ;
27433 void *argp2 = 0 ;
27434 int res2 = 0 ;
27435 void *argp3 = 0 ;
27436 int res3 = 0 ;
27437 bool val4 ;
27438 int ecode4 = 0 ;
27439 PyObject * obj0 = 0 ;
27440 PyObject * obj1 = 0 ;
27441 PyObject * obj2 = 0 ;
27442 PyObject * obj3 = 0 ;
27443 char * kwnames[] = {
27444 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27445 };
27446
27447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27449 if (!SWIG_IsOK(res1)) {
27450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27451 }
27452 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27453 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27454 if (!SWIG_IsOK(res2)) {
27455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27456 }
27457 arg2 = reinterpret_cast< wxWindow * >(argp2);
27458 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27459 if (!SWIG_IsOK(res3)) {
27460 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27461 }
27462 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27463 if (obj3) {
27464 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27465 if (!SWIG_IsOK(ecode4)) {
27466 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27467 }
27468 arg4 = static_cast< bool >(val4);
27469 }
27470 {
27471 PyThreadState* __tstate = wxPyBeginAllowThreads();
27472 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27473 wxPyEndAllowThreads(__tstate);
27474 if (PyErr_Occurred()) SWIG_fail;
27475 }
27476 {
27477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27478 }
27479 return resultobj;
27480fail:
27481 return NULL;
27482}
27483
27484
27485SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27486 PyObject *resultobj = 0;
27487 wxPrinter *arg1 = (wxPrinter *) 0 ;
27488 wxWindow *arg2 = (wxWindow *) 0 ;
27489 wxDC *result = 0 ;
27490 void *argp1 = 0 ;
27491 int res1 = 0 ;
27492 void *argp2 = 0 ;
27493 int res2 = 0 ;
27494 PyObject * obj0 = 0 ;
27495 PyObject * obj1 = 0 ;
27496 char * kwnames[] = {
27497 (char *) "self",(char *) "parent", NULL
27498 };
27499
27500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27502 if (!SWIG_IsOK(res1)) {
27503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27504 }
27505 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27506 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27507 if (!SWIG_IsOK(res2)) {
27508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27509 }
27510 arg2 = reinterpret_cast< wxWindow * >(argp2);
27511 {
27512 PyThreadState* __tstate = wxPyBeginAllowThreads();
27513 result = (wxDC *)(arg1)->PrintDialog(arg2);
27514 wxPyEndAllowThreads(__tstate);
27515 if (PyErr_Occurred()) SWIG_fail;
27516 }
27517 {
27518 resultobj = wxPyMake_wxObject(result, (bool)0);
27519 }
27520 return resultobj;
27521fail:
27522 return NULL;
d55e5bfc
RD
27523}
27524
27525
1bd55598
RD
27526SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27527 PyObject *resultobj = 0;
27528 wxPrinter *arg1 = (wxPrinter *) 0 ;
27529 wxPrintDialogData *result = 0 ;
27530 void *argp1 = 0 ;
27531 int res1 = 0 ;
27532 PyObject *swig_obj[1] ;
27533
27534 if (!args) SWIG_fail;
27535 swig_obj[0] = args;
27536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27537 if (!SWIG_IsOK(res1)) {
27538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27539 }
27540 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27541 {
27542 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 27543 {
1bd55598
RD
27544 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27545 result = (wxPrintDialogData *) &_result_ref;
36ed4f51 27546 }
1bd55598
RD
27547 wxPyEndAllowThreads(__tstate);
27548 if (PyErr_Occurred()) SWIG_fail;
27549 }
27550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27551 return resultobj;
27552fail:
27553 return NULL;
d55e5bfc
RD
27554}
27555
27556
1bd55598
RD
27557SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27558 PyObject *resultobj = 0;
27559 wxPrinter *arg1 = (wxPrinter *) 0 ;
27560 bool result;
27561 void *argp1 = 0 ;
27562 int res1 = 0 ;
27563 PyObject *swig_obj[1] ;
27564
27565 if (!args) SWIG_fail;
27566 swig_obj[0] = args;
27567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27568 if (!SWIG_IsOK(res1)) {
27569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27570 }
27571 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27572 {
27573 PyThreadState* __tstate = wxPyBeginAllowThreads();
27574 result = (bool)(arg1)->GetAbort();
27575 wxPyEndAllowThreads(__tstate);
27576 if (PyErr_Occurred()) SWIG_fail;
27577 }
27578 {
27579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27580 }
27581 return resultobj;
27582fail:
27583 return NULL;
d55e5bfc
RD
27584}
27585
27586
1bd55598
RD
27587SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27588 PyObject *resultobj = 0;
27589 wxPrinterError result;
27590
27591 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27592 {
27593 PyThreadState* __tstate = wxPyBeginAllowThreads();
27594 result = (wxPrinterError)wxPrinter::GetLastError();
27595 wxPyEndAllowThreads(__tstate);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 resultobj = SWIG_From_int(static_cast< int >(result));
27599 return resultobj;
27600fail:
27601 return NULL;
d55e5bfc
RD
27602}
27603
27604
1bd55598
RD
27605SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27606 PyObject *obj;
27607 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27608 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27609 return SWIG_Py_Void();
d55e5bfc
RD
27610}
27611
1bd55598
RD
27612SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27613 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
27614}
27615
1bd55598
RD
27616SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27617 PyObject *resultobj = 0;
27618 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27619 wxString *arg1 = (wxString *) &arg1_defvalue ;
27620 wxPyPrintout *result = 0 ;
27621 bool temp1 = false ;
27622 PyObject * obj0 = 0 ;
27623 char * kwnames[] = {
27624 (char *) "title", NULL
27625 };
27626
27627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27628 if (obj0) {
d55e5bfc 27629 {
1bd55598
RD
27630 arg1 = wxString_in_helper(obj0);
27631 if (arg1 == NULL) SWIG_fail;
27632 temp1 = true;
d55e5bfc 27633 }
1bd55598
RD
27634 }
27635 {
27636 if (!wxPyCheckForApp()) SWIG_fail;
27637 PyThreadState* __tstate = wxPyBeginAllowThreads();
27638 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27639 wxPyEndAllowThreads(__tstate);
27640 if (PyErr_Occurred()) SWIG_fail;
27641 }
27642 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27643 {
27644 if (temp1)
27645 delete arg1;
27646 }
27647 return resultobj;
27648fail:
27649 {
27650 if (temp1)
27651 delete arg1;
27652 }
27653 return NULL;
d55e5bfc
RD
27654}
27655
27656
1bd55598
RD
27657SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27658 PyObject *resultobj = 0;
27659 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27660 void *argp1 = 0 ;
27661 int res1 = 0 ;
27662 PyObject *swig_obj[1] ;
27663
27664 if (!args) SWIG_fail;
27665 swig_obj[0] = args;
27666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27667 if (!SWIG_IsOK(res1)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27669 }
27670 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27671 {
27672 PyThreadState* __tstate = wxPyBeginAllowThreads();
27673 delete arg1;
d55e5bfc 27674
1bd55598
RD
27675 wxPyEndAllowThreads(__tstate);
27676 if (PyErr_Occurred()) SWIG_fail;
27677 }
27678 resultobj = SWIG_Py_Void();
27679 return resultobj;
27680fail:
27681 return NULL;
27682}
27683
27684
27685SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27686 PyObject *resultobj = 0;
27687 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27688 PyObject *arg2 = (PyObject *) 0 ;
27689 PyObject *arg3 = (PyObject *) 0 ;
27690 void *argp1 = 0 ;
27691 int res1 = 0 ;
27692 PyObject * obj0 = 0 ;
27693 PyObject * obj1 = 0 ;
27694 PyObject * obj2 = 0 ;
27695 char * kwnames[] = {
27696 (char *) "self",(char *) "self",(char *) "_class", NULL
27697 };
27698
27699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27701 if (!SWIG_IsOK(res1)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27703 }
27704 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27705 arg2 = obj1;
27706 arg3 = obj2;
27707 {
27708 PyThreadState* __tstate = wxPyBeginAllowThreads();
27709 (arg1)->_setCallbackInfo(arg2,arg3);
27710 wxPyEndAllowThreads(__tstate);
27711 if (PyErr_Occurred()) SWIG_fail;
27712 }
27713 resultobj = SWIG_Py_Void();
27714 return resultobj;
27715fail:
27716 return NULL;
d55e5bfc
RD
27717}
27718
27719
1bd55598
RD
27720SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27721 PyObject *resultobj = 0;
27722 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27723 wxString result;
27724 void *argp1 = 0 ;
27725 int res1 = 0 ;
27726 PyObject *swig_obj[1] ;
27727
27728 if (!args) SWIG_fail;
27729 swig_obj[0] = args;
27730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27731 if (!SWIG_IsOK(res1)) {
27732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27733 }
27734 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27735 {
27736 PyThreadState* __tstate = wxPyBeginAllowThreads();
27737 result = ((wxPyPrintout const *)arg1)->GetTitle();
27738 wxPyEndAllowThreads(__tstate);
27739 if (PyErr_Occurred()) SWIG_fail;
27740 }
27741 {
27742#if wxUSE_UNICODE
27743 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27744#else
27745 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27746#endif
27747 }
27748 return resultobj;
27749fail:
27750 return NULL;
d55e5bfc
RD
27751}
27752
27753
1bd55598
RD
27754SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27755 PyObject *resultobj = 0;
27756 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27757 wxDC *result = 0 ;
27758 void *argp1 = 0 ;
27759 int res1 = 0 ;
27760 PyObject *swig_obj[1] ;
27761
27762 if (!args) SWIG_fail;
27763 swig_obj[0] = args;
27764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27765 if (!SWIG_IsOK(res1)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27767 }
27768 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27769 {
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 result = (wxDC *)(arg1)->GetDC();
27772 wxPyEndAllowThreads(__tstate);
27773 if (PyErr_Occurred()) SWIG_fail;
27774 }
27775 {
27776 resultobj = wxPyMake_wxObject(result, (bool)0);
27777 }
27778 return resultobj;
27779fail:
27780 return NULL;
27781}
27782
27783
27784SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27785 PyObject *resultobj = 0;
27786 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27787 wxDC *arg2 = (wxDC *) 0 ;
27788 void *argp1 = 0 ;
27789 int res1 = 0 ;
27790 void *argp2 = 0 ;
27791 int res2 = 0 ;
27792 PyObject * obj0 = 0 ;
27793 PyObject * obj1 = 0 ;
27794 char * kwnames[] = {
27795 (char *) "self",(char *) "dc", NULL
27796 };
27797
27798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27800 if (!SWIG_IsOK(res1)) {
27801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27802 }
27803 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27804 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27805 if (!SWIG_IsOK(res2)) {
27806 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27807 }
27808 arg2 = reinterpret_cast< wxDC * >(argp2);
27809 {
27810 PyThreadState* __tstate = wxPyBeginAllowThreads();
27811 (arg1)->SetDC(arg2);
27812 wxPyEndAllowThreads(__tstate);
27813 if (PyErr_Occurred()) SWIG_fail;
27814 }
27815 resultobj = SWIG_Py_Void();
27816 return resultobj;
27817fail:
27818 return NULL;
27819}
27820
27821
27822SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27823 PyObject *resultobj = 0;
27824 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27825 int arg2 ;
27826 int arg3 ;
27827 void *argp1 = 0 ;
27828 int res1 = 0 ;
27829 int val2 ;
27830 int ecode2 = 0 ;
27831 int val3 ;
27832 int ecode3 = 0 ;
27833 PyObject * obj0 = 0 ;
27834 PyObject * obj1 = 0 ;
27835 PyObject * obj2 = 0 ;
27836 char * kwnames[] = {
27837 (char *) "self",(char *) "w",(char *) "h", NULL
27838 };
27839
27840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27842 if (!SWIG_IsOK(res1)) {
27843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27844 }
27845 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27846 ecode2 = SWIG_AsVal_int(obj1, &val2);
27847 if (!SWIG_IsOK(ecode2)) {
27848 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27849 }
27850 arg2 = static_cast< int >(val2);
27851 ecode3 = SWIG_AsVal_int(obj2, &val3);
27852 if (!SWIG_IsOK(ecode3)) {
27853 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27854 }
27855 arg3 = static_cast< int >(val3);
27856 {
27857 PyThreadState* __tstate = wxPyBeginAllowThreads();
27858 (arg1)->SetPageSizePixels(arg2,arg3);
27859 wxPyEndAllowThreads(__tstate);
27860 if (PyErr_Occurred()) SWIG_fail;
27861 }
27862 resultobj = SWIG_Py_Void();
27863 return resultobj;
27864fail:
27865 return NULL;
27866}
27867
27868
27869SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27870 PyObject *resultobj = 0;
27871 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27872 int *arg2 = (int *) 0 ;
27873 int *arg3 = (int *) 0 ;
27874 void *argp1 = 0 ;
27875 int res1 = 0 ;
27876 int temp2 ;
27877 int res2 = SWIG_TMPOBJ ;
27878 int temp3 ;
27879 int res3 = SWIG_TMPOBJ ;
27880 PyObject *swig_obj[1] ;
27881
27882 arg2 = &temp2;
27883 arg3 = &temp3;
27884 if (!args) SWIG_fail;
27885 swig_obj[0] = args;
27886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27887 if (!SWIG_IsOK(res1)) {
27888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27889 }
27890 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27891 {
27892 PyThreadState* __tstate = wxPyBeginAllowThreads();
27893 (arg1)->GetPageSizePixels(arg2,arg3);
27894 wxPyEndAllowThreads(__tstate);
27895 if (PyErr_Occurred()) SWIG_fail;
27896 }
27897 resultobj = SWIG_Py_Void();
27898 if (SWIG_IsTmpObj(res2)) {
27899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27900 } else {
27901 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27902 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27903 }
27904 if (SWIG_IsTmpObj(res3)) {
27905 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27906 } else {
27907 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27908 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27909 }
27910 return resultobj;
27911fail:
27912 return NULL;
27913}
27914
27915
27916SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27917 PyObject *resultobj = 0;
27918 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27919 int arg2 ;
27920 int arg3 ;
27921 void *argp1 = 0 ;
27922 int res1 = 0 ;
27923 int val2 ;
27924 int ecode2 = 0 ;
27925 int val3 ;
27926 int ecode3 = 0 ;
27927 PyObject * obj0 = 0 ;
27928 PyObject * obj1 = 0 ;
27929 PyObject * obj2 = 0 ;
27930 char * kwnames[] = {
27931 (char *) "self",(char *) "w",(char *) "h", NULL
27932 };
27933
27934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27936 if (!SWIG_IsOK(res1)) {
27937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27938 }
27939 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27940 ecode2 = SWIG_AsVal_int(obj1, &val2);
27941 if (!SWIG_IsOK(ecode2)) {
27942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27943 }
27944 arg2 = static_cast< int >(val2);
27945 ecode3 = SWIG_AsVal_int(obj2, &val3);
27946 if (!SWIG_IsOK(ecode3)) {
27947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27948 }
27949 arg3 = static_cast< int >(val3);
27950 {
27951 PyThreadState* __tstate = wxPyBeginAllowThreads();
27952 (arg1)->SetPageSizeMM(arg2,arg3);
27953 wxPyEndAllowThreads(__tstate);
27954 if (PyErr_Occurred()) SWIG_fail;
27955 }
27956 resultobj = SWIG_Py_Void();
27957 return resultobj;
27958fail:
27959 return NULL;
27960}
27961
27962
27963SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27964 PyObject *resultobj = 0;
27965 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27966 int *arg2 = (int *) 0 ;
27967 int *arg3 = (int *) 0 ;
27968 void *argp1 = 0 ;
27969 int res1 = 0 ;
27970 int temp2 ;
27971 int res2 = SWIG_TMPOBJ ;
27972 int temp3 ;
27973 int res3 = SWIG_TMPOBJ ;
27974 PyObject *swig_obj[1] ;
27975
27976 arg2 = &temp2;
27977 arg3 = &temp3;
27978 if (!args) SWIG_fail;
27979 swig_obj[0] = args;
27980 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27981 if (!SWIG_IsOK(res1)) {
27982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27983 }
27984 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27985 {
27986 PyThreadState* __tstate = wxPyBeginAllowThreads();
27987 (arg1)->GetPageSizeMM(arg2,arg3);
27988 wxPyEndAllowThreads(__tstate);
27989 if (PyErr_Occurred()) SWIG_fail;
27990 }
27991 resultobj = SWIG_Py_Void();
27992 if (SWIG_IsTmpObj(res2)) {
27993 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27994 } else {
27995 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27996 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27997 }
27998 if (SWIG_IsTmpObj(res3)) {
27999 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28000 } else {
28001 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28002 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28003 }
28004 return resultobj;
28005fail:
28006 return NULL;
28007}
28008
28009
28010SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28011 PyObject *resultobj = 0;
28012 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28013 int arg2 ;
28014 int arg3 ;
28015 void *argp1 = 0 ;
28016 int res1 = 0 ;
28017 int val2 ;
28018 int ecode2 = 0 ;
28019 int val3 ;
28020 int ecode3 = 0 ;
28021 PyObject * obj0 = 0 ;
28022 PyObject * obj1 = 0 ;
28023 PyObject * obj2 = 0 ;
28024 char * kwnames[] = {
28025 (char *) "self",(char *) "x",(char *) "y", NULL
28026 };
28027
28028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28030 if (!SWIG_IsOK(res1)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28032 }
28033 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28034 ecode2 = SWIG_AsVal_int(obj1, &val2);
28035 if (!SWIG_IsOK(ecode2)) {
28036 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28037 }
28038 arg2 = static_cast< int >(val2);
28039 ecode3 = SWIG_AsVal_int(obj2, &val3);
28040 if (!SWIG_IsOK(ecode3)) {
28041 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28042 }
28043 arg3 = static_cast< int >(val3);
28044 {
28045 PyThreadState* __tstate = wxPyBeginAllowThreads();
28046 (arg1)->SetPPIScreen(arg2,arg3);
28047 wxPyEndAllowThreads(__tstate);
28048 if (PyErr_Occurred()) SWIG_fail;
28049 }
28050 resultobj = SWIG_Py_Void();
28051 return resultobj;
28052fail:
28053 return NULL;
28054}
28055
28056
28057SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28058 PyObject *resultobj = 0;
28059 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28060 int *arg2 = (int *) 0 ;
28061 int *arg3 = (int *) 0 ;
28062 void *argp1 = 0 ;
28063 int res1 = 0 ;
28064 int temp2 ;
28065 int res2 = SWIG_TMPOBJ ;
28066 int temp3 ;
28067 int res3 = SWIG_TMPOBJ ;
28068 PyObject *swig_obj[1] ;
28069
28070 arg2 = &temp2;
28071 arg3 = &temp3;
28072 if (!args) SWIG_fail;
28073 swig_obj[0] = args;
28074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28075 if (!SWIG_IsOK(res1)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28077 }
28078 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28079 {
28080 PyThreadState* __tstate = wxPyBeginAllowThreads();
28081 (arg1)->GetPPIScreen(arg2,arg3);
28082 wxPyEndAllowThreads(__tstate);
28083 if (PyErr_Occurred()) SWIG_fail;
28084 }
28085 resultobj = SWIG_Py_Void();
28086 if (SWIG_IsTmpObj(res2)) {
28087 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28088 } else {
28089 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28090 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28091 }
28092 if (SWIG_IsTmpObj(res3)) {
28093 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28094 } else {
28095 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28096 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28097 }
28098 return resultobj;
28099fail:
28100 return NULL;
28101}
28102
28103
28104SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28105 PyObject *resultobj = 0;
28106 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28107 int arg2 ;
28108 int arg3 ;
28109 void *argp1 = 0 ;
28110 int res1 = 0 ;
28111 int val2 ;
28112 int ecode2 = 0 ;
28113 int val3 ;
28114 int ecode3 = 0 ;
28115 PyObject * obj0 = 0 ;
28116 PyObject * obj1 = 0 ;
28117 PyObject * obj2 = 0 ;
28118 char * kwnames[] = {
28119 (char *) "self",(char *) "x",(char *) "y", NULL
28120 };
28121
28122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28124 if (!SWIG_IsOK(res1)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28126 }
28127 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28128 ecode2 = SWIG_AsVal_int(obj1, &val2);
28129 if (!SWIG_IsOK(ecode2)) {
28130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28131 }
28132 arg2 = static_cast< int >(val2);
28133 ecode3 = SWIG_AsVal_int(obj2, &val3);
28134 if (!SWIG_IsOK(ecode3)) {
28135 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28136 }
28137 arg3 = static_cast< int >(val3);
28138 {
28139 PyThreadState* __tstate = wxPyBeginAllowThreads();
28140 (arg1)->SetPPIPrinter(arg2,arg3);
28141 wxPyEndAllowThreads(__tstate);
28142 if (PyErr_Occurred()) SWIG_fail;
28143 }
28144 resultobj = SWIG_Py_Void();
28145 return resultobj;
28146fail:
28147 return NULL;
28148}
28149
28150
28151SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28152 PyObject *resultobj = 0;
28153 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28154 int *arg2 = (int *) 0 ;
28155 int *arg3 = (int *) 0 ;
28156 void *argp1 = 0 ;
28157 int res1 = 0 ;
28158 int temp2 ;
28159 int res2 = SWIG_TMPOBJ ;
28160 int temp3 ;
28161 int res3 = SWIG_TMPOBJ ;
28162 PyObject *swig_obj[1] ;
28163
28164 arg2 = &temp2;
28165 arg3 = &temp3;
28166 if (!args) SWIG_fail;
28167 swig_obj[0] = args;
28168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28169 if (!SWIG_IsOK(res1)) {
28170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28171 }
28172 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28173 {
28174 PyThreadState* __tstate = wxPyBeginAllowThreads();
28175 (arg1)->GetPPIPrinter(arg2,arg3);
28176 wxPyEndAllowThreads(__tstate);
28177 if (PyErr_Occurred()) SWIG_fail;
28178 }
28179 resultobj = SWIG_Py_Void();
28180 if (SWIG_IsTmpObj(res2)) {
28181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28182 } else {
28183 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28184 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28185 }
28186 if (SWIG_IsTmpObj(res3)) {
28187 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28188 } else {
28189 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28190 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28191 }
28192 return resultobj;
28193fail:
28194 return NULL;
d55e5bfc
RD
28195}
28196
28197
1bd55598
RD
28198SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28199 PyObject *resultobj = 0;
28200 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28201 bool result;
28202 void *argp1 = 0 ;
28203 int res1 = 0 ;
28204 PyObject *swig_obj[1] ;
28205
28206 if (!args) SWIG_fail;
28207 swig_obj[0] = args;
28208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28209 if (!SWIG_IsOK(res1)) {
28210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28211 }
28212 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28213 {
28214 PyThreadState* __tstate = wxPyBeginAllowThreads();
28215 result = (bool)(arg1)->IsPreview();
28216 wxPyEndAllowThreads(__tstate);
28217 if (PyErr_Occurred()) SWIG_fail;
28218 }
28219 {
28220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28221 }
28222 return resultobj;
28223fail:
28224 return NULL;
28225}
28226
28227
28228SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28229 PyObject *resultobj = 0;
28230 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28231 bool arg2 ;
28232 void *argp1 = 0 ;
28233 int res1 = 0 ;
28234 bool val2 ;
28235 int ecode2 = 0 ;
28236 PyObject * obj0 = 0 ;
28237 PyObject * obj1 = 0 ;
28238 char * kwnames[] = {
28239 (char *) "self",(char *) "p", NULL
28240 };
28241
28242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28244 if (!SWIG_IsOK(res1)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28246 }
28247 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28248 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28249 if (!SWIG_IsOK(ecode2)) {
28250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28251 }
28252 arg2 = static_cast< bool >(val2);
28253 {
28254 PyThreadState* __tstate = wxPyBeginAllowThreads();
28255 (arg1)->SetIsPreview(arg2);
28256 wxPyEndAllowThreads(__tstate);
28257 if (PyErr_Occurred()) SWIG_fail;
28258 }
28259 resultobj = SWIG_Py_Void();
28260 return resultobj;
28261fail:
28262 return NULL;
28263}
28264
28265
28266SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28267 PyObject *resultobj = 0;
28268 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28269 int arg2 ;
28270 int arg3 ;
28271 bool result;
28272 void *argp1 = 0 ;
28273 int res1 = 0 ;
28274 int val2 ;
28275 int ecode2 = 0 ;
28276 int val3 ;
28277 int ecode3 = 0 ;
28278 PyObject * obj0 = 0 ;
28279 PyObject * obj1 = 0 ;
28280 PyObject * obj2 = 0 ;
28281 char * kwnames[] = {
28282 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28283 };
28284
28285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28287 if (!SWIG_IsOK(res1)) {
28288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28289 }
28290 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28291 ecode2 = SWIG_AsVal_int(obj1, &val2);
28292 if (!SWIG_IsOK(ecode2)) {
28293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28294 }
28295 arg2 = static_cast< int >(val2);
28296 ecode3 = SWIG_AsVal_int(obj2, &val3);
28297 if (!SWIG_IsOK(ecode3)) {
28298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28299 }
28300 arg3 = static_cast< int >(val3);
28301 {
28302 PyThreadState* __tstate = wxPyBeginAllowThreads();
28303 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28304 wxPyEndAllowThreads(__tstate);
28305 if (PyErr_Occurred()) SWIG_fail;
28306 }
28307 {
28308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28309 }
28310 return resultobj;
28311fail:
28312 return NULL;
d55e5bfc
RD
28313}
28314
28315
1bd55598
RD
28316SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28317 PyObject *resultobj = 0;
28318 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28319 void *argp1 = 0 ;
28320 int res1 = 0 ;
28321 PyObject *swig_obj[1] ;
28322
28323 if (!args) SWIG_fail;
28324 swig_obj[0] = args;
28325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28326 if (!SWIG_IsOK(res1)) {
28327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28328 }
28329 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28330 {
28331 PyThreadState* __tstate = wxPyBeginAllowThreads();
28332 (arg1)->OnEndDocument();
28333 wxPyEndAllowThreads(__tstate);
28334 if (PyErr_Occurred()) SWIG_fail;
28335 }
28336 resultobj = SWIG_Py_Void();
28337 return resultobj;
28338fail:
28339 return NULL;
28340}
28341
28342
28343SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28344 PyObject *resultobj = 0;
28345 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28346 void *argp1 = 0 ;
28347 int res1 = 0 ;
28348 PyObject *swig_obj[1] ;
28349
28350 if (!args) SWIG_fail;
28351 swig_obj[0] = args;
28352 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28353 if (!SWIG_IsOK(res1)) {
28354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28355 }
28356 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28357 {
28358 PyThreadState* __tstate = wxPyBeginAllowThreads();
28359 (arg1)->OnBeginPrinting();
28360 wxPyEndAllowThreads(__tstate);
28361 if (PyErr_Occurred()) SWIG_fail;
28362 }
28363 resultobj = SWIG_Py_Void();
28364 return resultobj;
28365fail:
28366 return NULL;
28367}
28368
28369
28370SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28371 PyObject *resultobj = 0;
28372 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28373 void *argp1 = 0 ;
28374 int res1 = 0 ;
28375 PyObject *swig_obj[1] ;
28376
28377 if (!args) SWIG_fail;
28378 swig_obj[0] = args;
28379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28380 if (!SWIG_IsOK(res1)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28382 }
28383 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28384 {
28385 PyThreadState* __tstate = wxPyBeginAllowThreads();
28386 (arg1)->OnEndPrinting();
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 resultobj = SWIG_Py_Void();
28391 return resultobj;
28392fail:
28393 return NULL;
28394}
28395
28396
28397SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28398 PyObject *resultobj = 0;
28399 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
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_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28409 }
28410 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28411 {
28412 PyThreadState* __tstate = wxPyBeginAllowThreads();
28413 (arg1)->OnPreparePrinting();
28414 wxPyEndAllowThreads(__tstate);
28415 if (PyErr_Occurred()) SWIG_fail;
28416 }
28417 resultobj = SWIG_Py_Void();
28418 return resultobj;
28419fail:
28420 return NULL;
28421}
28422
28423
28424SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28425 PyObject *resultobj = 0;
28426 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28427 int arg2 ;
28428 bool result;
28429 void *argp1 = 0 ;
28430 int res1 = 0 ;
28431 int val2 ;
28432 int ecode2 = 0 ;
28433 PyObject * obj0 = 0 ;
28434 PyObject * obj1 = 0 ;
28435 char * kwnames[] = {
28436 (char *) "self",(char *) "page", NULL
28437 };
28438
28439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28441 if (!SWIG_IsOK(res1)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28443 }
28444 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28445 ecode2 = SWIG_AsVal_int(obj1, &val2);
28446 if (!SWIG_IsOK(ecode2)) {
28447 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28448 }
28449 arg2 = static_cast< int >(val2);
28450 {
28451 PyThreadState* __tstate = wxPyBeginAllowThreads();
28452 result = (bool)(arg1)->HasPage(arg2);
28453 wxPyEndAllowThreads(__tstate);
28454 if (PyErr_Occurred()) SWIG_fail;
28455 }
28456 {
28457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28458 }
28459 return resultobj;
28460fail:
28461 return NULL;
28462}
28463
28464
28465SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28466 PyObject *resultobj = 0;
28467 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28468 int *arg2 = (int *) 0 ;
28469 int *arg3 = (int *) 0 ;
28470 int *arg4 = (int *) 0 ;
28471 int *arg5 = (int *) 0 ;
28472 void *argp1 = 0 ;
28473 int res1 = 0 ;
28474 int temp2 ;
28475 int res2 = SWIG_TMPOBJ ;
28476 int temp3 ;
28477 int res3 = SWIG_TMPOBJ ;
28478 int temp4 ;
28479 int res4 = SWIG_TMPOBJ ;
28480 int temp5 ;
28481 int res5 = SWIG_TMPOBJ ;
28482 PyObject *swig_obj[1] ;
28483
28484 arg2 = &temp2;
28485 arg3 = &temp3;
28486 arg4 = &temp4;
28487 arg5 = &temp5;
28488 if (!args) SWIG_fail;
28489 swig_obj[0] = args;
28490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28491 if (!SWIG_IsOK(res1)) {
28492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28493 }
28494 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28495 {
28496 PyThreadState* __tstate = wxPyBeginAllowThreads();
28497 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28498 wxPyEndAllowThreads(__tstate);
28499 if (PyErr_Occurred()) SWIG_fail;
28500 }
28501 resultobj = SWIG_Py_Void();
28502 if (SWIG_IsTmpObj(res2)) {
28503 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28504 } else {
28505 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28506 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28507 }
28508 if (SWIG_IsTmpObj(res3)) {
28509 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28510 } else {
28511 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28512 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28513 }
28514 if (SWIG_IsTmpObj(res4)) {
28515 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28516 } else {
28517 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28518 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28519 }
28520 if (SWIG_IsTmpObj(res5)) {
28521 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28522 } else {
28523 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28524 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28525 }
28526 return resultobj;
28527fail:
28528 return NULL;
28529}
28530
28531
28532SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28533 PyObject *obj;
28534 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28535 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28536 return SWIG_Py_Void();
28537}
28538
28539SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28540 return SWIG_Python_InitShadowInstance(args);
28541}
28542
28543SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28544 PyObject *resultobj = 0;
28545 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28546 wxWindow *arg2 = (wxWindow *) 0 ;
28547 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28548 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28549 wxSize const &arg4_defvalue = wxDefaultSize ;
28550 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28551 long arg5 = (long) 0 ;
28552 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28553 wxString *arg6 = (wxString *) &arg6_defvalue ;
28554 wxPreviewCanvas *result = 0 ;
28555 void *argp1 = 0 ;
28556 int res1 = 0 ;
28557 void *argp2 = 0 ;
28558 int res2 = 0 ;
28559 wxPoint temp3 ;
28560 wxSize temp4 ;
28561 long val5 ;
28562 int ecode5 = 0 ;
28563 bool temp6 = false ;
28564 PyObject * obj0 = 0 ;
28565 PyObject * obj1 = 0 ;
28566 PyObject * obj2 = 0 ;
28567 PyObject * obj3 = 0 ;
28568 PyObject * obj4 = 0 ;
28569 PyObject * obj5 = 0 ;
28570 char * kwnames[] = {
28571 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28572 };
28573
28574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28576 if (!SWIG_IsOK(res1)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28578 }
28579 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28581 if (!SWIG_IsOK(res2)) {
28582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28583 }
28584 arg2 = reinterpret_cast< wxWindow * >(argp2);
28585 if (obj2) {
d55e5bfc 28586 {
1bd55598
RD
28587 arg3 = &temp3;
28588 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
d55e5bfc 28589 }
1bd55598
RD
28590 }
28591 if (obj3) {
d55e5bfc 28592 {
1bd55598
RD
28593 arg4 = &temp4;
28594 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28595 }
1bd55598
RD
28596 }
28597 if (obj4) {
28598 ecode5 = SWIG_AsVal_long(obj4, &val5);
28599 if (!SWIG_IsOK(ecode5)) {
28600 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28601 }
28602 arg5 = static_cast< long >(val5);
28603 }
28604 if (obj5) {
d55e5bfc 28605 {
1bd55598
RD
28606 arg6 = wxString_in_helper(obj5);
28607 if (arg6 == NULL) SWIG_fail;
28608 temp6 = true;
d55e5bfc 28609 }
1bd55598
RD
28610 }
28611 {
28612 if (!wxPyCheckForApp()) SWIG_fail;
28613 PyThreadState* __tstate = wxPyBeginAllowThreads();
28614 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28615 wxPyEndAllowThreads(__tstate);
28616 if (PyErr_Occurred()) SWIG_fail;
28617 }
28618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28619 {
28620 if (temp6)
28621 delete arg6;
28622 }
28623 return resultobj;
28624fail:
28625 {
28626 if (temp6)
28627 delete arg6;
28628 }
28629 return NULL;
28630}
28631
28632
28633SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28634 PyObject *obj;
28635 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28636 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28637 return SWIG_Py_Void();
28638}
28639
28640SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28641 return SWIG_Python_InitShadowInstance(args);
28642}
28643
28644SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28645 PyObject *resultobj = 0;
28646 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28647 wxFrame *arg2 = (wxFrame *) 0 ;
28648 wxString *arg3 = 0 ;
28649 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28650 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28651 wxSize const &arg5_defvalue = wxDefaultSize ;
28652 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28653 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28654 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28655 wxString *arg7 = (wxString *) &arg7_defvalue ;
28656 wxPreviewFrame *result = 0 ;
28657 int res1 = 0 ;
28658 void *argp2 = 0 ;
28659 int res2 = 0 ;
28660 bool temp3 = false ;
28661 wxPoint temp4 ;
28662 wxSize temp5 ;
28663 long val6 ;
28664 int ecode6 = 0 ;
28665 bool temp7 = false ;
28666 PyObject * obj0 = 0 ;
28667 PyObject * obj1 = 0 ;
28668 PyObject * obj2 = 0 ;
28669 PyObject * obj3 = 0 ;
28670 PyObject * obj4 = 0 ;
28671 PyObject * obj5 = 0 ;
28672 PyObject * obj6 = 0 ;
28673 char * kwnames[] = {
28674 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28675 };
28676
28677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28678 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28679 if (!SWIG_IsOK(res1)) {
28680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28681 }
28682 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28683 if (!SWIG_IsOK(res2)) {
28684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28685 }
28686 arg2 = reinterpret_cast< wxFrame * >(argp2);
28687 {
28688 arg3 = wxString_in_helper(obj2);
28689 if (arg3 == NULL) SWIG_fail;
28690 temp3 = true;
28691 }
28692 if (obj3) {
d55e5bfc 28693 {
1bd55598
RD
28694 arg4 = &temp4;
28695 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 28696 }
1bd55598
RD
28697 }
28698 if (obj4) {
d55e5bfc 28699 {
1bd55598
RD
28700 arg5 = &temp5;
28701 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 28702 }
1bd55598
RD
28703 }
28704 if (obj5) {
28705 ecode6 = SWIG_AsVal_long(obj5, &val6);
28706 if (!SWIG_IsOK(ecode6)) {
28707 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28708 }
28709 arg6 = static_cast< long >(val6);
28710 }
28711 if (obj6) {
d55e5bfc 28712 {
1bd55598
RD
28713 arg7 = wxString_in_helper(obj6);
28714 if (arg7 == NULL) SWIG_fail;
28715 temp7 = true;
d55e5bfc 28716 }
1bd55598
RD
28717 }
28718 {
28719 if (!wxPyCheckForApp()) SWIG_fail;
28720 PyThreadState* __tstate = wxPyBeginAllowThreads();
28721 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28722 wxPyEndAllowThreads(__tstate);
28723 if (PyErr_Occurred()) SWIG_fail;
28724 }
28725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28726 {
28727 if (temp3)
28728 delete arg3;
28729 }
28730 {
28731 if (temp7)
28732 delete arg7;
28733 }
28734 return resultobj;
28735fail:
28736 {
28737 if (temp3)
28738 delete arg3;
28739 }
28740 {
28741 if (temp7)
28742 delete arg7;
28743 }
28744 return NULL;
d55e5bfc
RD
28745}
28746
28747
1bd55598
RD
28748SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28749 PyObject *resultobj = 0;
28750 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28751 void *argp1 = 0 ;
28752 int res1 = 0 ;
28753 PyObject *swig_obj[1] ;
28754
28755 if (!args) SWIG_fail;
28756 swig_obj[0] = args;
28757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28758 if (!SWIG_IsOK(res1)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28760 }
28761 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28762 {
28763 PyThreadState* __tstate = wxPyBeginAllowThreads();
28764 (arg1)->Initialize();
28765 wxPyEndAllowThreads(__tstate);
28766 if (PyErr_Occurred()) SWIG_fail;
28767 }
28768 resultobj = SWIG_Py_Void();
28769 return resultobj;
28770fail:
28771 return NULL;
d55e5bfc
RD
28772}
28773
28774
1bd55598
RD
28775SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28776 PyObject *resultobj = 0;
28777 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28778 void *argp1 = 0 ;
28779 int res1 = 0 ;
28780 PyObject *swig_obj[1] ;
28781
28782 if (!args) SWIG_fail;
28783 swig_obj[0] = args;
28784 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28785 if (!SWIG_IsOK(res1)) {
28786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28787 }
28788 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28789 {
28790 PyThreadState* __tstate = wxPyBeginAllowThreads();
28791 (arg1)->CreateControlBar();
28792 wxPyEndAllowThreads(__tstate);
28793 if (PyErr_Occurred()) SWIG_fail;
28794 }
28795 resultobj = SWIG_Py_Void();
28796 return resultobj;
28797fail:
28798 return NULL;
d55e5bfc
RD
28799}
28800
28801
1bd55598
RD
28802SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28803 PyObject *resultobj = 0;
28804 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28805 void *argp1 = 0 ;
28806 int res1 = 0 ;
28807 PyObject *swig_obj[1] ;
28808
28809 if (!args) SWIG_fail;
28810 swig_obj[0] = args;
28811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28812 if (!SWIG_IsOK(res1)) {
28813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28814 }
28815 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28816 {
28817 PyThreadState* __tstate = wxPyBeginAllowThreads();
28818 (arg1)->CreateCanvas();
28819 wxPyEndAllowThreads(__tstate);
28820 if (PyErr_Occurred()) SWIG_fail;
28821 }
28822 resultobj = SWIG_Py_Void();
28823 return resultobj;
28824fail:
28825 return NULL;
d55e5bfc
RD
28826}
28827
28828
1bd55598
RD
28829SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28830 PyObject *resultobj = 0;
28831 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28832 wxPreviewControlBar *result = 0 ;
28833 void *argp1 = 0 ;
28834 int res1 = 0 ;
28835 PyObject *swig_obj[1] ;
28836
28837 if (!args) SWIG_fail;
28838 swig_obj[0] = args;
28839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28840 if (!SWIG_IsOK(res1)) {
28841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28842 }
28843 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28844 {
28845 PyThreadState* __tstate = wxPyBeginAllowThreads();
28846 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28847 wxPyEndAllowThreads(__tstate);
28848 if (PyErr_Occurred()) SWIG_fail;
28849 }
28850 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28851 return resultobj;
28852fail:
28853 return NULL;
28854}
28855
28856
28857SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28858 PyObject *obj;
28859 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28860 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28861 return SWIG_Py_Void();
28862}
28863
28864SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28865 return SWIG_Python_InitShadowInstance(args);
28866}
28867
28868SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28869 PyObject *resultobj = 0;
28870 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28871 long arg2 ;
28872 wxWindow *arg3 = (wxWindow *) 0 ;
28873 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28874 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28875 wxSize const &arg5_defvalue = wxDefaultSize ;
28876 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28877 long arg6 = (long) wxTAB_TRAVERSAL ;
28878 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28879 wxString *arg7 = (wxString *) &arg7_defvalue ;
28880 wxPreviewControlBar *result = 0 ;
28881 void *argp1 = 0 ;
28882 int res1 = 0 ;
28883 long val2 ;
28884 int ecode2 = 0 ;
28885 void *argp3 = 0 ;
28886 int res3 = 0 ;
28887 wxPoint temp4 ;
28888 wxSize temp5 ;
28889 long val6 ;
28890 int ecode6 = 0 ;
28891 bool temp7 = false ;
28892 PyObject * obj0 = 0 ;
28893 PyObject * obj1 = 0 ;
28894 PyObject * obj2 = 0 ;
28895 PyObject * obj3 = 0 ;
28896 PyObject * obj4 = 0 ;
28897 PyObject * obj5 = 0 ;
28898 PyObject * obj6 = 0 ;
28899 char * kwnames[] = {
28900 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28901 };
28902
28903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28905 if (!SWIG_IsOK(res1)) {
28906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28907 }
28908 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28909 ecode2 = SWIG_AsVal_long(obj1, &val2);
28910 if (!SWIG_IsOK(ecode2)) {
28911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28912 }
28913 arg2 = static_cast< long >(val2);
28914 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28915 if (!SWIG_IsOK(res3)) {
28916 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28917 }
28918 arg3 = reinterpret_cast< wxWindow * >(argp3);
28919 if (obj3) {
28920 {
28921 arg4 = &temp4;
28922 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28923 }
28924 }
28925 if (obj4) {
a5ee0656 28926 {
1bd55598
RD
28927 arg5 = &temp5;
28928 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
a5ee0656 28929 }
1bd55598
RD
28930 }
28931 if (obj5) {
28932 ecode6 = SWIG_AsVal_long(obj5, &val6);
28933 if (!SWIG_IsOK(ecode6)) {
28934 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28935 }
28936 arg6 = static_cast< long >(val6);
28937 }
28938 if (obj6) {
a5ee0656 28939 {
1bd55598
RD
28940 arg7 = wxString_in_helper(obj6);
28941 if (arg7 == NULL) SWIG_fail;
28942 temp7 = true;
a5ee0656 28943 }
1bd55598
RD
28944 }
28945 {
28946 if (!wxPyCheckForApp()) SWIG_fail;
28947 PyThreadState* __tstate = wxPyBeginAllowThreads();
28948 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28949 wxPyEndAllowThreads(__tstate);
28950 if (PyErr_Occurred()) SWIG_fail;
28951 }
28952 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28953 {
28954 if (temp7)
28955 delete arg7;
28956 }
28957 return resultobj;
28958fail:
28959 {
28960 if (temp7)
28961 delete arg7;
28962 }
28963 return NULL;
a5ee0656
RD
28964}
28965
28966
1bd55598
RD
28967SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28968 PyObject *resultobj = 0;
28969 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28970 int result;
28971 void *argp1 = 0 ;
28972 int res1 = 0 ;
28973 PyObject *swig_obj[1] ;
28974
28975 if (!args) SWIG_fail;
28976 swig_obj[0] = args;
28977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28978 if (!SWIG_IsOK(res1)) {
28979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28980 }
28981 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28982 {
28983 PyThreadState* __tstate = wxPyBeginAllowThreads();
28984 result = (int)(arg1)->GetZoomControl();
28985 wxPyEndAllowThreads(__tstate);
28986 if (PyErr_Occurred()) SWIG_fail;
28987 }
28988 resultobj = SWIG_From_int(static_cast< int >(result));
28989 return resultobj;
28990fail:
28991 return NULL;
28992}
28993
28994
28995SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28996 PyObject *resultobj = 0;
28997 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28998 int arg2 ;
28999 void *argp1 = 0 ;
29000 int res1 = 0 ;
29001 int val2 ;
29002 int ecode2 = 0 ;
29003 PyObject * obj0 = 0 ;
29004 PyObject * obj1 = 0 ;
29005 char * kwnames[] = {
29006 (char *) "self",(char *) "zoom", NULL
29007 };
29008
29009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29011 if (!SWIG_IsOK(res1)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29013 }
29014 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29015 ecode2 = SWIG_AsVal_int(obj1, &val2);
29016 if (!SWIG_IsOK(ecode2)) {
29017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29018 }
29019 arg2 = static_cast< int >(val2);
29020 {
29021 PyThreadState* __tstate = wxPyBeginAllowThreads();
29022 (arg1)->SetZoomControl(arg2);
29023 wxPyEndAllowThreads(__tstate);
29024 if (PyErr_Occurred()) SWIG_fail;
29025 }
29026 resultobj = SWIG_Py_Void();
29027 return resultobj;
29028fail:
29029 return NULL;
8d38bd1d
RD
29030}
29031
29032
1bd55598
RD
29033SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29034 PyObject *resultobj = 0;
29035 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29036 wxPrintPreview *result = 0 ;
29037 void *argp1 = 0 ;
29038 int res1 = 0 ;
29039 PyObject *swig_obj[1] ;
29040
29041 if (!args) SWIG_fail;
29042 swig_obj[0] = args;
29043 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29044 if (!SWIG_IsOK(res1)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29046 }
29047 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29048 {
29049 PyThreadState* __tstate = wxPyBeginAllowThreads();
29050 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29051 wxPyEndAllowThreads(__tstate);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
29054 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29055 return resultobj;
29056fail:
29057 return NULL;
d55e5bfc
RD
29058}
29059
29060
1bd55598
RD
29061SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29062 PyObject *resultobj = 0;
29063 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29064 void *argp1 = 0 ;
29065 int res1 = 0 ;
29066 PyObject *swig_obj[1] ;
29067
29068 if (!args) SWIG_fail;
29069 swig_obj[0] = args;
29070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29071 if (!SWIG_IsOK(res1)) {
29072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29073 }
29074 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29075 {
29076 PyThreadState* __tstate = wxPyBeginAllowThreads();
29077 (arg1)->OnNext();
29078 wxPyEndAllowThreads(__tstate);
29079 if (PyErr_Occurred()) SWIG_fail;
29080 }
29081 resultobj = SWIG_Py_Void();
29082 return resultobj;
29083fail:
29084 return NULL;
d55e5bfc
RD
29085}
29086
29087
1bd55598
RD
29088SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29089 PyObject *resultobj = 0;
29090 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29091 void *argp1 = 0 ;
29092 int res1 = 0 ;
29093 PyObject *swig_obj[1] ;
29094
29095 if (!args) SWIG_fail;
29096 swig_obj[0] = args;
29097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29098 if (!SWIG_IsOK(res1)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29100 }
29101 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29102 {
29103 PyThreadState* __tstate = wxPyBeginAllowThreads();
29104 (arg1)->OnPrevious();
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 resultobj = SWIG_Py_Void();
29109 return resultobj;
29110fail:
29111 return NULL;
d55e5bfc
RD
29112}
29113
29114
1bd55598
RD
29115SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29116 PyObject *resultobj = 0;
29117 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29118 void *argp1 = 0 ;
29119 int res1 = 0 ;
29120 PyObject *swig_obj[1] ;
29121
29122 if (!args) SWIG_fail;
29123 swig_obj[0] = args;
29124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29125 if (!SWIG_IsOK(res1)) {
29126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29127 }
29128 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29129 {
29130 PyThreadState* __tstate = wxPyBeginAllowThreads();
29131 (arg1)->OnFirst();
29132 wxPyEndAllowThreads(__tstate);
29133 if (PyErr_Occurred()) SWIG_fail;
29134 }
29135 resultobj = SWIG_Py_Void();
29136 return resultobj;
29137fail:
29138 return NULL;
a5ee0656
RD
29139}
29140
29141
1bd55598
RD
29142SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29143 PyObject *resultobj = 0;
29144 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29145 void *argp1 = 0 ;
29146 int res1 = 0 ;
29147 PyObject *swig_obj[1] ;
29148
29149 if (!args) SWIG_fail;
29150 swig_obj[0] = args;
29151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29152 if (!SWIG_IsOK(res1)) {
29153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29154 }
29155 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29156 {
29157 PyThreadState* __tstate = wxPyBeginAllowThreads();
29158 (arg1)->OnLast();
29159 wxPyEndAllowThreads(__tstate);
29160 if (PyErr_Occurred()) SWIG_fail;
29161 }
29162 resultobj = SWIG_Py_Void();
29163 return resultobj;
29164fail:
29165 return NULL;
976dbff5
RD
29166}
29167
29168
1bd55598
RD
29169SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29170 PyObject *resultobj = 0;
29171 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29172 void *argp1 = 0 ;
29173 int res1 = 0 ;
29174 PyObject *swig_obj[1] ;
29175
29176 if (!args) SWIG_fail;
29177 swig_obj[0] = args;
29178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29179 if (!SWIG_IsOK(res1)) {
29180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29181 }
29182 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29183 {
29184 PyThreadState* __tstate = wxPyBeginAllowThreads();
29185 (arg1)->OnGoto();
29186 wxPyEndAllowThreads(__tstate);
29187 if (PyErr_Occurred()) SWIG_fail;
29188 }
29189 resultobj = SWIG_Py_Void();
29190 return resultobj;
29191fail:
29192 return NULL;
d55e5bfc
RD
29193}
29194
29195
1bd55598
RD
29196SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29197 PyObject *obj;
29198 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29199 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29200 return SWIG_Py_Void();
29201}
29202
29203SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29204 return SWIG_Python_InitShadowInstance(args);
29205}
29206
29207SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29208 PyObject *resultobj = 0;
29209 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29210 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29211 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29212 wxPrintPreview *result = 0 ;
29213 int res1 = 0 ;
29214 int res2 = 0 ;
29215 void *argp3 = 0 ;
29216 int res3 = 0 ;
29217
29218 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29219 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29220 if (!SWIG_IsOK(res1)) {
29221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29222 }
29223 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29224 if (!SWIG_IsOK(res2)) {
29225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29226 }
29227 if (swig_obj[2]) {
29228 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29229 if (!SWIG_IsOK(res3)) {
29230 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
36ed4f51 29231 }
1bd55598
RD
29232 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29233 }
29234 {
29235 if (!wxPyCheckForApp()) SWIG_fail;
29236 PyThreadState* __tstate = wxPyBeginAllowThreads();
29237 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29238 wxPyEndAllowThreads(__tstate);
29239 if (PyErr_Occurred()) SWIG_fail;
29240 }
29241 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29242 return resultobj;
29243fail:
29244 return NULL;
29245}
29246
29247
29248SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29249 PyObject *resultobj = 0;
29250 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29251 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29252 wxPrintData *arg3 = (wxPrintData *) 0 ;
29253 wxPrintPreview *result = 0 ;
29254 int res1 = 0 ;
29255 int res2 = 0 ;
29256 void *argp3 = 0 ;
29257 int res3 = 0 ;
29258
29259 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29260 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29261 if (!SWIG_IsOK(res1)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29263 }
29264 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29265 if (!SWIG_IsOK(res2)) {
29266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29267 }
29268 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29269 if (!SWIG_IsOK(res3)) {
29270 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29271 }
29272 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29273 {
29274 if (!wxPyCheckForApp()) SWIG_fail;
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29277 wxPyEndAllowThreads(__tstate);
29278 if (PyErr_Occurred()) SWIG_fail;
29279 }
29280 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29281 return resultobj;
29282fail:
29283 return NULL;
d55e5bfc
RD
29284}
29285
29286
1bd55598
RD
29287SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29288 int argc;
29289 PyObject *argv[4];
29290
29291 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29292 --argc;
29293 if ((argc >= 2) && (argc <= 3)) {
29294 int _v = 0;
29295 if (argc > 2) {
29296 {
29297 void *vptr = 0;
29298 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29299 _v = SWIG_CheckState(res);
29300 }
29301 if (!_v) goto check_1;
36ed4f51 29302 }
1bd55598
RD
29303 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29304 }
29305check_1:
29306
29307 if (argc == 3) {
29308 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29309 }
29310
29311fail:
29312 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29313 return NULL;
d55e5bfc
RD
29314}
29315
29316
1bd55598
RD
29317SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29318 PyObject *resultobj = 0;
29319 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29320 void *argp1 = 0 ;
29321 int res1 = 0 ;
29322 PyObject *swig_obj[1] ;
29323
29324 if (!args) SWIG_fail;
29325 swig_obj[0] = args;
29326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29327 if (!SWIG_IsOK(res1)) {
29328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29329 }
29330 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29331 {
29332 PyThreadState* __tstate = wxPyBeginAllowThreads();
29333 delete arg1;
d55e5bfc 29334
1bd55598
RD
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
29338 resultobj = SWIG_Py_Void();
29339 return resultobj;
29340fail:
29341 return NULL;
29342}
29343
29344
29345SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29346 PyObject *resultobj = 0;
29347 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29348 int arg2 ;
29349 bool result;
29350 void *argp1 = 0 ;
29351 int res1 = 0 ;
29352 int val2 ;
29353 int ecode2 = 0 ;
29354 PyObject * obj0 = 0 ;
29355 PyObject * obj1 = 0 ;
29356 char * kwnames[] = {
29357 (char *) "self",(char *) "pageNum", NULL
29358 };
29359
29360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29362 if (!SWIG_IsOK(res1)) {
29363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29364 }
29365 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29366 ecode2 = SWIG_AsVal_int(obj1, &val2);
29367 if (!SWIG_IsOK(ecode2)) {
29368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29369 }
29370 arg2 = static_cast< int >(val2);
29371 {
29372 PyThreadState* __tstate = wxPyBeginAllowThreads();
29373 result = (bool)(arg1)->SetCurrentPage(arg2);
29374 wxPyEndAllowThreads(__tstate);
29375 if (PyErr_Occurred()) SWIG_fail;
29376 }
29377 {
29378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29379 }
29380 return resultobj;
29381fail:
29382 return NULL;
d55e5bfc
RD
29383}
29384
29385
1bd55598
RD
29386SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29387 PyObject *resultobj = 0;
29388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29389 int result;
29390 void *argp1 = 0 ;
29391 int res1 = 0 ;
29392 PyObject *swig_obj[1] ;
29393
29394 if (!args) SWIG_fail;
29395 swig_obj[0] = args;
29396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29397 if (!SWIG_IsOK(res1)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29399 }
29400 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29401 {
29402 PyThreadState* __tstate = wxPyBeginAllowThreads();
29403 result = (int)(arg1)->GetCurrentPage();
29404 wxPyEndAllowThreads(__tstate);
29405 if (PyErr_Occurred()) SWIG_fail;
29406 }
29407 resultobj = SWIG_From_int(static_cast< int >(result));
29408 return resultobj;
29409fail:
29410 return NULL;
29411}
29412
29413
29414SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29415 PyObject *resultobj = 0;
29416 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29417 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29418 void *argp1 = 0 ;
29419 int res1 = 0 ;
29420 int res2 = 0 ;
29421 PyObject * obj0 = 0 ;
29422 PyObject * obj1 = 0 ;
29423 char * kwnames[] = {
29424 (char *) "self",(char *) "printout", NULL
29425 };
29426
29427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29429 if (!SWIG_IsOK(res1)) {
29430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29431 }
29432 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29433 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29434 if (!SWIG_IsOK(res2)) {
29435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29436 }
29437 {
29438 PyThreadState* __tstate = wxPyBeginAllowThreads();
29439 (arg1)->SetPrintout(arg2);
29440 wxPyEndAllowThreads(__tstate);
29441 if (PyErr_Occurred()) SWIG_fail;
29442 }
29443 resultobj = SWIG_Py_Void();
29444 return resultobj;
29445fail:
29446 return NULL;
d55e5bfc
RD
29447}
29448
29449
1bd55598
RD
29450SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29451 PyObject *resultobj = 0;
29452 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29453 wxPyPrintout *result = 0 ;
29454 void *argp1 = 0 ;
29455 int res1 = 0 ;
29456 PyObject *swig_obj[1] ;
29457
29458 if (!args) SWIG_fail;
29459 swig_obj[0] = args;
29460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29461 if (!SWIG_IsOK(res1)) {
29462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29463 }
29464 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29465 {
29466 PyThreadState* __tstate = wxPyBeginAllowThreads();
29467 result = (wxPyPrintout *)(arg1)->GetPrintout();
29468 wxPyEndAllowThreads(__tstate);
29469 if (PyErr_Occurred()) SWIG_fail;
29470 }
29471 {
29472 resultobj = wxPyMake_wxObject(result, 0);
29473 }
29474 return resultobj;
29475fail:
29476 return NULL;
d55e5bfc
RD
29477}
29478
29479
1bd55598
RD
29480SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29481 PyObject *resultobj = 0;
29482 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29483 wxPyPrintout *result = 0 ;
29484 void *argp1 = 0 ;
29485 int res1 = 0 ;
29486 PyObject *swig_obj[1] ;
29487
29488 if (!args) SWIG_fail;
29489 swig_obj[0] = args;
29490 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29491 if (!SWIG_IsOK(res1)) {
29492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29493 }
29494 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29495 {
29496 PyThreadState* __tstate = wxPyBeginAllowThreads();
29497 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29498 wxPyEndAllowThreads(__tstate);
29499 if (PyErr_Occurred()) SWIG_fail;
29500 }
29501 {
29502 resultobj = wxPyMake_wxObject(result, 0);
29503 }
29504 return resultobj;
29505fail:
29506 return NULL;
29507}
29508
29509
29510SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29511 PyObject *resultobj = 0;
29512 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29513 wxFrame *arg2 = (wxFrame *) 0 ;
29514 void *argp1 = 0 ;
29515 int res1 = 0 ;
29516 void *argp2 = 0 ;
29517 int res2 = 0 ;
29518 PyObject * obj0 = 0 ;
29519 PyObject * obj1 = 0 ;
29520 char * kwnames[] = {
29521 (char *) "self",(char *) "frame", NULL
29522 };
29523
29524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29526 if (!SWIG_IsOK(res1)) {
29527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29528 }
29529 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29530 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29531 if (!SWIG_IsOK(res2)) {
29532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29533 }
29534 arg2 = reinterpret_cast< wxFrame * >(argp2);
29535 {
29536 PyThreadState* __tstate = wxPyBeginAllowThreads();
29537 (arg1)->SetFrame(arg2);
29538 wxPyEndAllowThreads(__tstate);
29539 if (PyErr_Occurred()) SWIG_fail;
29540 }
29541 resultobj = SWIG_Py_Void();
29542 return resultobj;
29543fail:
29544 return NULL;
29545}
29546
29547
29548SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29549 PyObject *resultobj = 0;
29550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29551 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29552 void *argp1 = 0 ;
29553 int res1 = 0 ;
29554 void *argp2 = 0 ;
29555 int res2 = 0 ;
29556 PyObject * obj0 = 0 ;
29557 PyObject * obj1 = 0 ;
29558 char * kwnames[] = {
29559 (char *) "self",(char *) "canvas", NULL
29560 };
29561
29562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29564 if (!SWIG_IsOK(res1)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29566 }
29567 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29568 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29569 if (!SWIG_IsOK(res2)) {
29570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29571 }
29572 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29573 {
29574 PyThreadState* __tstate = wxPyBeginAllowThreads();
29575 (arg1)->SetCanvas(arg2);
29576 wxPyEndAllowThreads(__tstate);
29577 if (PyErr_Occurred()) SWIG_fail;
29578 }
29579 resultobj = SWIG_Py_Void();
29580 return resultobj;
29581fail:
29582 return NULL;
d55e5bfc
RD
29583}
29584
29585
1bd55598
RD
29586SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29587 PyObject *resultobj = 0;
29588 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29589 wxFrame *result = 0 ;
29590 void *argp1 = 0 ;
29591 int res1 = 0 ;
29592 PyObject *swig_obj[1] ;
29593
29594 if (!args) SWIG_fail;
29595 swig_obj[0] = args;
29596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29597 if (!SWIG_IsOK(res1)) {
29598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29599 }
29600 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29601 {
29602 PyThreadState* __tstate = wxPyBeginAllowThreads();
29603 result = (wxFrame *)(arg1)->GetFrame();
29604 wxPyEndAllowThreads(__tstate);
29605 if (PyErr_Occurred()) SWIG_fail;
29606 }
29607 {
29608 resultobj = wxPyMake_wxObject(result, 0);
29609 }
29610 return resultobj;
29611fail:
29612 return NULL;
d55e5bfc
RD
29613}
29614
29615
1bd55598
RD
29616SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29617 PyObject *resultobj = 0;
29618 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29619 wxPreviewCanvas *result = 0 ;
29620 void *argp1 = 0 ;
29621 int res1 = 0 ;
29622 PyObject *swig_obj[1] ;
29623
29624 if (!args) SWIG_fail;
29625 swig_obj[0] = args;
29626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29627 if (!SWIG_IsOK(res1)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29629 }
29630 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29631 {
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29634 wxPyEndAllowThreads(__tstate);
29635 if (PyErr_Occurred()) SWIG_fail;
29636 }
29637 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29638 return resultobj;
29639fail:
29640 return NULL;
29641}
29642
29643
29644SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29645 PyObject *resultobj = 0;
29646 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29647 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29648 wxDC *arg3 = 0 ;
29649 bool result;
29650 void *argp1 = 0 ;
29651 int res1 = 0 ;
29652 void *argp2 = 0 ;
29653 int res2 = 0 ;
29654 void *argp3 = 0 ;
29655 int res3 = 0 ;
29656 PyObject * obj0 = 0 ;
29657 PyObject * obj1 = 0 ;
29658 PyObject * obj2 = 0 ;
29659 char * kwnames[] = {
29660 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29661 };
29662
29663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29665 if (!SWIG_IsOK(res1)) {
29666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29667 }
29668 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29669 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29670 if (!SWIG_IsOK(res2)) {
29671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29672 }
29673 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29674 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29675 if (!SWIG_IsOK(res3)) {
29676 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29677 }
29678 if (!argp3) {
29679 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29680 }
29681 arg3 = reinterpret_cast< wxDC * >(argp3);
29682 {
29683 PyThreadState* __tstate = wxPyBeginAllowThreads();
29684 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29685 wxPyEndAllowThreads(__tstate);
29686 if (PyErr_Occurred()) SWIG_fail;
29687 }
29688 {
29689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29690 }
29691 return resultobj;
29692fail:
29693 return NULL;
29694}
29695
29696
29697SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29698 PyObject *resultobj = 0;
29699 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29700 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29701 wxDC *arg3 = 0 ;
29702 bool result;
29703 void *argp1 = 0 ;
29704 int res1 = 0 ;
29705 void *argp2 = 0 ;
29706 int res2 = 0 ;
29707 void *argp3 = 0 ;
29708 int res3 = 0 ;
29709 PyObject * obj0 = 0 ;
29710 PyObject * obj1 = 0 ;
29711 PyObject * obj2 = 0 ;
29712 char * kwnames[] = {
29713 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29714 };
29715
29716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29718 if (!SWIG_IsOK(res1)) {
29719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29720 }
29721 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29723 if (!SWIG_IsOK(res2)) {
29724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29725 }
29726 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29727 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29728 if (!SWIG_IsOK(res3)) {
29729 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29730 }
29731 if (!argp3) {
29732 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29733 }
29734 arg3 = reinterpret_cast< wxDC * >(argp3);
29735 {
29736 PyThreadState* __tstate = wxPyBeginAllowThreads();
29737 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29738 wxPyEndAllowThreads(__tstate);
29739 if (PyErr_Occurred()) SWIG_fail;
29740 }
29741 {
29742 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29743 }
29744 return resultobj;
29745fail:
29746 return NULL;
29747}
29748
29749
29750SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29751 PyObject *resultobj = 0;
29752 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29753 int arg2 ;
29754 bool result;
29755 void *argp1 = 0 ;
29756 int res1 = 0 ;
29757 int val2 ;
29758 int ecode2 = 0 ;
29759 PyObject * obj0 = 0 ;
29760 PyObject * obj1 = 0 ;
29761 char * kwnames[] = {
29762 (char *) "self",(char *) "pageNum", NULL
29763 };
29764
29765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29767 if (!SWIG_IsOK(res1)) {
29768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29769 }
29770 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29771 ecode2 = SWIG_AsVal_int(obj1, &val2);
29772 if (!SWIG_IsOK(ecode2)) {
29773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29774 }
29775 arg2 = static_cast< int >(val2);
29776 {
29777 PyThreadState* __tstate = wxPyBeginAllowThreads();
29778 result = (bool)(arg1)->RenderPage(arg2);
29779 wxPyEndAllowThreads(__tstate);
29780 if (PyErr_Occurred()) SWIG_fail;
29781 }
29782 {
29783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29784 }
29785 return resultobj;
29786fail:
29787 return NULL;
29788}
29789
29790
29791SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29792 PyObject *resultobj = 0;
29793 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29794 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29795 void *argp1 = 0 ;
29796 int res1 = 0 ;
29797 void *argp2 = 0 ;
29798 int res2 = 0 ;
29799 PyObject * obj0 = 0 ;
29800 PyObject * obj1 = 0 ;
29801 char * kwnames[] = {
29802 (char *) "self",(char *) "canvas", NULL
29803 };
29804
29805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29807 if (!SWIG_IsOK(res1)) {
29808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29809 }
29810 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29811 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29812 if (!SWIG_IsOK(res2)) {
29813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29814 }
29815 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29816 {
29817 PyThreadState* __tstate = wxPyBeginAllowThreads();
29818 (arg1)->AdjustScrollbars(arg2);
29819 wxPyEndAllowThreads(__tstate);
29820 if (PyErr_Occurred()) SWIG_fail;
29821 }
29822 resultobj = SWIG_Py_Void();
29823 return resultobj;
29824fail:
29825 return NULL;
d55e5bfc
RD
29826}
29827
29828
1bd55598
RD
29829SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29830 PyObject *resultobj = 0;
29831 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29832 wxPrintDialogData *result = 0 ;
29833 void *argp1 = 0 ;
29834 int res1 = 0 ;
29835 PyObject *swig_obj[1] ;
29836
29837 if (!args) SWIG_fail;
29838 swig_obj[0] = args;
29839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29840 if (!SWIG_IsOK(res1)) {
29841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29842 }
29843 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29844 {
29845 PyThreadState* __tstate = wxPyBeginAllowThreads();
d55e5bfc 29846 {
1bd55598
RD
29847 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29848 result = (wxPrintDialogData *) &_result_ref;
d55e5bfc 29849 }
1bd55598
RD
29850 wxPyEndAllowThreads(__tstate);
29851 if (PyErr_Occurred()) SWIG_fail;
29852 }
29853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29854 return resultobj;
29855fail:
29856 return NULL;
29857}
29858
29859
29860SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29861 PyObject *resultobj = 0;
29862 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29863 int arg2 ;
29864 void *argp1 = 0 ;
29865 int res1 = 0 ;
29866 int val2 ;
29867 int ecode2 = 0 ;
29868 PyObject * obj0 = 0 ;
29869 PyObject * obj1 = 0 ;
29870 char * kwnames[] = {
29871 (char *) "self",(char *) "percent", NULL
29872 };
29873
29874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29876 if (!SWIG_IsOK(res1)) {
29877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29878 }
29879 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29880 ecode2 = SWIG_AsVal_int(obj1, &val2);
29881 if (!SWIG_IsOK(ecode2)) {
29882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29883 }
29884 arg2 = static_cast< int >(val2);
29885 {
29886 PyThreadState* __tstate = wxPyBeginAllowThreads();
29887 (arg1)->SetZoom(arg2);
29888 wxPyEndAllowThreads(__tstate);
29889 if (PyErr_Occurred()) SWIG_fail;
29890 }
29891 resultobj = SWIG_Py_Void();
29892 return resultobj;
29893fail:
29894 return NULL;
d55e5bfc
RD
29895}
29896
29897
1bd55598
RD
29898SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29899 PyObject *resultobj = 0;
29900 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29901 int result;
29902 void *argp1 = 0 ;
29903 int res1 = 0 ;
29904 PyObject *swig_obj[1] ;
29905
29906 if (!args) SWIG_fail;
29907 swig_obj[0] = args;
29908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29909 if (!SWIG_IsOK(res1)) {
29910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29911 }
29912 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29913 {
29914 PyThreadState* __tstate = wxPyBeginAllowThreads();
29915 result = (int)(arg1)->GetZoom();
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 resultobj = SWIG_From_int(static_cast< int >(result));
29920 return resultobj;
29921fail:
29922 return NULL;
d55e5bfc
RD
29923}
29924
29925
1bd55598
RD
29926SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29927 PyObject *resultobj = 0;
29928 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29929 int result;
29930 void *argp1 = 0 ;
29931 int res1 = 0 ;
29932 PyObject *swig_obj[1] ;
29933
29934 if (!args) SWIG_fail;
29935 swig_obj[0] = args;
29936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29937 if (!SWIG_IsOK(res1)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29939 }
29940 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29941 {
29942 PyThreadState* __tstate = wxPyBeginAllowThreads();
29943 result = (int)(arg1)->GetMaxPage();
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
29947 resultobj = SWIG_From_int(static_cast< int >(result));
29948 return resultobj;
29949fail:
29950 return NULL;
d55e5bfc
RD
29951}
29952
29953
1bd55598
RD
29954SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29955 PyObject *resultobj = 0;
29956 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29957 int result;
29958 void *argp1 = 0 ;
29959 int res1 = 0 ;
29960 PyObject *swig_obj[1] ;
29961
29962 if (!args) SWIG_fail;
29963 swig_obj[0] = args;
29964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29965 if (!SWIG_IsOK(res1)) {
29966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29967 }
29968 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29969 {
29970 PyThreadState* __tstate = wxPyBeginAllowThreads();
29971 result = (int)(arg1)->GetMinPage();
29972 wxPyEndAllowThreads(__tstate);
29973 if (PyErr_Occurred()) SWIG_fail;
29974 }
29975 resultobj = SWIG_From_int(static_cast< int >(result));
29976 return resultobj;
29977fail:
29978 return NULL;
d55e5bfc
RD
29979}
29980
29981
1bd55598
RD
29982SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29983 PyObject *resultobj = 0;
29984 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29985 bool result;
29986 void *argp1 = 0 ;
29987 int res1 = 0 ;
29988 PyObject *swig_obj[1] ;
29989
29990 if (!args) SWIG_fail;
29991 swig_obj[0] = args;
29992 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29993 if (!SWIG_IsOK(res1)) {
29994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29995 }
29996 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29997 {
29998 PyThreadState* __tstate = wxPyBeginAllowThreads();
29999 result = (bool)(arg1)->Ok();
30000 wxPyEndAllowThreads(__tstate);
30001 if (PyErr_Occurred()) SWIG_fail;
30002 }
30003 {
30004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30005 }
30006 return resultobj;
30007fail:
30008 return NULL;
30009}
30010
30011
30012SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30013 PyObject *resultobj = 0;
30014 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30015 bool arg2 ;
30016 void *argp1 = 0 ;
30017 int res1 = 0 ;
30018 bool val2 ;
30019 int ecode2 = 0 ;
30020 PyObject * obj0 = 0 ;
30021 PyObject * obj1 = 0 ;
30022 char * kwnames[] = {
30023 (char *) "self",(char *) "ok", NULL
30024 };
30025
30026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30028 if (!SWIG_IsOK(res1)) {
30029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30030 }
30031 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30032 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30033 if (!SWIG_IsOK(ecode2)) {
30034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30035 }
30036 arg2 = static_cast< bool >(val2);
30037 {
30038 PyThreadState* __tstate = wxPyBeginAllowThreads();
30039 (arg1)->SetOk(arg2);
30040 wxPyEndAllowThreads(__tstate);
30041 if (PyErr_Occurred()) SWIG_fail;
30042 }
30043 resultobj = SWIG_Py_Void();
30044 return resultobj;
30045fail:
30046 return NULL;
30047}
30048
30049
30050SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30051 PyObject *resultobj = 0;
30052 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30053 bool arg2 ;
30054 bool result;
30055 void *argp1 = 0 ;
30056 int res1 = 0 ;
30057 bool val2 ;
30058 int ecode2 = 0 ;
30059 PyObject * obj0 = 0 ;
30060 PyObject * obj1 = 0 ;
30061 char * kwnames[] = {
30062 (char *) "self",(char *) "interactive", NULL
30063 };
30064
30065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30067 if (!SWIG_IsOK(res1)) {
30068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30069 }
30070 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30071 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30072 if (!SWIG_IsOK(ecode2)) {
30073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30074 }
30075 arg2 = static_cast< bool >(val2);
30076 {
30077 PyThreadState* __tstate = wxPyBeginAllowThreads();
30078 result = (bool)(arg1)->Print(arg2);
30079 wxPyEndAllowThreads(__tstate);
30080 if (PyErr_Occurred()) SWIG_fail;
30081 }
30082 {
30083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30084 }
30085 return resultobj;
30086fail:
30087 return NULL;
d55e5bfc
RD
30088}
30089
30090
1bd55598
RD
30091SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30092 PyObject *resultobj = 0;
30093 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30094 void *argp1 = 0 ;
30095 int res1 = 0 ;
30096 PyObject *swig_obj[1] ;
30097
30098 if (!args) SWIG_fail;
30099 swig_obj[0] = args;
30100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30101 if (!SWIG_IsOK(res1)) {
30102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30103 }
30104 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30105 {
30106 PyThreadState* __tstate = wxPyBeginAllowThreads();
30107 (arg1)->DetermineScaling();
30108 wxPyEndAllowThreads(__tstate);
30109 if (PyErr_Occurred()) SWIG_fail;
30110 }
30111 resultobj = SWIG_Py_Void();
30112 return resultobj;
30113fail:
30114 return NULL;
d55e5bfc
RD
30115}
30116
30117
1bd55598
RD
30118SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30119 PyObject *obj;
30120 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30121 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30122 return SWIG_Py_Void();
d55e5bfc
RD
30123}
30124
1bd55598
RD
30125SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30126 return SWIG_Python_InitShadowInstance(args);
30127}
d55e5bfc 30128
1bd55598
RD
30129SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30130 PyObject *resultobj = 0;
30131 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30132 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30133 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30134 wxPyPrintPreview *result = 0 ;
30135 int res1 = 0 ;
30136 int res2 = 0 ;
30137 void *argp3 = 0 ;
30138 int res3 = 0 ;
30139
30140 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30141 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30142 if (!SWIG_IsOK(res1)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30144 }
30145 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30146 if (!SWIG_IsOK(res2)) {
30147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30148 }
30149 if (swig_obj[2]) {
30150 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30151 if (!SWIG_IsOK(res3)) {
30152 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30153 }
30154 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30155 }
30156 {
30157 if (!wxPyCheckForApp()) SWIG_fail;
30158 PyThreadState* __tstate = wxPyBeginAllowThreads();
30159 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30160 wxPyEndAllowThreads(__tstate);
30161 if (PyErr_Occurred()) SWIG_fail;
30162 }
30163 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30164 return resultobj;
30165fail:
30166 return NULL;
30167}
30168
30169
30170SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30171 PyObject *resultobj = 0;
30172 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30173 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30174 wxPrintData *arg3 = (wxPrintData *) 0 ;
30175 wxPyPrintPreview *result = 0 ;
30176 int res1 = 0 ;
30177 int res2 = 0 ;
30178 void *argp3 = 0 ;
30179 int res3 = 0 ;
30180
30181 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30182 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30183 if (!SWIG_IsOK(res1)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30185 }
30186 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30187 if (!SWIG_IsOK(res2)) {
30188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30189 }
30190 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30191 if (!SWIG_IsOK(res3)) {
30192 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30193 }
30194 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30195 {
30196 if (!wxPyCheckForApp()) SWIG_fail;
30197 PyThreadState* __tstate = wxPyBeginAllowThreads();
30198 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30199 wxPyEndAllowThreads(__tstate);
30200 if (PyErr_Occurred()) SWIG_fail;
30201 }
30202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30203 return resultobj;
30204fail:
30205 return NULL;
d55e5bfc
RD
30206}
30207
30208
1bd55598
RD
30209SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30210 int argc;
30211 PyObject *argv[4];
30212
30213 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30214 --argc;
30215 if ((argc >= 2) && (argc <= 3)) {
30216 int _v = 0;
30217 if (argc > 2) {
30218 {
30219 void *vptr = 0;
30220 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30221 _v = SWIG_CheckState(res);
30222 }
30223 if (!_v) goto check_1;
36ed4f51 30224 }
1bd55598
RD
30225 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30226 }
30227check_1:
30228
30229 if (argc == 3) {
30230 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30231 }
30232
30233fail:
30234 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30235 return NULL;
30236}
30237
30238
30239SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30240 PyObject *resultobj = 0;
30241 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30242 PyObject *arg2 = (PyObject *) 0 ;
30243 PyObject *arg3 = (PyObject *) 0 ;
30244 void *argp1 = 0 ;
30245 int res1 = 0 ;
30246 PyObject * obj0 = 0 ;
30247 PyObject * obj1 = 0 ;
30248 PyObject * obj2 = 0 ;
30249 char * kwnames[] = {
30250 (char *) "self",(char *) "self",(char *) "_class", NULL
30251 };
30252
30253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30255 if (!SWIG_IsOK(res1)) {
30256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30257 }
30258 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30259 arg2 = obj1;
30260 arg3 = obj2;
30261 {
30262 PyThreadState* __tstate = wxPyBeginAllowThreads();
30263 (arg1)->_setCallbackInfo(arg2,arg3);
30264 wxPyEndAllowThreads(__tstate);
30265 if (PyErr_Occurred()) SWIG_fail;
30266 }
30267 resultobj = SWIG_Py_Void();
30268 return resultobj;
30269fail:
30270 return NULL;
30271}
30272
30273
30274SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30275 PyObject *obj;
30276 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30277 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30278 return SWIG_Py_Void();
30279}
30280
30281SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30282 return SWIG_Python_InitShadowInstance(args);
30283}
30284
30285SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30286 PyObject *resultobj = 0;
30287 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30288 wxFrame *arg2 = (wxFrame *) 0 ;
30289 wxString *arg3 = 0 ;
30290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30292 wxSize const &arg5_defvalue = wxDefaultSize ;
30293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30294 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30295 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30296 wxString *arg7 = (wxString *) &arg7_defvalue ;
30297 wxPyPreviewFrame *result = 0 ;
30298 void *argp1 = 0 ;
30299 int res1 = 0 ;
30300 void *argp2 = 0 ;
30301 int res2 = 0 ;
30302 bool temp3 = false ;
30303 wxPoint temp4 ;
30304 wxSize temp5 ;
30305 long val6 ;
30306 int ecode6 = 0 ;
30307 bool temp7 = false ;
30308 PyObject * obj0 = 0 ;
30309 PyObject * obj1 = 0 ;
30310 PyObject * obj2 = 0 ;
30311 PyObject * obj3 = 0 ;
30312 PyObject * obj4 = 0 ;
30313 PyObject * obj5 = 0 ;
30314 PyObject * obj6 = 0 ;
30315 char * kwnames[] = {
30316 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30317 };
30318
30319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30321 if (!SWIG_IsOK(res1)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30323 }
30324 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30325 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30326 if (!SWIG_IsOK(res2)) {
30327 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30328 }
30329 arg2 = reinterpret_cast< wxFrame * >(argp2);
30330 {
30331 arg3 = wxString_in_helper(obj2);
30332 if (arg3 == NULL) SWIG_fail;
30333 temp3 = true;
30334 }
30335 if (obj3) {
36ed4f51 30336 {
1bd55598
RD
30337 arg4 = &temp4;
30338 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
36ed4f51 30339 }
1bd55598
RD
30340 }
30341 if (obj4) {
d55e5bfc 30342 {
1bd55598
RD
30343 arg5 = &temp5;
30344 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
36ed4f51 30345 }
1bd55598
RD
30346 }
30347 if (obj5) {
30348 ecode6 = SWIG_AsVal_long(obj5, &val6);
30349 if (!SWIG_IsOK(ecode6)) {
30350 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30351 }
30352 arg6 = static_cast< long >(val6);
30353 }
30354 if (obj6) {
36ed4f51 30355 {
1bd55598
RD
30356 arg7 = wxString_in_helper(obj6);
30357 if (arg7 == NULL) SWIG_fail;
30358 temp7 = true;
36ed4f51 30359 }
1bd55598
RD
30360 }
30361 {
30362 if (!wxPyCheckForApp()) SWIG_fail;
30363 PyThreadState* __tstate = wxPyBeginAllowThreads();
30364 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30365 wxPyEndAllowThreads(__tstate);
30366 if (PyErr_Occurred()) SWIG_fail;
30367 }
30368 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30369 {
30370 if (temp3)
30371 delete arg3;
30372 }
30373 {
30374 if (temp7)
30375 delete arg7;
30376 }
30377 return resultobj;
30378fail:
30379 {
30380 if (temp3)
30381 delete arg3;
30382 }
30383 {
30384 if (temp7)
30385 delete arg7;
30386 }
30387 return NULL;
30388}
30389
30390
30391SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30392 PyObject *resultobj = 0;
30393 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30394 PyObject *arg2 = (PyObject *) 0 ;
30395 PyObject *arg3 = (PyObject *) 0 ;
30396 void *argp1 = 0 ;
30397 int res1 = 0 ;
30398 PyObject * obj0 = 0 ;
30399 PyObject * obj1 = 0 ;
30400 PyObject * obj2 = 0 ;
30401 char * kwnames[] = {
30402 (char *) "self",(char *) "self",(char *) "_class", NULL
30403 };
30404
30405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30407 if (!SWIG_IsOK(res1)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30409 }
30410 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30411 arg2 = obj1;
30412 arg3 = obj2;
30413 {
30414 PyThreadState* __tstate = wxPyBeginAllowThreads();
30415 (arg1)->_setCallbackInfo(arg2,arg3);
30416 wxPyEndAllowThreads(__tstate);
30417 if (PyErr_Occurred()) SWIG_fail;
30418 }
30419 resultobj = SWIG_Py_Void();
30420 return resultobj;
30421fail:
30422 return NULL;
30423}
30424
30425
30426SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30427 PyObject *resultobj = 0;
30428 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30429 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30430 void *argp1 = 0 ;
30431 int res1 = 0 ;
30432 void *argp2 = 0 ;
30433 int res2 = 0 ;
30434 PyObject * obj0 = 0 ;
30435 PyObject * obj1 = 0 ;
30436 char * kwnames[] = {
30437 (char *) "self",(char *) "canvas", NULL
30438 };
30439
30440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30442 if (!SWIG_IsOK(res1)) {
30443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30444 }
30445 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30446 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30447 if (!SWIG_IsOK(res2)) {
30448 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30449 }
30450 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30451 {
30452 PyThreadState* __tstate = wxPyBeginAllowThreads();
30453 (arg1)->SetPreviewCanvas(arg2);
30454 wxPyEndAllowThreads(__tstate);
30455 if (PyErr_Occurred()) SWIG_fail;
30456 }
30457 resultobj = SWIG_Py_Void();
30458 return resultobj;
30459fail:
30460 return NULL;
30461}
30462
30463
30464SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30465 PyObject *resultobj = 0;
30466 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30467 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30468 void *argp1 = 0 ;
30469 int res1 = 0 ;
30470 void *argp2 = 0 ;
30471 int res2 = 0 ;
30472 PyObject * obj0 = 0 ;
30473 PyObject * obj1 = 0 ;
30474 char * kwnames[] = {
30475 (char *) "self",(char *) "bar", NULL
30476 };
30477
30478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30480 if (!SWIG_IsOK(res1)) {
30481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30482 }
30483 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30484 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30485 if (!SWIG_IsOK(res2)) {
30486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30487 }
30488 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30489 {
30490 PyThreadState* __tstate = wxPyBeginAllowThreads();
30491 (arg1)->SetControlBar(arg2);
30492 wxPyEndAllowThreads(__tstate);
30493 if (PyErr_Occurred()) SWIG_fail;
30494 }
30495 resultobj = SWIG_Py_Void();
30496 return resultobj;
30497fail:
30498 return NULL;
d55e5bfc
RD
30499}
30500
30501
1bd55598
RD
30502SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30503 PyObject *resultobj = 0;
30504 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30505 void *argp1 = 0 ;
30506 int res1 = 0 ;
30507 PyObject *swig_obj[1] ;
30508
30509 if (!args) SWIG_fail;
30510 swig_obj[0] = args;
30511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30512 if (!SWIG_IsOK(res1)) {
30513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30514 }
30515 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30516 {
30517 PyThreadState* __tstate = wxPyBeginAllowThreads();
30518 (arg1)->Initialize();
30519 wxPyEndAllowThreads(__tstate);
30520 if (PyErr_Occurred()) SWIG_fail;
30521 }
30522 resultobj = SWIG_Py_Void();
30523 return resultobj;
30524fail:
30525 return NULL;
d55e5bfc
RD
30526}
30527
30528
1bd55598
RD
30529SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30530 PyObject *resultobj = 0;
30531 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30532 void *argp1 = 0 ;
30533 int res1 = 0 ;
30534 PyObject *swig_obj[1] ;
30535
30536 if (!args) SWIG_fail;
30537 swig_obj[0] = args;
30538 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30539 if (!SWIG_IsOK(res1)) {
30540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30541 }
30542 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30543 {
30544 PyThreadState* __tstate = wxPyBeginAllowThreads();
30545 (arg1)->CreateCanvas();
30546 wxPyEndAllowThreads(__tstate);
30547 if (PyErr_Occurred()) SWIG_fail;
30548 }
30549 resultobj = SWIG_Py_Void();
30550 return resultobj;
30551fail:
30552 return NULL;
d55e5bfc
RD
30553}
30554
30555
1bd55598
RD
30556SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30557 PyObject *resultobj = 0;
30558 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30559 void *argp1 = 0 ;
30560 int res1 = 0 ;
30561 PyObject *swig_obj[1] ;
30562
30563 if (!args) SWIG_fail;
30564 swig_obj[0] = args;
30565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30566 if (!SWIG_IsOK(res1)) {
30567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30568 }
30569 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30570 {
30571 PyThreadState* __tstate = wxPyBeginAllowThreads();
30572 (arg1)->CreateControlBar();
30573 wxPyEndAllowThreads(__tstate);
30574 if (PyErr_Occurred()) SWIG_fail;
30575 }
30576 resultobj = SWIG_Py_Void();
30577 return resultobj;
30578fail:
30579 return NULL;
30580}
30581
30582
30583SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30584 PyObject *obj;
30585 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30586 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30587 return SWIG_Py_Void();
30588}
30589
30590SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30591 return SWIG_Python_InitShadowInstance(args);
30592}
30593
30594SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30595 PyObject *resultobj = 0;
30596 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30597 long arg2 ;
30598 wxWindow *arg3 = (wxWindow *) 0 ;
30599 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30600 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30601 wxSize const &arg5_defvalue = wxDefaultSize ;
30602 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30603 long arg6 = (long) 0 ;
30604 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30605 wxString *arg7 = (wxString *) &arg7_defvalue ;
30606 wxPyPreviewControlBar *result = 0 ;
30607 void *argp1 = 0 ;
30608 int res1 = 0 ;
30609 long val2 ;
30610 int ecode2 = 0 ;
30611 void *argp3 = 0 ;
30612 int res3 = 0 ;
30613 wxPoint temp4 ;
30614 wxSize temp5 ;
30615 long val6 ;
30616 int ecode6 = 0 ;
30617 bool temp7 = false ;
30618 PyObject * obj0 = 0 ;
30619 PyObject * obj1 = 0 ;
30620 PyObject * obj2 = 0 ;
30621 PyObject * obj3 = 0 ;
30622 PyObject * obj4 = 0 ;
30623 PyObject * obj5 = 0 ;
30624 PyObject * obj6 = 0 ;
30625 char * kwnames[] = {
30626 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30627 };
30628
30629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30631 if (!SWIG_IsOK(res1)) {
30632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30633 }
30634 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30635 ecode2 = SWIG_AsVal_long(obj1, &val2);
30636 if (!SWIG_IsOK(ecode2)) {
30637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30638 }
30639 arg2 = static_cast< long >(val2);
30640 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30641 if (!SWIG_IsOK(res3)) {
30642 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30643 }
30644 arg3 = reinterpret_cast< wxWindow * >(argp3);
30645 if (obj3) {
d55e5bfc 30646 {
1bd55598
RD
30647 arg4 = &temp4;
30648 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
d55e5bfc 30649 }
1bd55598
RD
30650 }
30651 if (obj4) {
d55e5bfc 30652 {
1bd55598
RD
30653 arg5 = &temp5;
30654 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
d55e5bfc 30655 }
1bd55598
RD
30656 }
30657 if (obj5) {
30658 ecode6 = SWIG_AsVal_long(obj5, &val6);
30659 if (!SWIG_IsOK(ecode6)) {
30660 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30661 }
30662 arg6 = static_cast< long >(val6);
30663 }
30664 if (obj6) {
d55e5bfc 30665 {
1bd55598
RD
30666 arg7 = wxString_in_helper(obj6);
30667 if (arg7 == NULL) SWIG_fail;
30668 temp7 = true;
d55e5bfc 30669 }
1bd55598
RD
30670 }
30671 {
30672 if (!wxPyCheckForApp()) SWIG_fail;
30673 PyThreadState* __tstate = wxPyBeginAllowThreads();
30674 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30679 {
30680 if (temp7)
30681 delete arg7;
30682 }
30683 return resultobj;
30684fail:
30685 {
30686 if (temp7)
30687 delete arg7;
30688 }
30689 return NULL;
30690}
30691
30692
30693SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30694 PyObject *resultobj = 0;
30695 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30696 PyObject *arg2 = (PyObject *) 0 ;
30697 PyObject *arg3 = (PyObject *) 0 ;
30698 void *argp1 = 0 ;
30699 int res1 = 0 ;
30700 PyObject * obj0 = 0 ;
30701 PyObject * obj1 = 0 ;
30702 PyObject * obj2 = 0 ;
30703 char * kwnames[] = {
30704 (char *) "self",(char *) "self",(char *) "_class", NULL
30705 };
30706
30707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30709 if (!SWIG_IsOK(res1)) {
30710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30711 }
30712 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30713 arg2 = obj1;
30714 arg3 = obj2;
30715 {
30716 PyThreadState* __tstate = wxPyBeginAllowThreads();
30717 (arg1)->_setCallbackInfo(arg2,arg3);
30718 wxPyEndAllowThreads(__tstate);
30719 if (PyErr_Occurred()) SWIG_fail;
30720 }
30721 resultobj = SWIG_Py_Void();
30722 return resultobj;
30723fail:
30724 return NULL;
30725}
30726
30727
30728SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30729 PyObject *resultobj = 0;
30730 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30731 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30732 void *argp1 = 0 ;
30733 int res1 = 0 ;
30734 void *argp2 = 0 ;
30735 int res2 = 0 ;
30736 PyObject * obj0 = 0 ;
30737 PyObject * obj1 = 0 ;
30738 char * kwnames[] = {
30739 (char *) "self",(char *) "preview", NULL
30740 };
30741
30742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30744 if (!SWIG_IsOK(res1)) {
30745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30746 }
30747 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30748 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30749 if (!SWIG_IsOK(res2)) {
30750 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30751 }
30752 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30753 {
30754 PyThreadState* __tstate = wxPyBeginAllowThreads();
30755 (arg1)->SetPrintPreview(arg2);
30756 wxPyEndAllowThreads(__tstate);
30757 if (PyErr_Occurred()) SWIG_fail;
30758 }
30759 resultobj = SWIG_Py_Void();
30760 return resultobj;
30761fail:
30762 return NULL;
d55e5bfc
RD
30763}
30764
30765
1bd55598
RD
30766SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30767 PyObject *resultobj = 0;
30768 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30769 void *argp1 = 0 ;
30770 int res1 = 0 ;
30771 PyObject *swig_obj[1] ;
30772
30773 if (!args) SWIG_fail;
30774 swig_obj[0] = args;
30775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30776 if (!SWIG_IsOK(res1)) {
30777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30778 }
30779 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30780 {
30781 PyThreadState* __tstate = wxPyBeginAllowThreads();
30782 (arg1)->CreateButtons();
30783 wxPyEndAllowThreads(__tstate);
30784 if (PyErr_Occurred()) SWIG_fail;
30785 }
30786 resultobj = SWIG_Py_Void();
30787 return resultobj;
30788fail:
30789 return NULL;
30790}
30791
30792
30793SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30794 PyObject *resultobj = 0;
30795 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30796 int arg2 ;
30797 void *argp1 = 0 ;
30798 int res1 = 0 ;
30799 int val2 ;
30800 int ecode2 = 0 ;
30801 PyObject * obj0 = 0 ;
30802 PyObject * obj1 = 0 ;
30803 char * kwnames[] = {
30804 (char *) "self",(char *) "zoom", NULL
30805 };
30806
30807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30809 if (!SWIG_IsOK(res1)) {
30810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30811 }
30812 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30813 ecode2 = SWIG_AsVal_int(obj1, &val2);
30814 if (!SWIG_IsOK(ecode2)) {
30815 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30816 }
30817 arg2 = static_cast< int >(val2);
30818 {
30819 PyThreadState* __tstate = wxPyBeginAllowThreads();
30820 (arg1)->SetZoomControl(arg2);
30821 wxPyEndAllowThreads(__tstate);
30822 if (PyErr_Occurred()) SWIG_fail;
30823 }
30824 resultobj = SWIG_Py_Void();
30825 return resultobj;
30826fail:
30827 return NULL;
d55e5bfc
RD
30828}
30829
30830
1bd55598
RD
30831SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30832 PyObject *obj;
30833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30834 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30835 return SWIG_Py_Void();
d55e5bfc
RD
30836}
30837
1bd55598
RD
30838SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30839 return SWIG_Python_InitShadowInstance(args);
d55e5bfc
RD
30840}
30841
d55e5bfc 30842static PyMethodDef SwigMethods[] = {
36ed4f51 30843 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30844 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
36ed4f51 30845 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30846 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
36ed4f51
RD
30847 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
1bd55598 30849 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
36ed4f51 30850 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30851 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
30852 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30856 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30858 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
36ed4f51 30859 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30860 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
36ed4f51 30861 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30862 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30863 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
36ed4f51
RD
30864 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30865 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
1bd55598 30866 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
36ed4f51
RD
30867 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30869 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
36ed4f51 30870 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30871 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
36ed4f51
RD
30872 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30873 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30875 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 30876 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30877 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
36ed4f51 30878 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30879 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
2131d850 30880 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
1bd55598
RD
30881 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30882 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
36ed4f51
RD
30883 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30884 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30886 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
36ed4f51 30887 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30888 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
36ed4f51
RD
30889 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30891 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
36ed4f51 30892 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30893 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
b1fcee84 30894 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
10044bf1
RD
30895 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction) _wrap_TopLevelWindow_SetTransparent, METH_VARARGS | METH_KEYWORDS, NULL},
30897 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction)_wrap_TopLevelWindow_CanSetTransparent, METH_O, NULL},
1eeb270e
RD
30898 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
30899 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
36ed4f51
RD
30902 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30903 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30904 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
36ed4f51 30905 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30906 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
36ed4f51 30907 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30908 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
36ed4f51
RD
30909 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30911 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
36ed4f51
RD
30912 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30916 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30917 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30918 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
36ed4f51 30919 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30920 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
36ed4f51
RD
30921 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30922 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30924 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30925 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
1bd55598 30926 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
36ed4f51 30927 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30928 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
36ed4f51
RD
30929 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30930 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30931 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
b1fcee84 30932 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30933 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
b1fcee84 30934 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30935 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
36ed4f51
RD
30936 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30937 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
62d32a5f 30938 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30939 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30940 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
36ed4f51
RD
30941 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30943 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
1bd55598 30944 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
36ed4f51 30945 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30946 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
36ed4f51
RD
30947 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30948 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
1bd55598 30949 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
30950 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30951 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30952 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
36ed4f51 30953 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
1bd55598 30954 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 30955 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30956 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30957 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30958 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
36ed4f51 30959 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
1bd55598 30960 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
36ed4f51 30961 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30962 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
36ed4f51
RD
30963 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30965 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
36ed4f51
RD
30966 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30968 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30969 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30971 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30973 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30974 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30975 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
36ed4f51
RD
30976 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30977 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
1bd55598 30978 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
36ed4f51 30979 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30980 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
36ed4f51 30981 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30982 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30983 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
36ed4f51 30984 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30985 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
36ed4f51
RD
30986 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30987 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30989 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30991 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30992 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
36ed4f51
RD
30993 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
30995 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30996 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
36ed4f51 30997 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 30998 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
36ed4f51 30999 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31000 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
36ed4f51 31001 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31002 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
36ed4f51 31003 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31004 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
36ed4f51 31005 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31006 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
36ed4f51
RD
31007 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31008 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31009 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31010 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31012 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31013 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31014 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31015 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
36ed4f51 31016 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31017 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31018 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31019 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
36ed4f51
RD
31020 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31023 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31024 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31027 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
36ed4f51 31028 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31029 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
36ed4f51
RD
31030 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31031 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31032 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31033 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
36ed4f51
RD
31034 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31035 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31036 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31037 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
36ed4f51 31038 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31039 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
36ed4f51 31040 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31041 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31042 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31044 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
36ed4f51 31045 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31046 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
36ed4f51 31047 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31048 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
36ed4f51 31049 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31050 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31051 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31052 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31053 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
36ed4f51 31054 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31055 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
36ed4f51 31056 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31057 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
36ed4f51 31058 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31059 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
36ed4f51 31060 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31061 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
36ed4f51 31062 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31063 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31064 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31065 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31066 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
36ed4f51 31067 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31068 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
36ed4f51 31069 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31070 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31071 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31072 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
36ed4f51 31073 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31074 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31075 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
36ed4f51
RD
31076 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31077 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31080 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31081 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31082 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
36ed4f51
RD
31083 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
1bd55598 31087 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
36ed4f51 31088 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31089 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
36ed4f51 31090 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31091 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31092 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31093 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
36ed4f51 31094 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31095 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31096 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31098 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
36ed4f51 31099 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31100 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31101 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31102 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31103 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31107 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31108 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31110 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31111 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31112 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31113 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31114 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
7993762b 31115 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31116 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31117 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31118 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31119 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31120 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31121 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31122 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31123 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
36ed4f51
RD
31124 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31126 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31127 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31128 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
36ed4f51
RD
31129 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31130 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31131 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31132 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
36ed4f51 31133 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31134 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31135 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
36ed4f51 31136 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31137 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
36ed4f51
RD
31138 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31142 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31143 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
36ed4f51
RD
31144 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31146 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
1c71765a
RD
31147 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31148 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31149 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
1bd55598 31150 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
36ed4f51 31151 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31152 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
36ed4f51
RD
31153 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31154 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31155 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31156 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
e9d6f3a4 31157 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31158 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31159 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31160 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31161 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
36ed4f51 31162 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31163 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31164 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31165 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
36ed4f51 31166 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31167 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
36ed4f51
RD
31168 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31169 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
1bd55598 31170 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31171 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
1bd55598
RD
31173 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31174 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31175 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31176 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31177 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
36ed4f51
RD
31178 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31179 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31182 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
1bd55598 31183 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
36ed4f51 31184 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31185 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
36ed4f51 31186 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31187 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31188 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31189 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31190 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31191 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
36ed4f51
RD
31192 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31195 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31196 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31202 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31203 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31204 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31205 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31206 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31207 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
1bd55598
RD
31208 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31209 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31210 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
36ed4f51 31211 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31212 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31213 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31214 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31215 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
36ed4f51 31216 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31217 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31218 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31219 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31220 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
36ed4f51
RD
31221 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31223 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31224 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31225 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
36ed4f51
RD
31226 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31228 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31229 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31230 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31231 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
27e45892
RD
31232 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31233 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31234 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31235 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
1bd55598
RD
31236 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31237 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
36ed4f51 31238 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31239 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31240 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31241 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31242 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31243 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31244 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
36ed4f51
RD
31245 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31247 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
1bd55598 31252 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
36ed4f51 31253 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31254 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
36ed4f51 31255 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31256 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32fe5131 31257 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51
RD
31258 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31259 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31260 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31261 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31263 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
36ed4f51 31264 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31265 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31266 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31267 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31268 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31269 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31270 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
36ed4f51
RD
31271 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31274 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
1bd55598 31275 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
36ed4f51 31276 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31277 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31278 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31279 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31280 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
36ed4f51
RD
31281 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31283 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
1bd55598 31285 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
36ed4f51 31286 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31287 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
36ed4f51 31288 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31289 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
36ed4f51
RD
31290 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31292 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31293 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31294 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
36ed4f51 31295 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31296 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31297 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31298 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31299 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31300 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31301 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31302 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
36ed4f51
RD
31303 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31304 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31305 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31306 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31307 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
36ed4f51 31308 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31309 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
36ed4f51 31310 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31311 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31312 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31313 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
36ed4f51
RD
31314 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31316 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31317 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31318 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
36ed4f51
RD
31319 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31321 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31322 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31325 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31326 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31327 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31328 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31329 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31330 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31331 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31332 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 31333 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31334 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31335 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31336 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
36ed4f51
RD
31337 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31339 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31340 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31344 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31345 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31346 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31347 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31348 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31349 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31350 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
36ed4f51 31351 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
1bd55598 31352 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
36ed4f51 31353 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31354 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
36ed4f51
RD
31355 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
976dbff5 31357 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166
RD
31358 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31361 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31362 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31363 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31364 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31365 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31366 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31367 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31368 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
36ed4f51 31369 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
1bd55598 31370 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
36ed4f51 31371 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
1bd55598
RD
31372 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31373 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31374 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31375 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31376 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31377 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31378 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31379 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31380 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31381 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31382 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31383 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31384 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
36ed4f51
RD
31385 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31392 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31393 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31394 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31395 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31396 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
36ed4f51 31397 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31398 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
7fbf8399 31399 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31400 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
1bd55598 31401 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
36ed4f51 31402 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
1bd55598 31403 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
36ed4f51
RD
31404 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31409 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31410 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31411 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31412 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31413 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31414 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31415 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31416 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31417 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31418 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31419 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31420 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31421 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31422 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31423 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
36ed4f51
RD
31424 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31429 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31431 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31433 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31434 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
36ed4f51 31435 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 31436 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 31437 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 31438 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
1bd55598
RD
31439 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31440 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31441 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
36ed4f51 31442 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31443 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31444 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
1bd55598
RD
31445 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31446 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31447 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31448 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31449 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31450 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31451 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31452 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31453 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31454 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
36ed4f51
RD
31455 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31458 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31466 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31467 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31468 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31469 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31470 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31471 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31472 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31473 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
36ed4f51
RD
31474 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31475 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
1bd55598 31476 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
36ed4f51 31477 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
06810ecf 31478 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
1bd55598
RD
31479 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31480 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31481 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31482 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
36ed4f51 31483 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
1bd55598 31484 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
36ed4f51 31485 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31486 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
36ed4f51
RD
31487 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31489 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31492 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31493 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31494 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
36ed4f51 31495 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
1bd55598 31496 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
36ed4f51 31497 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31498 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
36ed4f51 31499 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31500 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31501 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
36ed4f51
RD
31502 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31503 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31504 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
36ed4f51 31505 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31506 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
36ed4f51 31507 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31508 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
36ed4f51 31509 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31510 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31511 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
36ed4f51 31512 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
7f7aa166 31513 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31514 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31515 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31516 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31517 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
7f7aa166 31518 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31519 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
36ed4f51 31520 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
1bd55598 31521 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31522 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
1bd55598 31524 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
36ed4f51 31525 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31526 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31527 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31528 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31529 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
36ed4f51 31530 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31531 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51 31532 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31533 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
36ed4f51 31534 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31535 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31536 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31537 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31538 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31539 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31540 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
36ed4f51 31541 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 31542 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
36ed4f51 31543 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
1bd55598 31544 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
36ed4f51 31545 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31546 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
36ed4f51 31547 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31548 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31549 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
36ed4f51
RD
31550 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31551 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31552 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31553 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
36ed4f51
RD
31554 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31557 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31558 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
36ed4f51 31559 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31560 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31561 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31562 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31563 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
36ed4f51
RD
31564 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31565 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31566 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
36ed4f51 31567 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 31568 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31569 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31570 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31571 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
1bd55598 31572 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31573 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31575 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598
RD
31577 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31578 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31579 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
36ed4f51 31580 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
1bd55598 31581 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
36ed4f51
RD
31582 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31583 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
1bd55598 31585 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
7f7aa166 31586 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
36ed4f51 31587 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
1bd55598 31588 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
c370783e 31589 { NULL, NULL, 0, NULL }
d55e5bfc
RD
31590};
31591
31592
31593/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31594
31595static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31596 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31597}
31598static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31599 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31600}
31601static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31602 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31603}
31604static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31605 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31606}
31607static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31608 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31609}
31610static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31611 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31612}
31613static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31614 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31615}
31616static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31617 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31618}
31619static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31620 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31621}
31622static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31623 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31624}
31625static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31626 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31627}
d55e5bfc
RD
31628static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31629 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31630}
34e0a3bb
RD
31631static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31632 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31633}
2131d850
RD
31634static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31635 return (void *)((wxEvent *) ((wxPyEvent *) x));
31636}
d55e5bfc
RD
31637static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31638 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31639}
31640static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31641 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31642}
31643static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31644 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31645}
31646static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31647 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31648}
31649static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31650 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31651}
31652static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31653 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31654}
31655static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31656 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31657}
31658static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31659 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31660}
31661static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31662 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31663}
53aa7709
RD
31664static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31665 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31666}
d55e5bfc
RD
31667static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31668 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31669}
31670static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31671 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31672}
34e0a3bb
RD
31673static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31674 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31675}
d55e5bfc
RD
31676static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31677 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31678}
31679static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31680 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31681}
31682static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31683 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31684}
31685static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31686 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31687}
31688static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31689 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31690}
31691static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31692 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31693}
31694static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31695 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31696}
31697static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31698 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31699}
31700static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31701 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31702}
31703static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31704 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31705}
31706static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31707 return (void *)((wxEvent *) ((wxShowEvent *) x));
31708}
31709static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31710 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31711}
31712static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31713 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31714}
31715static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31716 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31717}
31718static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31719 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31720}
31721static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31722 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31723}
31724static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31725 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31726}
31727static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31728 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31729}
31730static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31731 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31732}
070c48b4
RD
31733static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31734 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31735}
d55e5bfc
RD
31736static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31737 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31738}
31739static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31740 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31741}
31742static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31743 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31744}
31745static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31746 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31747}
31748static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31749 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31750}
31751static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31752 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31753}
31754static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31755 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31756}
070c48b4
RD
31757static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31758 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31759}
d55e5bfc
RD
31760static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31761 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31762}
31763static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31764 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31765}
31766static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31767 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31768}
31769static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31770 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31771}
27e45892
RD
31772static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31773 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31774}
d55e5bfc
RD
31775static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31776 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31777}
31778static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31779 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31780}
31781static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31782 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31783}
31784static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31785 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31786}
31787static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31788 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31789}
31790static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31791 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31792}
31793static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31794 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
31795}
31796static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31797 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31798}
31799static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31800 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31801}
31802static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31803 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31804}
31805static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31806 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31807}
31808static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31809 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31810}
31811static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31812 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31813}
31814static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31815 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31816}
31817static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31818 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31819}
31820static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31821 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31822}
31823static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31824 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31825}
31826static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31827 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31828}
31829static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31830 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31831}
31832static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31833 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31834}
31835static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31836 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31837}
31838static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31839 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31840}
31841static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31842 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31843}
31844static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31845 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31846}
31847static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31848 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31849}
31850static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31851 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31852}
31853static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31854 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31855}
31856static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31857 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31858}
31859static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31860 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31861}
31862static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31863 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31864}
5e483524
RD
31865static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31866 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31867}
31868static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31869 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31870}
d55e5bfc
RD
31871static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31872 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31873}
31874static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31875 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31876}
31877static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31878 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31879}
070c48b4
RD
31880static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31881 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31882}
d55e5bfc
RD
31883static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31884 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31885}
31886static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31887 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31888}
31889static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31890 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31891}
31892static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31893 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31894}
31895static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
31896 return (void *)((wxFrame *) ((wxTipWindow *) x));
31897}
31898static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31899 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31900}
31901static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31902 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31903}
31904static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31905 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31906}
31907static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31908 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31909}
31910static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31911 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31912}
31913static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31914 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31915}
31916static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31917 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31918}
31919static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31921}
31922static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31924}
d55e5bfc
RD
31925static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31926 return (void *)((wxObject *) ((wxSizerItem *) x));
31927}
34e0a3bb
RD
31928static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31929 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31930}
d55e5bfc
RD
31931static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31933}
31934static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31935 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31936}
31937static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31938 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31939}
31940static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31941 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31942}
31943static void *_p_wxSizerTo_p_wxObject(void *x) {
31944 return (void *)((wxObject *) ((wxSizer *) x));
31945}
31946static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31947 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31948}
31949static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31950 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31951}
31952static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31954}
31955static void *_p_wxEventTo_p_wxObject(void *x) {
31956 return (void *)((wxObject *) ((wxEvent *) x));
31957}
31958static void *_p_wxFontDataTo_p_wxObject(void *x) {
31959 return (void *)((wxObject *) ((wxFontData *) x));
31960}
31961static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31962 return (void *)((wxObject *) ((wxPrintData *) x));
31963}
31964static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31965 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31966}
31967static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31968 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31969}
31970static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31971 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31972}
31973static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31974 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31975}
5e483524
RD
31976static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31977 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
d55e5bfc
RD
31978}
31979static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31980 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31981}
2131d850
RD
31982static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31983 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31984}
d55e5bfc
RD
31985static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31986 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31987}
31988static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31989 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31990}
31991static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31992 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31993}
31994static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31995 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31996}
31997static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31998 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31999}
32000static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32001 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32002}
32003static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32005}
32006static void *_p_wxControlTo_p_wxObject(void *x) {
32007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32008}
32009static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32010 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32011}
32012static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32013 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32014}
32015static void *_p_wxFSFileTo_p_wxObject(void *x) {
32016 return (void *)((wxObject *) ((wxFSFile *) x));
32017}
32018static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32019 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32020}
32021static void *_p_wxPySizerTo_p_wxObject(void *x) {
32022 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32023}
32024static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32026}
32027static void *_p_wxColourDataTo_p_wxObject(void *x) {
32028 return (void *)((wxObject *) ((wxColourData *) x));
32029}
32030static void *_p_wxPyEventTo_p_wxObject(void *x) {
32031 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32032}
32033static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32035}
32036static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32038}
32039static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32041}
32042static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32044}
32045static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32047}
32048static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32050}
32051static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32053}
070c48b4
RD
32054static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32056}
27e45892
RD
32057static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32059}
d55e5bfc
RD
32060static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32062}
32063static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32065}
32066static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32068}
32069static void *_p_wxShowEventTo_p_wxObject(void *x) {
32070 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32071}
32072static void *_p_wxPrinterTo_p_wxObject(void *x) {
32073 return (void *)((wxObject *) ((wxPrinter *) x));
32074}
32075static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32076 return (void *)((wxObject *) ((wxMenuItem *) x));
32077}
53aa7709
RD
32078static void *_p_wxDateEventTo_p_wxObject(void *x) {
32079 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32080}
d55e5bfc
RD
32081static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32082 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32083}
32084static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32085 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32086}
32087static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32088 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32089}
32090static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32091 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32092}
32093static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32094 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32095}
32096static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32097 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32098}
32099static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32100 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32101}
32102static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32103 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32104}
d55e5bfc
RD
32105static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32106 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32107}
32108static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32109 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32110}
32111static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32112 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32113}
32114static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32115 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32116}
32117static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32118 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32119}
32120static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32121 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32122}
32123static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32124 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32125}
32126static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32127 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32128}
32129static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32130 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32131}
943e8dfd
RD
32132static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32133 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32134}
d55e5bfc
RD
32135static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32136 return (void *)((wxObject *) ((wxImageHandler *) x));
32137}
943e8dfd
RD
32138static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32139 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32140}
d55e5bfc
RD
32141static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32142 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32143}
32144static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32145 return (void *)((wxObject *) ((wxEvtHandler *) x));
32146}
34e0a3bb
RD
32147static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32148 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32149}
d55e5bfc
RD
32150static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32151 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32152}
32153static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32155}
32156static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32158}
62d32a5f
RD
32159static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32160 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32161}
d55e5bfc
RD
32162static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32163 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32164}
32165static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32167}
32168static void *_p_wxImageTo_p_wxObject(void *x) {
32169 return (void *)((wxObject *) ((wxImage *) x));
32170}
32171static void *_p_wxFrameTo_p_wxObject(void *x) {
32172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32173}
32174static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32175 return (void *)((wxObject *) ((wxPyPrintout *) x));
32176}
32177static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32178 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32179}
32180static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32181 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32182}
32183static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32185}
32186static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32188}
32189static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32190 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32191}
32192static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32193 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32194}
32195static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32196 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32197}
32198static void *_p_wxWindowTo_p_wxObject(void *x) {
32199 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32200}
32201static void *_p_wxMenuTo_p_wxObject(void *x) {
32202 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32203}
32204static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32206}
32207static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32209}
32210static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32212}
32213static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32215}
32216static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32218}
32219static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32221}
32222static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32224}
32225static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32227}
32228static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32230}
32231static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32233}
32234static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32236}
32237static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32239}
32240static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32242}
32243static void *_p_wxSashEventTo_p_wxObject(void *x) {
32244 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32245}
32246static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32247 return (void *)((wxObject *) ((wxPrintPreview *) x));
32248}
32249static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32250 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32251}
32252static void *_p_wxPanelTo_p_wxObject(void *x) {
32253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32254}
32255static void *_p_wxDialogTo_p_wxObject(void *x) {
32256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32257}
32258static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32260}
32261static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32263}
32264static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32266}
32267static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 32268 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
d55e5bfc
RD
32269}
32270static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
070c48b4 32271 return (void *)((wxObject *) ((wxPrintDialog *) x));
d55e5bfc
RD
32272}
32273static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32274 return (void *)((wxObject *) ((wxFileSystem *) x));
32275}
32276static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32277 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32278}
32279static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32280 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32281}
32282static void *_p_wxPyAppTo_p_wxObject(void *x) {
32283 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32284}
32285static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32286 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32287}
32288static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32289 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32290}
32291static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32292 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32293}
32294static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32296}
32297static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32298 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32299}
32300static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32302}
32303static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32305}
32306static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32307 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32308}
32309static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32310 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32311}
32312static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32313 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32314}
32315static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32317}
32318static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32319 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32320}
32321static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32322 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32323}
32324static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32325 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32326}
32327static void *_p_wxValidatorTo_p_wxObject(void *x) {
32328 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32329}
32330static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32331 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32332}
32333static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32334 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32335}
32336static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32337 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32338}
32339static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32340 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32341}
32342static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32343 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32344}
32345static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32346 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32347}
32348static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32349 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32350}
32351static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32352 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32353}
32354static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32355 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32356}
32357static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32358 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32359}
d55e5bfc
RD
32360static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32361 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32362}
32363static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
32364 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
32365}
32366static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32367 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32368}
32369static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32370 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32371}
27e45892
RD
32372static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32373 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
d55e5bfc 32374}
070c48b4
RD
32375static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32376 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32377}
d55e5bfc
RD
32378static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32379 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32380}
32381static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32382 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32383}
32384static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32385 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32386}
32387static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32388 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32389}
27e45892
RD
32390static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32391 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32392}
070c48b4
RD
32393static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32394 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32395}
d55e5bfc
RD
32396static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32397 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32398}
32399static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32400 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32401}
32402static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32403 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32404}
32405static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32406 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32407}
32408static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32410}
32411static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32412 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32413}
32414static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32415 return (void *)((wxWindow *) ((wxMenuBar *) x));
32416}
32417static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32418 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32419}
32420static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32421 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32422}
32423static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32424 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32425}
27e45892
RD
32426static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32427 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32428}
070c48b4
RD
32429static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32430 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32431}
d55e5bfc
RD
32432static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32433 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32434}
32435static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32436 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32437}
32438static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32439 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32440}
32441static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32442 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32443}
32444static void *_p_wxPanelTo_p_wxWindow(void *x) {
32445 return (void *)((wxWindow *) ((wxPanel *) x));
32446}
32447static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32448 return (void *)((wxWindow *) ((wxStatusBar *) x));
32449}
d55e5bfc
RD
32450static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32451 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32452}
32453static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32454 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
32455}
32456static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32457 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32458}
32459static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32460 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32461}
32462static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32463 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32464}
32465static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32466 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32467}
32468static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32469 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32470}
32471static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32472 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32473}
32474static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32475 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32476}
32477static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32478 return (void *)((wxWindow *) ((wxSashWindow *) x));
32479}
070c48b4
RD
32480static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32481 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32482}
d55e5bfc
RD
32483static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32484 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32485}
32486static void *_p_wxControlTo_p_wxWindow(void *x) {
32487 return (void *)((wxWindow *) ((wxControl *) x));
32488}
32489static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32490 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32491}
32492static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32493 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32494}
32495static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32496 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32497}
32498static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32499 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32500}
32501static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32502 return (void *)((wxWindow *) ((wxPyWindow *) x));
32503}
32504static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32505 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32506}
32507static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32508 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32509}
32510static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32511 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32512}
32513static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32514 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32515}
32516static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32517 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32518}
32519static void *_p_wxFrameTo_p_wxWindow(void *x) {
32520 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32521}
32522static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32523 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32524}
32525static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32526 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32527}
32528static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32529 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32530}
32531static void *_p_wxDialogTo_p_wxWindow(void *x) {
32532 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32533}
d55e5bfc
RD
32534static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32535 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32536}
32537static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32538 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32539}
32540static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32541 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32542}
32543static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32544 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32545}
32546static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32547 return (void *)((wxDialog *) ((wxColourDialog *) x));
32548}
32549static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32550 return (void *)((wxDialog *) ((wxDirDialog *) x));
32551}
32552static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32553 return (void *)((wxDialog *) ((wxFontDialog *) x));
32554}
d55e5bfc
RD
32555static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32556 return (void *)((wxDialog *) ((wxFileDialog *) x));
32557}
32558static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32559 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32560}
32561static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32562 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32563}
32564static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32565 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32566}
070c48b4
RD
32567static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32568 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32569}
27e45892
RD
32570static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32571 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32572}
d55e5bfc
RD
32573static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32574 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32575}
32576static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32577 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32578}
32579static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32580 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32581}
32582static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32583 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32584}
32585static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32586 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32587}
32588static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32589 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32590}
32591static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32592 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32593}
32594static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32595 return (void *)((wxPanel *) ((wxPyPanel *) x));
32596}
32597static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32598 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32599}
32600static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32601 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32602}
32603static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32604 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32605}
32606static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32607 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32608}
32609static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32610 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32611}
32612static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32613 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32614}
53aa7709
RD
32615static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32616 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32617}
d55e5bfc
RD
32618static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32619 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32620}
2131d850
RD
32621static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32622 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32623}
d55e5bfc
RD
32624static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32625 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32626}
32627static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32628 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32629}
32630static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32631 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32632}
32633static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32634 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32635}
32636static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32637 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32638}
32639static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32640 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32641}
32642static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32643 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32644}
32645static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32646 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32647}
2131d850 32648static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
1bd55598
RD
32649static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32650static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
32651static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32652static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32653static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32654static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32655static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32656static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32657static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32658static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32659static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32660static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32661static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
2131d850
RD
32662static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32663static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
1bd55598 32664static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
2131d850
RD
32665static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32666static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32667static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
1bd55598
RD
32668static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32669static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32670static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
1bd55598
RD
32671static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32672static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32673static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32674static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32675static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32676static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32677static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32678static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32679static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32680static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32681static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32682static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 32683static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
1bd55598
RD
32684static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32685static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32686static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32687static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32688static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32689static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32690static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32691static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32692static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32693static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32694static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32695static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32696static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32697static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32698static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32699static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32700static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32701static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32702static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32703static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32704static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32705static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32706static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32707static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32708static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32709static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32710static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32711static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32712static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32713static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32714static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32715static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32716static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
e9d6f3a4 32717static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
1bd55598
RD
32718static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32719static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32720static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32721static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32722static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32723static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32724static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32725static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32726static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32727static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32728static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32729static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
27e45892 32730static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
1bd55598
RD
32731static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32732static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
1bd55598 32733static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 32734static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
1bd55598
RD
32735static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32736static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32737static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32738static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32739static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32740static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32741static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32742static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32743static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32744static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
1bd55598
RD
32745static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32746static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32747static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32748static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32749static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32750static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32751static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32752static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32753static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
27e45892 32754static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
2131d850 32755static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
1bd55598
RD
32756static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32757static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32758static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32759static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32760static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32761static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32762static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32763static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32764static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32765static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32766static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32767static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32768static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32769static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32770static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32771static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32772static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32773static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32774static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32775static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32776static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32777static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32778static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32779static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32780static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32781static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32782static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32783static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32784static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32785static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32786static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32787static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32788static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32789static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32790static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32791static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32792static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32793static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32794static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32795static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32796static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32797static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32798static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32799static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32800static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32801static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32802static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32803static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32804static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32805static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32806static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32807static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32808static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32809static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32810static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32811static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32812static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
32813
32814static swig_type_info *swig_type_initial[] = {
2131d850 32815 &_swigt__p_bool,
32fe5131
RD
32816 &_swigt__p_char,
32817 &_swigt__p_form_ops_t,
32818 &_swigt__p_int,
32819 &_swigt__p_unsigned_char,
32820 &_swigt__p_unsigned_int,
32821 &_swigt__p_unsigned_long,
32822 &_swigt__p_wxANIHandler,
32823 &_swigt__p_wxAcceleratorTable,
32824 &_swigt__p_wxActivateEvent,
32825 &_swigt__p_wxArrayInt,
32826 &_swigt__p_wxBMPHandler,
32827 &_swigt__p_wxBitmap,
32828 &_swigt__p_wxBoxSizer,
32829 &_swigt__p_wxCURHandler,
32830 &_swigt__p_wxCalculateLayoutEvent,
32831 &_swigt__p_wxChildFocusEvent,
2131d850 32832 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
32833 &_swigt__p_wxCloseEvent,
32834 &_swigt__p_wxColour,
32835 &_swigt__p_wxColourData,
32836 &_swigt__p_wxColourDialog,
32837 &_swigt__p_wxCommandEvent,
32838 &_swigt__p_wxContextMenuEvent,
32839 &_swigt__p_wxControl,
32840 &_swigt__p_wxControlWithItems,
32841 &_swigt__p_wxDC,
32842 &_swigt__p_wxDateEvent,
32843 &_swigt__p_wxDialog,
32844 &_swigt__p_wxDirDialog,
32845 &_swigt__p_wxDisplayChangedEvent,
32846 &_swigt__p_wxDropFilesEvent,
32847 &_swigt__p_wxDuplexMode,
32848 &_swigt__p_wxEraseEvent,
32849 &_swigt__p_wxEvent,
32850 &_swigt__p_wxEvtHandler,
32851 &_swigt__p_wxFSFile,
32852 &_swigt__p_wxFileDialog,
32853 &_swigt__p_wxFileSystem,
32854 &_swigt__p_wxFindDialogEvent,
32855 &_swigt__p_wxFindReplaceData,
32856 &_swigt__p_wxFindReplaceDialog,
32857 &_swigt__p_wxFlexGridSizer,
32858 &_swigt__p_wxFocusEvent,
32859 &_swigt__p_wxFont,
32860 &_swigt__p_wxFontData,
32861 &_swigt__p_wxFontDialog,
32862 &_swigt__p_wxFrame,
32863 &_swigt__p_wxGBSizerItem,
32864 &_swigt__p_wxGIFHandler,
32865 &_swigt__p_wxGridBagSizer,
32866 &_swigt__p_wxGridSizer,
e9d6f3a4 32867 &_swigt__p_wxHtmlLinkInfo,
32fe5131
RD
32868 &_swigt__p_wxICOHandler,
32869 &_swigt__p_wxIcon,
32870 &_swigt__p_wxIconBundle,
32871 &_swigt__p_wxIconizeEvent,
32872 &_swigt__p_wxIdleEvent,
32873 &_swigt__p_wxImage,
32874 &_swigt__p_wxImageHandler,
32875 &_swigt__p_wxIndividualLayoutConstraint,
32876 &_swigt__p_wxInitDialogEvent,
32877 &_swigt__p_wxJPEGHandler,
32878 &_swigt__p_wxKeyEvent,
32879 &_swigt__p_wxLayoutAlgorithm,
32880 &_swigt__p_wxLayoutConstraints,
32881 &_swigt__p_wxMDIChildFrame,
32882 &_swigt__p_wxMDIClientWindow,
32883 &_swigt__p_wxMDIParentFrame,
32884 &_swigt__p_wxMaximizeEvent,
32885 &_swigt__p_wxMenu,
32886 &_swigt__p_wxMenuBar,
32887 &_swigt__p_wxMenuEvent,
32888 &_swigt__p_wxMenuItem,
32889 &_swigt__p_wxMessageDialog,
32890 &_swigt__p_wxMiniFrame,
32891 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 32892 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
32893 &_swigt__p_wxMouseEvent,
32894 &_swigt__p_wxMoveEvent,
32895 &_swigt__p_wxMultiChoiceDialog,
32896 &_swigt__p_wxNavigationKeyEvent,
32897 &_swigt__p_wxNcPaintEvent,
32898 &_swigt__p_wxNotifyEvent,
27e45892 32899 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
32900 &_swigt__p_wxObject,
32901 &_swigt__p_wxPCXHandler,
32902 &_swigt__p_wxPNGHandler,
32903 &_swigt__p_wxPNMHandler,
32904 &_swigt__p_wxPageSetupDialog,
32905 &_swigt__p_wxPageSetupDialogData,
32906 &_swigt__p_wxPaintEvent,
32907 &_swigt__p_wxPaletteChangedEvent,
32908 &_swigt__p_wxPanel,
32909 &_swigt__p_wxPaperSize,
32910 &_swigt__p_wxPasswordEntryDialog,
32911 &_swigt__p_wxPoint,
32912 &_swigt__p_wxPopupWindow,
32913 &_swigt__p_wxPreviewCanvas,
32914 &_swigt__p_wxPreviewControlBar,
32915 &_swigt__p_wxPreviewFrame,
32916 &_swigt__p_wxPrintData,
32917 &_swigt__p_wxPrintDialog,
32918 &_swigt__p_wxPrintDialogData,
32919 &_swigt__p_wxPrintPreview,
32920 &_swigt__p_wxPrinter,
32921 &_swigt__p_wxProgressDialog,
32922 &_swigt__p_wxPyApp,
32923 &_swigt__p_wxPyCommandEvent,
32924 &_swigt__p_wxPyEvent,
32925 &_swigt__p_wxPyHtmlListBox,
32926 &_swigt__p_wxPyImageHandler,
32927 &_swigt__p_wxPyPanel,
32928 &_swigt__p_wxPyPopupTransientWindow,
32929 &_swigt__p_wxPyPreviewControlBar,
32930 &_swigt__p_wxPyPreviewFrame,
32931 &_swigt__p_wxPyPrintPreview,
32932 &_swigt__p_wxPyPrintout,
32933 &_swigt__p_wxPyScrolledWindow,
32934 &_swigt__p_wxPySizer,
32935 &_swigt__p_wxPyTaskBarIcon,
32936 &_swigt__p_wxPyVListBox,
32937 &_swigt__p_wxPyVScrolledWindow,
32938 &_swigt__p_wxPyValidator,
32939 &_swigt__p_wxPyWindow,
32940 &_swigt__p_wxQueryLayoutInfoEvent,
32941 &_swigt__p_wxQueryNewPaletteEvent,
32942 &_swigt__p_wxRect,
32943 &_swigt__p_wxRegion,
32944 &_swigt__p_wxSashEvent,
32945 &_swigt__p_wxSashLayoutWindow,
32946 &_swigt__p_wxSashWindow,
32947 &_swigt__p_wxScrollEvent,
32948 &_swigt__p_wxScrollWinEvent,
32949 &_swigt__p_wxScrolledWindow,
32950 &_swigt__p_wxSetCursorEvent,
32951 &_swigt__p_wxShowEvent,
32952 &_swigt__p_wxSingleChoiceDialog,
32953 &_swigt__p_wxSize,
32954 &_swigt__p_wxSizeEvent,
32955 &_swigt__p_wxSizer,
32956 &_swigt__p_wxSizerItem,
32957 &_swigt__p_wxSplashScreen,
32958 &_swigt__p_wxSplashScreenWindow,
32959 &_swigt__p_wxSplitterEvent,
32960 &_swigt__p_wxSplitterWindow,
32961 &_swigt__p_wxStaticBoxSizer,
32962 &_swigt__p_wxStatusBar,
32963 &_swigt__p_wxStdDialogButtonSizer,
32964 &_swigt__p_wxString,
32965 &_swigt__p_wxSysColourChangedEvent,
32966 &_swigt__p_wxTIFFHandler,
32967 &_swigt__p_wxTaskBarIcon,
32968 &_swigt__p_wxTaskBarIconEvent,
32969 &_swigt__p_wxTextEntryDialog,
32970 &_swigt__p_wxTipWindow,
32971 &_swigt__p_wxToolBar,
32972 &_swigt__p_wxTopLevelWindow,
32973 &_swigt__p_wxUpdateUIEvent,
32974 &_swigt__p_wxValidator,
32975 &_swigt__p_wxVisualAttributes,
32976 &_swigt__p_wxWindow,
32977 &_swigt__p_wxWindowCreateEvent,
32978 &_swigt__p_wxWindowDestroyEvent,
32979 &_swigt__p_wxXPMHandler,
32fe5131
RD
32980};
32981
2131d850 32982static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
32983static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32984static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32985static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32986static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32987static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32988static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32989static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32990static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32991static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32992static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32993static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32994static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32995static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32996static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 32997static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850
RD
32998static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32999static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33000static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33001static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33002static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33003static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33004static 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 33005static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33006static 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
33007static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33008static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33009static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33010static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33011static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33012static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33013static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33014static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33015static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33016static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33017static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33018static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33019static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33020static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33021static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33022static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33023static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33024static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33025static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33026static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33027static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33028static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33029static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33030static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33031static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33032static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33033static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33034static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33035static 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
33036static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33037static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33038static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33039static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33040static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33041static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33042static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33043static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33044static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33045static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33046static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33047static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33048static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33049static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33050static 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 33051static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33052static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33053static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33054static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33055static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33056static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33057static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33058static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33059static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33060static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33061static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33062static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33063static 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 33064static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33065static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 33066static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33067static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33068static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33069static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33070static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33071static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33072static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33073static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33074static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33075static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33076static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33077static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33078static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33079static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33080static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33081static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33082static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33083static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33084static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33085static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33086static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33087static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 33088static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33089static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33090static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33091static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33092static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 33093static 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_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_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
33094static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33095static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33096static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
33097static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33098static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33099static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33100static 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}};
33101static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33102static 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}};
33103static 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}};
33104static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33105static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33106static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33107static 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}};
33108static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33109static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33110static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33111static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33112static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = { {&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
33113static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33114static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33115static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33116static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33117static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33118static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33119static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
33120static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
33121static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33122static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33123static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33124static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33125static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33126static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33127static 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}};
33128static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33129static 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}};
33130static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33131static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33132static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33133static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33134static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33135static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33136static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33137static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33138static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33139static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33140static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33141static 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}};
33142static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33143static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33144static swig_cast_info _swigc__p_wxTopLevelWindow[] = { {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxTopLevelWindow, 0, 0},{0, 0, 0, 0}};
32fe5131 33145static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
27e45892 33146static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
33147
33148static swig_cast_info *swig_cast_initial[] = {
2131d850 33149 _swigc__p_bool,
32fe5131
RD
33150 _swigc__p_char,
33151 _swigc__p_form_ops_t,
33152 _swigc__p_int,
33153 _swigc__p_unsigned_char,
33154 _swigc__p_unsigned_int,
33155 _swigc__p_unsigned_long,
33156 _swigc__p_wxANIHandler,
33157 _swigc__p_wxAcceleratorTable,
33158 _swigc__p_wxActivateEvent,
33159 _swigc__p_wxArrayInt,
33160 _swigc__p_wxBMPHandler,
33161 _swigc__p_wxBitmap,
33162 _swigc__p_wxBoxSizer,
33163 _swigc__p_wxCURHandler,
33164 _swigc__p_wxCalculateLayoutEvent,
33165 _swigc__p_wxChildFocusEvent,
2131d850 33166 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
33167 _swigc__p_wxCloseEvent,
33168 _swigc__p_wxColour,
33169 _swigc__p_wxColourData,
33170 _swigc__p_wxColourDialog,
33171 _swigc__p_wxCommandEvent,
33172 _swigc__p_wxContextMenuEvent,
33173 _swigc__p_wxControl,
33174 _swigc__p_wxControlWithItems,
33175 _swigc__p_wxDC,
33176 _swigc__p_wxDateEvent,
33177 _swigc__p_wxDialog,
33178 _swigc__p_wxDirDialog,
33179 _swigc__p_wxDisplayChangedEvent,
33180 _swigc__p_wxDropFilesEvent,
33181 _swigc__p_wxDuplexMode,
33182 _swigc__p_wxEraseEvent,
33183 _swigc__p_wxEvent,
33184 _swigc__p_wxEvtHandler,
33185 _swigc__p_wxFSFile,
33186 _swigc__p_wxFileDialog,
33187 _swigc__p_wxFileSystem,
33188 _swigc__p_wxFindDialogEvent,
33189 _swigc__p_wxFindReplaceData,
33190 _swigc__p_wxFindReplaceDialog,
33191 _swigc__p_wxFlexGridSizer,
33192 _swigc__p_wxFocusEvent,
33193 _swigc__p_wxFont,
33194 _swigc__p_wxFontData,
33195 _swigc__p_wxFontDialog,
33196 _swigc__p_wxFrame,
33197 _swigc__p_wxGBSizerItem,
33198 _swigc__p_wxGIFHandler,
33199 _swigc__p_wxGridBagSizer,
33200 _swigc__p_wxGridSizer,
e9d6f3a4 33201 _swigc__p_wxHtmlLinkInfo,
32fe5131
RD
33202 _swigc__p_wxICOHandler,
33203 _swigc__p_wxIcon,
33204 _swigc__p_wxIconBundle,
33205 _swigc__p_wxIconizeEvent,
33206 _swigc__p_wxIdleEvent,
33207 _swigc__p_wxImage,
33208 _swigc__p_wxImageHandler,
33209 _swigc__p_wxIndividualLayoutConstraint,
33210 _swigc__p_wxInitDialogEvent,
33211 _swigc__p_wxJPEGHandler,
33212 _swigc__p_wxKeyEvent,
33213 _swigc__p_wxLayoutAlgorithm,
33214 _swigc__p_wxLayoutConstraints,
33215 _swigc__p_wxMDIChildFrame,
33216 _swigc__p_wxMDIClientWindow,
33217 _swigc__p_wxMDIParentFrame,
33218 _swigc__p_wxMaximizeEvent,
33219 _swigc__p_wxMenu,
33220 _swigc__p_wxMenuBar,
33221 _swigc__p_wxMenuEvent,
33222 _swigc__p_wxMenuItem,
33223 _swigc__p_wxMessageDialog,
33224 _swigc__p_wxMiniFrame,
33225 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 33226 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
33227 _swigc__p_wxMouseEvent,
33228 _swigc__p_wxMoveEvent,
33229 _swigc__p_wxMultiChoiceDialog,
33230 _swigc__p_wxNavigationKeyEvent,
33231 _swigc__p_wxNcPaintEvent,
33232 _swigc__p_wxNotifyEvent,
27e45892 33233 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
33234 _swigc__p_wxObject,
33235 _swigc__p_wxPCXHandler,
33236 _swigc__p_wxPNGHandler,
33237 _swigc__p_wxPNMHandler,
33238 _swigc__p_wxPageSetupDialog,
33239 _swigc__p_wxPageSetupDialogData,
33240 _swigc__p_wxPaintEvent,
33241 _swigc__p_wxPaletteChangedEvent,
33242 _swigc__p_wxPanel,
33243 _swigc__p_wxPaperSize,
33244 _swigc__p_wxPasswordEntryDialog,
33245 _swigc__p_wxPoint,
33246 _swigc__p_wxPopupWindow,
33247 _swigc__p_wxPreviewCanvas,
33248 _swigc__p_wxPreviewControlBar,
33249 _swigc__p_wxPreviewFrame,
33250 _swigc__p_wxPrintData,
33251 _swigc__p_wxPrintDialog,
33252 _swigc__p_wxPrintDialogData,
33253 _swigc__p_wxPrintPreview,
33254 _swigc__p_wxPrinter,
33255 _swigc__p_wxProgressDialog,
33256 _swigc__p_wxPyApp,
33257 _swigc__p_wxPyCommandEvent,
33258 _swigc__p_wxPyEvent,
33259 _swigc__p_wxPyHtmlListBox,
33260 _swigc__p_wxPyImageHandler,
33261 _swigc__p_wxPyPanel,
33262 _swigc__p_wxPyPopupTransientWindow,
33263 _swigc__p_wxPyPreviewControlBar,
33264 _swigc__p_wxPyPreviewFrame,
33265 _swigc__p_wxPyPrintPreview,
33266 _swigc__p_wxPyPrintout,
33267 _swigc__p_wxPyScrolledWindow,
33268 _swigc__p_wxPySizer,
33269 _swigc__p_wxPyTaskBarIcon,
33270 _swigc__p_wxPyVListBox,
33271 _swigc__p_wxPyVScrolledWindow,
33272 _swigc__p_wxPyValidator,
33273 _swigc__p_wxPyWindow,
33274 _swigc__p_wxQueryLayoutInfoEvent,
33275 _swigc__p_wxQueryNewPaletteEvent,
33276 _swigc__p_wxRect,
33277 _swigc__p_wxRegion,
33278 _swigc__p_wxSashEvent,
33279 _swigc__p_wxSashLayoutWindow,
33280 _swigc__p_wxSashWindow,
33281 _swigc__p_wxScrollEvent,
33282 _swigc__p_wxScrollWinEvent,
33283 _swigc__p_wxScrolledWindow,
33284 _swigc__p_wxSetCursorEvent,
33285 _swigc__p_wxShowEvent,
33286 _swigc__p_wxSingleChoiceDialog,
33287 _swigc__p_wxSize,
1bd55598
RD
33288 _swigc__p_wxSizeEvent,
33289 _swigc__p_wxSizer,
33290 _swigc__p_wxSizerItem,
33291 _swigc__p_wxSplashScreen,
33292 _swigc__p_wxSplashScreenWindow,
33293 _swigc__p_wxSplitterEvent,
33294 _swigc__p_wxSplitterWindow,
33295 _swigc__p_wxStaticBoxSizer,
33296 _swigc__p_wxStatusBar,
33297 _swigc__p_wxStdDialogButtonSizer,
33298 _swigc__p_wxString,
33299 _swigc__p_wxSysColourChangedEvent,
33300 _swigc__p_wxTIFFHandler,
33301 _swigc__p_wxTaskBarIcon,
33302 _swigc__p_wxTaskBarIconEvent,
33303 _swigc__p_wxTextEntryDialog,
33304 _swigc__p_wxTipWindow,
33305 _swigc__p_wxToolBar,
33306 _swigc__p_wxTopLevelWindow,
33307 _swigc__p_wxUpdateUIEvent,
33308 _swigc__p_wxValidator,
33309 _swigc__p_wxVisualAttributes,
33310 _swigc__p_wxWindow,
33311 _swigc__p_wxWindowCreateEvent,
33312 _swigc__p_wxWindowDestroyEvent,
33313 _swigc__p_wxXPMHandler,
33314};
33315
33316
33317/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33318
33319static swig_const_info swig_const_table[] = {
33320{0, 0, 0, 0.0, 0, 0}};
33321
36ed4f51
RD
33322#ifdef __cplusplus
33323}
33324#endif
1bd55598
RD
33325/* -----------------------------------------------------------------------------
33326 * Type initialization:
33327 * This problem is tough by the requirement that no dynamic
33328 * memory is used. Also, since swig_type_info structures store pointers to
33329 * swig_cast_info structures and swig_cast_info structures store pointers back
33330 * to swig_type_info structures, we need some lookup code at initialization.
33331 * The idea is that swig generates all the structures that are needed.
33332 * The runtime then collects these partially filled structures.
33333 * The SWIG_InitializeModule function takes these initial arrays out of
33334 * swig_module, and does all the lookup, filling in the swig_module.types
33335 * array with the correct data and linking the correct swig_cast_info
33336 * structures together.
33337 *
33338 * The generated swig_type_info structures are assigned staticly to an initial
33339 * array. We just loop though that array, and handle each type individually.
33340 * First we lookup if this type has been already loaded, and if so, use the
33341 * loaded structure instead of the generated one. Then we have to fill in the
33342 * cast linked list. The cast data is initially stored in something like a
33343 * two-dimensional array. Each row corresponds to a type (there are the same
33344 * number of rows as there are in the swig_type_initial array). Each entry in
33345 * a column is one of the swig_cast_info structures for that type.
33346 * The cast_initial array is actually an array of arrays, because each row has
33347 * a variable number of columns. So to actually build the cast linked list,
33348 * we find the array of casts associated with the type, and loop through it
33349 * adding the casts to the list. The one last trick we need to do is making
33350 * sure the type pointer in the swig_cast_info struct is correct.
33351 *
33352 * First off, we lookup the cast->type name to see if it is already loaded.
33353 * There are three cases to handle:
33354 * 1) If the cast->type has already been loaded AND the type we are adding
33355 * casting info to has not been loaded (it is in this module), THEN we
33356 * replace the cast->type pointer with the type pointer that has already
33357 * been loaded.
33358 * 2) If BOTH types (the one we are adding casting info to, and the
33359 * cast->type) are loaded, THEN the cast info has already been loaded by
33360 * the previous module so we just ignore it.
33361 * 3) Finally, if cast->type has not already been loaded, then we add that
33362 * swig_cast_info to the linked list (because the cast->type) pointer will
33363 * be correct.
33364 * ----------------------------------------------------------------------------- */
36ed4f51 33365
d55e5bfc 33366#ifdef __cplusplus
1bd55598
RD
33367extern "C" {
33368#if 0
33369} /* c-mode */
33370#endif
33371#endif
33372
33373#if 0
33374#define SWIGRUNTIME_DEBUG
33375#endif
33376
33377SWIGRUNTIME void
33378SWIG_InitializeModule(void *clientdata) {
33379 size_t i;
33380 swig_module_info *module_head;
33381 static int init_run = 0;
33382
33383 clientdata = clientdata;
33384
33385 if (init_run) return;
33386 init_run = 1;
33387
33388 /* Initialize the swig_module */
33389 swig_module.type_initial = swig_type_initial;
33390 swig_module.cast_initial = swig_cast_initial;
33391
33392 /* Try and load any already created modules */
33393 module_head = SWIG_GetModule(clientdata);
33394 if (module_head) {
33395 swig_module.next = module_head->next;
33396 module_head->next = &swig_module;
33397 } else {
33398 /* This is the first module loaded */
33399 swig_module.next = &swig_module;
33400 SWIG_SetModule(clientdata, &swig_module);
33401 }
33402
33403 /* Now work on filling in swig_module.types */
33404#ifdef SWIGRUNTIME_DEBUG
33405 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33406#endif
33407 for (i = 0; i < swig_module.size; ++i) {
33408 swig_type_info *type = 0;
33409 swig_type_info *ret;
33410 swig_cast_info *cast;
d55e5bfc 33411
1bd55598
RD
33412#ifdef SWIGRUNTIME_DEBUG
33413 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33414#endif
d55e5bfc 33415
1bd55598
RD
33416 /* if there is another module already loaded */
33417 if (swig_module.next != &swig_module) {
33418 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36ed4f51 33419 }
1bd55598
RD
33420 if (type) {
33421 /* Overwrite clientdata field */
33422#ifdef SWIGRUNTIME_DEBUG
33423 printf("SWIG_InitializeModule: found type %s\n", type->name);
33424#endif
33425 if (swig_module.type_initial[i]->clientdata) {
33426 type->clientdata = swig_module.type_initial[i]->clientdata;
33427#ifdef SWIGRUNTIME_DEBUG
33428 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33429#endif
33430 }
33431 } else {
33432 type = swig_module.type_initial[i];
36ed4f51 33433 }
1bd55598
RD
33434
33435 /* Insert casting types */
33436 cast = swig_module.cast_initial[i];
33437 while (cast->type) {
33438 /* Don't need to add information already in the list */
33439 ret = 0;
33440#ifdef SWIGRUNTIME_DEBUG
33441 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33442#endif
33443 if (swig_module.next != &swig_module) {
33444 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33445#ifdef SWIGRUNTIME_DEBUG
33446 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33447#endif
33448 }
33449 if (ret) {
33450 if (type == swig_module.type_initial[i]) {
33451#ifdef SWIGRUNTIME_DEBUG
33452 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33453#endif
33454 cast->type = ret;
33455 ret = 0;
33456 } else {
33457 /* Check for casting already in the list */
33458 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33459#ifdef SWIGRUNTIME_DEBUG
33460 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33461#endif
33462 if (!ocast) ret = 0;
33463 }
33464 }
33465
33466 if (!ret) {
33467#ifdef SWIGRUNTIME_DEBUG
33468 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33469#endif
33470 if (type->cast) {
33471 type->cast->prev = cast;
33472 cast->next = type->cast;
33473 }
33474 type->cast = cast;
33475 }
33476 cast++;
36ed4f51 33477 }
1bd55598
RD
33478 /* Set entry in modules->types array equal to the type */
33479 swig_module.types[i] = type;
33480 }
33481 swig_module.types[i] = 0;
33482
33483#ifdef SWIGRUNTIME_DEBUG
33484 printf("**** SWIG_InitializeModule: Cast List ******\n");
33485 for (i = 0; i < swig_module.size; ++i) {
33486 int j = 0;
33487 swig_cast_info *cast = swig_module.cast_initial[i];
33488 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33489 while (cast->type) {
33490 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33491 cast++;
33492 ++j;
33493 }
33494 printf("---- Total casts: %d\n",j);
33495 }
33496 printf("**** SWIG_InitializeModule: Cast List ******\n");
33497#endif
33498}
33499
33500/* This function will propagate the clientdata field of type to
33501* any new swig_type_info structures that have been added into the list
33502* of equivalent types. It is like calling
33503* SWIG_TypeClientData(type, clientdata) a second time.
33504*/
33505SWIGRUNTIME void
33506SWIG_PropagateClientData(void) {
33507 size_t i;
33508 swig_cast_info *equiv;
33509 static int init_run = 0;
33510
33511 if (init_run) return;
33512 init_run = 1;
33513
33514 for (i = 0; i < swig_module.size; i++) {
33515 if (swig_module.types[i]->clientdata) {
33516 equiv = swig_module.types[i]->cast;
33517 while (equiv) {
33518 if (!equiv->converter) {
33519 if (equiv->type && !equiv->type->clientdata)
33520 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33521 }
33522 equiv = equiv->next;
33523 }
36ed4f51 33524 }
1bd55598
RD
33525 }
33526}
33527
33528#ifdef __cplusplus
33529#if 0
33530{
33531 /* c-mode */
33532#endif
33533}
33534#endif
33535
33536
33537
33538#ifdef __cplusplus
33539extern "C" {
33540#endif
33541
33542 /* Python-specific SWIG API */
33543#define SWIG_newvarlink() SWIG_Python_newvarlink()
33544#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33545#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33546
33547 /* -----------------------------------------------------------------------------
33548 * global variable support code.
33549 * ----------------------------------------------------------------------------- */
33550
33551 typedef struct swig_globalvar {
33552 char *name; /* Name of global variable */
33553 PyObject *(*get_attr)(void); /* Return the current value */
33554 int (*set_attr)(PyObject *); /* Set the value */
33555 struct swig_globalvar *next;
33556 } swig_globalvar;
33557
33558 typedef struct swig_varlinkobject {
33559 PyObject_HEAD
33560 swig_globalvar *vars;
33561 } swig_varlinkobject;
33562
33563 SWIGINTERN PyObject *
33564 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33565 return PyString_FromString("<Swig global variables>");
33566 }
33567
33568 SWIGINTERN PyObject *
33569 swig_varlink_str(swig_varlinkobject *v) {
33570 PyObject *str = PyString_FromString("(");
33571 swig_globalvar *var;
33572 for (var = v->vars; var; var=var->next) {
33573 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33574 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33575 }
33576 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33577 return str;
33578 }
33579
33580 SWIGINTERN int
33581 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33582 PyObject *str = swig_varlink_str(v);
33583 fprintf(fp,"Swig global variables ");
33584 fprintf(fp,"%s\n", PyString_AsString(str));
33585 Py_DECREF(str);
33586 return 0;
33587 }
33588
33589 SWIGINTERN void
33590 swig_varlink_dealloc(swig_varlinkobject *v) {
33591 swig_globalvar *var = v->vars;
33592 while (var) {
33593 swig_globalvar *n = var->next;
33594 free(var->name);
33595 free(var);
33596 var = n;
36ed4f51 33597 }
1bd55598
RD
33598 }
33599
33600 SWIGINTERN PyObject *
33601 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33602 PyObject *res = NULL;
33603 swig_globalvar *var = v->vars;
33604 while (var) {
33605 if (strcmp(var->name,n) == 0) {
33606 res = (*var->get_attr)();
33607 break;
33608 }
33609 var = var->next;
36ed4f51 33610 }
1bd55598
RD
33611 if (res == NULL && !PyErr_Occurred()) {
33612 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 33613 }
1bd55598
RD
33614 return res;
33615 }
33616
33617 SWIGINTERN int
33618 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33619 int res = 1;
33620 swig_globalvar *var = v->vars;
33621 while (var) {
33622 if (strcmp(var->name,n) == 0) {
33623 res = (*var->set_attr)(p);
33624 break;
33625 }
33626 var = var->next;
36ed4f51 33627 }
1bd55598
RD
33628 if (res == 1 && !PyErr_Occurred()) {
33629 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
36ed4f51 33630 }
1bd55598
RD
33631 return res;
33632 }
33633
33634 SWIGINTERN PyTypeObject*
33635 swig_varlink_type(void) {
33636 static char varlink__doc__[] = "Swig var link object";
33637 static PyTypeObject varlink_type;
33638 static int type_init = 0;
33639 if (!type_init) {
33640 const PyTypeObject tmp
33641 = {
33642 PyObject_HEAD_INIT(NULL)
33643 0, /* Number of items in variable part (ob_size) */
33644 (char *)"swigvarlink", /* Type name (tp_name) */
33645 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33646 0, /* Itemsize (tp_itemsize) */
33647 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33648 (printfunc) swig_varlink_print, /* Print (tp_print) */
33649 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33650 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33651 0, /* tp_compare */
33652 (reprfunc) swig_varlink_repr, /* tp_repr */
33653 0, /* tp_as_number */
33654 0, /* tp_as_sequence */
33655 0, /* tp_as_mapping */
33656 0, /* tp_hash */
33657 0, /* tp_call */
33658 (reprfunc)swig_varlink_str, /* tp_str */
33659 0, /* tp_getattro */
33660 0, /* tp_setattro */
33661 0, /* tp_as_buffer */
33662 0, /* tp_flags */
33663 varlink__doc__, /* tp_doc */
33664 0, /* tp_traverse */
33665 0, /* tp_clear */
33666 0, /* tp_richcompare */
33667 0, /* tp_weaklistoffset */
33668#if PY_VERSION_HEX >= 0x02020000
33669 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33670#endif
33671#if PY_VERSION_HEX >= 0x02030000
33672 0, /* tp_del */
33673#endif
33674#ifdef COUNT_ALLOCS
33675 0,0,0,0 /* tp_alloc -> tp_next */
33676#endif
33677 };
33678 varlink_type = tmp;
33679 varlink_type.ob_type = &PyType_Type;
33680 type_init = 1;
36ed4f51 33681 }
1bd55598
RD
33682 return &varlink_type;
33683 }
33684
33685 /* Create a variable linking object for use later */
33686 SWIGINTERN PyObject *
33687 SWIG_Python_newvarlink(void) {
33688 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33689 if (result) {
33690 result->vars = 0;
33691 }
33692 return ((PyObject*) result);
33693 }
33694
33695 SWIGINTERN void
33696 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33697 swig_varlinkobject *v = (swig_varlinkobject *) p;
33698 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33699 if (gv) {
33700 size_t size = strlen(name)+1;
33701 gv->name = (char *)malloc(size);
33702 if (gv->name) {
33703 strncpy(gv->name,name,size);
33704 gv->get_attr = get_attr;
33705 gv->set_attr = set_attr;
33706 gv->next = v->vars;
33707 }
36ed4f51 33708 }
1bd55598
RD
33709 v->vars = gv;
33710 }
33711
33712 SWIGINTERN PyObject *
33713 SWIG_globals() {
33714 static PyObject *_SWIG_globals = 0;
33715 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33716 return _SWIG_globals;
33717 }
33718
33719 /* -----------------------------------------------------------------------------
33720 * constants/methods manipulation
33721 * ----------------------------------------------------------------------------- */
33722
33723 /* Install Constants */
33724 SWIGINTERN void
33725 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33726 PyObject *obj = 0;
33727 size_t i;
33728 for (i = 0; constants[i].type; ++i) {
33729 switch(constants[i].type) {
33730 case SWIG_PY_POINTER:
33731 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33732 break;
33733 case SWIG_PY_BINARY:
33734 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33735 break;
33736 default:
33737 obj = 0;
33738 break;
33739 }
33740 if (obj) {
33741 PyDict_SetItemString(d, constants[i].name, obj);
33742 Py_DECREF(obj);
33743 }
36ed4f51 33744 }
1bd55598
RD
33745 }
33746
33747 /* -----------------------------------------------------------------------------*/
33748 /* Fix SwigMethods to carry the callback ptrs when needed */
33749 /* -----------------------------------------------------------------------------*/
33750
33751 SWIGINTERN void
33752 SWIG_Python_FixMethods(PyMethodDef *methods,
33753 swig_const_info *const_table,
33754 swig_type_info **types,
33755 swig_type_info **types_initial) {
33756 size_t i;
33757 for (i = 0; methods[i].ml_name; ++i) {
3d6c9062 33758 const char *c = methods[i].ml_doc;
1bd55598
RD
33759 if (c && (c = strstr(c, "swig_ptr: "))) {
33760 int j;
33761 swig_const_info *ci = 0;
3d6c9062 33762 const char *name = c + 10;
1bd55598
RD
33763 for (j = 0; const_table[j].type; ++j) {
33764 if (strncmp(const_table[j].name, name,
33765 strlen(const_table[j].name)) == 0) {
33766 ci = &(const_table[j]);
33767 break;
33768 }
33769 }
33770 if (ci) {
33771 size_t shift = (ci->ptype) - types;
33772 swig_type_info *ty = types_initial[shift];
33773 size_t ldoc = (c - methods[i].ml_doc);
33774 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33775 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33776 if (ndoc) {
33777 char *buff = ndoc;
33778 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33779 if (ptr) {
33780 strncpy(buff, methods[i].ml_doc, ldoc);
33781 buff += ldoc;
33782 strncpy(buff, "swig_ptr: ", 10);
33783 buff += 10;
33784 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33785 methods[i].ml_doc = ndoc;
33786 }
33787 }
33788 }
33789 }
36ed4f51 33790 }
1bd55598
RD
33791 }
33792
33793#ifdef __cplusplus
33794}
33795#endif
33796
33797/* -----------------------------------------------------------------------------*
33798 * Partial Init method
33799 * -----------------------------------------------------------------------------*/
33800
33801#ifdef __cplusplus
33802extern "C"
33803#endif
33804SWIGEXPORT void SWIG_init(void) {
33805 PyObject *m, *d;
33806
33807 /* Fix SwigMethods to carry the callback ptrs when needed */
33808 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33809
33810 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33811 d = PyModule_GetDict(m);
33812
33813 SWIG_InitializeModule(0);
33814 SWIG_InstallConstants(d,swig_const_table);
33815
33816
33817 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33818 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33819 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33820 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33821 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33822 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33823 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33824 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33825 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33826 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33827 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33828 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33829 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33830 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33831 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33832 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33833 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33834 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33835 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33836 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33837 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33838 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33839 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33840 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33841 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33842 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33843 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33844 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33845 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33846 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33847 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33848 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33849 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33850 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33851 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33852 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33853 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33854 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33855 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33856 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33857 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33858 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33859 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33860 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33861 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33862 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33863 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33864 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33865 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33866 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33867 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33868 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33869 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33870 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33871 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33872 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33873 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33874 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33875 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33876 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33877 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33878 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33879 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33880 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33881 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33882 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33883 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33884 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33885 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33886 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33887 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33888 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33889 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33890 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33891 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33892 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33893 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33894 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33895 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33896 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33897 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33898 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33899 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33900 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33901 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33902 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33903 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33904 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33905 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33906 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33907 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33908 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33909 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33910 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33911 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33912 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33913 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33914 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33915 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33916 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33917 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33918 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33919
33920 // Map renamed classes back to their common name for OOR
33921 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33922 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33923 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33924
33925 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33926 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33927 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33928 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33929 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33930 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33931 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33932 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33933 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33934 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33935 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33936 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33937 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
704eda0c
RD
33938 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33939 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33940 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33941 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33942 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33943 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33944 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33945 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33946 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
b02396e8 33947 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
704eda0c
RD
33948 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33949 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33950 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33951 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33952 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33953 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
1eeb270e 33954 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
704eda0c 33955 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
1bd55598
RD
33956 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33957 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33958 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33959 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33960 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33961 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33962 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33963 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33964 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33965 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33966 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33967 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33968 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33969 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33970 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33971 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33972 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33973 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33974 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33975 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33976 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33977 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33978 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33979 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33980 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33981 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33982 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33983 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33984 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33985 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33986 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33987 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33988 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33989 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33990 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33991 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33992 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33993 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33994 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33995 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33996 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33997 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33998 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33999 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34000 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34001 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34002 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34003 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34004 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34005 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34006 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34007 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34008 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34009 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34010 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34011 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34012 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34013 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34014 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34015 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34016 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34017 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34018 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34019 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34020 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34021
34022 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34023
d55e5bfc
RD
34024}
34025